var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /*! For license information please see vendor-dd73206d92176e76b22d.js.LICENSE.txt */ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d3e1fd43-d5bd-4fa6-a3a7-14a1d53085b1",e._sentryDebugIdIdentifier="sentry-dbid-d3e1fd43-d5bd-4fa6-a3a7-14a1d53085b1")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"2.3.69"},(self.webpackChunkgames_frontend=self.webpackChunkgames_frontend||[]).push([[4736],{48083:function(e,t){"use strict";function n(e){if(void 0===e)return NaN;if(null===e)return 0;if("boolean"==typeof e)return e?1:0;if("number"==typeof e)return e;if("symbol"==typeof e||"bigint"==typeof e)throw new TypeError("Cannot convert symbol/bigint to number");return Number(e)}function r(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}Object.defineProperty(t,"__esModule",{value:!0}),t.msFromTime=t.OrdinaryHasInstance=t.SecFromTime=t.MinFromTime=t.HourFromTime=t.DateFromTime=t.MonthFromTime=t.InLeapYear=t.DayWithinYear=t.DaysInYear=t.YearFromTime=t.TimeFromYear=t.DayFromYear=t.WeekDay=t.Day=t.Type=t.HasOwnProperty=t.ArrayCreate=t.SameValue=t.ToObject=t.TimeClip=t.ToNumber=t.ToString=void 0,t.ToString=function(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)},t.ToNumber=n,t.TimeClip=function(e){return isFinite(e)?Math.abs(e)>8640000000000001?NaN:function(e){var t=n(e);if(isNaN(t)||r(t,-0))return 0;if(isFinite(t))return t;var i=Math.floor(Math.abs(t));return t<0&&(i=-i),r(i,-0)?0:i}(e):NaN},t.ToObject=function(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)},t.SameValue=r,t.ArrayCreate=function(e){return new Array(e)},t.HasOwnProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.Type=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0};var i=864e5;function o(e,t){return e-Math.floor(e/t)*t}function a(e){return Math.floor(e/i)}function s(e){return Date.UTC(e,0)/i}function l(e){return new Date(e).getUTCFullYear()}function c(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function u(e){return a(e)-s(l(e))}function d(e){return 365===c(l(e))?0:1}function p(e){var t=u(e),n=d(e);if(t>=0&&t<31)return 0;if(t<59+n)return 1;if(t<90+n)return 2;if(t<120+n)return 3;if(t<151+n)return 4;if(t<181+n)return 5;if(t<212+n)return 6;if(t<243+n)return 7;if(t<273+n)return 8;if(t<304+n)return 9;if(t<334+n)return 10;if(t<365+n)return 11;throw new Error("Invalid time")}t.Day=a,t.WeekDay=function(e){return o(a(e)+4,7)},t.DayFromYear=s,t.TimeFromYear=function(e){return Date.UTC(e,0)},t.YearFromTime=l,t.DaysInYear=c,t.DayWithinYear=u,t.InLeapYear=d,t.MonthFromTime=p,t.DateFromTime=function(e){var t=u(e),n=p(e),r=d(e);if(0===n)return t+1;if(1===n)return t-30;if(2===n)return t-58-r;if(3===n)return t-89-r;if(4===n)return t-119-r;if(5===n)return t-150-r;if(6===n)return t-180-r;if(7===n)return t-211-r;if(8===n)return t-242-r;if(9===n)return t-272-r;if(10===n)return t-303-r;if(11===n)return t-333-r;throw new Error("Invalid time")};var f=1e3;t.HourFromTime=function(e){return o(Math.floor(e/36e5),24)},t.MinFromTime=function(e){return o(Math.floor(e/6e4),60)},t.SecFromTime=function(e){return o(Math.floor(e/f),60)},t.OrdinaryHasInstance=function(e,t,n){if("function"!=typeof e)return!1;if(null==n?void 0:n.boundTargetFunction)return t instanceof(null==n?void 0:n.boundTargetFunction);if("object"!=typeof t)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,t)},t.msFromTime=function(e){return o(e,f)}},42998:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalizeLocaleList=void 0,t.CanonicalizeLocaleList=function(e){return Intl.getCanonicalLocales(e)}},7029:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalizeTimeZoneName=void 0,t.CanonicalizeTimeZoneName=function(e,t){var n=t.tzData,r=t.uppercaseLinks,i=e.toUpperCase(),o=Object.keys(n).reduce((function(e,t){return e[t.toUpperCase()]=t,e}),{}),a=r[i]||o[i];return"Etc/UTC"===a||"Etc/GMT"===a?"UTC":a}},25851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoerceOptionsToObject=void 0;var r=n(48083);t.CoerceOptionsToObject=function(e){return void 0===e?Object.create(null):(0,r.ToObject)(e)}},37829:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultNumberOption=void 0,t.DefaultNumberOption=function(e,t,n,r){if(void 0===e)return r;var i=Number(e);if(isNaN(i)||i<t||i>n)throw new RangeError("".concat(i," is outside of range [").concat(t,", ").concat(n,"]"));return Math.floor(i)}},68315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetNumberOption=void 0;var r=n(37829);t.GetNumberOption=function(e,t,n,i,o){var a=e[t];return(0,r.DefaultNumberOption)(a,n,i,o)}},37281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOption=void 0;var r=n(48083);t.GetOption=function(e,t,n,i,o){if("object"!=typeof e)throw new TypeError("Options must be an object");var a=e[t];if(void 0!==a){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(a=Boolean(a)),"string"===n&&(a=(0,r.ToString)(a)),void 0!==i&&!i.filter((function(e){return e==a})).length)throw new RangeError("".concat(a," is not within ").concat(i.join(", ")));return a}return o}},91001:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOptionsObject=void 0,t.GetOptionsObject=function(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")}},49981:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetStringOrBooleanOption=void 0;var r=n(48083);t.GetStringOrBooleanOption=function(e,t,n,i,o,a){var s=e[t];if(void 0===s)return a;if(!0===s)return i;if(!1===Boolean(s))return o;if("true"===(s=(0,r.ToString)(s))||"false"===s)return a;if(-1===(n||[]).indexOf(s))throw new RangeError("Invalid value ".concat(s));return s}},85176:function(e,t){"use strict";function n(e){return e.slice(e.indexOf("-")+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.IsSanctionedSimpleUnitIdentifier=t.SIMPLE_UNITS=t.removeUnitNamespace=t.SANCTIONED_UNITS=void 0,t.SANCTIONED_UNITS=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"],t.removeUnitNamespace=n,t.SIMPLE_UNITS=t.SANCTIONED_UNITS.map(n),t.IsSanctionedSimpleUnitIdentifier=function(e){return t.SIMPLE_UNITS.indexOf(e)>-1}},11444:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsValidTimeZoneName=void 0,t.IsValidTimeZoneName=function(e,t){var n=t.tzData,r=t.uppercaseLinks,i=e.toUpperCase(),o=new Set,a=new Set;return Object.keys(n).map((function(e){return e.toUpperCase()})).forEach((function(e){return o.add(e)})),Object.keys(r).forEach((function(e){a.add(e.toUpperCase()),o.add(r[e].toUpperCase())})),o.has(i)||a.has(i)}},19248:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsWellFormedCurrencyCode=void 0;var n=/[^A-Z]/;t.IsWellFormedCurrencyCode=function(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!n.test(e)}},68274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsWellFormedUnitIdentifier=void 0;var r=n(85176);t.IsWellFormedUnitIdentifier=function(e){if(e=e.replace(/([A-Z])/g,(function(e,t){return t.toLowerCase()})),(0,r.IsSanctionedSimpleUnitIdentifier)(e))return!0;var t=e.split("-per-");if(2!==t.length)return!1;var n=t[0],i=t[1];return!(!(0,r.IsSanctionedSimpleUnitIdentifier)(n)||!(0,r.IsSanctionedSimpleUnitIdentifier)(i))}},78770:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplyUnsignedRoundingMode=void 0,t.ApplyUnsignedRoundingMode=function(e,t,n,r){if(e===t)return t;if(void 0===r)throw new Error("unsignedRoundingMode is mandatory");if("zero"===r)return t;if("infinity"===r)return n;var i=e-t,o=n-e;if(i<o)return t;if(o<i)return n;if(i!==o)throw new Error("Unexpected error");if("half-zero"===r)return t;if("half-infinity"===r)return n;if("half-even"!==r)throw new Error("Unexpected value for unsignedRoundingMode: ".concat(r));return 0===t/(n-t)%2?t:n}},44017:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollapseNumberRange=void 0,t.CollapseNumberRange=function(e){return e}},91194:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeExponent=void 0;var r=n(99477),i=n(49619),o=n(99522);t.ComputeExponent=function(e,t,n){var a=n.getInternalSlots;if(0===t)return[0,0];t<0&&(t=-t);var s=(0,r.getMagnitude)(t),l=(0,i.ComputeExponentForMagnitude)(e,s,{getInternalSlots:a});t=l<0?t*Math.pow(10,-l):t/Math.pow(10,l);var c=(0,o.FormatNumericToString)(a(e),t);return 0===c.roundedNumber||(0,r.getMagnitude)(c.roundedNumber)===s-l?[l,s]:[(0,i.ComputeExponentForMagnitude)(e,s+1,{getInternalSlots:a}),s+1]}},49619:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeExponentForMagnitude=void 0,t.ComputeExponentForMagnitude=function(e,t,n){var r=(0,n.getInternalSlots)(e),i=r.notation,o=r.dataLocaleData,a=r.numberingSystem;switch(i){case"standard":return 0;case"scientific":return t;case"engineering":return 3*Math.floor(t/3);default:var s=r.compactDisplay,l=r.style,c=r.currencyDisplay,u=void 0;if("currency"===l&&"name"!==c){u=(o.numbers.currency[a]||o.numbers.currency[o.numbers.nu[0]]).short}else{var d=o.numbers.decimal[a]||o.numbers.decimal[o.numbers.nu[0]];u="long"===s?d.long:d.short}if(!u)return 0;var p=String(Math.pow(10,t)),f=Object.keys(u);if(p<f[0])return 0;if(p>f[f.length-1])return f[f.length-1].length-1;var h=f.indexOf(p);if(-1===h)return 0;var m=f[h];return"0"===u[m].other?0:m.length-u[m].other.match(/0+/)[0].length}}},50416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyDigits=void 0;var r=n(48083);t.CurrencyDigits=function(e,t){var n=t.currencyDigitsData;return(0,r.HasOwnProperty)(n,e)?n[e]:2}},8659:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatApproximately=void 0,t.FormatApproximately=function(e,t,n){var r=(0,n.getInternalSlots)(e),i=r.dataLocaleData.numbers.symbols[r.numberingSystem].approximatelySign;return t.push({type:"approximatelySign",value:i}),t}},3051:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericRange=void 0;var r=n(88079);t.FormatNumericRange=function(e,t,n,i){var o=i.getInternalSlots;return(0,r.PartitionNumberRangePattern)(e,t,n,{getInternalSlots:o}).map((function(e){return e.value})).join("")}},21472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericRangeToParts=void 0;var r=n(88079);t.FormatNumericRangeToParts=function(e,t,n,i){var o=i.getInternalSlots;return(0,r.PartitionNumberRangePattern)(e,t,n,{getInternalSlots:o}).map((function(e,t){return{type:e.type,value:e.value,source:e.source,result:t.toString()}}))}},62393:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericToParts=void 0;var r=n(37963),i=n(48083);t.FormatNumericToParts=function(e,t,n){for(var o=(0,r.PartitionNumberPattern)(e,t,n),a=(0,i.ArrayCreate)(0),s=0,l=o;s<l.length;s++){var c=l[s];a.push({type:c.type,value:c.value})}return a}},99522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatNumericToString=void 0;var r=n(48083),i=n(72473),o=n(99477),a=n(52340);t.FormatNumericToString=function(e,t){var n,s=t<0||(0,r.SameValue)(t,-0);switch(s&&(t=-t),e.roundingType){case"significantDigits":n=(0,i.ToRawPrecision)(t,e.minimumSignificantDigits,e.maximumSignificantDigits);break;case"fractionDigits":n=(0,a.ToRawFixed)(t,e.minimumFractionDigits,e.maximumFractionDigits);break;default:(n=(0,i.ToRawPrecision)(t,1,2)).integerDigitsCount>1&&(n=(0,a.ToRawFixed)(t,0,0))}t=n.roundedNumber;var l=n.formattedString,c=n.integerDigitsCount,u=e.minimumIntegerDigits;return c<u&&(l=(0,o.repeat)("0",u-c)+l),s&&(t=-t),{roundedNumber:t,formattedString:l}}},91580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnsignedRoundingMode=void 0;var n={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},r={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};t.GetUnsignedRoundingMode=function(e,t){return t?n[e]:r[e]}},28228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeNumberFormat=void 0;var r=n(99937),i=n(42998),o=n(25851),a=n(68315),s=n(37281),l=n(49981),c=n(99477),u=n(50416),d=n(30661),p=n(4653),f=[1,2,5,10,20,25,50,100,200,250,500,1e3,2e3];t.InitializeNumberFormat=function(e,t,n,h){var m=h.getInternalSlots,g=h.localeData,v=h.availableLocales,y=h.numberingSystemNames,b=h.getDefaultLocale,w=h.currencyDigitsData,_=(0,i.CanonicalizeLocaleList)(t),S=(0,o.CoerceOptionsToObject)(n),x=Object.create(null),E=(0,s.GetOption)(S,"localeMatcher","string",["lookup","best fit"],"best fit");x.localeMatcher=E;var k=(0,s.GetOption)(S,"numberingSystem","string",void 0,void 0);if(void 0!==k&&y.indexOf(k)<0)throw RangeError("Invalid numberingSystems: ".concat(k));x.nu=k;var C=(0,r.ResolveLocale)(Array.from(v),_,x,["nu"],g,b),T=g[C.dataLocale];(0,c.invariant)(!!T,"Missing locale data for ".concat(C.dataLocale));var O=m(e);O.locale=C.locale,O.dataLocale=C.dataLocale,O.numberingSystem=C.nu,O.dataLocaleData=T,(0,p.SetNumberFormatUnitOptions)(e,S,{getInternalSlots:m});var M,A,P=O.style;if("currency"===P){var L=O.currency,D=(0,u.CurrencyDigits)(L,{currencyDigitsData:w});M=D,A=D}else M=0,A="percent"===P?0:3;var R=(0,s.GetOption)(S,"notation","string",["standard","scientific","engineering","compact"],"standard");O.notation=R,(0,d.SetNumberFormatDigitOptions)(O,S,M,A,R);var I=(0,a.GetNumberOption)(S,"roundingIncrement",1,5e3,1);if(-1===f.indexOf(I))throw new RangeError("Invalid rounding increment value: ".concat(I,".\nValid values are ").concat(f,"."));if(1!==I&&"fractionDigits"!==O.roundingType)throw new TypeError("For roundingIncrement > 1 only fractionDigits is a valid roundingType");if(1!==I&&O.maximumFractionDigits!==O.minimumFractionDigits)throw new RangeError("With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.");O.roundingIncrement=I;var N=(0,s.GetOption)(S,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");O.trailingZeroDisplay=N;var j=(0,s.GetOption)(S,"compactDisplay","string",["short","long"],"short"),B="auto";return"compact"===R&&(O.compactDisplay=j,B="min2"),O.useGrouping=(0,l.GetStringOrBooleanOption)(S,"useGrouping",["min2","auto","always"],"always",!1,B),O.signDisplay=(0,s.GetOption)(S,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto"),O.roundingMode=(0,s.GetOption)(S,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),e}},37963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionNumberPattern=void 0;var r=n(76093),i=n(99522),o=n(48083),a=n(91194),s=r.__importDefault(n(11867));t.PartitionNumberPattern=function(e,t,n){var r,l,c,u=n.getInternalSlots,d=u(e),p=d.pl,f=d.dataLocaleData,h=d.numberingSystem,m=f.numbers.symbols[h]||f.numbers.symbols[f.numbers.nu[0]],g=0,v=0;if(isNaN(t))l=m.nan;else if(t==Number.POSITIVE_INFINITY||t==Number.NEGATIVE_INFINITY)l=m.infinity;else{if(!(0,o.SameValue)(t,-0)){if(!isFinite(t))throw new Error("Input must be a mathematical value");"percent"==d.style&&(t*=100),v=(r=(0,a.ComputeExponent)(e,t,{getInternalSlots:u}))[0],g=r[1],t=v<0?t*Math.pow(10,-v):t/Math.pow(10,v)}var y=(0,i.FormatNumericToString)(d,t);l=y.formattedString,t=y.roundedNumber}switch(d.signDisplay){case"never":c=0;break;case"auto":c=(0,o.SameValue)(t,0)||t>0||isNaN(t)?0:-1;break;case"always":c=(0,o.SameValue)(t,0)||t>0||isNaN(t)?1:-1;break;default:c=0===t||isNaN(t)?0:t>0?1:-1}return(0,s.default)({roundedNumber:t,formattedString:l,exponent:v,magnitude:g,sign:c},d.dataLocaleData,p,d)}},88079:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionNumberRangePattern=void 0;var r=n(37963),i=n(44017),o=n(8659);t.PartitionNumberRangePattern=function(e,t,n,a){var s=a.getInternalSlots;if(isNaN(t)||isNaN(n))throw new RangeError("Input must be a number");var l=[],c=(0,r.PartitionNumberPattern)(e,t,{getInternalSlots:s}),u=(0,r.PartitionNumberPattern)(e,n,{getInternalSlots:s});if(c===u)return(0,o.FormatApproximately)(e,c,{getInternalSlots:s});for(var d=0,p=c;d<p.length;d++){p[d].source="startRange"}l=l.concat(c);var f=s(e),h=f.dataLocaleData.numbers.symbols[f.numberingSystem];l.push({type:"literal",value:h.rangeSign,source:"shared"});for(var m=0,g=u;m<g.length;m++){g[m].source="endRange"}return l=l.concat(u),(0,i.CollapseNumberRange)(l)}},30661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatDigitOptions=void 0;var r=n(37829),i=n(68315),o=n(37281);t.SetNumberFormatDigitOptions=function(e,t,n,a,s){var l=(0,i.GetNumberOption)(t,"minimumIntegerDigits",1,21,1),c=t.minimumFractionDigits,u=t.maximumFractionDigits,d=t.minimumSignificantDigits,p=t.maximumSignificantDigits;e.minimumIntegerDigits=l;var f=(0,o.GetOption)(t,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),h=void 0!==d||void 0!==p,m=void 0!==c||void 0!==u,g=!0,v=!0;if("auto"===f&&(g=h,(h||!m&&"compact"===s)&&(v=!1)),g&&(h?(d=(0,r.DefaultNumberOption)(d,1,21,1),p=(0,r.DefaultNumberOption)(p,d,21,21),e.minimumSignificantDigits=d,e.maximumSignificantDigits=p):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),v)if(m){if(c=(0,r.DefaultNumberOption)(c,0,20,void 0),u=(0,r.DefaultNumberOption)(u,0,20,void 0),void 0===c)c=Math.min(n,u);else if(void 0===u)u=Math.max(a,c);else if(c>u)throw new RangeError("Invalid range, ".concat(c," > ").concat(u));e.minimumFractionDigits=c,e.maximumFractionDigits=u}else e.minimumFractionDigits=n,e.maximumFractionDigits=a;g||v?e.roundingType="morePrecision"===f?"morePrecision":"lessPrecision"===f?"lessPrecision":h?"significantDigits":"fractionDigits":(e.roundingType="morePrecision",e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2)}},4653:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNumberFormatUnitOptions=void 0;var r=n(37281),i=n(19248),o=n(68274);t.SetNumberFormatUnitOptions=function(e,t,n){void 0===t&&(t=Object.create(null));var a=(0,n.getInternalSlots)(e),s=(0,r.GetOption)(t,"style","string",["decimal","percent","currency","unit"],"decimal");a.style=s;var l=(0,r.GetOption)(t,"currency","string",void 0,void 0);if(void 0!==l&&!(0,i.IsWellFormedCurrencyCode)(l))throw RangeError("Malformed currency code");if("currency"===s&&void 0===l)throw TypeError("currency cannot be undefined");var c=(0,r.GetOption)(t,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),u=(0,r.GetOption)(t,"currencySign","string",["standard","accounting"],"standard"),d=(0,r.GetOption)(t,"unit","string",void 0,void 0);if(void 0!==d&&!(0,o.IsWellFormedUnitIdentifier)(d))throw RangeError("Invalid unit argument for Intl.NumberFormat()");if("unit"===s&&void 0===d)throw TypeError("unit cannot be undefined");var p=(0,r.GetOption)(t,"unitDisplay","string",["short","narrow","long"],"short");"currency"===s&&(a.currency=l.toUpperCase(),a.currencyDisplay=c,a.currencySign=u),"unit"===s&&(a.unit=d,a.unitDisplay=p)}},52340:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawFixed=void 0;var r=n(99477);t.ToRawFixed=function(e,t,n){var i,o,a=n,s=Math.round(e*Math.pow(10,a)),l=s/Math.pow(10,a);if(s<1e21)i=s.toString();else{var c=(i=s.toString()).split("e"),u=c[0],d=c[1];i=u.replace(".",""),i+=(0,r.repeat)("0",Math.max(+d-i.length+1,0))}if(0!==a){var p=i.length;if(p<=a)i=(0,r.repeat)("0",a+1-p)+i,p=a+1;var f=i.slice(0,p-a),h=i.slice(p-a);i="".concat(f,".").concat(h),o=f.length}else o=i.length;for(var m=n-t;m>0&&"0"===i[i.length-1];)i=i.slice(0,-1),m--;return"."===i[i.length-1]&&(i=i.slice(0,-1)),{formattedString:i,roundedNumber:l,integerDigitsCount:o}}},72473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToRawPrecision=void 0;var r=n(99477);t.ToRawPrecision=function(e,t,n){var i,o,a,s,l=n;if(0===e)i=(0,r.repeat)("0",l),o=0,a=0;else{var c=e.toString(),u=c.indexOf("e"),d=c.split("e"),p=d[0],f=d[1],h=p.replace(".","");if(u>=0&&h.length<=l)o=+f,i=h+(0,r.repeat)("0",l-h.length),a=e;else{var m=(o=(0,r.getMagnitude)(e))-l+1,g=Math.round(y(e,m));y(g,l-1)>=10&&(o+=1,g=Math.floor(g/10)),i=g.toString(),a=y(g,l-1-o)}}if(o>=l-1?(i+=(0,r.repeat)("0",o-l+1),s=o+1):o>=0?(i="".concat(i.slice(0,o+1),".").concat(i.slice(o+1)),s=o+1):(i="0.".concat((0,r.repeat)("0",-o-1)).concat(i),s=1),i.indexOf(".")>=0&&n>t){for(var v=n-t;v>0&&"0"===i[i.length-1];)i=i.slice(0,-1),v--;"."===i[i.length-1]&&(i=i.slice(0,-1))}return{formattedString:i,roundedNumber:a,integerDigitsCount:s};function y(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}},31071:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.digitMapping=void 0,t.digitMapping={adlm:["ðž¥","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["Ù ","Ù¡","Ù¢","Ù£","Ù¤","Ù¥","Ù¦","Ù§","Ù¨","Ù©"],arabext:["Û°","Û±","Û²","Û³","Û´","Ûµ","Û¶","Û·","Û¸","Û¹"],bali:["á","á‘","á’","á“","á”","á•","á–","á—","á˜","á™"],beng:["০","১","২","৩","৪","৫","৬","à§","৮","৯"],bhks:["ð‘±","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["ð‘¦","ð‘§","ð‘¨","ð‘©","ð‘ª","ð‘«","ð‘¬","ð‘","ð‘®","ð‘¯"],cakm:["𑄶","ð‘„·","𑄸","ð‘„¹","𑄺","ð‘„»","ð‘„¼","ð‘„½","ð‘„¾","ð‘„¿"],cham:["ê©","ê©‘","ê©’","ê©“","ê©”","ê©•","ê©–","ê©—","꩘","ê©™"],deva:["०","१","२","३","४","५","६","à¥","८","९"],diak:["ð‘¥","𑥑","ð‘¥’","𑥓","ð‘¥”","𑥕","ð‘¥–","ð‘¥—","𑥘","ð‘¥™"],fullwide:["ï¼","1","ï¼’","3","ï¼”","5","ï¼–","ï¼—","8","ï¼™"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["ð‘µ","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","à«©","૪","à««","૬","à«","à«®","૯"],guru:["੦","੧","੨","à©©","੪","à©«","੬","à©","à©®","੯"],hanidec:["〇","一","二","三","å››","五","å…","七","å…«","ä¹"],hmng:["ð–","ð–‘","ð–’","ð–“","ð–”","ð–•","ð––","ð–—","ð–˜","ð–™"],hmnp:["ðž…€","ðž…","ðž…‚","ðž…ƒ","ðž…„","ðž……","ðž…†","ðž…‡","ðž…ˆ","ðž…‰"],java:["ê§","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","ê¤","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","à³","à³®","೯"],lana:["᪀","áª","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["áª","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["à»","໑","à»’","໓","à»”","໕","à»–","à»—","໘","à»™"],lepc:["áª","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","á¥","᥎","á¥"],mathbold:["ðŸŽ","ðŸ","ðŸ","ðŸ‘","ðŸ’","ðŸ“","ðŸ”","ðŸ•","ðŸ–","ðŸ—"],mathdbl:["ðŸ˜","ðŸ™","ðŸš","ðŸ›","ðŸœ","ðŸ","ðŸž","ðŸŸ","ðŸ ","ðŸ¡"],mathmono:["ðŸ¶","ðŸ·","ðŸ¸","ðŸ¹","ðŸº","ðŸ»","ðŸ¼","ðŸ½","ðŸ¾","ðŸ¿"],mathsanb:["ðŸ¬","ðŸ","ðŸ®","ðŸ¯","ðŸ°","ðŸ±","ðŸ²","ðŸ³","ðŸ´","ðŸµ"],mathsans:["ðŸ¢","ðŸ£","ðŸ¤","ðŸ¥","ðŸ¦","ðŸ§","ðŸ¨","ðŸ©","ðŸª","ðŸ«"],mlym:["൦","൧","൨","൩","൪","൫","൬","àµ","൮","൯"],modi:["ð‘™","ð‘™‘","ð‘™’","ð‘™“","ð‘™”","ð‘™•","ð‘™–","ð‘™—","𑙘","ð‘™™"],mong:["á ","á ‘","á ’","á “","á ”","á •","á –","á —","á ˜","á ™"],mroo:["ð–© ","ð–©¡","ð–©¢","ð–©£","𖩤","ð–©¥","𖩦","𖩧","𖩨","ð–©©"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["á€","á","á‚","áƒ","á„","á…","á†","á‡","áˆ","á‰"],mymrshan:["á‚","á‚‘","á‚’","á‚“","á‚”","á‚•","á‚–","á‚—","႘","á‚™"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["ð‘‘","ð‘‘‘","ð‘‘’","ð‘‘“","ð‘‘”","ð‘‘•","ð‘‘–","ð‘‘—","𑑘","ð‘‘™"],nkoo:["߀","ß","ß‚","߃","ß„","ß…","߆","߇","߈","߉"],olck:["á±","᱑","á±’","᱓","á±”","᱕","á±–","á±—","᱘","á±™"],orya:["à¦","à§","à¨","à©","àª","à«","à¬","à","à®","à¯"],osma:["ð’ ","ð’¡","ð’¢","ð’£","ð’¤","ð’¥","ð’¦","ð’§","ð’¨","ð’©"],rohg:["ð´°","ð´±","ð´²","ð´³","ð´´","ð´µ","ð´¶","ð´·","ð´¸","ð´¹"],saur:["ê£","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["ð‘‡","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["ð‘‹°","ð‘‹±","ð‘‹²","ð‘‹³","ð‘‹´","ð‘‹µ","𑋶","ð‘‹·","𑋸","ð‘‹¹"],sinh:["à·¦","à·§","à·¨","à·©","à·ª","à·«","à·¬","à·","à·®","à·¯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["á®°","á®±","᮲","᮳","á®´","᮵","᮶","á®·","᮸","᮹"],takr:["𑛀","ð‘›","ð‘›‚","𑛃","ð‘›„","ð‘›…","𑛆","𑛇","𑛈","𑛉"],talu:["á§","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","à¯","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","à±","à±®","౯"],thai:["à¹","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["ð‘“","ð‘“‘","ð‘“’","ð‘““","ð‘“”","ð‘“•","ð‘“–","ð‘“—","𑓘","ð‘“™"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["ð‘£ ","𑣡","ð‘£¢","ð‘££","𑣤","ð‘£¥","𑣦","𑣧","𑣨","𑣩"],wcho:["ðž‹°","𞋱","𞋲","𞋳","ðž‹´","𞋵","𞋶","ðž‹·","𞋸","𞋹"]}},11867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52340),i=n(31071),o=n(60991),a=new RegExp("^".concat(o.S_UNICODE_REGEX.source)),s=new RegExp("".concat(o.S_UNICODE_REGEX.source,"$")),l=/[#0](?:[\.,][#0]+)*/g;function c(e,t,n,o,a,s,l){var c=[],u=t.formattedString,d=t.roundedNumber;if(isNaN(d))return[{type:"nan",value:u}];if(!isFinite(d))return[{type:"infinity",value:u}];var p=i.digitMapping[a];p&&(u=u.replace(/\d/g,(function(e){return p[+e]||e})));var f,h,m=u.indexOf(".");if(m>0?(f=u.slice(0,m),h=u.slice(m+1)):f=u,s&&("compact"!==n||d>=1e4)){var g=e.group,v=[],y=l.split(".")[0].split(","),b=3,w=3;y.length>1&&(b=y[y.length-1].length),y.length>2&&(w=y[y.length-2].length);var _=f.length-b;if(_>0){for(v.push(f.slice(_,_+b)),_-=w;_>0;_-=w)v.push(f.slice(_,_+w));v.push(f.slice(0,_+w))}else v.push(f);for(;v.length>0;){var S=v.pop();c.push({type:"integer",value:S}),v.length>0&&c.push({type:"group",value:g})}}else c.push({type:"integer",value:f});if(void 0!==h&&c.push({type:"decimal",value:e.decimal},{type:"fraction",value:h}),("scientific"===n||"engineering"===n)&&isFinite(d)){c.push({type:"exponentSeparator",value:e.exponential}),o<0&&(c.push({type:"exponentMinusSign",value:e.minusSign}),o=-o);var x=(0,r.ToRawFixed)(o,0,0);c.push({type:"exponentInteger",value:x.formattedString})}return c}function u(e,t){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var n=e.split(";"),r=n[0],i=n[1];switch(t){case 0:return r;case-1:return i;default:return i.indexOf("-")>=0?i.replace(/-/g,"+"):"+".concat(r)}}function d(e,t,n){return n[e.select(t)]||n.other}t.default=function(e,t,n,r){var i,o,p=e.sign,f=e.exponent,h=e.magnitude,m=r.notation,g=r.style,v=r.numberingSystem,y=t.numbers.nu[0],b=null;if("compact"===m&&h&&(b=function(e,t,n,r,i,o,a){var s,l,c=e.roundedNumber,p=e.sign,f=e.magnitude,h=String(Math.pow(10,f)),m=n.numbers.nu[0];if("currency"===r&&"name"!==o){var g=null===(s=((v=n.numbers.currency)[a]||v[m]).short)||void 0===s?void 0:s[h];if(!g)return null;l=d(t,c,g)}else{var v,y=((v=n.numbers.decimal)[a]||v[m])[i][h];if(!y)return null;l=d(t,c,y)}if("0"===l)return null;return l=u(l,p).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),l}(e,n,t,g,r.compactDisplay,r.currencyDisplay,v)),"currency"===g&&"name"!==r.currencyDisplay){var w=t.currencies[r.currency];if(w)switch(r.currencyDisplay){case"code":i=r.currency;break;case"symbol":i=w.symbol;break;default:i=w.narrow}else i=r.currency}if(b)o=b;else if("decimal"===g||"unit"===g||"currency"===g&&"name"===r.currencyDisplay)o=u((t.numbers.decimal[v]||t.numbers.decimal[y]).standard,p);else if("currency"===g){o=u((S=t.numbers.currency[v]||t.numbers.currency[y])[r.currencySign],p)}else{o=u(t.numbers.percent[v]||t.numbers.percent[y],p)}var _=l.exec(o)[0];if(o=o.replace(l,"{0}").replace(/'(.)'/g,"$1"),"currency"===g&&"name"!==r.currencyDisplay){var S,x=(S=t.numbers.currency[v]||t.numbers.currency[y]).currencySpacing.afterInsertBetween;x&&!s.test(i)&&(o=o.replace("¤{0}","¤".concat(x,"{0}")));var E=S.currencySpacing.beforeInsertBetween;E&&!a.test(i)&&(o=o.replace("{0}¤","{0}".concat(E,"¤")))}for(var k=o.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),C=[],T=t.numbers.symbols[v]||t.numbers.symbols[y],O=0,M=k;O<M.length;O++){if(Z=M[O])switch(Z){case"{0}":C.push.apply(C,c(T,e,m,f,v,!b&&Boolean(r.useGrouping),_));break;case"-":C.push({type:"minusSign",value:T.minusSign});break;case"+":C.push({type:"plusSign",value:T.plusSign});break;case"%":C.push({type:"percentSign",value:T.percentSign});break;case"¤":C.push({type:"currency",value:i});break;default:/^\{c:/.test(Z)?C.push({type:"compact",value:Z.substring(3,Z.length-1)}):C.push({type:"literal",value:Z})}}switch(g){case"currency":if("name"===r.currencyDisplay){var A=(t.numbers.currency[v]||t.numbers.currency[y]).unitPattern,P=void 0,L=t.currencies[r.currency];P=L?d(n,e.roundedNumber*Math.pow(10,f),L.displayName):r.currency;for(var D=[],R=0,I=A.split(/(\{[01]\})/g);R<I.length;R++){switch(Z=I[R]){case"{0}":D.push.apply(D,C);break;case"{1}":D.push({type:"currency",value:P});break;default:Z&&D.push({type:"literal",value:Z})}}return D}return C;case"unit":var N=r.unit,j=r.unitDisplay,B=t.units.simple[N];A=void 0;if(B)A=d(n,e.roundedNumber*Math.pow(10,f),t.units.simple[N][j]);else{var F=N.split("-per-"),H=F[0],z=F[1];B=t.units.simple[H];var V=d(n,e.roundedNumber*Math.pow(10,f),t.units.simple[H][j]),U=t.units.simple[z].perUnit[j];if(U)A=U.replace("{0}",V);else{var $=t.units.compound.per[j],G=d(n,1,t.units.simple[z][j]);A=A=$.replace("{0}",V).replace("{1}",G.replace("{0}",""))}}D=[];for(var q=0,W=A.split(/(\s*\{0\}\s*)/);q<W.length;q++){var Z=W[q],Y=/^(\s*)\{0\}(\s*)$/.exec(Z);Y?(Y[1]&&D.push({type:"literal",value:Y[1]}),D.push.apply(D,C),Y[2]&&D.push({type:"literal",value:Y[2]})):Z&&D.push({type:"unit",value:Z})}return D;default:return C}}},24818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionPattern=void 0;var r=n(99477);t.PartitionPattern=function(e){for(var t=[],n=e.indexOf("{"),i=0,o=0,a=e.length;n<e.length&&n>-1;)i=e.indexOf("}",n),(0,r.invariant)(i>n,"Invalid pattern ".concat(e)),n>o&&t.push({type:"literal",value:e.substring(o,n)}),t.push({type:e.substring(n+1,i),value:void 0}),o=i+1,n=e.indexOf("{",o);return o<a&&t.push({type:"literal",value:e.substring(o,a)}),t}},42479:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedLocales=void 0;var r=n(99937),i=n(48083),o=n(37281);t.SupportedLocales=function(e,t,n){return void 0!==n&&(n=(0,i.ToObject)(n),(0,o.GetOption)(n,"localeMatcher","string",["lookup","best fit"],"best fit")),(0,r.LookupSupportedLocales)(Array.from(e),t)}},42234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMissingLocaleDataError=void 0;var r=n(76093);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}r.__extends(t,e)}(Error);t.isMissingLocaleDataError=function(e){return"MISSING_LOCALE_DATA"===e.type}},78264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=t.isMissingLocaleDataError=t.defineProperty=t.getMagnitude=t.setMultiInternalSlots=t.setInternalSlot=t.isLiteralPart=t.getMultiInternalSlots=t.getInternalSlot=t._formatToParts=void 0;var r=n(76093);r.__exportStar(n(42998),t),r.__exportStar(n(7029),t),r.__exportStar(n(25851),t),r.__exportStar(n(68315),t),r.__exportStar(n(37281),t),r.__exportStar(n(91001),t),r.__exportStar(n(49981),t),r.__exportStar(n(85176),t),r.__exportStar(n(11444),t),r.__exportStar(n(19248),t),r.__exportStar(n(68274),t),r.__exportStar(n(78770),t),r.__exportStar(n(44017),t),r.__exportStar(n(91194),t),r.__exportStar(n(49619),t),r.__exportStar(n(50416),t),r.__exportStar(n(8659),t),r.__exportStar(n(3051),t),r.__exportStar(n(21472),t),r.__exportStar(n(62393),t),r.__exportStar(n(99522),t),r.__exportStar(n(91580),t),r.__exportStar(n(28228),t),r.__exportStar(n(37963),t),r.__exportStar(n(88079),t),r.__exportStar(n(30661),t),r.__exportStar(n(4653),t),r.__exportStar(n(52340),t),r.__exportStar(n(72473),t);var i=n(11867);Object.defineProperty(t,"_formatToParts",{enumerable:!0,get:function(){return r.__importDefault(i).default}}),r.__exportStar(n(24818),t),r.__exportStar(n(42479),t);var o=n(99477);Object.defineProperty(t,"getInternalSlot",{enumerable:!0,get:function(){return o.getInternalSlot}}),Object.defineProperty(t,"getMultiInternalSlots",{enumerable:!0,get:function(){return o.getMultiInternalSlots}}),Object.defineProperty(t,"isLiteralPart",{enumerable:!0,get:function(){return o.isLiteralPart}}),Object.defineProperty(t,"setInternalSlot",{enumerable:!0,get:function(){return o.setInternalSlot}}),Object.defineProperty(t,"setMultiInternalSlots",{enumerable:!0,get:function(){return o.setMultiInternalSlots}}),Object.defineProperty(t,"getMagnitude",{enumerable:!0,get:function(){return o.getMagnitude}}),Object.defineProperty(t,"defineProperty",{enumerable:!0,get:function(){return o.defineProperty}});var a=n(42234);Object.defineProperty(t,"isMissingLocaleDataError",{enumerable:!0,get:function(){return a.isMissingLocaleDataError}}),r.__exportStar(n(64595),t),r.__exportStar(n(89334),t),r.__exportStar(n(88210),t),r.__exportStar(n(27499),t),r.__exportStar(n(72082),t),r.__exportStar(n(71614),t);var s=n(99477);Object.defineProperty(t,"invariant",{enumerable:!0,get:function(){return s.invariant}}),r.__exportStar(n(48083),t)},60991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.S_UNICODE_REGEX=void 0,t.S_UNICODE_REGEX=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/},89334:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RangePatternType=void 0,function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(n||(t.RangePatternType=n={}))},71614:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},88210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},72082:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},27499:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},64595:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},99477:function(e,t){"use strict";function n(e,t,n,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[n]=r}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=e.get(t);if(!i)throw new TypeError("".concat(t," InternalSlot has not been initialized"));return n.reduce((function(e,t){return e[t]=i[t],e}),Object.create(null))}Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=t.UNICODE_EXTENSION_SEQUENCE_REGEX=t.defineProperty=t.isLiteralPart=t.getMultiInternalSlots=t.getInternalSlot=t.setMultiInternalSlots=t.setInternalSlot=t.repeat=t.getMagnitude=void 0,t.getMagnitude=function(e){return Math.floor(Math.log(e)*Math.LOG10E)},t.repeat=function(e,t){if("function"==typeof e.repeat)return e.repeat(t);for(var n=new Array(t),r=0;r<n.length;r++)n[r]=e;return n.join("")},t.setInternalSlot=n,t.setMultiInternalSlots=function(e,t,r){for(var i=0,o=Object.keys(r);i<o.length;i++){var a=o[i];n(e,t,a,r[a])}},t.getInternalSlot=function(e,t,n){return r(e,t,n)[n]},t.getMultiInternalSlots=r,t.isLiteralPart=function(e){return"literal"===e.type},t.defineProperty=function(e,t,n){var r=n.value;Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r})},t.UNICODE_EXTENSION_SEQUENCE_REGEX=/-u(?:-[0-9a-z]{2,8})+/gi,t.invariant=function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}},34568:function(e,t){"use strict";function n(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function r(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function i(e,t,n,r,i){return n.bind(t,e,r,i)}function o(e,t){return i(e,this,1===e.length?n:r,t.cache.create(),t.serializer)}Object.defineProperty(t,"__esModule",{value:!0}),t.strategies=t.memoize=void 0,t.memoize=function(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})};var a=function(){return JSON.stringify(arguments)};function s(){this.cache=Object.create(null)}s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new s}};t.strategies={variadic:function(e,t){return i(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,t){return i(e,this,n,t.cache.create(),t.serializer)}}},57474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBestPattern=void 0;var r=n(41685);function i(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(r.timeData[n||""]||r.timeData[i||""]||r.timeData["".concat(i,"-001")]||r.timeData["001"])[0]}t.getBestPattern=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var a=0;r+1<e.length&&e.charAt(r+1)===o;)a++,r++;var s=1+(1&a),l=a<2?1:3+(a>>1),c=i(t);for("H"!=c&&"k"!=c||(l=0);l-- >0;)n+="a";for(;s-- >0;)n=c+n}else n+="J"===o?"H":o}return n}},97214:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorKind=void 0,function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(t.ErrorKind=n={}))},8831:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._Parser=t.parse=void 0;var r=n(65154),i=n(97214),o=n(57753),a=n(58744);function s(e){e.forEach((function(e){if(delete e.location,(0,a.isSelectElement)(e)||(0,a.isPluralElement)(e))for(var t in e.options)delete e.options[t].location,s(e.options[t].value);else(0,a.isNumberElement)(e)&&(0,a.isNumberSkeleton)(e.style)||((0,a.isDateElement)(e)||(0,a.isTimeElement)(e))&&(0,a.isDateTimeSkeleton)(e.style)?delete e.style.location:(0,a.isTagElement)(e)&&s(e.children)}))}t.parse=function(e,t){void 0===t&&(t={}),t=r.__assign({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new o.Parser(e,t).parse();if(n.err){var a=SyntaxError(i.ErrorKind[n.err.kind]);throw a.location=n.err.location,a.originalMessage=n.err.message,a}return(null==t?void 0:t.captureLocation)||s(n.val),n.val},r.__exportStar(n(58744),t),t._Parser=o.Parser},57753:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=n(65154),o=n(97214),a=n(58744),s=n(35309),l=n(55157),c=n(57474),u=new RegExp("^".concat(s.SPACE_SEPARATOR_REGEX.source,"*")),d=new RegExp("".concat(s.SPACE_SEPARATOR_REGEX.source,"*$"));function p(e,t){return{start:e,end:t}}var f=!!String.prototype.startsWith&&"_a".startsWith("a",1),h=!!String.fromCodePoint,m=!!Object.fromEntries,g=!!String.prototype.codePointAt,v=!!String.prototype.trimStart,y=!!String.prototype.trimEnd,b=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},w=!0;try{w="a"===(null===(r=O("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===r?void 0:r[0])}catch(e){w=!1}var _,S=f?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},x=h?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},E=m?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},k=g?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},C=v?function(e){return e.trimStart()}:function(e){return e.replace(u,"")},T=y?function(e){return e.trimEnd()}:function(e){return e.replace(d,"")};function O(e,t){return new RegExp(e,t)}if(w){var M=O("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_=function(e,t){var n;return M.lastIndex=t,null!==(n=M.exec(e)[1])&&void 0!==n?n:""}}else _=function(e,t){for(var n=[];;){var r=k(e,t);if(void 0===r||D(r)||R(r))break;n.push(r),t+=r>=65536?2:1}return x.apply(void 0,n)};var A=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(o.ErrorKind.UNMATCHED_CLOSING_TAG,p(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&P(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var l=this.clonePosition();this.bump(),r.push({type:a.TYPE.pound,location:p(l,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:a.TYPE.literal,value:"<".concat(r,"/>"),location:p(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!P(this.char()))return this.error(o.ErrorKind.INVALID_TAG,p(l,this.clonePosition()));var c=this.clonePosition();return r!==this.parseTagName()?this.error(o.ErrorKind.UNMATCHED_CLOSING_TAG,p(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:a.TYPE.tag,value:r,children:s,location:p(n,this.clonePosition())},err:null}:this.error(o.ErrorKind.INVALID_TAG,p(l,this.clonePosition())))}return this.error(o.ErrorKind.UNCLOSED_TAG,p(n,this.clonePosition()))}return this.error(o.ErrorKind.INVALID_TAG,p(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&L(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var l=p(n,this.clonePosition());return{val:{type:a.TYPE.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(P(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return x.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),x(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.ErrorKind.EMPTY_ARGUMENT,p(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:a.TYPE.argument,value:r,location:p(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=_(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:p(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var s,u=this.clonePosition(),d=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(d){case"":return this.error(o.ErrorKind.EXPECT_ARGUMENT_TYPE,p(u,f));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var m=this.clonePosition();if((k=this.parseSimpleArgStyleIfPossible()).err)return k;if(0===(b=T(k.val)).length)return this.error(o.ErrorKind.EXPECT_ARGUMENT_STYLE,p(this.clonePosition(),this.clonePosition()));h={style:b,styleLocation:p(m,this.clonePosition())}}if((O=this.tryParseArgumentClose(r)).err)return O;var g=p(r,this.clonePosition());if(h&&S(null==h?void 0:h.style,"::",0)){var v=C(h.style.slice(2));if("number"===d)return(k=this.parseNumberSkeletonFromString(v,h.styleLocation)).err?k:{val:{type:a.TYPE.number,value:n,location:g,style:k.val},err:null};if(0===v.length)return this.error(o.ErrorKind.EXPECT_DATE_TIME_SKELETON,g);var y=v;this.locale&&(y=(0,c.getBestPattern)(v,this.locale));var b={type:a.SKELETON_TYPE.dateTime,pattern:y,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,l.parseDateTimeSkeleton)(y):{}};return{val:{type:"date"===d?a.TYPE.date:a.TYPE.time,value:n,location:g,style:b},err:null}}return{val:{type:"number"===d?a.TYPE.number:"date"===d?a.TYPE.date:a.TYPE.time,value:n,location:g,style:null!==(s=null==h?void 0:h.style)&&void 0!==s?s:null},err:null};case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,p(w,i.__assign({},w)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),x=0;if("select"!==d&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p(this.clonePosition(),this.clonePosition()));var k;if(this.bumpSpace(),(k=this.tryParseDecimalInteger(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return k;this.bumpSpace(),_=this.parseIdentifierIfPossible(),x=k.val}var O,M=this.tryParsePluralOrSelectOptions(e,d,t,_);if(M.err)return M;if((O=this.tryParseArgumentClose(r)).err)return O;var A=p(r,this.clonePosition());return"select"===d?{val:{type:a.TYPE.select,value:n,options:E(M.val),location:A},err:null}:{val:{type:a.TYPE.plural,value:n,options:E(M.val),offset:x,pluralType:"plural"===d?"cardinal":"ordinal",location:A},err:null};default:return this.error(o.ErrorKind.INVALID_ARGUMENT_TYPE,p(u,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,p(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(0,l.parseNumberSkeletonFromString)(e)}catch(e){return this.error(o.ErrorKind.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.SKELETON_TYPE.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?(0,l.parseNumberSkeleton)(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,s=[],l=new Set,c=r.value,u=r.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=p(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(l.has(c))return this.error("select"===t?o.ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,p(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var g=this.tryParseArgumentClose(h);if(g.err)return g;s.push([c,{value:m.val,location:p(h,this.clonePosition())}]),l.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?o.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:o.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,p(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(o.ErrorKind.MISSING_OTHER_CLAUSE,p(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=p(r,this.clonePosition());return i?b(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=k(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(S(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&D(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function P(e){return e>=97&&e<=122||e>=65&&e<=90}function L(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function D(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function R(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}t.Parser=A},35309:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITE_SPACE_REGEX=t.SPACE_SEPARATOR_REGEX=void 0,t.SPACE_SEPARATOR_REGEX=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,t.WHITE_SPACE_REGEX=/[\t-\r \x85\u200E\u200F\u2028\u2029]/},41685:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeData=void 0,t.timeData={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]}},58744:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.createNumberElement=t.createLiteralElement=t.isDateTimeSkeleton=t.isNumberSkeleton=t.isTagElement=t.isPoundElement=t.isPluralElement=t.isSelectElement=t.isTimeElement=t.isDateElement=t.isNumberElement=t.isArgumentElement=t.isLiteralElement=t.SKELETON_TYPE=t.TYPE=void 0,function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(n||(t.TYPE=n={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(r||(t.SKELETON_TYPE=r={})),t.isLiteralElement=function(e){return e.type===n.literal},t.isArgumentElement=function(e){return e.type===n.argument},t.isNumberElement=function(e){return e.type===n.number},t.isDateElement=function(e){return e.type===n.date},t.isTimeElement=function(e){return e.type===n.time},t.isSelectElement=function(e){return e.type===n.select},t.isPluralElement=function(e){return e.type===n.plural},t.isPoundElement=function(e){return e.type===n.pound},t.isTagElement=function(e){return e.type===n.tag},t.isNumberSkeleton=function(e){return!(!e||"object"!=typeof e||e.type!==r.number)},t.isDateTimeSkeleton=function(e){return!(!e||"object"!=typeof e||e.type!==r.dateTime)},t.createLiteralElement=function(e){return{type:n.literal,value:e}},t.createNumberElement=function(e,t){return{type:n.number,value:e,style:t}}},28886:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseDateTimeSkeleton=void 0;var n=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;t.parseDateTimeSkeleton=function(e){var t={};return e.replace(n,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}},55157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41246);r.__exportStar(n(28886),t),r.__exportStar(n(53561),t)},53561:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseNumberSkeleton=t.parseNumberSkeletonFromString=void 0;var r=n(41246),i=n(21665);t.parseNumberSkeletonFromString=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(i.WHITE_SPACE_REGEX).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),l=0,c=s;l<c.length;l++){if(0===c[l].length)throw new Error("Invalid number skeleton")}t.push({stem:a,options:s})}return t};var o=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,a=/^(@+)?(\+|#+)?[rs]?$/g,s=/(\*)(0+)|(#+)(0+)|(0+)/g,l=/^(0+)$/;function c(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(a,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function u(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function d(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!l.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function p(e){var t=u(e);return t||{}}t.parseNumberSkeleton=function(e){for(var t={},n=0,i=e;n<i.length;n++){var f=i[n];switch(f.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=f.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=f.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=r.__assign(r.__assign(r.__assign({},t),{notation:"scientific"}),f.options.reduce((function(e,t){return r.__assign(r.__assign({},e),p(t))}),{}));continue;case"engineering":t=r.__assign(r.__assign(r.__assign({},t),{notation:"engineering"}),f.options.reduce((function(e,t){return r.__assign(r.__assign({},e),p(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(f.options[0]);continue;case"integer-width":if(f.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");f.options[0].replace(s,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(l.test(f.stem))t.minimumIntegerDigits=f.stem.length;else if(o.test(f.stem)){if(f.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");f.stem.replace(o,(function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var h=f.options[0];"w"===h?t=r.__assign(r.__assign({},t),{trailingZeroDisplay:"stripIfInteger"}):h&&(t=r.__assign(r.__assign({},t),c(h)))}else if(a.test(f.stem))t=r.__assign(r.__assign({},t),c(f.stem));else{var m=u(f.stem);m&&(t=r.__assign(r.__assign({},t),m));var g=d(f.stem);g&&(t=r.__assign(r.__assign({},t),g))}}return t}},21665:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITE_SPACE_REGEX=void 0,t.WHITE_SPACE_REGEX=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},38925:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestAvailableLocale=void 0,t.BestAvailableLocale=function(e,t){for(var n=t;;){if(e.indexOf(n)>-1)return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}},17635:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BestFitMatcher=void 0;var r=n(10359);t.BestFitMatcher=function(e,t,n){var i,o,a=[],s=t.reduce((function(e,t){var n=t.replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX,"");return a.push(n),e[n]=t,e}),{}),l=(0,r.findBestMatch)(a,e);return l.matchedSupportedLocale&&l.matchedDesiredLocale&&(i=l.matchedSupportedLocale,o=s[l.matchedDesiredLocale].slice(l.matchedDesiredLocale.length)||void 0),i?{locale:i,extension:o}:{locale:n()}}},36368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanonicalizeLocaleList=void 0,t.CanonicalizeLocaleList=function(e){return Intl.getCanonicalLocales(e)}},20924:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupMatcher=void 0;var r=n(38925),i=n(10359);t.LookupMatcher=function(e,t,n){for(var o={locale:""},a=0,s=t;a<s.length;a++){var l=s[a],c=l.replace(i.UNICODE_EXTENSION_SEQUENCE_REGEX,""),u=(0,r.BestAvailableLocale)(e,c);if(u)return o.locale=u,l!==c&&(o.extension=l.slice(c.length,l.length)),o}return o.locale=n(),o}},69690:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LookupSupportedLocales=void 0;var r=n(38925),i=n(10359);t.LookupSupportedLocales=function(e,t){for(var n=[],o=0,a=t;o<a.length;o++){var s=a[o].replace(i.UNICODE_EXTENSION_SEQUENCE_REGEX,""),l=(0,r.BestAvailableLocale)(e,s);l&&n.push(l)}return n}},9868:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveLocale=void 0;var r=n(17635),i=n(20924),o=n(8789),a=n(10359);t.ResolveLocale=function(e,t,n,s,l,c){for(var u,d=(u="lookup"===n.localeMatcher?(0,i.LookupMatcher)(Array.from(e),t,c):(0,r.BestFitMatcher)(Array.from(e),t,c)).locale,p={locale:"",dataLocale:d},f="-u",h=0,m=s;h<m.length;h++){var g=m[h];(0,a.invariant)(d in l,"Missing locale data for ".concat(d));var v=l[d];(0,a.invariant)("object"==typeof v&&null!==v,"locale data ".concat(g," must be an object"));var y=v[g];(0,a.invariant)(Array.isArray(y),"keyLocaleData for ".concat(g," must be an array"));var b=y[0];(0,a.invariant)("string"==typeof b||null===b,"value must be string or null but got ".concat(typeof b," in key ").concat(g));var w="";if(u.extension){var _=(0,o.UnicodeExtensionValue)(u.extension,g);void 0!==_&&(""!==_?~y.indexOf(_)&&(b=_,w="-".concat(g,"-").concat(b)):~_.indexOf("true")&&(b="true",w="-".concat(g)))}if(g in n){var S=n[g];(0,a.invariant)("string"==typeof S||null==S,"optionsValue must be String, Undefined or Null"),~y.indexOf(S)&&S!==b&&(b=S,w="")}p[g]=b,f+=w}if(f.length>2){var x=d.indexOf("-x-");if(-1===x)d+=f;else{var E=d.slice(0,x),k=d.slice(x,d.length);d=E+f+k}d=Intl.getCanonicalLocales(d)[0]}return p.locale=d,p}},8789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeExtensionValue=void 0;var r=n(10359);t.UnicodeExtensionValue=function(e,t){(0,r.invariant)(2===t.length,"key must have 2 elements");var n=e.length,i="-".concat(t,"-"),o=e.indexOf(i);if(-1!==o){for(var a=o+4,s=a,l=a,c=!1;!c;){var u=e.indexOf("-",l);2===(-1===u?n-l:u-l)?c=!0:-1===u?(s=n,c=!0):(s=u,l=u+1)}return e.slice(a,s)}if(i="-".concat(t),-1!==(o=e.indexOf(i))&&o+3===n)return""}},95973:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.data=void 0,t.data={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}}},13835:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regions=void 0,t.regions={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]}},10359:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findBestMatch=t.findMatchingDistance=t.invariant=t.UNICODE_EXTENSION_SEQUENCE_REGEX=void 0;var r=n(52306),i=n(95973),o=n(13835);t.UNICODE_EXTENSION_SEQUENCE_REGEX=/-u(?:-[0-9a-z]{2,8})+/gi,t.invariant=function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)};var a;function s(e,t,n){var i=t.split("-"),a=i[0],s=i[1],l=i[2],c=!0;if(l&&"$"===l[0]){var u="!"!==l[1],d=(u?n[l.slice(1)]:n[l.slice(2)]).map((function(e){return o.regions[e]||[e]})).reduce((function(e,t){return r.__spreadArray(r.__spreadArray([],e,!0),t,!0)}),[]);c&&(c=!(d.indexOf(e.region||"")>1!=u))}else c&&(c=!e.region||("*"===l||l===e.region));return c&&(c=!e.script||("*"===s||s===e.script)),c&&(c=!e.language||("*"===a||a===e.language)),c}function l(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function c(e,t,n){for(var r=0,i=n.matches;r<i.length;r++){var o=i[r],a=s(e,o.desired,n.matchVariables)&&s(t,o.supported,n.matchVariables);if(o.oneway||a||(a=s(e,o.supported,n.matchVariables)&&s(t,o.desired,n.matchVariables)),a){var c=10*o.distance;return n.paradigmLocales.indexOf(l(e))>-1!=n.paradigmLocales.indexOf(l(t))>-1?c-1:c}}throw new Error("No matching distance found")}function u(e,t){var n=new Intl.Locale(e).maximize(),o=new Intl.Locale(t).maximize(),s={language:n.language,script:n.script||"",region:n.region||""},l={language:o.language,script:o.script||"",region:o.region||""},u=0,d=function(){var e,t;if(!a){var n=null===(t=null===(e=i.data.supplemental.languageMatching["written-new"][0])||void 0===e?void 0:e.paradigmLocales)||void 0===t?void 0:t._locales.split(" "),o=i.data.supplemental.languageMatching["written-new"].slice(1,5),s=i.data.supplemental.languageMatching["written-new"].slice(5).map((function(e){var t=Object.keys(e)[0],n=e[t];return{supported:t,desired:n._desired,distance:+n._distance,oneway:"true"===n.oneway}}),{});a={matches:s,matchVariables:o.reduce((function(e,t){var n=Object.keys(t)[0],r=t[n];return e[n.slice(1)]=r._value.split("+"),e}),{}),paradigmLocales:r.__spreadArray(r.__spreadArray([],n,!0),n.map((function(e){return new Intl.Locale(e.replace(/_/g,"-")).maximize().toString()})),!0)}}return a}();return s.language!==l.language&&(u+=c({language:n.language,script:"",region:""},{language:o.language,script:"",region:""},d)),s.script!==l.script&&(u+=c({language:n.language,script:s.script,region:""},{language:o.language,script:s.script,region:""},d)),s.region!==l.region&&(u+=c(s,l,d)),u}t.findMatchingDistance=u,t.findBestMatch=function(e,t,n){void 0===n&&(n=840);var r=1/0,i={matchedDesiredLocale:"",distances:{}};return e.forEach((function(e,n){i.distances[e]||(i.distances[e]={}),t.forEach((function(t,o){var a=u(e,t)+o+40*n;i.distances[e][t]=a,a<r&&(r=a,i.matchedDesiredLocale=e,i.matchedSupportedLocale=t)}))})),r>=n&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0),i}},99937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveLocale=t.LookupSupportedLocales=t.match=void 0;var r=n(36368),i=n(9868);t.match=function(e,t,n,o){return(0,i.ResolveLocale)(t,(0,r.CanonicalizeLocaleList)(e),{localeMatcher:(null==o?void 0:o.algorithm)||"best fit"},[],{},(function(){return n})).locale};var o=n(69690);Object.defineProperty(t,"LookupSupportedLocales",{enumerable:!0,get:function(){return o.LookupSupportedLocales}});var a=n(9868);Object.defineProperty(t,"ResolveLocale",{enumerable:!0,get:function(){return a.ResolveLocale}})},48856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIntl=t.formatNumberToParts=t.formatNumber=t.formatRelativeTime=t.formatPlural=t.formatList=t.formatDisplayName=t.formatTimeToParts=t.formatTime=t.formatDateToParts=t.formatDate=t.formatMessage=t.getNamedFormat=t.createFormatters=t.DEFAULT_INTL_CONFIG=t.filterProps=t.createIntlCache=t.defineMessage=t.defineMessages=void 0;var r=n(80361);r.__exportStar(n(46277),t),t.defineMessages=function(e){return e},t.defineMessage=function(e){return e};var i=n(84016);Object.defineProperty(t,"createIntlCache",{enumerable:!0,get:function(){return i.createIntlCache}}),Object.defineProperty(t,"filterProps",{enumerable:!0,get:function(){return i.filterProps}}),Object.defineProperty(t,"DEFAULT_INTL_CONFIG",{enumerable:!0,get:function(){return i.DEFAULT_INTL_CONFIG}}),Object.defineProperty(t,"createFormatters",{enumerable:!0,get:function(){return i.createFormatters}}),Object.defineProperty(t,"getNamedFormat",{enumerable:!0,get:function(){return i.getNamedFormat}}),r.__exportStar(n(1524),t);var o=n(96472);Object.defineProperty(t,"formatMessage",{enumerable:!0,get:function(){return o.formatMessage}});var a=n(87517);Object.defineProperty(t,"formatDate",{enumerable:!0,get:function(){return a.formatDate}}),Object.defineProperty(t,"formatDateToParts",{enumerable:!0,get:function(){return a.formatDateToParts}}),Object.defineProperty(t,"formatTime",{enumerable:!0,get:function(){return a.formatTime}}),Object.defineProperty(t,"formatTimeToParts",{enumerable:!0,get:function(){return a.formatTimeToParts}});var s=n(56749);Object.defineProperty(t,"formatDisplayName",{enumerable:!0,get:function(){return s.formatDisplayName}});var l=n(39199);Object.defineProperty(t,"formatList",{enumerable:!0,get:function(){return l.formatList}});var c=n(74);Object.defineProperty(t,"formatPlural",{enumerable:!0,get:function(){return c.formatPlural}});var u=n(85315);Object.defineProperty(t,"formatRelativeTime",{enumerable:!0,get:function(){return u.formatRelativeTime}});var d=n(3546);Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return d.formatNumber}}),Object.defineProperty(t,"formatNumberToParts",{enumerable:!0,get:function(){return d.formatNumberToParts}});var p=n(89699);Object.defineProperty(t,"createIntl",{enumerable:!0,get:function(){return p.createIntl}})},89699:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIntl=void 0;var r=n(80361),i=n(84016),o=n(1524),a=n(3546),s=n(85315),l=n(87517),c=n(74),u=n(96472),d=n(39199),p=n(56749);function f(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}t.createIntl=function(e,t){var n=(0,i.createFormatters)(t),h=r.__assign(r.__assign({},i.DEFAULT_INTL_CONFIG),e),m=h.locale,g=h.defaultLocale,v=h.onError;return m?!Intl.NumberFormat.supportedLocalesOf(m).length&&v?v(new o.MissingDataError('Missing locale data for locale: "'.concat(m,'" in Intl.NumberFormat. Using default locale: "').concat(g,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(m).length&&v&&v(new o.MissingDataError('Missing locale data for locale: "'.concat(m,'" in Intl.DateTimeFormat. Using default locale: "').concat(g,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(v&&v(new o.InvalidConfigError('"locale" was not configured, using "'.concat(g,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),h.locale=h.defaultLocale||"en"),f(h),r.__assign(r.__assign({},h),{formatters:n,formatNumber:a.formatNumber.bind(null,h,n.getNumberFormat),formatNumberToParts:a.formatNumberToParts.bind(null,h,n.getNumberFormat),formatRelativeTime:s.formatRelativeTime.bind(null,h,n.getRelativeTimeFormat),formatDate:l.formatDate.bind(null,h,n.getDateTimeFormat),formatDateToParts:l.formatDateToParts.bind(null,h,n.getDateTimeFormat),formatTime:l.formatTime.bind(null,h,n.getDateTimeFormat),formatDateTimeRange:l.formatDateTimeRange.bind(null,h,n.getDateTimeFormat),formatTimeToParts:l.formatTimeToParts.bind(null,h,n.getDateTimeFormat),formatPlural:c.formatPlural.bind(null,h,n.getPluralRules),formatMessage:u.formatMessage.bind(null,h,n),$t:u.formatMessage.bind(null,h,n),formatList:d.formatList.bind(null,h,n.getListFormat),formatListToParts:d.formatListToParts.bind(null,h,n.getListFormat),formatDisplayName:p.formatDisplayName.bind(null,h,n.getDisplayNames)})}},87517:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatTimeToParts=t.formatDateToParts=t.formatDateTimeRange=t.formatTime=t.formatDate=t.getFormatter=void 0;var r=n(80361),i=n(84016),o=n(1524),a=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function s(e,t,n,o){var s=e.locale,l=e.formats,c=e.onError,u=e.timeZone;void 0===o&&(o={});var d=o.format,p=r.__assign(r.__assign({},u&&{timeZone:u}),d&&(0,i.getNamedFormat)(l,t,d,c)),f=(0,i.filterProps)(o,a,p);return"time"!==t||f.hour||f.minute||f.second||f.timeStyle||f.dateStyle||(f=r.__assign(r.__assign({},f),{hour:"numeric",minute:"numeric"})),n(s,f)}t.getFormatter=s,t.formatDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],a=n[1],l=void 0===a?{}:a,c="string"==typeof i?new Date(i||0):i;try{return s(e,"date",t,l).format(c)}catch(t){e.onError(new o.IntlFormatError("Error formatting date.",e.locale,t))}return String(c)},t.formatTime=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],a=n[1],l=void 0===a?{}:a,c="string"==typeof i?new Date(i||0):i;try{return s(e,"time",t,l).format(c)}catch(t){e.onError(new o.IntlFormatError("Error formatting time.",e.locale,t))}return String(c)},t.formatDateTimeRange=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var s=n[0],l=n[1],c=n[2],u=void 0===c?{}:c,d=e.timeZone,p=e.locale,f=e.onError,h=(0,i.filterProps)(u,a,d?{timeZone:d}:{});try{return t(p,h).formatRange(s,l)}catch(t){f(new o.IntlFormatError("Error formatting date time range.",e.locale,t))}return String(s)},t.formatDateToParts=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],a=n[1],l=void 0===a?{}:a,c="string"==typeof i?new Date(i||0):i;try{return s(e,"date",t,l).formatToParts(c)}catch(t){e.onError(new o.IntlFormatError("Error formatting date.",e.locale,t))}return[]},t.formatTimeToParts=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],a=n[1],l=void 0===a?{}:a,c="string"==typeof i?new Date(i||0):i;try{return s(e,"time",t,l).formatToParts(c)}catch(t){e.onError(new o.IntlFormatError("Error formatting time.",e.locale,t))}return[]}},56749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDisplayName=void 0;var r=n(84016),i=n(95260),o=n(1524),a=["style","type","fallback","languageDisplay"];t.formatDisplayName=function(e,t,n,s){var l=e.locale,c=e.onError;Intl.DisplayNames||c(new i.FormatError('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',i.ErrorCode.MISSING_INTL_API));var u=(0,r.filterProps)(s,a);try{return t(l,u).of(n)}catch(e){c(new o.IntlFormatError("Error formatting display name.",l,e))}}},1524:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingTranslationError=t.MessageFormatError=t.IntlFormatError=t.MissingDataError=t.InvalidConfigError=t.UnsupportedFormatterError=t.IntlError=t.IntlErrorCode=void 0;var r,i=n(80361);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(t.IntlErrorCode=r={}));var o=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return i.__extends(t,e),t}(Error);t.IntlError=o;var a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return i.__extends(t,e),t}(o);t.UnsupportedFormatterError=a;var s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return i.__extends(t,e),t}(o);t.InvalidConfigError=s;var l=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return i.__extends(t,e),t}(o);t.MissingDataError=l;var c=function(e){function t(t,n,i){var o=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),i)||this;return o.locale=n,o}return i.__extends(t,e),t}(o);t.IntlFormatError=c;var u=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o.locale=n,o}return i.__extends(t,e),t}(c);t.MessageFormatError=u;var d=function(e){function t(t,n){var i=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return i.descriptor=t,i}return i.__extends(t,e),t}(o);t.MissingTranslationError=d},39199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatListToParts=t.formatList=void 0;var r=n(80361),i=n(84016),o=n(95260),a=n(1524),s=["type","style"],l=Date.now();function c(e,t,n,c){var u=e.locale,d=e.onError;void 0===c&&(c={}),Intl.ListFormat||d(new o.FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',o.ErrorCode.MISSING_INTL_API));var p=(0,i.filterProps)(c,s);try{var f={},h=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(l,"_").concat(e,"_").concat(l)}(t);return f[n]=e,n}return String(e)}));return t(u,p).formatToParts(h).map((function(e){return"literal"===e.type?e:r.__assign(r.__assign({},e),{value:f[e.value]||e.value})}))}catch(e){d(new a.IntlFormatError("Error formatting list.",u,e))}return n}t.formatList=function(e,t,n,r){void 0===r&&(r={});var i=c(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===i.length?i[0]:0===i.length?"":i},t.formatListToParts=c},96472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatMessage=void 0;var r=n(80361),i=n(78264),o=n(95260),a=n(1524),s=n(8831);function l(e,t){return Object.keys(e).reduce((function(n,i){return n[i]=r.__assign({timeZone:t},e[i]),n}),{})}function c(e,t){return Object.keys(r.__assign(r.__assign({},e),t)).reduce((function(n,i){return n[i]=r.__assign(r.__assign({},e[i]||{}),t[i]||{}),n}),{})}function u(e,t){if(!t)return e;var n=o.IntlMessageFormat.formats;return r.__assign(r.__assign(r.__assign({},n),e),{date:c(l(n.date,t),l(e.date||{},t)),time:c(l(n.time,t),l(e.time||{},t))})}t.formatMessage=function(e,t,n,o,l){var c=e.locale,d=e.formats,p=e.messages,f=e.defaultLocale,h=e.defaultFormats,m=e.fallbackOnEmptyString,g=e.onError,v=e.timeZone,y=e.defaultRichTextElements;void 0===n&&(n={id:""});var b=n.id,w=n.defaultMessage;(0,i.invariant)(!!b,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(b),S=p&&Object.prototype.hasOwnProperty.call(p,_)&&p[_];if(Array.isArray(S)&&1===S.length&&S[0].type===s.TYPE.literal)return S[0].value;if(!o&&S&&"string"==typeof S&&!y)return S.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=r.__assign(r.__assign({},y),o||{}),d=u(d,v),h=u(h,v),!S){if(!1===m&&""===S)return S;if((!w||c&&c.toLowerCase()!==f.toLowerCase())&&g(new a.MissingTranslationError(n,c)),w)try{return t.getMessageFormat(w,f,h,l).format(o)}catch(e){return g(new a.MessageFormatError('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),c,n,e)),"string"==typeof w?w:_}return _}try{return t.getMessageFormat(S,c,d,r.__assign({formatters:t},l||{})).format(o)}catch(e){g(new a.MessageFormatError('Error formatting message: "'.concat(_,'", using ').concat(w?"default message":"id"," as fallback."),c,n,e))}if(w)try{return t.getMessageFormat(w,f,h,l).format(o)}catch(e){g(new a.MessageFormatError('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),c,n,e))}return"string"==typeof S?S:"string"==typeof w?w:_}},3546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNumberToParts=t.formatNumber=t.getFormatter=void 0;var r=n(84016),i=n(1524),o=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function a(e,t,n){var i=e.locale,a=e.formats,s=e.onError;void 0===n&&(n={});var l=n.format,c=l&&(0,r.getNamedFormat)(a,"number",l,s)||{};return t(i,(0,r.filterProps)(n,o,c))}t.getFormatter=a,t.formatNumber=function(e,t,n,r){void 0===r&&(r={});try{return a(e,t,r).format(n)}catch(t){e.onError(new i.IntlFormatError("Error formatting number.",e.locale,t))}return String(n)},t.formatNumberToParts=function(e,t,n,r){void 0===r&&(r={});try{return a(e,t,r).formatToParts(n)}catch(t){e.onError(new i.IntlFormatError("Error formatting number.",e.locale,t))}return[]}},74:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatPlural=void 0;var r=n(84016),i=n(1524),o=n(95260),a=["type"];t.formatPlural=function(e,t,n,s){var l=e.locale,c=e.onError;void 0===s&&(s={}),Intl.PluralRules||c(new o.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.ErrorCode.MISSING_INTL_API));var u=(0,r.filterProps)(s,a);try{return t(l,u).select(n)}catch(e){c(new i.IntlFormatError("Error formatting plural.",l,e))}return"other"}},85315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatRelativeTime=void 0;var r=n(84016),i=n(95260),o=n(1524),a=["numeric","style"];t.formatRelativeTime=function(e,t,n,s,l){void 0===l&&(l={}),s||(s="second"),Intl.RelativeTimeFormat||e.onError(new i.FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',i.ErrorCode.MISSING_INTL_API));try{return function(e,t,n){var i=e.locale,o=e.formats,s=e.onError;void 0===n&&(n={});var l=n.format,c=!!l&&(0,r.getNamedFormat)(o,"relative",l,s)||{};return t(i,(0,r.filterProps)(n,a,c))}(e,t,l).format(n,s)}catch(t){e.onError(new o.IntlFormatError("Error formatting relative time.",e.locale,t))}return String(n)}},46277:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},84016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNamedFormat=t.createFormatters=t.createIntlCache=t.DEFAULT_INTL_CONFIG=t.filterProps=void 0;var r=n(80361),i=n(95260),o=n(34568),a=n(1524);t.filterProps=function(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})};function s(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}t.DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}},t.createIntlCache=s,t.createFormatters=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(e.dateTime),strategy:o.strategies.variadic}),c=(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(e.number),strategy:o.strategies.variadic}),u=(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(e.pluralRules),strategy:o.strategies.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,o.memoize)((function(e,t,n,o){return new i.IntlMessageFormat(e,t,n,r.__assign({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},o||{}))}),{cache:l(e.message),strategy:o.strategies.variadic}),getRelativeTimeFormat:(0,o.memoize)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,r.__spreadArray([void 0],e,!1)))}),{cache:l(e.relativeTime),strategy:o.strategies.variadic}),getPluralRules:u,getListFormat:(0,o.memoize)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,r.__spreadArray([void 0],e,!1)))}),{cache:l(e.list),strategy:o.strategies.variadic}),getDisplayNames:(0,o.memoize)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,r.__spreadArray([void 0],e,!1)))}),{cache:l(e.displayNames),strategy:o.strategies.variadic})}},t.getNamedFormat=function(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new a.UnsupportedFormatterError("No ".concat(t," format named: ").concat(n)))}},58213:function(e,t,n){"use strict";var r=n(25108);function i(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=i(n(67294)),a=i(n(7071)),s=i(n(10434)),l=i(n(66115)),c=i(n(7867)),u=i(n(8679));function d(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}function p(e){r.warn("loadable: "+e)}var f=o.createContext(),h="__LOADABLE_REQUIRED_CHUNKS__";function m(e){return""+e+h}var g=Object.freeze({getRequiredChunkKey:m,invariant:d,Context:f});var v=function(e){return e};function y(e){var t=e.resolve,n=void 0===t?v:t,r=e.render,i=e.onLoad;function u(e,t){void 0===t&&(t={});var u=function(e){return"function"==typeof e?{requireAsync:e}:e}(e),p={};function h(e){return t.cacheKey?t.cacheKey(e):u.resolve?u.resolve(e):null}var m,g=function(e){function o(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:h(n)},r.promise=null,d(!n.__chunkExtractor||u.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(u.requireAsync(n).catch((function(){})),r.loadSync(),n.__chunkExtractor.addChunk(u.chunkName(n))),l(r)):(u.isReady&&u.isReady(n)&&r.loadSync(),r)}c(o,e),o.getDerivedStateFromProps=function(e,t){var n=h(e);return s({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var f=o.prototype;return f.componentDidMount=function(){this.mounted=!0,this.state.loading?this.loadAsync():this.state.error||this.triggerOnLoad()},f.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&(this.promise=null,this.loadAsync())},f.componentWillUnmount=function(){this.mounted=!1},f.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},f.triggerOnLoad=function(){var e=this;i&&setTimeout((function(){i(e.state.result,e.props)}))},f.loadSync=function(){if(this.state.loading)try{var e=u.requireSync(this.props),t=n(e,{Loadable:y});this.state.result=t,this.state.loading=!1}catch(e){this.state.error=e}},f.getCacheKey=function(){return h(this.props)||JSON.stringify(this.props)},f.getCache=function(){return p[this.getCacheKey()]},f.setCache=function(e){p[this.getCacheKey()]=e},f.loadAsync=function(){var e=this;if(!this.promise){var r=this.props,i=(r.__chunkExtractor,r.forwardedRef,a(r,["__chunkExtractor","forwardedRef"]));this.promise=u.requireAsync(i).then((function(r){var i=n(r,{Loadable:y});t.suspense&&e.setCache(i),e.safeSetState({result:n(r,{Loadable:y}),loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){e.safeSetState({error:t,loading:!1})}))}return this.promise},f.render=function(){var e=this.props,n=e.forwardedRef,i=e.fallback,o=(e.__chunkExtractor,a(e,["forwardedRef","fallback","__chunkExtractor"])),l=this.state,c=l.error,u=l.loading,d=l.result;if(t.suspense){var p=this.getCache();if(!p)throw this.loadAsync();return r({loading:!1,fallback:null,result:p,options:t,props:s({},o,{ref:n})})}if(c)throw c;var f=i||t.fallback||null;return u?f:r({loading:u,fallback:f,result:d,options:t,props:s({},o,{ref:n})})},o}(o.Component),v=(m=g,function(e){return o.createElement(f.Consumer,null,(function(t){return o.createElement(m,Object.assign({__chunkExtractor:t},e))}))}),y=o.forwardRef((function(e,t){return o.createElement(v,Object.assign({forwardedRef:t},e))}));return y.preload=function(e){u.requireAsync(e)},y.load=function(e){return u.requireAsync(e)},y}return{loadable:u,lazy:function(e,t){return u(e,s({},t,{suspense:!0}))}}}var b=y({resolve:function(e,t){var n=t.Loadable,r=e.__esModule?e.default:e.default||e;return u(n,r,{preload:!0}),r},render:function(e){var t=e.result,n=e.props;return o.createElement(t,n)}}),w=b.loadable,_=b.lazy,S=y({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.loading,r=e.props;return!n&&r.children?r.children(t):null}}),x=S.loadable,E=S.lazy,k="undefined"!=typeof window;var C=w;C.lib=x;var T=_;T.lib=E,t.ZP=C},21830:function(e){if(!t)var t={map:function(e,t){var n={};return t?e.map((function(e,r){return n.index=r,t.call(n,e)})):e.slice()},naturalOrder:function(e,t){return e<t?-1:e>t?1:0},sum:function(e,t){var n={};return e.reduce(t?function(e,r,i){return n.index=i,e+t.call(n,r)}:function(e,t){return e+t},0)},max:function(e,n){return Math.max.apply(null,n?t.map(e,n):e)}};var n=function(){var e=5,n=8-e;function r(t,n,r){return(t<<2*e)+(n<<e)+r}function i(e){var t=[],n=!1;function r(){t.sort(e),n=!0}return{push:function(e){t.push(e),n=!1},peek:function(e){return n||r(),void 0===e&&(e=t.length-1),t[e]},pop:function(){return n||r(),t.pop()},size:function(){return t.length},map:function(e){return t.map(e)},debug:function(){return n||r(),t}}}function o(e,t,n,r,i,o,a){var s=this;s.r1=e,s.r2=t,s.g1=n,s.g2=r,s.b1=i,s.b2=o,s.histo=a}function a(){this.vboxes=new i((function(e,n){return t.naturalOrder(e.vbox.count()*e.vbox.volume(),n.vbox.count()*n.vbox.volume())}))}function s(e,n){if(n.count()){var i=n.r2-n.r1+1,o=n.g2-n.g1+1,a=n.b2-n.b1+1,s=t.max([i,o,a]);if(1==n.count())return[n.copy()];var l,c,u,d,p=0,f=[],h=[];if(s==i)for(l=n.r1;l<=n.r2;l++){for(d=0,c=n.g1;c<=n.g2;c++)for(u=n.b1;u<=n.b2;u++)d+=e[r(l,c,u)]||0;p+=d,f[l]=p}else if(s==o)for(l=n.g1;l<=n.g2;l++){for(d=0,c=n.r1;c<=n.r2;c++)for(u=n.b1;u<=n.b2;u++)d+=e[r(c,l,u)]||0;p+=d,f[l]=p}else for(l=n.b1;l<=n.b2;l++){for(d=0,c=n.r1;c<=n.r2;c++)for(u=n.g1;u<=n.g2;u++)d+=e[r(c,u,l)]||0;p+=d,f[l]=p}return f.forEach((function(e,t){h[t]=p-e})),m(s==i?"r":s==o?"g":"b")}function m(e){var t,r,i,o,a,s=e+"1",c=e+"2",u=0;for(l=n[s];l<=n[c];l++)if(f[l]>p/2){for(i=n.copy(),o=n.copy(),a=(t=l-n[s])<=(r=n[c]-l)?Math.min(n[c]-1,~~(l+r/2)):Math.max(n[s],~~(l-1-t/2));!f[a];)a++;for(u=h[a];!u&&f[a-1];)u=h[--a];return i[c]=a,o[s]=i[c]+1,[i,o]}}}return o.prototype={volume:function(e){var t=this;return t._volume&&!e||(t._volume=(t.r2-t.r1+1)*(t.g2-t.g1+1)*(t.b2-t.b1+1)),t._volume},count:function(e){var t=this,n=t.histo;if(!t._count_set||e){var i,o,a,s=0;for(i=t.r1;i<=t.r2;i++)for(o=t.g1;o<=t.g2;o++)for(a=t.b1;a<=t.b2;a++)s+=n[r(i,o,a)]||0;t._count=s,t._count_set=!0}return t._count},copy:function(){var e=this;return new o(e.r1,e.r2,e.g1,e.g2,e.b1,e.b2,e.histo)},avg:function(t){var n=this,i=n.histo;if(!n._avg||t){var o,a,s,l,c=0,u=1<<8-e,d=0,p=0,f=0;for(a=n.r1;a<=n.r2;a++)for(s=n.g1;s<=n.g2;s++)for(l=n.b1;l<=n.b2;l++)c+=o=i[r(a,s,l)]||0,d+=o*(a+.5)*u,p+=o*(s+.5)*u,f+=o*(l+.5)*u;n._avg=c?[~~(d/c),~~(p/c),~~(f/c)]:[~~(u*(n.r1+n.r2+1)/2),~~(u*(n.g1+n.g2+1)/2),~~(u*(n.b1+n.b2+1)/2)]}return n._avg},contains:function(e){var t=this,r=e[0]>>n;return gval=e[1]>>n,bval=e[2]>>n,r>=t.r1&&r<=t.r2&&gval>=t.g1&&gval<=t.g2&&bval>=t.b1&&bval<=t.b2}},a.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map((function(e){return e.color}))},size:function(){return this.vboxes.size()},map:function(e){for(var t=this.vboxes,n=0;n<t.size();n++)if(t.peek(n).vbox.contains(e))return t.peek(n).color;return this.nearest(e)},nearest:function(e){for(var t,n,r,i=this.vboxes,o=0;o<i.size();o++)((n=Math.sqrt(Math.pow(e[0]-i.peek(o).color[0],2)+Math.pow(e[1]-i.peek(o).color[1],2)+Math.pow(e[2]-i.peek(o).color[2],2)))<t||void 0===t)&&(t=n,r=i.peek(o).color);return r},forcebw:function(){var e=this.vboxes;e.sort((function(e,n){return t.naturalOrder(t.sum(e.color),t.sum(n.color))}));var n=e[0].color;n[0]<5&&n[1]<5&&n[2]<5&&(e[0].color=[0,0,0]);var r=e.length-1,i=e[r].color;i[0]>251&&i[1]>251&&i[2]>251&&(e[r].color=[255,255,255])}},{quantize:function(l,c){if(!l.length||c<2||c>256)return!1;var u=function(t){var i,o,a,s,l=new Array(1<<3*e);return t.forEach((function(e){o=e[0]>>n,a=e[1]>>n,s=e[2]>>n,i=r(o,a,s),l[i]=(l[i]||0)+1})),l}(l);u.forEach((function(){}));var d=function(e,t){var r,i,a,s=1e6,l=0,c=1e6,u=0,d=1e6,p=0;return e.forEach((function(e){r=e[0]>>n,i=e[1]>>n,a=e[2]>>n,r<s?s=r:r>l&&(l=r),i<c?c=i:i>u&&(u=i),a<d?d=a:a>p&&(p=a)})),new o(s,l,c,u,d,p,t)}(l,u),p=new i((function(e,n){return t.naturalOrder(e.count(),n.count())}));function f(e,t){for(var n,r=e.size(),i=0;i<1e3;){if(r>=t)return;if(i++>1e3)return;if((n=e.pop()).count()){var o=s(u,n),a=o[0],l=o[1];if(!a)return;e.push(a),l&&(e.push(l),r++)}else e.push(n),i++}}p.push(d),f(p,.75*c);for(var h=new i((function(e,n){return t.naturalOrder(e.count()*e.volume(),n.count()*n.volume())}));p.size();)h.push(p.pop());f(h,c);for(var m=new a;h.size();)m.push(h.pop());return m}}}().quantize;e.exports=n},516:function(e,t){"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){return e instanceof n(e).Element||e instanceof Element}function i(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n(e).ShadowRoot||e instanceof ShadowRoot)}Object.defineProperty(t,"__esModule",{value:!0});var a=Math.max,s=Math.min,l=Math.round;function c(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function u(){return!/^((?!chrome|android).)*safari/i.test(c())}function d(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);var d=(r(e)?n(e):window).visualViewport,p=!u()&&o,f=(a.left+(p&&d?d.offsetLeft:0))/s,h=(a.top+(p&&d?d.offsetTop:0))/c,m=a.width/s,g=a.height/c;return{width:m,height:g,top:h,right:f+m,bottom:h+g,left:f,x:f,y:h}}function p(e){var t=n(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function f(e){return e?(e.nodeName||"").toLowerCase():null}function h(e){return((r(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return d(h(e)).left+p(e).scrollLeft}function g(e){return n(e).getComputedStyle(e)}function v(e){var t=g(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function y(e,t,r){void 0===r&&(r=!1);var o,a,s=i(t),c=i(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=h(t),g=d(e,c,r),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!r)&&(("body"!==f(t)||v(u))&&(y=(o=t)!==n(o)&&i(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:p(o)),i(t)?((b=d(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=m(u))),{x:g.left+y.scrollLeft-b.x,y:g.top+y.scrollTop-b.y,width:g.width,height:g.height}}function b(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===f(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||h(e)}function _(e){return["html","body","#document"].indexOf(f(e))>=0?e.ownerDocument.body:i(e)&&v(e)?e:_(w(e))}function S(e,t){var r;void 0===t&&(t=[]);var i=_(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=n(i),s=o?[a].concat(a.visualViewport||[],v(i)?i:[]):i,l=t.concat(s);return o?l:l.concat(S(w(s)))}function x(e){return["table","td","th"].indexOf(f(e))>=0}function E(e){return i(e)&&"fixed"!==g(e).position?e.offsetParent:null}function k(e){for(var t=n(e),r=E(e);r&&x(r)&&"static"===g(r).position;)r=E(r);return r&&("html"===f(r)||"body"===f(r)&&"static"===g(r).position)?t:r||function(e){var t=/firefox/i.test(c());if(/Trident/i.test(c())&&i(e)&&"fixed"===g(e).position)return null;var n=w(e);for(o(n)&&(n=n.host);i(n)&&["html","body"].indexOf(f(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var C="top",T="bottom",O="right",M="left",A="auto",P=[C,T,O,M],L="start",D="end",R="clippingParents",I="viewport",N="popper",j="reference",B=P.reduce((function(e,t){return e.concat([t+"-"+L,t+"-"+D])}),[]),F=[].concat(P,[A]).reduce((function(e,t){return e.concat([t,t+"-"+L,t+"-"+D])}),[]),H=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function z(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function V(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function U(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $(e,t,i){return t===I?U(function(e,t){var r=n(e),i=h(e),o=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,c=0;if(o){a=o.width,s=o.height;var d=u();(d||!d&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:l+m(e),y:c}}(e,i)):r(t)?function(e,t){var n=d(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,i):U(function(e){var t,n=h(e),r=p(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=a(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=a(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+m(e),c=-r.scrollTop;return"rtl"===g(i||n).direction&&(l+=a(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}(h(e)))}function G(e,t,n,o){var l="clippingParents"===t?function(e){var t=S(w(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&i(e)?k(e):e;return r(n)?t.filter((function(e){return r(e)&&V(e,n)&&"body"!==f(e)})):[]}(e):[].concat(t),c=[].concat(l,[n]),u=c[0],d=c.reduce((function(t,n){var r=$(e,n,o);return t.top=a(r.top,t.top),t.right=s(r.right,t.right),t.bottom=s(r.bottom,t.bottom),t.left=a(r.left,t.left),t}),$(e,u,o));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function q(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?q(i):null,a=i?W(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case C:t={x:s,y:n.y-r.height};break;case T:t={x:s,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:l};break;case M:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Z(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case L:t[c]=t[c]-(n[u]/2-r[u]/2);break;case D:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function K(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Q(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function X(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,a=n.strategy,s=void 0===a?e.strategy:a,l=n.boundary,c=void 0===l?R:l,u=n.rootBoundary,p=void 0===u?I:u,f=n.elementContext,m=void 0===f?N:f,g=n.altBoundary,v=void 0!==g&&g,y=n.padding,b=void 0===y?0:y,w=K("number"!=typeof b?b:Q(b,P)),_=m===N?j:N,S=e.rects.popper,x=e.elements[v?_:m],E=G(r(x)?x:x.contextElement||h(e.elements.popper),c,p,s),k=d(e.elements.reference),M=Y({reference:k,element:S,strategy:"absolute",placement:o}),A=U(Object.assign({},S,M)),L=m===N?A:k,D={top:E.top-L.top+w.top,bottom:L.bottom-E.bottom+w.bottom,left:E.left-L.left+w.left,right:L.right-E.right+w.right},B=e.modifiersData.offset;if(m===N&&B){var F=B[o];Object.keys(D).forEach((function(e){var t=[O,T].indexOf(e)>=0?1:-1,n=[C,T].indexOf(e)>=0?"y":"x";D[e]+=F[n]*t}))}return D}var J={placement:"bottom",modifiers:[],strategy:"absolute"};function ee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function te(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?J:o;return function(e,t,n){void 0===n&&(n=a);var o,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;p(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:r(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(t)};var s,u,f=function(e){var t=z(e);return H.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(i,l.options.modifiers),u=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:l,name:t,instance:d,options:r}),a=function(){};c.push(o||a)}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(ee(t,n)){l.rects={reference:y(t,k(n),"fixed"===l.options.strategy),popper:b(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var i=l.orderedModifiers[r],o=i.fn,a=i.options,s=void 0===a?{}:a,c=i.name;"function"==typeof o&&(l=o({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){p(),u=!0}};if(!ee(e,t))return d;function p(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var ne={passive:!0};var re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,l=void 0===s||s,c=n(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",r.update,ne)})),l&&c.addEventListener("resize",r.update,ne),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",r.update,ne)})),l&&c.removeEventListener("resize",r.update,ne)}},data:{}};var ie={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ae(e){var t,r=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,f=e.isFixed,m=s.x,v=void 0===m?0:m,y=s.y,b=void 0===y?0:y,w="function"==typeof p?p({x:v,y:b}):{x:v,y:b};v=w.x,b=w.y;var _=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),x=M,E=C,A=window;if(d){var P=k(r),L="clientHeight",R="clientWidth";if(P===n(r)&&"static"!==g(P=h(r)).position&&"absolute"===c&&(L="scrollHeight",R="scrollWidth"),o===C||(o===M||o===O)&&a===D)E=T,b-=(f&&P===A&&A.visualViewport?A.visualViewport.height:P[L])-i.height,b*=u?1:-1;if(o===M||(o===C||o===T)&&a===D)x=O,v-=(f&&P===A&&A.visualViewport?A.visualViewport.width:P[R])-i.width,v*=u?1:-1}var I,N=Object.assign({position:c},d&&oe),j=!0===p?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:l(n*i)/i||0,y:l(r*i)/i||0}}({x:v,y:b},n(r)):{x:v,y:b};return v=j.x,b=j.y,u?Object.assign({},N,((I={})[E]=S?"0":"",I[x]=_?"0":"",I.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",I)):Object.assign({},N,((t={})[E]=S?b+"px":"",t[x]=_?v+"px":"",t.transform="",t))}var se={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:q(t.placement),variation:W(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ae(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ae(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var le={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&f(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&f(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=q(e),i=[M,C].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[M,O].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ue={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var pe={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function he(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?F:l,u=W(r),d=u?s?B:B.filter((function(e){return W(e)===u})):P,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=X(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[q(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=q(g),y=l||(v===g||!h?[de(g)]:function(e){if(q(e)===A)return[];var t=de(e);return[fe(e),t,fe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(q(n)===A?he(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,S=new Map,x=!0,E=b[0],k=0;k<b.length;k++){var P=b[k],D=q(P),R=W(P)===L,I=[C,T].indexOf(D)>=0,N=I?"width":"height",j=X(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),B=I?R?O:M:R?T:C;w[N]>_[N]&&(B=de(B));var F=de(B),H=[];if(o&&H.push(j[D]<=0),s&&H.push(j[B]<=0,j[F]<=0),H.every((function(e){return e}))){E=P,x=!1;break}S.set(P,H)}if(x)for(var z=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},V=h?3:1;V>0;V--){if("break"===z(V))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ge(e,t,n){return a(e,s(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,l=n.altAxis,c=void 0!==l&&l,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=X(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:p}),w=q(t.placement),_=W(t.placement),S=!_,x=Z(w),E="x"===x?"y":"x",A=t.modifiersData.popperOffsets,P=t.rects.reference,D=t.rects.popper,R="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(A){if(o){var B,F="y"===x?C:M,H="y"===x?T:O,z="y"===x?"height":"width",V=A[x],U=V+y[F],$=V-y[H],G=m?-D[z]/2:0,Y=_===L?P[z]:D[z],K=_===L?-D[z]:-P[z],Q=t.elements.arrow,J=m&&Q?b(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[F],ne=ee[H],re=ge(0,P[z],J[z]),ie=S?P[z]/2-G-re-te-I.mainAxis:Y-re-te-I.mainAxis,oe=S?-P[z]/2+G+re+ne+I.mainAxis:K+re+ne+I.mainAxis,ae=t.elements.arrow&&k(t.elements.arrow),se=ae?"y"===x?ae.clientTop||0:ae.clientLeft||0:0,le=null!=(B=null==N?void 0:N[x])?B:0,ce=V+oe-le,ue=ge(m?s(U,V+ie-le-se):U,V,m?a($,ce):$);A[x]=ue,j[x]=ue-V}if(c){var de,pe="x"===x?C:M,fe="x"===x?T:O,he=A[E],me="y"===E?"height":"width",ve=he+y[pe],ye=he-y[fe],be=-1!==[C,M].indexOf(w),we=null!=(de=null==N?void 0:N[E])?de:0,_e=be?ve:he-P[me]-D[me]-we+I.altAxis,Se=be?he+P[me]+D[me]-we-I.altAxis:ye,xe=m&&be?function(e,t,n){var r=ge(e,t,n);return r>n?n:r}(_e,he,Se):ge(m?_e:ve,he,m?Se:ye);A[E]=xe,j[E]=xe-he}t.modifiersData[r]=j}},requiresIfExists:["offset"]};var ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),l=Z(s),c=[M,O].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return K("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Q(e,P))}(i.padding,n),d=b(o),p="y"===l?C:M,f="y"===l?T:O,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=k(o),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,w=u[p],_=v-d[c]-u[f],S=v/2-d[c]/2+y,x=ge(w,S,_),E=l;n.modifiersData[r]=((t={})[E]=x,t.centerOffset=x-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&V(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[C,O,T,M].some((function(t){return e[t]>=0}))}var _e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=X(t,{elementContext:"reference"}),s=X(t,{altBoundary:!0}),l=be(a,r),c=be(s,i,o),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},Se=te({defaultModifiers:[re,ie,se,le]}),xe=[re,ie,se,le,ce,me,ve,ye,_e],Ee=te({defaultModifiers:xe});t.applyStyles=le,t.arrow=ye,t.computeStyles=se,t.createPopper=Ee,t.createPopperLite=Se,t.defaultModifiers=xe,t.detectOverflow=X,t.eventListeners=re,t.flip=me,t.hide=_e,t.offset=ce,t.popperGenerator=te,t.popperOffsets=ie,t.preventOverflow=ve},7124:function(e,t,n){var r,i=n(25108);self,r=(e,t)=>(()=>{var n={783:e=>{var t,n,r;t={187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,i)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var o,a,s,u;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=c(e))>0&&s.length>o&&!s.warned){s.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=s.length,u=d,i&&i.warn&&i.warn(u)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=m(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},a.prototype.addListener=function(e,t){return u(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return u(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},144:function(e,t){var n,r;n=function(e,t){"use strict";function n(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,o=t.timeout||5e3,a=t.jsonpCallback||"callback",s=void 0;return new Promise((function(l,c){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),d=a+"_"+u;window[u]=function(e){l({ok:!0,json:function(){return Promise.resolve(e)}}),s&&clearTimeout(s),r(d),n(u)},i+=-1===i.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+i+a+"="+u),t.charset&&p.setAttribute("charset",t.charset),t.nonce&&p.setAttribute("nonce",t.nonce),t.referrerPolicy&&p.setAttribute("referrerPolicy",t.referrerPolicy),p.id=d,document.getElementsByTagName("head")[0].appendChild(p),s=setTimeout((function(){c(new Error("JSONP request to "+e+" timed out")),n(u),r(d),window[u]=function(){n(u)}}),o),p.onerror=function(){c(new Error("JSONP request to "+e+" failed")),n(u),r(d),s&&clearTimeout(s)}}))}},void 0===(r=n.apply(t,[t,e]))||(e.exports=r)},607:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(999),t)},111:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.get_csrf_jwt_token=t.Backend=void 0;var o,a=i(n(144)),s=n(945);function l(){return window.CSRF_TOKEN?window.CSRF_TOKEN:(0,s.getCookie)("csrftoken")||""}!function(e){e.get="GET",e.post="POST",e.put="PUT",e.delete="DELETE",e.patch="PATCH"}(o||(o={}));var c=function(e){void 0===e&&(e={});var t="";Object.keys(e).forEach((function(n){var r=e[n];Array.isArray(r)&&(r.forEach((function(e){t+="&".concat(n,"=").concat(e)})),delete e[n])}));var n=(0,s.qsStringify)(e);return 0===n.length&&t.replace("&",""),n+t},u=function(e){return Object.keys(e).forEach((function(t){null==e[t]&&delete e[t]})),e},d=function(e,t,n,i,a){void 0===t&&(t=o.get),void 0===n&&(n={});var s=t===o.get,l=t===o.delete,d=n.body,p=null==d?void 0:d.isJSON,f=d&&d instanceof FormData,h=n.headers;(null==d?void 0:d.headers)&&(h=r(r({},h),d.headers),delete d.headers);var m=r({},(!s||h)&&{headers:r(r({},!f&&{"Content-Type":p?"application/json":"application/x-www-form-urlencoded"}),h)});return(n=u(n)).body&&(n.body=u(n.body)),p&&delete n.body.isJSON,s?(delete n.headers,Object.keys(n).length>0&&(e+=(e.includes("?")?"&":"?")+c(n))):m.body=f?d:p?JSON.stringify(d):c(d),fetch(e,r({method:t,credentials:i?"omit":"include"},m)).then((function(e){if(e.ok){var t=e.headers.get("content-type")||"";return a?{response:e,encoding:t.split("charset=")[1]||"utf-8"}:l?e.text():e.json()}return Promise.reject(e)})).catch((function(e){return Promise.reject(e)}))},p=function(e,t,n,r){return d(e,o.get,t,n,r).then((function(e){return e}))},f=function(e,t,n){return d(e,o.post,t,n).then((function(e){return e}))},h=function(e,t,n){return d(e,o.put,t,n).then((function(e){return e}))},m=function(e,t,n){return d(e,o.delete,t,n).then((function(e){return e}))},g=!1;function v(e,t,n,r){return function(i){i?8018===i.code?function(){if(g)return e(n,r),!1;var i="//".concat((0,s.getAuthHost)("auth-ac"),"/sdc"),o="callback"+((new Date).valueOf()+Math.floor(1e3*Math.random()));(0,a.default)("".concat(i,"?from=").concat((0,s.absoluteUrl)(t)),{timeout:1e4,jsonpCallback:"JSONP_call",jsonpCallbackFunction:o}).then((function(){g=!0,e(n,r)})).catch((function(e){r(e)}))}():n(i):r()}}var y={api_get:function(e,t){return e=(0,s.build_api_url)(e),new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get:function(e,t){return new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get_without_cred:function(e,t){return new Promise((function n(r,i){p(e,t,!0).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},api_post:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_patch:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){(function(e,t,n){return d(e,o.patch,t,void 0).then((function(e){return e}))})(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_delete:function(e){return b().then((function(){return e=(0,s.build_api_url)(e),new Promise((function t(n,r){m(e).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},delete:function(e){return b().then((function(t){return new Promise((function n(r,i){m(e,{headers:{"X-CSRFToken":l(),"X-JWTCSRFToken":t}}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_put:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){h(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},remote_api_post:function(e,t){return new Promise((function(n,r){f(e,{body:t}).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},doc_get:function(e,t){return new Promise((function(n,r){p(e,t,!0,!0).then((function(e){var t=e.response,i=e.encoding;"utf-8"===i?t.text().then((function(e){e?n(e):r()})):t.arrayBuffer().then((function(e){if(e){var t=new TextDecoder(i);n(t.decode(e))}else r()}))})).catch((function(e){return r(e)}))}))},simple_post:function(e,t){return new Promise((function(n,r){f(e,{body:t},!0).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},remote_api_get:function(e,t){return new Promise((function(n,r){p(e,t).then((function(e){n(e)})).catch((function(e){return r(e)}))}))},post:function(e,t){return b().then((function(n){return t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},post_formdata:function(e,t,n){var i=n.file,o=n.fileField,a=void 0===o?"filedata":o;return b().then((function(n){var o=new FormData;for(var s in t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t))t[s]&&o.append("".concat(s),"".concat(t[s]));return o.append("".concat(a),i),new Promise((function t(n,r){f(e,{body:o}).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},post_real_formdata:function(e,t){return b().then((function(n){return t.append("csrfmiddlewaretoken",l()),t.append("csrfmiddlewaretoken_jwt",n),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},put:function(e,t){return new Promise((function n(r,i){h(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},jsonp:function(e,t){var n=t;return n="string"!=typeof t?t?"?".concat(new URLSearchParams(t).toString()):"":t?"?".concat(n):"",new Promise((function(t,r){(0,a.default)("".concat(e).concat(n),{timeout:1e4}).then((function(e){return e.json()})).then((function(e){t(e)})).catch((function(e){r(e)}))}))}};function b(){var e=window.__GEMS&&window.__GEMS.token||window.CSRF_JWT_TOKEN;return new Promise((function(t){e||window.__GEMS&&window.__GEMS.no_session?t(e):y.api_get("/social/profile/user_token").then((function(e){"fail"===e.status&&window.__GEMS&&(window.__GEMS.no_session=!0),window.__GEMS&&s.isGem&&(window.__GEMS.token=e.token),window.CSRF_JWT_TOKEN=e.token,t(e.token)}),(function(){return window.__GEMS&&(window.__GEMS.no_session=!0),t("")}))}))}t.Backend=y,t.default=y,t.get_csrf_jwt_token=b},93:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Broadcast=void 0;var o=r(n(187)),a=function(){var e=(new Date).getTime(),t={};try{t=window.localStorage}catch(e){i.error("[broadcast]",e)}var n=new o.default,r=function(t){var r,i=(t.key||"").match(/^broadcast_(.*)$/);if(i){r=i[1];var o=JSON.parse(t.newValue);o.sender!==e&&n.emit(r,o)}};return{selfId:e,post:function(n,r){r.ts=(new Date).getTime(),r.sender=e,t["broadcast_"+n]=JSON.stringify(r)},on:function(e,t){n.on(e,t)},off:function(e,t){t?n.removeListener(e,t):n.removeAllListeners(e)},init:function(){try{t.setItem("test","1"),t.removeItem("test")}catch(e){t={}}window.addEventListener("storage",r,!1)}}}();function s(){a.init()}t.Broadcast=a,t.default=a,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){s(),document.removeEventListener("DOMContentLoaded",e)})):s()},662:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HashUtils=void 0;var n={LongMath:{add64:function(e,t){var n,r={h:e.h+t.h,l:e.l+t.l};return n=r.l/4294967296>>>0,r.l=(4294967295&r.l)>>>0,r.h=(r.h+n&4294967295)>>>0,r},mul64:function(e,t){var n=this.mul32(e.l,t.l),r=this.mul32(e.h,t.l),i=this.mul32(e.l,t.h);return{h:(n.h+r.l+i.l&4294967295)>>>0,l:n.l}},mul32:function(e,t){var n=e>>16&65535,r=65535&e,i=t>>16&65535,o=65535&t,a=r*o,s=n*o,l=r*i,c=(a+(s+l<<16)>>>0&4294967295)>>>0;return{h:n*i+((a+65536*(s+l)-c)/4294967296>>>0),l:c}}},SipHash:function(){function e(e,t){var n=e.l+t.l,r={h:e.h+t.h+(n/2>>>31)>>>0,l:n>>>0};e.h=r.h,e.l=r.l}function t(e,t){e.h^=t.h,e.h>>>=0,e.l^=t.l,e.l>>>=0}function n(e,t){var n={h:e.h<<t|e.l>>>32-t,l:e.l<<t|e.h>>>32-t};e.h=n.h,e.l=n.l}function r(e){var t=e.l;e.l=e.h,e.h=t}function i(i,o,a,s){e(i,o),e(a,s),n(o,13),n(s,16),t(o,i),t(s,a),r(i),e(a,o),e(i,s),n(o,17),n(s,21),t(o,a),t(s,i),r(a)}function o(e,t){return e.charCodeAt(t+3)<<24|e.charCodeAt(t+2)<<16|e.charCodeAt(t+1)<<8|e.charCodeAt(t)}function a(e,n){var r,a={h:e[1]>>>0,l:e[0]>>>0},s={h:e[3]>>>0,l:e[2]>>>0},l={h:a.h,l:a.l},c=a,u={h:s.h,l:s.l},d=s,p=n.length,f=p-7,h=new Uint8Array(new ArrayBuffer(8)),m=0;for(t(l,{h:1936682341,l:1886610805}),t(u,{h:1685025377,l:1852075885}),t(c,{h:1819895653,l:1852142177}),t(d,{h:1952801890,l:2037671283});m<f;)t(d,r={h:o(n,m+4),l:o(n,m)}),i(l,u,c,d),i(l,u,c,d),t(l,r),m+=8;h[7]=p;for(var g=0;m<p;)h[g++]=n.charCodeAt(m++);for(;g<7;)h[g++]=0;t(d,r={h:h[7]<<24|h[6]<<16|h[5]<<8|h[4],l:h[3]<<24|h[2]<<16|h[1]<<8|h[0]}),i(l,u,c,d),i(l,u,c,d),t(l,r),t(c,{h:0,l:255}),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d);var v=l;return t(v,u),t(v,c),t(v,d),v}return{string16_to_key:function(e){return[o(e,0),o(e,4),o(e,8),o(e,12)]},hash:a,hash_hex:function(e,t){var n=a(e,t);return("0000000"+n.h.toString(16)).substr(-8)+("0000000"+n.l.toString(16)).substr(-8)},hash_uint:function(e,t){var n=a(e,t);return 4294967296*(2097151&n.h)+n.l}}}(),jumphash:function(e,t){for(var r={h:666578662,l:2276503805},i=0,o=-1;i<t;)o=i,e=n.LongMath.mul64(e,r),e=n.LongMath.add64(e,{h:0,l:1}),i=Math.floor((o+1)*(2147483648/(1+(e.h>>>1))));return o},getShard:function(e,t){return n.jumphash(n.SipHash.hash(0,e),t)}};t.HashUtils=n,t.default=n},999:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(402),t),i(n(945),t),i(n(111),t),i(n(93),t),i(n(843),t),i(n(645),t)},843:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MasterSlave=void 0;var i,o=r(n(187)),a=n(93),s=n(945);function l(){i.init()}t.MasterSlave=i,t.default=i,s.inGamecenter?t.default=t.MasterSlave=i={_master:!1,_events:new o.default,isMaster:function(){return this._master},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(){i._master=0===window.location.pathname.search("/gamecenter/chat")||0===window.location.pathname.search("/app"),i._events.emit("master")}}:t.default=t.MasterSlave=i={_events:new o.default,broadcastHandle:null,tryMasterHandle:null,masterId:null,authIdentity:null,debugFlag:!1,_debug:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i.debugFlag&&window.console&&window.console.debug.apply(window,e)},_becomeMaster:function(){i._debug("become master"),i.masterId=a.Broadcast.selfId,i._sendBroadcast(),i._events.emit("master")},_becomeDeadman:function(){i._debug("become deadman"),i.isMaster()&&(i.masterId=0,clearTimeout(i.broadcastHandle),a.Broadcast.post("master_resign",{})),a.Broadcast.off("master_broadcast"),a.Broadcast.off("master_resign"),i._events.emit("deadman")},_sendBroadcast:function(){i.isMaster()&&(i.isAuthChanged()?i._becomeDeadman():(i._debug("master broadcast",a.Broadcast.selfId),clearTimeout(i.broadcastHandle),i.broadcastHandle=setTimeout(i._sendBroadcast,1200),a.Broadcast.post("master_broadcast",{})))},_tryBecomeMaster:function(e){var t=(e||0)+Math.round(500*Math.random());i._debug("_tryBecomeMaster",e),clearTimeout(i.tryMasterHandle),i.isAuthChanged()?i._becomeDeadman():i.tryMasterHandle=setTimeout(i._becomeMaster,t)},_acceptMaster:function(e){(!i.isMaster()||e.sender<a.Broadcast.selfId)&&(i._debug("accept master",e.sender),i.isMaster()&&i._events.emit("slave"),i.masterId=e.sender,clearTimeout(i.broadcastHandle),clearTimeout(i.tryMasterHandle),i._tryBecomeMaster(5e3))},isMaster:function(){return i.masterId===a.Broadcast.selfId},isAuthChanged:function(){return!!i.authIdentityGetter&&i.authIdentity!==i.authIdentityGetter()},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(e){i.authIdentityGetter=e,e&&(i.authIdentity=e()),a.Broadcast.on("master_broadcast",i._acceptMaster),a.Broadcast.on("master_resign",i._tryBecomeMaster),window.addEventListener("unload",i._becomeDeadman,!1),i._tryBecomeMaster(2e3)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){l(),document.removeEventListener("DOMContentLoaded",e)})):l()},645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tmrStopTimespent=t.tmrStartTimespent=t.tmrPushTimespent=t.TimespentEventTypes=t.HostsActivityID=void 0;var r,o,a=n(945);!function(e){e.GamePage="68",e.Catalog="69",e.GOF="70",e.Community="71",e.Profile="72",e.Support="74"}(r=t.HostsActivityID||(t.HostsActivityID={})),function(e){e.Start="startForegroundTimespent",e.Stop="stopTimespent"}(o=t.TimespentEventTypes||(t.TimespentEventTypes={}));var s="3252498",l="showcase_timespent_started",c=function(){try{return window.localStorage.getItem(l)}catch(e){return i.error("Error getting timespent status:",e),null}},u=function(e){try{e?window.localStorage.setItem(l,e):window.localStorage.removeItem(l)}catch(e){i.error("Error setting timespent:",e)}};t.tmrPushTimespent=function(e,t){var n=window.location,l=n.hostname,c=n.pathname,d=l===(0,a.getGemHost)("store"),p=l===(0,a.getGemHost)("gof"),f=l===(0,a.getGemHost)("community"),h=l===(0,a.getGemHost)("profile"),m=l===(0,a.getGemHost)("support"),g=d&&(c.includes("/play/game/")||c.includes("/gamecenter/game")),v=d&&c.includes("/play/")&&!(c.includes("/play/game/")||c.includes("/play/my/")||c.includes("/play/promo/")||c.includes("/play/market/")||c.includes("/play/code/")),y=g?r.GamePage:v?r.Catalog:p?r.GOF:f?r.Community:h?r.Profile:m?r.Support:"",b=t||y;t&&t===y||(e===o.Start?u(b):u(),""!==b&&((window._tmr||(window._tmr=[])).push({id:s,type:e,activity:b}),i.log("â± tmr event sent:",e,s,"siteId: ".concat(b))))},t.tmrStartTimespent=function(e){var n=e?c():null;(0,t.tmrPushTimespent)(o.Start,n)},t.tmrStopTimespent=function(){var e=c();e&&(0,t.tmrPushTimespent)(o.Stop,e)}},945:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Domains=t.getShards=t.origin_by_login=t.isCorpUser=t.isMyGamesEmail=t.isMailRuEmail=t.isMobile=t.isProduction=t.isMacGC=t.isMac=t.isWindows=t.inGamecenter=t.getAuthHost=t.getGemHost=t.hostname_rgx=t.domain_rgx=t.API_DOMAIN=t.DOMAIN=t.isVkPlayMedia=t.isGCUserAgent=t.isChatPage=t.isGm3=t.isGm2=t.isAtTest=t.isMyCom=t.isMailRu=t.isDevDomain=t.isGMR=t.isGem=t.isMyGames=t.isVkPlay=t.isVkPlayLive=t.isVkPlayRu=t.isDevVkPlay=t.isDevMyGames=t.isDevGem=t.isProductionMode=t.isDevMode=t.VKPLAY_DEV_DOMAIN=t.VKPLAY_LIVE_DOMAIN=t.VKPLAY_DOMAIN=t.SUPPORT_DOMAIN=t.MYCOM_DOMAIN=t.MAILRU_DOMAIN=t.GMR_GM_HOST=t.GMR_GM3_DOMAIN=t.GMR_GM2_DOMAIN=t.GMR_DOMAIN=t.MYGAMES_DEV_DOMAIN=t.MYGAMES_DOMAIN=void 0,t.isOpenForWorld=t.calculateAge=t.setScriptTag=t.setLinkTag=t.openGameProfileURL=t.createGCGameURL=t.openUserProfileURL=t.openURL=t.getUserProfileURL=t.decodeEntities=t.allowCloud=t.isCis=t.CIS_REGIONS=t.copyTextToClipboard=t.copyTextToClipboardIE11=t.createCallLastDecorator=t.createDebounceDecorator=t.createThrottlingDecorator=t.getRandomInt=t.formatPrice=t.formatNumber=t.humanFileSize=t.isValidDate=t.resizePic=t.declineNum=t.qsStringify=t.query_string=t.htmlUnescape=t.htmlEscape=t.setCookie=t.getCookie=t.triggerPixel=t.safeUrl=t.absoluteUrl=t.buildGcHttpUrl=t.getGoogleCID=t.rbClick=t.rbShow=t.openGCUrl=t.build_url=t.build_api_url=t.showSignupBlock=t.showAuthBlock=t.isMyGamesApp=void 0;var r=/^[^@]+@(mail\.ru|xmail\.ru|list\.ru|inbox\.ru|bk\.ru|internet\.ru|corp\.mail\.ru|mail\.ua|vk\.com|vk\.team|corp\.my\.com)$/,o=/^[^@]+@(corp\.mail.ru|corp\.vk\.com|vk\.team|corp\.my\.com|pixonic\.com|pixonic\.ru|my\.games)$/,a=/^[^@]+@(my\.games|guestmg(?:0[1-4])?\.pro)$/;t.MYGAMES_DOMAIN="my.games",t.MYGAMES_DEV_DOMAIN="dev-my.games",t.GMR_DOMAIN="games.mail.ru",t.GMR_GM2_DOMAIN="games.gm2.corp.mail.ru",t.GMR_GM3_DOMAIN="games.gm3.corp.mail.ru",t.GMR_GM_HOST=document.domain.match(/gm\d/),t.MAILRU_DOMAIN="mail.ru",t.MYCOM_DOMAIN="my.com",t.SUPPORT_DOMAIN="support.my.games",t.VKPLAY_DOMAIN="vkplay.ru",t.VKPLAY_LIVE_DOMAIN="vkplay.live",t.VKPLAY_DEV_DOMAIN="dev-vkplay.ru",t.isDevMode=function(){return!1},t.isProductionMode=!0,t.isDevGem=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN)||document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isDevMyGames=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN),t.isDevVkPlay=document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isVkPlayRu=document.domain.endsWith(t.VKPLAY_DOMAIN),t.isVkPlayLive=document.domain.endsWith(t.VKPLAY_LIVE_DOMAIN),t.isVkPlay=t.isVkPlayRu||t.isVkPlayLive||window.isVkp,t.isMyGames=document.domain.endsWith(t.MYGAMES_DOMAIN),t.isGem=t.isMyGames||t.isVkPlay,t.isGMR=document.domain.endsWith(t.GMR_DOMAIN)||document.domain.endsWith(t.GMR_GM2_DOMAIN)||document.domain.endsWith(t.GMR_GM3_DOMAIN),t.isDevDomain=t.isDevGem&&t.isGem,t.isMailRu=document.domain.endsWith(t.MAILRU_DOMAIN),t.isMyCom=document.domain.endsWith(t.MYCOM_DOMAIN),t.isAtTest="1"===h("at_test"),t.isGm2=location.origin.includes("gm2"),t.isGm3=location.origin.includes("gm3"),t.isChatPage=location.pathname.includes("/chat"),t.isGCUserAgent=navigator.userAgent.match(/\bDownloader\/\d+\b/);var s,l,c=location.pathname.includes("/gamecenter/")||location.search.includes("in_gamecenter=1");function u(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n="dev-vkplay.ru"===window.location.hostname?t.hostname_rgx.exec("store.dev-vkplay.ru"):t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[1]||"",i=n[3]||"",o=n[4]||"",a=n[5],s=void 0!==n[3],l=void 0!==n[4],c=!s&&!l;return c&&t.isVkPlay&&"store"===e?a:c&&t.isVkPlay&&"chat"===e?"chat.".concat(a):"".concat(r).concat(e,".").concat(i).concat(o).concat(a)}function d(e){if(e=e||"/",t.isGem){if(e.indexOf("/profile/")>-1)return"//"+u("profile")+e}else if(document.domain.endsWith("corp.mail.ru")){var n=document.domain.split("."),r="games.gm2.corp.mail.ru";return"bonus"===n[0]||"market"===n[0]?"//webcf.waybackmachine.org/web/20240801092516/https://games.mail.ru"+e:"//"+(r=1===n[0].length?n[0]+"."+n[1]+"."+r:n[0]+"."+r)+e}return"//games.mail.ru"+e}function p(e,n){t.inGamecenter&&window.gc_open_url_mainwnd&&(n=n||e.target.href)&&(e.preventDefault(),0===n.indexOf("//")&&(n="https:"+n),window.gc_open_url_mainwnd(n))}function f(e){return e.startsWith("//")?e=document.location.protocol+e:/^https?:\/\//i.test(e)||(e=document.location.origin+e),e}function h(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}function m(e){for(var t={},n=(e||window.location.search||"").replace(/^[^?]*\?/,"").split("&"),r=0;r<n.length;r++){var i=n[r],o=i.indexOf("="),a=decodeURIComponent(i.substr(0,o));a&&(t[a]=decodeURIComponent(i.substr(o+1)))}return t}function g(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=t.addQueryPrefix,r=void 0!==n&&n;return"object"==typeof e?Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&""!==e[n]&&null!==e[n]&&(r&&0===t.length?t+="?":(r&&t.length>0||t.length>0)&&(t+="&"),t+="".concat(n,"=").concat(encodeURIComponent(e[n]))),t}),""):""}function v(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}function y(e,t){var n=t.decimalSignType,r=void 0===n?"point":n,i=t.postfix,o=void 0===i?"":i,a=t.prefix,s=void 0===a?"":a,l=t.separateThousandsWith,c=e.toString();return"comma"===r&&(c=c.replace(".",",")),l&&(c=c.replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1".concat(l))),"".concat(s).concat(c).concat(o)}t.isVkPlayMedia=document.domain.includes("media."),t.DOMAIN=t.isDevMyGames?t.MYGAMES_DEV_DOMAIN:t.isDevVkPlay?t.VKPLAY_DEV_DOMAIN:t.isVkPlay?t.VKPLAY_DOMAIN:t.isMailRu?t.MAILRU_DOMAIN:t.isMyGames?t.MYGAMES_DOMAIN:t.isMyCom?t.MYCOM_DOMAIN:t.VKPLAY_DOMAIN,t.API_DOMAIN="api.".concat(t.DOMAIN),t.domain_rgx=new RegExp("^https?://([^/]+.)?".concat(t.DOMAIN)),t.hostname_rgx=new RegExp("^([^.]+-)?(?:([^.-]+).)?((?:gm[123]|test[12]).)?(dev-)?(my.games|vkplay.ru|astrum.top)$"),t.getGemHost=u,t.getAuthHost=function(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n=t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[4]||"",i=n[5];return"".concat(e,".").concat(r).concat(i)},t.inGamecenter=!(window.location.pathname.indexOf("/gamecenter/download")>-1)&&(c||t.isGCUserAgent||window.IN_GAMECENTER),t.isWindows=navigator.platform.toLowerCase().indexOf("win")>-1,t.isMac=/Macintosh/i.test(navigator.userAgent),t.isMacGC=t.inGamecenter&&t.isMac,t.isProduction=t.isGem&&!t.isGm2||document.domain.endsWith(t.GMR_DOMAIN)||"games.my.com"===document.domain,t.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t.isMailRuEmail=function(e){return r.test(e)},t.isMyGamesEmail=function(e){return a.test(e)},t.isCorpUser=function(e){return o.test(e)},t.origin_by_login=function(e){return e?(0,t.isMailRuEmail)(e)?"mailru":e.endsWith("@vk")?"vk":e.endsWith("@ok")?"ok":isNaN(e)?e.endsWith("@facebook")?"fb":e.endsWith("@twitter")?"tw":e.endsWith("@google")?"g":e.endsWith("@steam")?"steam":e.endsWith("@twitch")?"twitch":e.endsWith("@hitbox")?"hitbox":e.endsWith("@ps")?"ps":e.endsWith("@xbox")?"xbox":e.endsWith("@apple")?"apple":e.endsWith("@eg")?"eg":e.endsWith("@pl")?"pl":e.endsWith("@ns")?"ns":(0,t.isMyGamesEmail)(e)?"mygames":e.indexOf("@")>0?"e":void i.error("unknown origin for login: '".concat(e,"'")):"p":""},t.getShards=function(){return t.isGem?(n=["ws0.".concat(t.API_DOMAIN)],r=["ws0.gm2.".concat(t.DOMAIN),"ws1.gm2.".concat(t.DOMAIN)],i=["ws0.gm3.".concat(t.DOMAIN)],o=["ws0.".concat(t.API_DOMAIN),"ws1.".concat(t.API_DOMAIN),"ws2.".concat(t.API_DOMAIN),"ws3.".concat(t.API_DOMAIN),"ws4.".concat(t.API_DOMAIN),"ws5.".concat(t.API_DOMAIN)],a=["eu-ws0.".concat(t.API_DOMAIN),"eu-ws1.".concat(t.API_DOMAIN),"eu-ws2.".concat(t.API_DOMAIN),"eu-ws3.".concat(t.API_DOMAIN),"eu-ws4.".concat(t.API_DOMAIN),"eu-ws5.".concat(t.API_DOMAIN)],t.isDevGem?t.isGm3?i:n:t.isProduction?t.isMyGames?a:o:r):(e=["ws0.".concat(t.GMR_DOMAIN),"ws1.".concat(t.GMR_DOMAIN),"ws2.".concat(t.GMR_DOMAIN),"ws3.".concat(t.GMR_DOMAIN),"ws4.".concat(t.GMR_DOMAIN),"ws5.".concat(t.GMR_DOMAIN)],t.isProduction?e:["ws0.games.gm2.corp.mail.ru","ws1.games.gm2.corp.mail.ru"]);var e,n,r,i,o,a},t.Domains={wsd:(0,t.getShards)()},t.isMyGamesApp=(s=navigator.userAgent,l=m(),s.indexOf("com.my.mygamesapp")>-1||"1"===l.is_mygames_app),t.showAuthBlock=function(e){window.__GEMS&&e&&(window.__GEMS.continue=e),t.isMyGamesApp?messageHandler.postMessage("LOGIN"):t.inGamecenter?window.gc_show_auth_window&&window.gc_show_auth_window():t.isMyCom?window.__GMC&&window.__GMC.showLogin():t.isGem?window.__GEM&&window.__GEM.showLogin(e):t.isAtTest&&window.__GMR_HEADER&&window.__GMR_HEADER.showSignIn?window.__GMR_HEADER.showSignIn(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.showSignupBlock=function(e){t.isMyCom?window.__GMC&&window.__GMC.showSignup():t.isGem?window.__GEM&&window.__GEM.showSignup(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.build_api_url=function(e){e=e||"/";var n=document.domain.replace(/^m([-.])/,"");if(n.endsWith("my.com"))return n.endsWith("dev.my.com")?"//webcf.waybackmachine.org/web/20240801092516/https://api-"+n+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.my.com"+e;if(n.endsWith("corp.mail.ru")){var r=document.domain.split(".")[0];return"//".concat(r,"-api.games.").concat(t.GMR_GM_HOST,".corp.mail.ru").concat(e)}return n.endsWith("dev-my.games")?"//webcf.waybackmachine.org/web/20240801092516/https://api.dev-my.games".concat(e):t.isGem?"//"+u("api")+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.mail.ru"+e},t.build_url=d,t.openGCUrl=p,t.rbShow=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/d"+e+".gif?rnd="+Math.random()},t.rbClick=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/sb"+e+".gif?rnd="+Math.random()},t.getGoogleCID=function(e){void 0===e&&(e=h("_ga"));var t=e.match(/(\d+\.\d+)$/);return t?t[1]:void 0},t.buildGcHttpUrl=function(e){return void 0===e&&(e=""),"mailrugames://urlhttps/games.mail.ru"+e},t.absoluteUrl=f,t.safeUrl=function(e){return e&&(0===(e=f(e)).search(t.domain_rgx)||e.startsWith(window.location.origin))?e:""},t.triggerPixel=function(e){var t,n;if(e&&""!==e){var r=e.indexOf("?")>-1?"&rnd=":"?rnd=",i=window.gem_cookiebot_loaded;(!i||i&&(null===(n=null===(t=window.Cookiebot)||void 0===t?void 0:t.consent)||void 0===n?void 0:n.statistics))&&((new Image).src=e+r+Math.random())}},t.getCookie=h,t.setCookie=function(e,t,n){void 0===n&&(n={});var r=(n=n||{}).expires;if("number"==typeof r&&r){var i=new Date;i.setTime(i.getTime()+1e3*r),r=n.expires=i}r&&r.toUTCString&&(n.expires=r.toUTCString());var o=e+"="+(t=encodeURIComponent(t));for(var a in n)if(n[a]){var s=n[a];o+="; "+a,!0!==s&&(o+="="+s)}document.cookie=o},t.htmlEscape=function(e){return void 0===e&&(e=""),e.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/&/g,"&")},t.htmlUnescape=function(e){return void 0===e&&(e=""),e.replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/&/g,"&")},t.query_string=m,t.qsStringify=g,t.declineNum=function(e,t,n,r){var i;return e%100==11||e%100==12||e%100==13||e%100==14?i=r:e%10==1?i=t:e%10>=2&&e%10<=4?i=n:(e%10==0||e%10>=5&&e%10<=9)&&(i=r),i},t.resizePic=function(e,t){var r;void 0===t&&(t={});var i=t.method||"crop",o=t.quality,a=void 0===o?85:o,s=t.format,l=t.blur,c=t.feather,u=t.color,d=g(n(n(n(n(n({},!isNaN(a)&&a<100&&{quality:a}),s&&{format:s}),l&&{feather_blur:l}),c&&{feather:c}),u&&{feather_color:u}));if(r=t&&(t.width||t.height)?t.width+"x"+t.height:"big2",e)return(e+=d.length>0?(e.includes("?")?"&":"?")+d:"").indexOf("/hotbox/")>-1?e=e.replace("/hotbox/","/pre_".concat(r,"_").concat(i,"/hotbox/")):e.indexOf("/pic/")>-1&&(e=e.replace("/pic/","/pre_".concat(r,"_").concat(i,"/pic/"))),e},t.isValidDate=v,t.humanFileSize=function(e,t,n){void 0===t&&(t={});var r=0;if(t){for(var i=n?1e3:1024;e>1e3;)e/=i,r++;return e.toFixed(1)+" "+t[r]}},t.formatNumber=y;var b,w={USD:{separateThousandsWith:" ",prefix:"$"},EUR:{separateThousandsWith:" ",prefix:"€"},RUB:{separateThousandsWith:" ",decimalSignType:"comma",postfix:" ₽"}};t.formatPrice=function(e,t){return w[t]?y(e,w[t]):null},t.getRandomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e},t.createThrottlingDecorator=function(e,t){void 0===t&&(t=1e3);var n,r,i=!1;return function o(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(i)return n=a,void(r=this);e.apply(void 0,a),i=!0,setTimeout((function(){i=!1,n&&(o.apply(r,n),n=r=null)}),t)}},t.createDebounceDecorator=function(e,t){void 0===t&&(t=1e3);var n=!1;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n||(e.apply(void 0,r),n=!0,setTimeout((function(){return n=!1}),t))}},t.createCallLastDecorator=function(e,t){void 0===t&&(t=1e3);var n=null;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,r)}),t)}},t.copyTextToClipboardIE11=function(e,t){var n=document.createElement("textarea");n.value=e,n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.position="fixed",document.body.appendChild(n),n.select(),n.setSelectionRange(0,99999),document.execCommand("copy"),t&&t(),document.body.removeChild(n)},t.copyTextToClipboard=function(e,n){!t.inGamecenter&&navigator.clipboard?navigator.clipboard.writeText(e).then(n).catch((function(){return(0,t.copyTextToClipboardIE11)(e,n)})):(0,t.copyTextToClipboardIE11)(e,n)},t.CIS_REGIONS=["398","219","215","201","29","28","34","191","188","17","33","16","196","467"],t.isCis=function(){var e;return t.CIS_REGIONS.includes((null===(e=window.__GEMS)||void 0===e?void 0:e.country_id)||window.country_id)},t.allowCloud=function(e){var n,r;void 0===e&&(e={});var i=e.login&&(0,t.isCorpUser)(e.login),o=t.isGem?null===(n=window.__GEMS)||void 0===n?void 0:n.country_id:null===(r=window.gmrGeo)||void 0===r?void 0:r.country_id,a=t.CIS_REGIONS.includes(o);return i||a},t.decodeEntities=(b=document.createElement("div"),function(e){void 0===e&&(e="");var t=e;return t=(t=(t=t.replace(/<br\s*[\/]?>/gi,"\n")).replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")).replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),b.innerHTML=t,t=b.textContent,b.textContent="",t}),t.getUserProfileURL=function(e){return d("".concat(t.inGamecenter&&!t.isGem?"/gamecenter":"","/profile/").concat(e))},t.openURL=function(e,n){t.inGamecenter?p(e,n):window.open(n,"_blank","noopener,noreferrer")},t.openUserProfileURL=function(e,n){var r=(0,t.getUserProfileURL)(n);(0,t.openURL)(e,r)},t.createGCGameURL=function(e){return"mailrugames://show/".concat(e)},t.openGameProfileURL=function(e,n){t.inGamecenter?p(e,(0,t.createGCGameURL)(n.gc_id)):(0,t.openURL)(e,n.url)},t.setLinkTag=function(e){return new Promise((function(t,n){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=function(){return t()},r.onerror=function(){return n()},document.head.appendChild(r)}))},t.setScriptTag=function(e){var t=e.src,n=e.inlineScript,r=e.onload,i=e.data,o=e.async,a=e.prepend,s=e.id,l=e.setToHead,c=document.createElement("script"),u=l?document.head:document.body;if(c.type="text/javascript",c.onload=r,!s||(c.id=s,!document.getElementById(s))){if(t&&(c.src=t),o&&(c.async=!0),i&&Object.keys(i).map((function(e){c.setAttribute(["data-".concat(e)],i[e])})),n){var d=document.createTextNode(n);c.appendChild(d)}a?u.prepend(c):u.appendChild(c)}},t.calculateAge=function(e){void 0===e&&(e="");var t=new Date(e);if(!v(t))return i.warn("Age calculation error: invalid date"),null;var n=new Date,r=n.getMonth()-t.getMonth(),o=n.getFullYear()-t.getFullYear();return(r<0||0===r&&n.getDate()<t.getDate())&&o--,o},t.isOpenForWorld=function(e){var t=["188","201"].includes(e);return!(!e||t)}},402:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.WSD=void 0;var i=r(n(187)),o=n(662),a=n(843),s=n(93),l={id:null,properShardNumber:NaN,CODE_CID_DUP:4001,CODE_RESHARD:4002,CODE_NO_AUTH:4003,socket:null,reconnectHandle:null,errorTimeout:2e3,minErrorTimeout:2e3,maxErrorTimeout:3e5,minPageReloadInterval:36e5,reopens:0,opened:!1,events:new i.default,_log:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).log.apply(e,t)},_debug:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).debug.apply(e,t)},_error:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).error.apply(e,t)},on:function(e,t){l.events.on(e,t)},off:function(e,t){t?l.events.removeListener(e,t):l.events.removeAllListeners(e)},getShard:function(){var e;return e=isNaN(l.properShardNumber)?o.HashUtils.getShard(String(l.id),l.shards.length):l.properShardNumber,l.shards[e]},getCid:function(){var e=window.localStorage.getItem("ws_cid");return e||(e=String(Math.round(4294967295*Math.random())),window.localStorage.setItem("ws_cid",e)),e},getUrl:function(){var e=l.getShard(),t=l.getCid();return((window.location.protocol||"").match("^https")?"wss":"ws")+"://"+e+"?cid="+encodeURIComponent(t)},onWebsocketOpen:function(e){l._debug("[ws] opened",e),l.emitOpen(),s.Broadcast.post("ws",{type:"open"})},onWebsocketClose:function(e){if(l._debug("[ws] closed","code:",e.code,"reason:",e.reason,"wasClean:",e.wasClean),l.emitClose(),s.Broadcast.post("ws",{type:"close"}),l.socket=null,e.wasClean)switch(e.code){case l.CODE_CID_DUP:window.localStorage.removeItem("ws_cid"),l.reconnect();break;case l.CODE_RESHARD:var t=parseInt(e.reason);if(l._debug("[ws] reshard","new:",t,"prev:",l.properShardNumber),!isNaN(t))if(isNaN(l.properShardNumber))l.properShardNumber=t,l.reconnect();else{var n=parseInt(window.localStorage.getItem("ws_last_reload_ts")),r=(new Date).getTime();(!n||r-n>l.minPageReloadInterval)&&l.pageReload()}break;case l.CODE_NO_AUTH:window.gc_renew_cookie&&window.gc_renew_cookie(),document.body.className+=" no_auth",l.reconnect(!0);break;default:return void(l.errorTimeout=l.minErrorTimeout)}else l.reconnect(!0)},onWebsocketMessage:function(e){var t=e.data;l.emitMessage(t),s.Broadcast.post("ws",{type:"message",message:t})},onCrossTabMessage:function(e){switch(e.type){case"message":l.emitMessage(e.message);break;case"open":l.emitOpen();break;case"close":l.emitClose();break;default:l._error("unknown broadcast message",e)}},emitMessage:function(e){e=JSON.parse(e),l._debug("[ws] message",e),l.events.emit("message",e)},emitOpen:function(){l.events.emit("open",l.reopens),l.reopens+=1,l.opened=!0},emitClose:function(){l.events.emit("close"),l.opened=!1},isOpened:function(){return l.opened},pageReload:function(){var e=(new Date).getTime();window.localStorage.setItem("ws_last_reload_ts",String(e)),window.location.reload()},connect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.close(),l.socket=null);try{l.socket=new WebSocket(l.getUrl()),l.socket.onopen=function(e){l.onWebsocketOpen(e)},l.socket.onclose=function(e){l.onWebsocketClose(e)},l.socket.onerror=function(e){l._error("[ws] error",e)},l.socket.onmessage=function(e){l.onWebsocketMessage(e)}}catch(e){l._error("[ws] error",e)}},reconnect:function(e){if(clearTimeout(l.reconnectHandle),e){l.errorTimeout===l.maxErrorTimeout&&l.pageReload(),l.errorTimeout=Math.min(l.maxErrorTimeout,2*l.errorTimeout);var t=Math.round(l.errorTimeout*(.75+Math.random()/2));l.reconnectHandle=setTimeout(l.connect,t)}else l.reconnectHandle=setTimeout(l.connect)},disconnect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.onopen=null,l.socket.onclose=null,l.socket.onerror=null,l.socket.onmessage=null,l.socket.close(),l.socket=null)},becomeMaster:function(){l._debug("[ws] is master"),s.Broadcast.off("ws",l.onCrossTabMessage),l.connect()},becomeSlave:function(){l._debug("[ws] is slave"),l.disconnect(),s.Broadcast.on("ws",l.onCrossTabMessage)},becomeDeadman:function(){l._debug("[ws] is deadman"),l.disconnect(),s.Broadcast.off("ws",l.onCrossTabMessage)},init:function(e,t){window.WebSocket&&e?(l.id=e,l.shards=t,a.MasterSlave.on("master",l.becomeMaster),a.MasterSlave.on("slave",l.becomeSlave),a.MasterSlave.on("deadman",l.becomeDeadman),a.MasterSlave.isMaster()?l.becomeMaster():l.becomeSlave()):l._error("[ws] is not inited, id=",e)}};t.WSD=l,t.default=l}},n={},r=function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r].call(o.exports,o,o.exports,e),o.exports}(607),e.exports=r},692:function(e,t){var n,r;n=function(e,t){"use strict";var n,r,i="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var t=null,n=null,r=null,a=function(){e.clientWidth!==n&&u()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",u,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:s,update:u}),function(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),u()}()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function c(){if(0!==e.scrollHeight){var r=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),i=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,r.forEach((function(e){e.node.scrollTop=e.scrollTop})),i&&(document.documentElement.scrollTop=i)}}function u(){c();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),i="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(i<t?"hidden"===n.overflowY&&(l("scroll"),c(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),c(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==i){r=i;var a=o("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}function s(e){var t=i.get(e);t&&t.destroy()}function l(e){var t=i.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default},void 0===(r=n.apply(t,[e,t]))||(e.exports=r)},802:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(155);const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNyAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuNjI3MDggMTQuNTYwNkgzLjM0Njc1VjE0LjcwNTRDMy4zNDY3NSAxNi4wMzQ5IDQuNTI1MjggMTcuMTE2MyA1Ljk3MzgzIDE3LjExNjNINy4xMzlIMTIuNjk5NUgxMy4xOTk0SDEzLjY2OTlDMTUuMTE4OSAxNy4xMTYzIDE2LjI5NzUgMTYuMDM0OSAxNi4yOTc1IDE0LjcwNTRWNS42NTAwNEMxNi4yOTc1IDQuMzIwODIgMTUuMTE4OSAzLjIzOTA2IDEzLjY2OTkgMy4yMzkwNkgxMi45NTAzVjMuMDk0MzdDMTIuOTUwMyAxLjc2NDY1IDExLjc3MjIgMC42ODMzNSAxMC4zMjMyIDAuNjgzMzVIOS4zNTI4MUgzLjc5MjI0SDIuNjI3MDhDMS4xNzg1MyAwLjY4MzM1IDAgMS43NjQ2OSAwIDMuMDk0MzdWMTIuMTQ5NkMwIDEzLjQ3ODggMS4xNzg1MyAxNC41NjA2IDIuNjI3MDggMTQuNTYwNlpNMTMuNjY5OSA0LjAyODMxQzE0LjY0NjIgNC4wMjgzMSAxNS40MzczIDQuNzU0NCAxNS40MzczIDUuNjUwMDRWMTQuNzA1NEMxNS40MzczIDE1LjYwMSAxNC42NDYyIDE2LjMyNzEgMTMuNjY5OSAxNi4zMjcxSDEzLjE5OTVIMTIuNjk5Nkg3LjEzOTA0SDUuOTczODhDNC45OTgwNCAxNi4zMjcxIDQuMjA2OTYgMTUuNjAxIDQuMjA2OTYgMTQuNzA1NFYxNC41NjA2VjEzLjc3MTRWNS42NTAwNEM0LjIwNjk2IDQuNzU0MzYgNC45OTgwNCA0LjAyODMxIDUuOTczODggNC4wMjgzMUg3LjEzOTA0SDEyLjA5MDVIMTIuNjk5NkgxMi45NTAzSDEzLjY2OTlaTTAuODU5NzA0IDMuMDk0MzdDMC44NTk3MDQgMi4xOTg2OSAxLjY1MDc5IDEuNDcyNiAyLjYyNzA4IDEuNDcyNkgzLjc5MjI0SDkuMzUyODFIMTAuMzIzMkMxMS4yOTk1IDEuNDcyNiAxMi4wOTA1IDIuMTk4NjkgMTIuMDkwNSAzLjA5NDM3VjMuMjM5MDZINy4xMzkwNEg1Ljk3Mzg4QzQuNTI1MzIgMy4yMzkwNiAzLjM0NjggNC4zMjA4MiAzLjM0NjggNS42NTAwNFYxMy43NzE0SDIuNjI3MDhDMS42NTA3OSAxMy43NzE0IDAuODU5NzA0IDEzLjA0NDggMC44NTk3MDQgMTIuMTQ5NlYzLjA5NDM3WiIgZmlsbD0iIzQ0N0NGRiIvPgo8cGF0aCBkPSJNNS42Nzk4NiA2LjQ4NjA4QzUuNDkwOTUgNi40ODYwOCA1LjMzODAxIDYuNjM5MDYgNS4zMzgwMSA2LjgyNzk4QzUuMzM4MDEgNy4wMTY4NSA1LjQ5MDk1IDcuMTY5ODIgNS42Nzk4NiA3LjE2OTgySDEyLjUxOEMxMi43MDY5IDcuMTY5ODIgMTIuODU5OSA3LjAxNjg1IDEyLjg1OTkgNi44Mjc5OEMxMi44NTk5IDYuNjM5MDYgMTIuNzA2OSA2LjQ4NjA4IDEyLjUxOCA2LjQ4NjA4SDUuNjc5ODZaIiBmaWxsPSIjNDQ3Q0ZGIi8+CjxwYXRoIGQ9Ik02Ljc2MDM4IDkuMTUxMzlDNi43NjAzOCA5LjM0MDMgNi45MTM4MSA5LjQ5MzI4IDcuMTAyNzMgOS40OTMyOEgxMy41MTA2QzEzLjY5OTUgOS40OTMyOCAxMy44NTI5IDkuMzQwMyAxMy44NTI5IDkuMTUxMzlDMTMuODUyOSA4Ljk2MjQ4IDEzLjY5OTUgOC44MDkwOCAxMy41MTA2IDguODA5MDhINy4xMDI3M0M2LjkxMzgxIDguODA5MDggNi43NjAzOCA4Ljk2MjQ4IDYuNzYwMzggOS4xNTEzOVoiIGZpbGw9IiM0NDdDRkYiLz4KPHBhdGggZD0iTTEyLjAyNzQgMTEuNDczN0MxMi4wMjc0IDExLjI4NDggMTEuODc0MyAxMS4xMzE4IDExLjY4NTUgMTEuMTMxOEg1LjY3OTg2QzUuNDkwOTUgMTEuMTMxOCA1LjMzODAxIDExLjI4NDggNS4zMzgwMSAxMS40NzM3QzUuMzM4MDEgMTEuNjYyNiA1LjQ5MDk1IDExLjgxNjEgNS42Nzk4NiAxMS44MTYxSDExLjY4NTVDMTEuODc0MyAxMS44MTYxIDEyLjAyNzQgMTEuNjYyNiAxMi4wMjc0IDExLjQ3MzdaIiBmaWxsPSIjNDQ3Q0ZGIi8+CjxwYXRoIGQ9Ik0xMy41MTA0IDEzLjQ1NDhINy44ODI2MkM3LjY5Mzc1IDEzLjQ1NDggNy41NDA3NyAxMy42MDc5IDcuNTQwNzcgMTMuNzk2OEM3LjU0MDc3IDEzLjk4NTYgNy42OTM3NSAxNC4xMzg2IDcuODgyNjIgMTQuMTM4NkgxMy41MTA0QzEzLjY5OTQgMTQuMTM4NiAxMy44NTI4IDEzLjk4NTYgMTMuODUyOCAxMy43OTY4QzEzLjg1MjggMTMuNjA3OSAxMy42OTk0IDEzLjQ1NDggMTMuNTEwNCAxMy40NTQ4WiIgZmlsbD0iIzQ0N0NGRiIvPgo8L3N2Zz4K"},70:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(155);const r="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMyIiBoZWlnaHQ9IjEzMiIgdmlld0JveD0iMCAwIDEzMiAxMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNjYgMTMyQzEwMi40NDkgMTMyIDEzMiAxMDIuNDQ5IDEzMiA2NkMxMzIgMjkuNTUxNSAxMDIuNDQ5IDAgNjYgMEMyOS41NTE1IDAgMCAyOS41NTE1IDAgNjZDMCAxMDIuNDQ5IDI5LjU1MTUgMTMyIDY2IDEzMlpNNjYgNzAuNEM3OC4xNTUgNzAuNCA4OCA1OC41ODA1IDg4IDQ0Qzg4IDI5LjQxOTUgNzguMTU1IDE3LjYgNjYgMTcuNkM1My44NDUgMTcuNiA0NCAyOS40MTk1IDQ0IDQ0QzQ0IDU4LjU4MDUgNTMuODQ1IDcwLjQgNjYgNzAuNFpNMTA3LjggOTYuOEMxMDAuMSA4NC44MSA4NS40MzE1IDc5LjIgNjYgNzkuMkM0Ni42NCA3OS4yIDMxLjkzODUgODQuODgxNSAyNC4yIDk2LjhDMjIuNzI2IDk5LjA3MTUgMzkuNiAxMTguOCA2NiAxMTguOEM5Mi40IDExOC44IDEwOS4yNDcgOTkuMDQ0IDEwNy44IDk2LjhaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXIpIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXIiIHgxPSI2NiIgeTE9IjAiIHgyPSI2NiIgeTI9IjEzMiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRjVGNUY3IiBzdG9wLW9wYWNpdHk9IjAuNiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjAuMiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo="},485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},1:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(314),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".comments-dropdown__content{background:#fff;box-shadow:0px 0px 20px rgba(0,0,0,.07);overflow:hidden;position:absolute;width:153px;z-index:10}.comments-dropdown__trigger{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.comments-dropdown__item{margin-left:13px;width:120px}.comments-dropdown__item:not(:last-of-type){border-bottom:1px solid #efeff3}.comments-dropdown__item:not(:last-of-type) .comments-dropdown__item__button{margin:0 0 -1px -13px}.comments-dropdown__button{align-items:center;color:rgba(0,0,0,.4);display:flex;font-size:14px;line-height:150%;margin:-1px 0 -1px -13px;padding:9px 0 10px 13px;transition:background .1s;width:calc(100% + 33px)}.comments-dropdown__button-icon{margin-right:6px}",""]);const o=i},720:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(314),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".fail-snackbar{position:fixed;bottom:0;left:50%;transform:-50%,0;opacity:0;z-index:9999;animation:popUp .2s forwards}@keyframes popUp{from{transform:translate(-50%, 0);opacity:0}to{transform:translate(-50%, -20px);opacity:1}}.fail-snackbar__button{white-space:nowrap;user-select:none;cursor:pointer;margin-left:14px}.fail-snackbar__close{position:absolute;top:0;right:0;padding:6px;display:flex;align-items:center}.fail-snackbar__close-icon{height:12px;width:12px}.fail-snackbar button{background:none;border:0}",""]);const o=i},366:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(314),i=n.n(r),o=n(417),a=n.n(o),s=n(802),l=i()((function(e){return e[1]})),c=a()(s.A);l.push([e.id,":root,[data-theme=default],[data-theme=dark]{--c-comments-text: #f5f5f7;--c-comments-text-sub: #D4D4D4;--c-comments-text-textarea: #D4D4D4;--c-comments-text-message: #D4D4D4;--c-comments-text-message-deleted: #D4D4D4;--c-comments-link-light: #16a7ff;--c-comments-link-light-hover: #72bef4;--c-comments-com-link-light: #178BE3;--c-comments-com-link-light-hover: #1687d9;--c-comments-social-icon: #5b5c61;--c-comments-like: #40ba42;--c-comments-btn: #ededed;--c-comments-btn-text: #262626;--c-comments-btn-hover: #c7c8cb;--c-comments-btn-active: #9a9a9d;--c-comments-form-bg: #3c3c40;--c-comments-form-border: rgba(255, 255, 255, .15);--c-comments-time: #949599;--c-comments-dropdown-bg: #46464d;--c-comments-dropdown-bg-hover: #00000042;--c-comments-dropdown-border: #3f3f3f;--c-comments-dropdown-shadow: rgba(0, 0, 0, 0.3);--c-comments-dropdown-separator: transparent;--c-comments-prompt-bg: #3c3c40;--c-comments-prompt-text: #D4D4D4;--c-comments-prompt-link: #16a7ff;--c-comments-prompt-link-hover: #72bef4;--c-comments-prompt-btn: #ededed;--c-comments-prompt-btn-text: #262626;--c-comments-prompt-btn-hover: #c7c8cb;--c-comments-prompt-btn-active: #9a9a9d;--c-comments-more-bg: #272728;--c-comments-more-text: rgba(245,245,247,0.7);--c-comments-more-text-hover: rgba(245,245,247,1);--c-comments-snackbar-bg: #272728;--c-comments-snackbar-text: #efeff3;--c-comments-snackbar-close: #efeff3}[data-theme=light]{--c-comments-text: #060b26;--c-comments-text-sub: rgba(6, 11, 38, 0.4);--c-comments-text-textarea: #060b26;--c-comments-text-message: #060b26;--c-comments-text-message-deleted: rgba(61, 61, 63, 0.5);--c-comments-link-light: #447cff;--c-comments-link-light-hover: rgba(68, 124, 255, 0.9);--c-comments-com-link-light: #447cff;--c-comments-com-link-light-hover: rgba(68, 124, 255, 0.9);--c-comments-social-icon: #BFBFC2;--c-comments-like: #447cff;--c-comments-btn: #447cff;--c-comments-btn-text: #ffffff;--c-comments-btn-hover: rgba(68, 124, 255, 0.9);--c-comments-btn-active: rgba(68, 124, 255, 0.7);--c-comments-form-bg: #efeff3;--c-comments-form-border: #cccccf;--c-comments-time: rgba(6, 11, 38, 0.4);--c-comments-dropdown-bg: #ffffff;--c-comments-dropdown-bg-hover: #efeff3;--c-comments-dropdown-border: #ffffff;--c-comments-dropdown-shadow: rgb(0, 0, 0, .07);--c-comments-dropdown-separator: #EFEFF3;--c-comments-prompt-bg: #447cff;--c-comments-prompt-text: #fff;--c-comments-prompt-link: #fff;--c-comments-prompt-link-hover: #efeff3;--c-comments-prompt-btn: #ededed;--c-comments-prompt-btn-text: #262626;--c-comments-prompt-btn-hover: #c7c8cb;--c-comments-prompt-btn-active: #9a9a9d;--c-comments-more-bg: #efeff3;--c-comments-more-text: #060b26;--c-comments-more-text-hover: rgba(6, 11, 38, 0.4);--c-comments-snackbar-bg: #efeff3;--c-comments-snackbar-text: #000000;--c-comments-snackbar-close: #000000}.comments-block{width:100%;max-width:895px}.comments-block button{background:none;border:0}.comments-wrapper[data-theme=default] .comments-orphanage,.comments-wrapper[data-theme=dark] .comments-orphanage{color:rgba(245,245,247,.7);padding:10px 20px;background-color:#272728;margin-top:-10px;margin-bottom:20px;border:1px solid #2a2a2a;box-shadow:.3px 1px 6px rgba(0,0,0,.3);cursor:pointer}.comments-wrapper[data-theme=default] .comments-orphanage:hover,.comments-wrapper[data-theme=dark] .comments-orphanage:hover{color:var(--c-comments-text)}.comments-wrapper[data-theme=default] .comments-dropdown__button svg,.comments-wrapper[data-theme=dark] .comments-dropdown__button svg{display:none}.comments-wrapper[data-theme=light] .comments__fold{display:none}.comments-wrapper[data-theme=light] .comments__content-wrap{background:#efeff3;border-radius:10px;padding:6px 14px 16px 24px}.comments-wrapper[data-theme=light] .comments__content-wrap.orphaned{border-radius:10px 10px 5px 5px}.comments-wrapper[data-theme=light] .comments-deleted .comments__content{background:#efeff3;border-radius:6px;padding:0 14px 0 24px;height:40px}.comments-wrapper[data-theme=light] .comments-deleted .comments-deleted__avatar{background:#efeff3}.comments-wrapper[data-theme=light] .comments-orphanage{align-items:center;background:linear-gradient(270deg, #EFEFF3 0%, #fff 50%);border-radius:5px 5px 10px 10px;border:1px solid #efeff3;color:rgba(0,0,0,.3);display:flex;font-size:14px;line-height:150%;margin:-14px 0 20px;padding:11px 29px;width:100%;color:#447cff;transition:border .2s;position:relative;cursor:pointer}@media screen and (max-width: 1199px){.comments-wrapper[data-theme=light] .comments-orphanage{width:calc(100% - 25px);padding:11px 12px;align-self:flex-end}}@media screen and (min-width: 1200px){.comments-wrapper[data-theme=light] .comments-orphanage:hover{border-color:#cccccf}}.comments-wrapper[data-theme=light] .comments-orphanage::before{content:url("+c+');margin:0 5px 0 44px;display:inline-block;order:1;height:19px}@media screen and (max-width: 1199px){.comments-wrapper[data-theme=light] .comments-orphanage::before{margin:0 5px 0 24px}}.comments-wrapper[data-theme=light] .comments-orphanage::after{content:"РаÑкрыть";font-size:14px;line-height:150%;color:#447cff;order:2}.comments-wrapper[data-theme=light] .comments__load-more{border-radius:8px;margin:-6px 0 14px}.comments-wrapper .comments{padding:0 20px 20px;font-size:15px;margin-bottom:0px;color:var(--c-comments-text-sub)}@media screen and (max-width: 768px){.comments-wrapper .comments__content-wrap{width:calc(100% - 55px)}}.comments-wrapper .comments__closed{padding:0 20px}.comments-wrapper .comments__form{position:relative;background-color:var(--c-comments-form-bg);padding-top:10px;padding-bottom:45px;border:1px solid var(--c-comments-form-border);border-radius:6px;margin-bottom:10px}.comments-wrapper .comments__form .comments__avatar{display:none}.comments-wrapper .comments__textarea{font-size:15px;color:var(--c-comments-text-textarea);transition:padding-bottom .2s;resize:none;background:none;padding:0 15px;margin:0;border:none}.comments-wrapper .comments textarea::placeholder{color:var(--c-comments-text-textarea)}.comments-wrapper .comments textarea:focus{color:var(--c-comments-text);border-color:#c1c1c2}.comments-wrapper .comments__message-unfold{border:none;background:none;color:var(--c-comments-link-light)}.comments-wrapper .comments__message-unfold:hover{cursor:pointer;color:var(--c-comments-link-light-hover)}.comments-wrapper .comments__fold-button{display:none}.comments-wrapper .comments__submit,.comments-wrapper .comments__cancel{position:absolute;bottom:7px;right:15px;font-weight:500;font-size:100%;padding:0 20px;height:32px;line-height:32px;border:1px solid rgba(0,0,0,0);border-radius:4px;background:var(--c-comments-btn);text-align:center;vertical-align:middle;transition:background-color .1s;color:var(--c-comments-btn-text);outline:none}[dir=rtl] .comments-wrapper .comments__submit,[dir=rtl] .comments-wrapper .comments__cancel{left:15px;right:unset}.comments-wrapper .comments__submit:hover,.comments-wrapper .comments__cancel:hover{border-color:var(--c-comments-btn-hover);background-color:var(--c-comments-btn-hover);cursor:pointer}.comments-wrapper .comments__submit:disabled,.comments-wrapper .comments__cancel:disabled{border-color:#989898;background-color:#989898 !important}.comments-wrapper .comments__submit:active,.comments-wrapper .comments__cancel:active{border:1px solid var(--c-comments-btn-active);background-color:var(--c-comments-btn-active)}.comments-wrapper .comments__load-more{width:100%;text-align:center;padding:13px;color:var(--c-comments-more-text);background-color:var(--c-comments-more-bg);border:none;margin-top:10px;transition:color .15s}.comments-wrapper .comments__load-more:hover{color:var(--c-comments-more-text-hover);cursor:pointer}.comments-wrapper .comments__cancel{position:absolute;left:15px;right:unset;bottom:7px;font-weight:normal;color:var(--c-comments-link-light);background-color:rgba(0,0,0,0);border:none;display:inline-block;padding:0;transition:color .15s}[dir=rtl] .comments-wrapper .comments__cancel{left:unset;right:15px}.comments-wrapper .comments__cancel:hover{background-color:rgba(0,0,0,0) !important;border:none !important;color:var(--c-comments-link-light-hover)}.comments-wrapper .comments__empty{align-items:center}.comments-wrapper .comments__empty svg{opacity:.85;filter:grayscale(100);margin-right:5px;transform:scale(0.75)}.comments-wrapper .comments__info-top{margin-bottom:8px}.comments-wrapper .comments__info{display:block}.comments-wrapper .comments__info-inner{display:flex;margin-bottom:2px}.comments-wrapper .comments__info-replied-comment{display:inline-flex}.comments-wrapper .comments__author-name{max-width:100%;font-weight:500;font-size:14px;line-height:19px;color:var(--c-comments-link-light)}.comments-wrapper .comments__author-name_replied{font-size:15px;line-height:150%;font-style:italic;font-weight:bold;overflow:visible}.comments-wrapper .comments__author-name:hover{text-decoration:underline}@media screen and (max-width: 768px){.comments-wrapper .comments__author-name{display:inline-block;max-width:100%;margin-right:0;text-align:left}.comments-wrapper .comments__author-name.smm{max-width:calc(100% - 23px)}}.comments-wrapper .comments__author-link{display:flex;margin-right:0}.comments-wrapper .comments__author-avatar{min-width:36px;width:36px;height:36px;margin-right:15px}[dir=rtl] .comments-wrapper .comments__author-avatar{margin-right:unset;margin-left:15px}.comments-wrapper .comments__author-name{margin-right:0}[dir=rtl] .comments-wrapper .comments__author-approved{margin:0 5px 0 0}.comments-wrapper .comments__time-link{display:flex}@media screen and (max-width: 768px){.comments-wrapper .comments__time-link{width:100%;line-height:16px}}.comments-wrapper .comments__time.time{margin-left:0;display:inline-block;font-size:12px;line-height:15px;color:var(--c-comments-time);text-decoration:none;text-align:left}@media screen and (max-width: 768px){.comments-wrapper .comments__time.time{width:100%;line-height:16px;margin-left:0;text-align:left}}[dir=rtl] .comments-wrapper .comments__time.time{margin-left:0}.comments-wrapper .comments__time.time.link:hover{text-decoration:underline}.comments-wrapper .comments__counter{color:var(--c-comments-text-sub)}.comments-wrapper .comments__message{font-size:15px;color:var(--c-comments-text-message);word-break:break-word;text-align:left;opacity:1}[dir=rtl] .comments-wrapper .comments__message{text-align:right}.comments-wrapper .comments__reply{color:var(--c-comments-link-light);background:none;border:none;display:inline-block;padding:0}.comments-wrapper .comments__reply:hover{cursor:pointer;color:var(--c-comments-link-light-hover)}.comments-wrapper .comments__reply:hover svg{fill:var(--c-comments-link-light-hover) !important}.comments-wrapper .comments__reply svg{display:none;fill:var(--c-comments-link-light) !important}.comments-wrapper .comments__form_inner{width:100%}.comments-wrapper .comments__children{width:calc(100% - 55px)}@media screen and (max-width: 599px){.comments-wrapper .comments__children{width:calc(100% - 30px);display:flex;flex-direction:column}}.comments-wrapper .comments__children .comments__form_inner{width:100%}.comments-wrapper .comments__item_inner .comments__content{background:none}.comments-wrapper .comments .comments-dropdown__trigger{background:none;border:none;width:13px;height:28px;transform:rotate(90deg);padding:0}.comments-wrapper .comments .comments-dropdown__trigger svg{width:100%;height:100%;fill:#979797}.comments-wrapper .comments__content{background:none}.comments-wrapper .comments__reaction button{width:28px;height:22px;background:none;border:none;padding:0}.comments-wrapper .comments__reaction-sum{color:#949599;font-weight:500}[dir=rtl] .comments-wrapper .comments__reaction-sum{direction:ltr}.comments-wrapper .comments__reaction-icon{display:block;width:16px;height:15px;fill:var(--c-comments-social-icon)}.comments-wrapper .comments .comments__reaction-button_like.comments__reaction-button_current svg{fill:var(--c-comments-like)}.comments-wrapper .comments .comments__reaction-button_dislike.comments__reaction-button_current svg{fill:disvar(--c-comments-like)}.comments-wrapper .comments-deleted.comments__item{align-items:center}.comments-wrapper .comments-deleted__avatar{width:40px;height:40px;min-width:40px;margin-right:15px}[dir=rtl] .comments-wrapper .comments-deleted__avatar{margin-left:15px;margin-right:unset}.comments-wrapper .comments-deleted .comments__message{color:var(--c-comments-text-message-deleted)}.comments-wrapper .comments__message a{color:var(--c-comments-link-light)}.comments-wrapper .comments__message a:hover{cursor:pointer;color:var(--c-comments-link-light-hover)}.comments-wrapper .comments-dropdown__content{right:0;border-radius:4px;background:var(--c-comments-dropdown-bg);box-shadow:.3px 1px 6px var(--c-comments-dropdown-shadow)}[dir=rtl] .comments-wrapper .comments-dropdown__content{right:unset;left:0}.comments-wrapper .comments-dropdown__item:not(:last-of-type){border-color:var(--c-comments-dropdown-separator)}.comments-wrapper .comments-dropdown__button{padding:8px 0 8px 17px;color:var(--c-comments-text);background-color:var(--c-comments-dropdown-bg);transition:background-color .15s;border:none;cursor:pointer;margin:0 0 0 -13px}[dir=rtl] .comments-wrapper .comments-dropdown__button{padding:7px 17px 8px 0}.comments-wrapper .comments-dropdown__button:hover{background-color:var(--c-comments-dropdown-bg-hover)}.comments-wrapper .comments-prompt{margin-top:15px;padding:10px 15px;background:var(--c-comments-prompt-bg);border-radius:4px}.comments-wrapper .comments-prompt>div{margin-top:10px}.comments-wrapper .comments-prompt__label{color:var(--c-comments-prompt-text)}.comments-wrapper .comments-prompt__button:first-child{margin-right:20px;font-weight:500;font-size:100%;padding:0 20px;height:32px;line-height:32px;border:1px solid rgba(0,0,0,0);border-radius:4px;background:var(--c-comments-prompt-btn);text-align:center;vertical-align:middle;transition:background-color .1s;color:var(--c-comments-prompt-btn-text);outline:none}[dir=rtl] .comments-wrapper .comments-prompt__button:first-child{margin-left:20px;margin-right:unset}.comments-wrapper .comments-prompt__button:first-child:disabled{border:1px solid #989898;background-color:#989898}.comments-wrapper .comments-prompt__button:first-child:hover:not(:disabled){border:1px solid var(--c-comments-prompt-btn-hover);background-color:var(--c-comments-prompt-btn-hover);cursor:pointer}.comments-wrapper .comments-prompt__button:first-child:active{border:1px solid var(--c-comments-prompt-btn-active);background-color:var(--c-comments-prompt-btn-active)}.comments-wrapper .comments-prompt__button:last-child{font-weight:normal;color:var(--c-comments-prompt-link);background-color:rgba(0,0,0,0);border:none;display:inline-block;padding:0;transition:color .15s}.comments-wrapper .comments-prompt__button:last-child:hover{cursor:pointer;background-color:rgba(0,0,0,0) !important;border:none !important;color:var(--c-comments-prompt-link-hover)}.comments-wrapper .skeleton-comments__author-link{margin-right:20px}[dir=rtl] .comments-wrapper .skeleton-comments__author-link{margin-right:unset;margin-left:20px}.fail-snackbar{background:var(--c-comments-snackbar-bg);padding:20px 26px;display:flex;border:1px solid #ff2f3b;color:var(--c-comments-snackbar-text);justify-content:space-between;border-radius:10px;font-size:15px;line-height:120%}@media screen and (max-width: 459px){.fail-snackbar{width:calc(100% - 20px);padding:14px 16px;font-size:13px}.fail-snackbar .fail-snackbar__button{margin-left:24px;font-size:13px}}.fail-snackbar .fail-snackbar__button{color:var(--c-comments-link-light);font-size:15px;line-height:120%;transition:opacity .1s;margin-left:84px}@media screen and (min-width: 1200px){.fail-snackbar .fail-snackbar__button:hover{opacity:.6}}@media screen and (max-width: 459px){.fail-snackbar .fail-snackbar__button{margin-left:24px;font-size:13px}}.fail-snackbar .fail-snackbar__close{transform:translate(100%, -6px);right:-3px;transition:opacity .1s}.fail-snackbar .fail-snackbar__close-icon{fill:var(--c-comments-snackbar-close)}@media screen and (min-width: 1200px){.fail-snackbar .fail-snackbar__close:hover{opacity:.6}}@media screen and (max-width: 459px){.fail-snackbar .fail-snackbar__close{transform:translate(0, -100%)}}',""]);const u=l},123:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(314),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".skeleton-comments__item{width:100%;display:flex;height:149px;margin-bottom:20px}.skeleton-comments__item_inner .skeleton-comments__author-link{height:45px;width:45px;min-width:45px}.skeleton-comments__author-link{height:70px;width:70px;min-width:70px;margin-right:36px;background:#efeff3;border-radius:50%}.dark .skeleton-comments__author-link{background-color:#3c3c40}.skeleton-comments__content-wrap{background:#efeff3;border-radius:10px;padding:13px 29px;max-width:749px;width:100%;border-radius:10px}.dark .skeleton-comments__content-wrap{background-color:#3c3c40}",""]);const o=i},269:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(314),i=n.n(r),o=n(417),a=n.n(o),s=n(70),l=i()((function(e){return e[1]})),c=a()(s.A);l.push([e.id,".comments{width:100%;margin-bottom:50px}.comments_noHref{cursor:default !important}.comments__loader{text-align:center;padding:20px 0 0}.comments__loader-icon{width:40px;height:40px;fill:#d4d4d4;animation:spin .75s infinite linear}@keyframes spin{100%{transform:rotate(360deg)}}.comments__form{align-items:flex-start;display:flex;position:relative;margin-bottom:12px}.comments__form_inner{margin:-8px 0 28px}.comments__form_visible-counter .comments__chars-counter{display:block}.comments__empty{position:relative;z-index:1;display:flex}.comments__avatar{border-radius:50%;height:60px;margin-bottom:1px;margin-right:18px;width:60px}.comments__textarea{border:1px solid #e2e2e2;border-radius:4px;color:#060b26;flex:1;font-family:Roboto,sans-serif;font-size:18px;line-height:150%;margin-right:13px;max-height:143px;min-height:60px;padding:16px 27px 17px;transition:border-color .2s}.comments__textarea::placeholder{color:rgba(6,11,38,.45);white-space:nowrap}.comments__textarea:focus{border-color:#447cff;outline:none}.comments__chars-counter{color:rgba(0,0,0,.5);display:none;font-size:14px;line-height:150%;padding:2px 12px 3px;position:absolute;right:100px}.comments__submit{align-items:center;display:flex;justify-content:center;margin-top:8px;padding-top:1px}.comments__controls{align-items:center;display:flex;margin-bottom:16px}.comments__counter,.comments__sort,.comments__ban{color:rgba(6,11,38,.4);font-size:14px;line-height:150%}.comments__ban_red{color:#ff1616}.comments__parent{align-items:flex-end;display:flex;flex-direction:column;width:100%}.comments__children{width:90%}.comments__fold{float:left;height:0;margin-bottom:74px;position:sticky;top:calc(100% - 74px);z-index:10}.comments__fold-button{left:0;line-height:150%;padding:13px 31px 14px;position:absolute;top:0;transform:translateX(calc(-100% - 35px))}.comments__item{align-items:flex-start;display:flex;margin-bottom:20px;position:relative;width:100%}.comments__item_replying .comments__reply-icon{fill:#447cff}.comments__item_deleting .comments__author-avatar,.comments__item_deleting .comments__info-top,.comments__item_deleting .comments__message,.comments__item_deleting .comments__reply{opacity:.5;pointer-events:none}.comments__item_pale .comments__message{opacity:.3;transition:opacity .1s}.comments__item_pale .comments__message:hover{opacity:1}.comments__item_inner .comments__content{background:rgba(239,239,243,.5)}.comments__item_inner .comments__author-avatar{height:45px;min-width:45px;width:45px}.comments__item_unfolded .comments__message{display:block}.comments__author-link{margin-right:36px;text-decoration:none}.comments__author-avatar{border-radius:50%;height:70px;min-width:70px;object-fit:cover;transition:opacity .1s;width:70px}.comments__author-name{color:#060b26;display:flex;align-items:center;margin-right:6px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments__author-approved{width:17px;height:17px;min-width:17px;margin:0 0 0 5px}.comments__info{display:flex;align-items:center;width:100%;min-height:30px}.comments__info-top{align-items:flex-end;display:flex;margin-bottom:13px;transition:opacity .1s;min-height:36px}.comments__info-bottom{display:flex;justify-content:space-between;width:100%}.comments .time{color:rgba(6,11,38,.5);font-size:14px;line-height:30px;margin-left:4px}.comments__content{background:#efeff3;border-radius:2px;width:100%}.comments__content-wrap{flex:1;width:100%}.comments__message{-webkit-box-orient:vertical;color:#060b26;display:-webkit-box;font-size:18px;line-height:150%;margin-bottom:9px;overflow:hidden;transition:opacity .1s;white-space:pre-line}.comments__message-unfold.button{font-size:18px;font-weight:normal;line-height:150%;margin:-9px 0 9px;padding:0 !important}.comments__reply{color:#447cff;font-size:15px;line-height:150%;transition:opacity .1s}@media screen and (min-width: 1200px){.comments__reply:hover .comments__reply-icon{fill:#447cff}}.comments__reply-icon{margin-bottom:2px;margin-left:7px;transition:fill .1s}.comments__reply.hidden{visibility:hidden}.comments__reaction{align-items:center;display:flex}.comments__reaction-button{align-items:center;cursor:pointer;display:flex;height:38px;justify-content:center;margin-left:3px;width:38px}.comments__reaction-button_like{transform:rotate(180deg)}.comments__reaction-button_dislike{margin-left:10px}.comments__reaction-button_current.comments__reaction-button_like .comments__reaction-icon{fill:#447cff}.comments__reaction-button_current.comments__reaction-button_dislike .comments__reaction-icon{fill:#ff2f3b}.comments__reaction-icon{width:16px}.comments__reaction-sum{user-select:none}.comments-deleted__avatar{background-image:url("+c+");background-size:contain;background-repeat:no-repeat;border-radius:50%;height:70px;margin-right:36px;min-width:70px;width:70px}.comments-deleted .comments__content{align-items:center;display:flex;height:70px}.comments-deleted .comments__message{color:#3d3d3f;margin-bottom:0;opacity:.5}.blink{animation:blink .75s 1s;transition:background-color .2s}@keyframes blink{0%{background-color:rgba(200,200,200,.02)}30%{background-color:rgba(200,200,200,.1)}70%{background-color:rgba(200,200,200,.1)}100%{background-color:inherit}}",""]);const u=l},257:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(314),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".time{font-size:16px;line-height:120%;white-space:nowrap}.time::first-letter{text-transform:uppercase}.time_small{font-size:14px}",""]);const o=i},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},417:e=>{"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},838:function(e){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,a=Object.freeze,s=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,u=c.apply,d=c.construct;u||(u=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),s||(s=function(e){return e}),d||(d=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var p=S(Array.prototype.forEach),f=S(Array.prototype.pop),h=S(Array.prototype.push),m=S(String.prototype.toLowerCase),g=S(String.prototype.match),v=S(String.prototype.replace),y=S(String.prototype.indexOf),b=S(String.prototype.trim),w=S(RegExp.prototype.test),_=function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(e,n)}}(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return u(e,t,r)}}function x(e,r){t&&t(e,null);for(var i=r.length;i--;){var o=r[i];if("string"==typeof o){var a=m(o);a!==o&&(n(r)||(r[i]=a),o=a)}e[o]=!0}return e}function E(t){var n=l(null),r=void 0;for(r in t)u(e,t,[r])&&(n[r]=t[r]);return n}function k(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return S(n.get);if("function"==typeof n.value)return S(n.value)}e=r(e)}return function(e){return i.warn("fallback value for",e),null}}var C=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=a(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),A=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),P=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=a(["#text"]),D=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),R=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),N=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),j=s(/\{\{[\s\S]*|[\s\S]*\}\}/gm),B=s(/<%[\s\S]*|[\s\S]*%>/gm),F=s(/^data-[\-\w.\u00B7-\uFFFF]/),H=s(/^aria-[\-\w]+$/),z=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=s(/^(?:\w+script|data):/i),U=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function G(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=function(t){return e(t)};if(n.version="2.2.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,s=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,u=t.Element,d=t.NodeFilter,S=t.NamedNodeMap,q=void 0===S?t.NamedNodeMap||t.MozNamedAttrMap:S,W=t.Text,Z=t.Comment,Y=t.DOMParser,K=t.trustedTypes,Q=u.prototype,X=k(Q,"cloneNode"),J=k(Q,"nextSibling"),ee=k(Q,"childNodes"),te=k(Q,"parentNode");if("function"==typeof l){var ne=o.createElement("template");ne.content&&ne.content.ownerDocument&&(o=ne.content.ownerDocument)}var re=function(e,t){if("object"!==(void 0===e?"undefined":$(e))||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(e){return i.warn("TrustedTypes policy "+o+" could not be created."),null}}(K,r),ie=re&&Ne?re.createHTML(""):"",oe=o,ae=oe.implementation,se=oe.createNodeIterator,le=oe.getElementsByTagName,ce=oe.createDocumentFragment,ue=r.importNode,de={};try{de=E(o).documentMode?o.documentMode:{}}catch(t){}var pe={};n.isSupported="function"==typeof te&&ae&&void 0!==ae.createHTMLDocument&&9!==de;var fe=j,he=B,me=F,ge=H,ve=V,ye=U,be=z,we=null,_e=x({},[].concat(G(C),G(T),G(O),G(A),G(L))),Se=null,xe=x({},[].concat(G(D),G(R),G(I),G(N))),Ee=null,ke=null,Ce=!0,Te=!0,Oe=!1,Me=!1,Ae=!1,Pe=!1,Le=!1,De=!1,Re=!1,Ie=!0,Ne=!1,je=!0,Be=!0,Fe=!1,He={},ze=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ve=null,Ue=x({},["audio","video","img","source","image","track"]),$e=null,Ge=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,We=o.createElement("form"),Ze=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":$(e))||(e={}),e=E(e),we="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):_e,Se="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):xe,$e="ADD_URI_SAFE_ATTR"in e?x(E(Ge),e.ADD_URI_SAFE_ATTR):Ge,Ve="ADD_DATA_URI_TAGS"in e?x(E(Ue),e.ADD_DATA_URI_TAGS):Ue,Ee="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},He="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Te=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=e.SAFE_FOR_TEMPLATES||!1,Ae=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Re=e.RETURN_DOM_FRAGMENT||!1,Ie=!1!==e.RETURN_DOM_IMPORT,Ne=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,je=!1!==e.SANITIZE_DOM,Be=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Me&&(Te=!1),Re&&(De=!0),He&&(we=x({},[].concat(G(L))),Se=[],!0===He.html&&(x(we,C),x(Se,D)),!0===He.svg&&(x(we,T),x(Se,R),x(Se,N)),!0===He.svgFilters&&(x(we,O),x(Se,R),x(Se,N)),!0===He.mathMl&&(x(we,A),x(Se,I),x(Se,N))),e.ADD_TAGS&&(we===_e&&(we=E(we)),x(we,e.ADD_TAGS)),e.ADD_ATTR&&(Se===xe&&(Se=E(Se)),x(Se,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x($e,e.ADD_URI_SAFE_ATTR),Be&&(we["#text"]=!0),Ae&&x(we,["html","head","body"]),we.table&&(x(we,["tbody"]),delete Ee.tbody),a&&a(e),qe=e)},Ye=x({},["mi","mo","mn","ms","mtext"]),Ke=x({},["foreignobject","desc","title","annotation-xml"]),Qe=x({},T);x(Qe,O),x(Qe,M);var Xe=x({},A);x(Xe,P);var Je="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml",nt=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},rt=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(De||Re)try{nt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},it=function(e){var t=void 0,n=void 0;if(Le)e="<remove></remove>"+e;else{var r=g(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=re?re.createHTML(e):e;try{t=(new Y).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var a=(t=ae.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=i}return e&&n&&t.body.insertBefore(o.createTextNode(n),t.body.childNodes[0]||null),le.call(t,Ae?"html":"body")[0]},ot=function(e){return se.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,(function(){return d.FILTER_ACCEPT}),!1)},at=function(e){return"object"===(void 0===c?"undefined":$(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":$(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},st=function(e,t,r){pe[e]&&p(pe[e],(function(e){e.call(n,t,r,qe)}))},lt=function(e){var t=void 0;if(st("beforeSanitizeElements",e,null),function(e){return!(e instanceof W||e instanceof Z||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof q&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)}(e))return nt(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return nt(e),!0;var r=m(e.nodeName);if(st("uponSanitizeElement",e,{tagName:r,allowedTags:we}),!at(e.firstElementChild)&&(!at(e.content)||!at(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return nt(e),!0;if(!we[r]||Ee[r]){if(Be&&!ze[r]){var i=te(e),o=ee(e);if(o&&i)for(var a=o.length-1;a>=0;--a)i.insertBefore(X(o[a],!0),J(e))}return nt(e),!0}return e instanceof u&&!function(e){var t=te(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});var n=m(e.tagName),r=m(t.tagName);if(e.namespaceURI===et)return t.namespaceURI===tt?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===r||Ye[r]):Boolean(Qe[n]);if(e.namespaceURI===Je)return t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&Ke[r]:Boolean(Xe[n]);if(e.namespaceURI===tt){if(t.namespaceURI===et&&!Ke[r])return!1;if(t.namespaceURI===Je&&!Ye[r])return!1;var i=x({},["title","style","font","a","script"]);return!Xe[n]&&(i[n]||!Qe[n])}return!1}(e)?(nt(e),!0):"noscript"!==r&&"noembed"!==r||!w(/<\/no(script|embed)/i,e.innerHTML)?(Me&&3===e.nodeType&&(t=e.textContent,t=v(t,fe," "),t=v(t,he," "),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),st("afterSanitizeElements",e,null),!1):(nt(e),!0)},ct=function(e,t,n){if(je&&("id"===t||"name"===t)&&(n in o||n in We))return!1;if(Te&&w(me,t));else if(Ce&&w(ge,t));else{if(!Se[t]||ke[t])return!1;if($e[t]);else if(w(be,v(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Ve[e])if(Oe&&!w(ve,v(n,ye,"")));else if(n)return!1}return!0},ut=function(e){var t=void 0,r=void 0,i=void 0,o=void 0;st("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(o=a.length;o--;){var l=t=a[o],c=l.name,u=l.namespaceURI;if(r=b(t.value),i=m(c),s.attrName=i,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,st("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(rt(c,e),s.keepAttr))if(w(/\/>/i,r))rt(c,e);else{Me&&(r=v(r,fe," "),r=v(r,he," "));var d=e.nodeName.toLowerCase();if(ct(d,i,r))try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),f(n.removed)}catch(e){}}}st("afterSanitizeAttributes",e,null)}},dt=function e(t){var n=void 0,r=ot(t);for(st("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)st("uponSanitizeShadowNode",n,null),lt(n)||(n.content instanceof s&&e(n.content),ut(n));st("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,i){var o=void 0,a=void 0,l=void 0,u=void 0,d=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!at(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===$(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(at(e))return t.toStaticHTML(e.outerHTML)}return e}if(Pe||Ze(i),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof c)1===(a=(o=it("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!De&&!Me&&!Ae&&-1===e.indexOf("<"))return re&&Ne?re.createHTML(e):e;if(!(o=it(e)))return De?null:ie}o&&Le&&nt(o.firstChild);for(var p=ot(Fe?e:o);l=p.nextNode();)3===l.nodeType&&l===u||lt(l)||(l.content instanceof s&&dt(l.content),ut(l),u=l);if(u=null,Fe)return e;if(De){if(Re)for(d=ce.call(o.ownerDocument);o.firstChild;)d.appendChild(o.firstChild);else d=o;return Ie&&(d=ue.call(r,d,!0)),d}var f=Ae?o.outerHTML:o.innerHTML;return Me&&(f=v(f,fe," "),f=v(f,he," ")),re&&Ne?re.createHTML(f):f},n.setConfig=function(e){Ze(e),Pe=!0},n.clearConfig=function(){qe=null,Pe=!1},n.isValidAttribute=function(e,t,n){qe||Ze({});var r=m(e),i=m(t);return ct(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],h(pe[e],t))},n.removeHook=function(e){pe[e]&&f(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}()}()},72:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=i(f,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},155:t=>{"use strict";t.exports=e},514:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";function e(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function t(t){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=t.apply(n,r);function s(t){e(a,i,o,s,l,"next",t)}function l(t){e(a,i,o,s,l,"throw",t)}s(void 0)}))}}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,"string");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o.r(a),o.d(a,{default:()=>lt});var s,l=o(155),c=o.n(l),u=o(783);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={thread:"thread/",comments:"thread/$template/",children:"comment/$template/children",react:"comment/$template/react"};function h(e,t,n,r){return fetch(r||(0,u.build_api_url)(e),p({credentials:n?"omit":"include"},t)).then((e=>e.ok?e.json():Promise.reject(e))).then((e=>e))}function m(e,t){return e.replace("$template",t)}function g(){return(g=t((function*(e){return s=s||(yield(0,u.get_csrf_jwt_token)()),h("/comments/v3/thread/",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(p(p({},e),{},{csrfmiddlewaretoken_jwt:s}))})}))).apply(this,arguments)}function v(e,t,n){return h(m("/comments/v3/".concat(f[e]),t),{},!1,n)}function y(e){return b.apply(this,arguments)}function b(){return(b=t((function*(e){var{id:t,method:n,body:r}=e,i="/comments/v3/comment/".concat(t||"");return s=s||(yield(0,u.get_csrf_jwt_token)()),h(i,{method:n,headers:{Accept:"application/json","Content-Type":"application/json"},body:r?JSON.stringify(p(p({},r),{},{csrfmiddlewaretoken_jwt:s})):null})}))).apply(this,arguments)}function w(){return(w=t((function*(e){var{type:t,id:n,body:r}=e,i=m("/comments/v3/".concat(f[t]),n);return s=s||(yield(0,u.get_csrf_jwt_token)()),h(i,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:r?JSON.stringify(p(p({},r),{},{csrfmiddlewaretoken_jwt:s})):null})}))).apply(this,arguments)}function _(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n=x(n,r,i,o,t[0],7,-680876936),o=x(o,n,r,i,t[1],12,-389564586),i=x(i,o,n,r,t[2],17,606105819),r=x(r,i,o,n,t[3],22,-1044525330),n=x(n,r,i,o,t[4],7,-176418897),o=x(o,n,r,i,t[5],12,1200080426),i=x(i,o,n,r,t[6],17,-1473231341),r=x(r,i,o,n,t[7],22,-45705983),n=x(n,r,i,o,t[8],7,1770035416),o=x(o,n,r,i,t[9],12,-1958414417),i=x(i,o,n,r,t[10],17,-42063),r=x(r,i,o,n,t[11],22,-1990404162),n=x(n,r,i,o,t[12],7,1804603682),o=x(o,n,r,i,t[13],12,-40341101),i=x(i,o,n,r,t[14],17,-1502002290),n=E(n,r=x(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=E(o,n,r,i,t[6],9,-1069501632),i=E(i,o,n,r,t[11],14,643717713),r=E(r,i,o,n,t[0],20,-373897302),n=E(n,r,i,o,t[5],5,-701558691),o=E(o,n,r,i,t[10],9,38016083),i=E(i,o,n,r,t[15],14,-660478335),r=E(r,i,o,n,t[4],20,-405537848),n=E(n,r,i,o,t[9],5,568446438),o=E(o,n,r,i,t[14],9,-1019803690),i=E(i,o,n,r,t[3],14,-187363961),r=E(r,i,o,n,t[8],20,1163531501),n=E(n,r,i,o,t[13],5,-1444681467),o=E(o,n,r,i,t[2],9,-51403784),i=E(i,o,n,r,t[7],14,1735328473),n=k(n,r=E(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=k(o,n,r,i,t[8],11,-2022574463),i=k(i,o,n,r,t[11],16,1839030562),r=k(r,i,o,n,t[14],23,-35309556),n=k(n,r,i,o,t[1],4,-1530992060),o=k(o,n,r,i,t[4],11,1272893353),i=k(i,o,n,r,t[7],16,-155497632),r=k(r,i,o,n,t[10],23,-1094730640),n=k(n,r,i,o,t[13],4,681279174),o=k(o,n,r,i,t[0],11,-358537222),i=k(i,o,n,r,t[3],16,-722521979),r=k(r,i,o,n,t[6],23,76029189),n=k(n,r,i,o,t[9],4,-640364487),o=k(o,n,r,i,t[12],11,-421815835),i=k(i,o,n,r,t[15],16,530742520),n=C(n,r=k(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=C(o,n,r,i,t[7],10,1126891415),i=C(i,o,n,r,t[14],15,-1416354905),r=C(r,i,o,n,t[5],21,-57434055),n=C(n,r,i,o,t[12],6,1700485571),o=C(o,n,r,i,t[3],10,-1894986606),i=C(i,o,n,r,t[10],15,-1051523),r=C(r,i,o,n,t[1],21,-2054922799),n=C(n,r,i,o,t[8],6,1873313359),o=C(o,n,r,i,t[15],10,-30611744),i=C(i,o,n,r,t[6],15,-1560198380),r=C(r,i,o,n,t[13],21,1309151649),n=C(n,r,i,o,t[4],6,-145523070),o=C(o,n,r,i,t[11],10,-1120210379),i=C(i,o,n,r,t[2],15,718787259),r=C(r,i,o,n,t[9],21,-343485551),e[0]=P(n,e[0]),e[1]=P(r,e[1]),e[2]=P(i,e[2]),e[3]=P(o,e[3])}function S(e,t,n,r,i,o){return t=P(P(t,e),P(r,o)),P(t<<i|t>>>32-i,n)}function x(e,t,n,r,i,o,a){return S(t&n|~t&r,e,t,i,o,a)}function E(e,t,n,r,i,o,a){return S(t&r|n&~r,e,t,i,o,a)}function k(e,t,n,r,i,o,a){return S(t^n^r,e,t,i,o,a)}function C(e,t,n,r,i,o,a){return S(n^(t|~r),e,t,i,o,a)}function T(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var O="0123456789abcdef".split("");function M(e){for(var t="",n=0;n<4;n++)t+=O[e>>8*n+4&15]+O[e>>8*n&15];return t}function A(e){return function(e){for(var t=0;t<e.length;t++)e[t]=M(e[t]);return e.join("")}(function(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)_(r,T(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(_(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,_(r,i),r}(e))}function P(e,t){return e+t&4294967295}function L(e,t){return t[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]}function D(e){var{id:t,scrollMagicNumber:n,scrollOverlay:r}=e,i=document.getElementById(t);if(i){var{offsetHeight:o}=i,a=i.getBoundingClientRect().top+window.scrollY,s=a+o+n-window.innerHeight;if(r)return s=(a=i.getBoundingClientRect().top+r.scrollTop)+o+n-r.offsetHeight,void r.scrollTo({top:s,behavior:"smooth"});window.scrollTo({top:s,behavior:"smooth"})}}A("hello");var R,I=o(514),N=o.n(I);function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function B(e){return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},e),R||(R=l.createElement("path",{d:"M.34.34a1 1 0 011.42 0L6 4.59 10.24.34a1.004 1.004 0 011.42 1.42L7.41 6l4.25 4.24a1.004 1.004 0 01-1.42 1.42L6 7.41l-4.24 4.25a1.004 1.004 0 11-1.42-1.42L4.59 6 .34 1.76a1 1 0 010-1.42z"})))}var F=o(72),H=o.n(F),z=o(825),V=o.n(z),U=o(659),$=o.n(U),G=o(56),q=o.n(G),W=o(540),Z=o.n(W),Y=o(113),K=o.n(Y),Q=o(720),X={};X.styleTagTransform=K(),X.setAttributes=q(),X.insert=$().bind(null,"head"),X.domAPI=V(),X.insertStyleElement=Z(),H()(Q.A,X),Q.A&&Q.A.locals&&Q.A.locals;var J=document.getElementById("modal-root")||document.body;const ee=e=>{var{failedAction:t,setFailedAction:n,labelsMap:r,createComment:i,editComment:o,withFailRetry:a}=e;function s(){n(null),"create"===t.type&&i.apply(null,t.args),"edit"===t.type&&o.apply(null,t.args)}function u(){n(null)}(0,l.useEffect)((()=>{!a&&t&&setTimeout(u,5e3)}),[t]);var d=(0,l.useMemo)((()=>t?c().createElement("div",{className:"fail-snackbar"},r["".concat(t.type,"Fail")],a&&"delete"!==t.type&&"react"!==t.type&&c().createElement("button",{className:"fail-snackbar__button",onClick:s,type:"button"},r.retryFail),a&&c().createElement("button",{className:"fail-snackbar__close",onClick:u,type:"button"},c().createElement(B,{className:"fail-snackbar__close-icon"}))):null),[t,r]);return t?N().createPortal(d,J):null};var te=o(485),ne=o.n(te),re=o(123),ie={};ie.styleTagTransform=K(),ie.setAttributes=q(),ie.insert=$().bind(null,"head"),ie.domAPI=V(),ie.insertStyleElement=Z(),H()(re.A,ie),re.A&&re.A.locals&&re.A.locals;const oe=e=>{var{isInner:t,project:n}=e,r="gmr-community"===n;return c().createElement("div",{className:ne()("skeleton-comments__item",{"skeleton-comments__item_inner":t,dark:r})},c().createElement("span",{className:"skeleton-comments__author-link"}),c().createElement("span",{className:"skeleton-comments__content-wrap"}))};var ae,se,le,ce,ue=o(838),de=o.n(ue);function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function fe(e){return l.createElement("svg",pe({width:16,height:12,fill:"#BFBFC2",xmlns:"http://www.w3.org/2000/svg"},e),ae||(ae=l.createElement("path",{d:"M7 3V1c0-.515-.435-1-1-1-.516 0-.742.344-1 .586L.578 5C.227 5.359 0 5.547 0 6c0 .453.227.641.578 1L5 11.414c.258.242.484.586 1 .586.565 0 1-.485 1-1V9h2c1.9.075 4.368.524 5 2.227.203.546.625.773 1 .773.563 0 1-.438 1-1 0-5.917-3.916-8-9-8z",fill:"inherit"})))}function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},he.apply(this,arguments)}function me(e){return l.createElement("svg",he({width:15,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),se||(se=l.createElement("path",{d:"M8.75 1.25l2.5 2.5-6.875 6.875h-2.5v-2.5L8.75 1.25zM1.875 13.75h11.25",stroke:"#3D3D3F",strokeLinecap:"round",strokeLinejoin:"round"})))}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}function ve(e){return l.createElement("svg",ge({width:13,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),le||(le=l.createElement("path",{d:"M4.032 14.194h4.936a2.066 2.066 0 002.063-2.063V6.116a1.781 1.781 0 001.178-1.674v-.037a1.78 1.78 0 00-1.778-1.778h-1.9A2.046 2.046 0 006.5.806c-1.051 0-1.92.798-2.03 1.82h-1.9a1.78 1.78 0 00-1.78 1.78v.036c0 .77.493 1.427 1.179 1.674v6.015c0 1.138.925 2.063 2.063 2.063zm6.062-2.063c0 .62-.506 1.126-1.126 1.126H4.032c-.62 0-1.126-.505-1.126-1.126v-5.91h7.188v5.91zM6.5 1.743c.534 0 .98.38 1.083.884H5.417c.103-.504.55-.884 1.083-.884zM1.728 4.405c0-.464.377-.84.841-.84H10.431c.464 0 .84.376.84.84v.037c0 .464-.376.841-.84.841H2.57a.842.842 0 01-.84-.84v-.038z",fill:"#3D3D3F"})),ce||(ce=l.createElement("path",{d:"M5.287 11.925c.26 0 .469-.21.469-.469V8.021a.469.469 0 10-.938 0v3.435c0 .26.21.47.47.47zM7.713 11.925c.259 0 .469-.21.469-.469V8.021a.469.469 0 10-.938 0v3.435c0 .26.21.47.469.47z",fill:"#3D3D3F"})))}var ye=o(257),be={};be.styleTagTransform=K(),be.setAttributes=q(),be.insert=$().bind(null,"head"),be.domAPI=V(),be.insertStyleElement=Z(),H()(ye.A,be),ye.A&&ye.A.locals&&ye.A.locals;const we=e=>{var{time:t,dark:n,small:r,relative:i,noExactTime:o,noYear:a,noFormat:s,className:u,fullMonth:d,noFuture:p,nowLabel:f,locale:h}=e,m=(0,l.useMemo)((()=>{if(!t)return null;var e;if(e=t.includes("T")?new Date("".concat(t.replace(/-/g,"/").replace("T"," ")," +0300")):new Date("".concat(t.replace(/-/g,"/")," +0300")),s&&(e=new Date(t)),!isNaN(e.getDate())||(e=new Date(t.replace(/-/g,"/")),!isNaN(e.getDate()))){var n=Date.now()-e,r=h.split("_"),l=r[0],c="".concat(r[0],"-").concat(r[1]),u="ru"===l?" в":",",m=null;if(Intl&&Intl.RelativeTimeFormat&&(m=new Intl.RelativeTimeFormat(l,{numeric:"auto"})),p&&n<6e4)return f;if(m&&n<36e5&&i){var g=Math.round(n/6e4);m=m.format(-g,"minutes")}else if(m&&n<1728e5&&i&&e.getMonth()===(new Date).getMonth()){var v=e.getDate()-(new Date).getDate(),y=e.toLocaleTimeString(c,{hour:"2-digit",minute:"2-digit"});m="".concat(m.format(v,"days")).concat(u," ").concat(y)}else{var b=e.toLocaleDateString(c,{day:"numeric",month:d?"long":"short"}),w=e.toLocaleDateString(c,{year:"numeric"}),_=a?b:"".concat(b," ").concat(w),S=e.toLocaleTimeString(c,{hour:"2-digit",minute:"2-digit"});m=o?_:"".concat(_).concat(u," ").concat(S)}return m}}),[i,t,o,a]);return c().createElement("time",{className:ne()("time",u,{time_dark:n,time_small:r}),dateTime:s?t:"".concat(t," +0300")},m||"")};var _e,Se,xe,Ee=o(692),ke=o.n(Ee);function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ce.apply(this,arguments)}function Te(e){return l.createElement("svg",Ce({width:30,height:30,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),_e||(_e=l.createElement("path",{d:"M25 24H5a2 2 0 01-2-2V7a2 2 0 012-2h20a2 2 0 012 2v15a2 2 0 01-2 2z",fill:"#447CFF"})),Se||(Se=l.createElement("path",{d:"M9 28v-5h6l-4.182 5.57L9 28z",fill:"#447CFF"})),xe||(xe=l.createElement("path",{d:"M10 29a1 1 0 100-2 1 1 0 000 2z",fill:"#447CFF"})))}var Oe=1e3;const Me=e=>{var{id:t,auth:n,defaultValue:r,handleEditCancel:i,onSubmit:o,focusOnLoad:a,isInner:s,isEdited:u,labelsMap:d,noComments:p,withAutosize:f,loaded:h,onInputFocus:m}=e,{user:g,checkAuth:v}=n,[y,b]=(0,l.useState)(Oe),w=(0,l.useRef)(null);return(0,l.useEffect)((()=>{f&&w.current&&ke()(w.current)}),[w.current]),c().createElement(c().Fragment,null,c().createElement("form",{onSubmit:function(e){e.preventDefault();var{value:n}=w.current,r=v();if(n&&r){w.current.value="";var i=n.trim().replace(/\n\s*\n/g,"\n").replace(/\s{2,}/g," ");o({id:t,replyToId:t,value:i})}},className:ne()("comments__form",{comments__form_inner:s,"comments__form_visible-counter":y<=200})},(null==g?void 0:g.avatar)&&c().createElement("img",{className:"comments__avatar",src:null==g?void 0:g.avatar,alt:""}),c().createElement("textarea",{rows:1,maxLength:Oe,ref:w,defaultValue:r,placeholder:d.inputPlaceholder,className:"comments__textarea",onFocus:function(e){var t=e.target.value;e.target.value="",e.target.value=t,v((()=>m&&m()),(()=>w.current.blur()))},onChange:function(){var e=w.current.value.length;b(Oe-e)},autoFocus:a}),c().createElement("span",{className:"comments__chars-counter"},y),c().createElement("button",{className:"comments__submit",type:"submit"},d.inputSubmit),s&&u&&c().createElement("button",{className:"comments__cancel",onClick:i,type:"button"},d.inputCancel)),h&&p&&c().createElement("span",{className:"comments__empty"},c().createElement(Te,{className:"comments__empty-icon"}),d.noCommentsMessage,c().createElement("br",null),d.noCommentsCallToAction))};var Ae;function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pe.apply(this,arguments)}function Le(e){return l.createElement("svg",Pe({viewBox:"0 0 23 21",fill:"#BFBFC2",xmlns:"http://www.w3.org/2000/svg"},e),Ae||(Ae=l.createElement("path",{d:"M19.368 12.105H23V0h-3.632v12.105zM2.421 13.316h6.053v6.052a1.21 1.21 0 001.21 1.21h1.21l5.249-6.507c.52-.645.804-1.45.804-2.28v-9.37A2.42 2.42 0 0014.527 0h-7.79A3.632 3.632 0 003.48 2.025L0 9.079v1.816a2.421 2.421 0 002.421 2.42z",fill:"inherit"})))}const De=e=>{var{id:t,auth:n,myReaction:r,points:i,likes:o,dislikes:a,onReaction:s,isModerator:l}=e,{checkAuth:u}=n;function d(e){var{type:n}=e.currentTarget.dataset;u((()=>function(e){s({id:t,reaction:+e,myVote:r===+e?0:+e})}(n)),null,{action:"reaction"})}return c().createElement("div",{className:"comments__reaction"},c().createElement("button",{type:"button","data-type":"1",onClick:d,className:ne()("comments__reaction-button","comments__reaction-button_like",{"comments__reaction-button_current":1===r})},c().createElement(Le,{className:"comments__reaction-icon"})),c().createElement("div",{className:ne()("comments__reaction-sum",{"comments__reaction-sum_zero":0===i,"comments__reaction-sum_nega":i<0})},o),c().createElement("button",{type:"button","data-type":"-1",onClick:d,className:ne()("comments__reaction-button","comments__reaction-button_dislike",{"comments__reaction-button_current":-1===r})},c().createElement(Le,{className:"comments__reaction-icon"})),c().createElement("div",{className:ne()("comments__reaction-sum",{"comments__reaction-sum_zero":0===i,"comments__reaction-sum_nega":i<0})},l&&a))};var Re,Ie,Ne;function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},je.apply(this,arguments)}function Be(e){return l.createElement("svg",je({viewBox:"0 0 18 4",fill:"#BFBFC2",xmlns:"http://www.w3.org/2000/svg"},e),Re||(Re=l.createElement("circle",{cx:16,cy:2,r:2,fill:"inherit"})),Ie||(Ie=l.createElement("circle",{cx:9,cy:2,r:2,fill:"inherit"})),Ne||(Ne=l.createElement("circle",{cx:2,cy:2,r:2,fill:"inherit"})))}var Fe=o(1),He={};He.styleTagTransform=K(),He.setAttributes=q(),He.insert=$().bind(null,"head"),He.domAPI=V(),He.insertStyleElement=Z(),H()(Fe.A,He),Fe.A&&Fe.A.locals&&Fe.A.locals;const ze=e=>{var t,n,{buttons:r,className:i}=e,[o,a]=(0,l.useState)(null),s=(0,l.useRef)(null);function u(e){var{index:t}=e.currentTarget.dataset;d(),r[t].onClick()}function d(){a(!1)}return t=s,n=d,(0,l.useEffect)((()=>{var e=e=>{t.current&&!t.current.contains(e.target)&&n(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[t,n]),c().createElement("div",{ref:s,className:ne()("comments-dropdown",i)},c().createElement("button",{className:"comments-dropdown__trigger",type:"button",onClick:function(){a(!o)}},c().createElement(Be,null)),o&&c().createElement("div",{className:"comments-dropdown__content"},r.map(((e,t)=>{var n=e.icon;return c().createElement("div",{key:e.label,className:"comments-dropdown__item"},c().createElement("button",{className:"comments-dropdown__button",onClick:u,"data-index":t,type:"button"},n&&c().createElement(n,{className:"comments-dropdown__button-icon"}),e.label))}))))},Ve=e=>{var{noLink:t,href:n,target:r,className:i,children:o}=e;return t?c().createElement("span",{className:"".concat(i," comments_noHref")},o):c().createElement("a",{className:i,href:n,target:r},o)};function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ge=["del_u","del_u-temp","del_m","banned"];const qe=e=>{var{auth:n,labelsMap:r,locale:i,project:o,handleDelete:a,deleteComment:s,createComment:d,editComment:p,handleEdit:f,reactToComment:h,handleReaction:m,isInner:g,hasHiddenChildren:v,withNamedResponse:y,maxVisibleLines:b,maxVisibleChildren:w,fetchChildren:_,isModerator:S,withAutosize:x,smmData:E,withScrollToComment:k,linkToComment:C,readOnly:T,onInputFocus:O,data:M,commentsCanBeReply:A,data:{id:P,author:D,message:R,reply_to:I,created_at:N,my_vote:j,points:B,likes:F,dislikes:H,is_editable:z,children_count:V,status:U}}=e,[$,G]=(0,l.useState)(!1),[q,W]=(0,l.useState)(!1),[Z,Y]=(0,l.useState)({}),[K,Q]=(0,l.useState)(!1),[X,J]=(0,l.useState)(!1),[ee,te]=(0,l.useState)(!1),[re,ie]=(0,l.useState)([]),[oe,ae]=(0,l.useState)(!1),[se,le]=(0,l.useState)([]),ce=null==D?void 0:D.is_smm,ue="gmr-community"===o||"vkp-media"===o,pe=(0,l.useRef)(null),he=(0,l.useMemo)((()=>{var e=de().sanitize((0,u.htmlUnescape)(R)),t=g?(e=>{var t=g&&A.find((e=>e.id===I))||{};if(!Object.keys(t).length)return e;var n=t.author||{},r=n.is_smm&&E&&null!=E&&E.name?null==E?void 0:E.name:n.name,i=n.slug||"";return e.startsWith(r)?(Y({name:r,slug:i,isSmm:n.is_smm}),e.substring(r.length)):e})(e):e;return ce?t.replace(/(\[([а-ÑÐ-Я\w\s\d]+)\])?\s?(https:\/\/[^\s]+)/gi,((e,t,n,r)=>{var i=r&&(r.indexOf("vk.com")>-1||r.indexOf("vkplay.ru")>-1||r.indexOf("battleteams2.ru")>-1),o=u.inGamecenter?"_self":"_blank";if(i){if(n&&r)return"<a href=".concat(r," target=").concat(o,">").concat(n,"</a>");if(r)return" <a href=".concat(r," target=").concat(o,">").concat(r,"</a>")}else{if(n&&r)return'<a href="https://webcf.waybackmachine.org/web/20240801092516/https://vkplay.ru/r/?url='.concat(r,'" target="_blank">').concat(n,"</a>");if(r)return' <a href="https://webcf.waybackmachine.org/web/20240801092516/https://vkplay.ru/r/?url='.concat(r,'" target="_blank">').concat(r,"</a>")}})):t.replace(/\s?(https:\/\/[^\s]+)/gi,((e,t)=>{var n=t&&(t.indexOf("vk.com")>-1||t.indexOf("vkplay.ru")>-1||t.indexOf("battleteams2.ru")>-1),r=u.inGamecenter?"_self":"_blank";return n?t?" <a href=".concat(t," target=").concat(r,">").concat(t,"</a>"):"":t?' <a href="https://webcf.waybackmachine.org/web/20240801092516/https://vkplay.ru/r/?url='.concat(t,'" target="_blank">').concat(t,"</a>"):""}))}),[R]),ge=(0,l.useMemo)((()=>({label:r.editBtn,icon:me})),[r]),ye=(0,l.useMemo)((()=>({label:r.deleteBtn,icon:ve})),[r]),be=(0,l.useMemo)((()=>({WebkitLineClamp:b})),[b]);function _e(){return(_e=t((function*(){var e=new Array(V||0).fill();le(e);var t=yield _(P);t&&le(t.response)}))).apply(this,arguments)}function Se(){te(!0),!V||null!=se&&se.length||function(){_e.apply(this,arguments)}()}function xe(e){d(e,{list:se,setList:le}),W(!1)}function Ee(e){s(e,{list:se,setList:le})}function ke(){Q(!0),G(!1)}function Ce(e){p(e,{list:se,setList:le})}function Te(e){h(e,{list:se,setList:le})}function Oe(){te(!1)}function Ae(){W(!1),G(!0),J(!0),ae(!1)}(0,l.useEffect)((()=>{z?ie([$e($e({},ge),{},{onClick:Ae}),$e($e({},ye),{},{onClick:ke})]):S&&ie([$e($e({},ye),{},{onClick:ke})])}),[ge,ye]),(0,l.useEffect)((()=>{pe.current&&(X||pe.current.scrollHeight-pe.current.offsetHeight<4||ae(!0))}),[pe.current]),(0,l.useEffect)((()=>{g||!V||V>w&&!k||Se()}),[V]);var Pe=(0,l.useMemo)((()=>{var{origin:e,search:t,pathname:n}=window.location,r=(0,u.query_string)(t);return r.hash&&delete r.hash,r=(0,u.qsStringify)(r),"".concat(e).concat(n).concat(r?"".concat(r,"&hash"):"?hash","=comment-").concat(P)}),[P]),Le=(0,l.useMemo)((()=>c().createElement("div",{className:"comments__children"},V>w&&ee&&c().createElement("div",{className:"comments__fold"},c().createElement("button",{className:"comments__fold-button","data-id":P,onClick:Oe,type:"button"},r.foldChildren)),V>w&&!ee&&c().createElement("button",{className:"comments-orphanage",type:"button","data-id":P,onClick:Se},V," ",L(V,[r.replySingularNom,r.replySingularGen,r.replyPluralGen])),ee&&se.map(((e,t)=>c().createElement(We,{smmData:E,project:o,key:(null==e?void 0:e.id)||t,isInner:!0,commentsCanBeReply:[M,...se],auth:n,data:e,locale:i,withNamedResponse:y,createComment:xe,handleReaction:Te,handleDelete:Ee,handleEdit:Ce,maxVisibleLines:b,isModerator:S,labelsMap:r,withScrollToComment:k,linkToComment:C,onInputFocus:O,readOnly:T}))))),[se,ee]);return Ge.includes(U)?"del_u-temp"!==U&&V<1?null:c().createElement(c().Fragment,null,c().createElement("div",{className:"comments__item comments-deleted"},c().createElement("div",{className:"comments-deleted__avatar"}),c().createElement("div",{className:"comments__content"},c().createElement("div",{className:"comments__message"},r.commentIsDeleted))),Le):c().createElement(c().Fragment,null,c().createElement("div",{className:ne()("comments__item",{comments__item_replying:q,comments__item_deleting:K,comments__item_pale:B<-9,comments__item_inner:g,comments__item_unfolded:X,"comments__item_children-hidden":v}),id:"comment-".concat(P),"data-test":D.name||""},c().createElement(Ve,{noLink:ce,className:"comments__author-link",href:ue?"//webcf.waybackmachine.org/web/20240801092516/https://profile.vkplay.ru/profile/".concat(D.slug,"/"):"/profile/".concat(D.slug,"/"),target:u.inGamecenter?"_self":"_blank"},c().createElement("img",{className:"comments__author-avatar",src:ce&&null!=E&&E.icon?E.icon:D.avatar,loading:"lazy",height:g?45:70,width:g?45:70,alt:""})),c().createElement("div",{className:ne()("comments__content-wrap",{orphaned:V>w&&!ee})},c().createElement("div",{className:"comments__content"},c().createElement("div",{className:"comments__info-top"},c().createElement("div",{className:"comments__info"},c().createElement("div",{className:"comments__info-inner"},c().createElement(Ve,{noLink:ce,className:ne()("comments__author-name",{smm:ce}),href:ue?"//webcf.waybackmachine.org/web/20240801092516/https://profile.vkplay.ru/profile/".concat(D.slug,"/"):"/profile/".concat(D.slug,"/"),target:u.inGamecenter?"_self":"_blank"},ce&&null!=E&&E.name?(0,u.htmlUnescape)(E.name):!!D.name&&(0,u.htmlUnescape)(D.name)),ce&&c().createElement("img",{className:"comments__author-approved ",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKVSURBVHgB7VjbUeMwFD2S878uATogCQWkgGWDK0ioALaCOBUAFaxTQYZl/wnfSzLpgHRA/sEW9yq2x9iyLXuSGT5yZvKypasj+d6jowAN0f+rnvr/1Kjsfm+uxtRmjoYQTRrzIMLBH91RYf0RwVt7YsO/z+bqzHFwS18HurHEePlTzGxjNyJCM32lj5PsNSXgQ8GlQDe55tswxCkR3cICEpboPapJngSDVsY3kGC4UhqvG1FYkfO5GkSmAR0YidRgq0L8zl+k2W9ePLHIXuvkGzGJJA/2ANcUi8a4QpHc98CRSB7fhkhaNSRIruzgmsqRS87FYbEh/QlWF2L6hUismLd7JLCgsp2JDn6Q2PkVcTf0THxWYBHvC5fYFxRmy6EYJz9Zl5SDp5peC0nMH3AgEowPnnUdJAK58kTAjKrjY0u5M6UHeaNUSWADCYbTwbAyNm2e/Gh01UiDDGchaM94GQp/eSHuowhdHvTLfSJpIqHtgsJdVWyK52kO/PbfE2vqcF/WOHzHc/Kdd1M9aEyGSTBJI4kIAaomSH0TG5HqiJJ4K+sgnWIyazIhvLYkGFGWFL+RhpyQqXmt7GVpdGxJpGFDdPmJ7HJEot7aUfAqi9iGhA670y+IrP2zQsnK9B/VdV1iVsWURGLUqJNhZbR7a0tiF/MylXhiNRGikQMLSAyfqbQHlGnNJhND6xNJg5b47I3zB+VTJo8aEmpFQJJc0CngLjHXBc/aOGfaEbla/dKKnuJojPI4EsmjcK7hw08UFs8dbRycYi8SYmoaoxAfluhRaVNZT9AAZTuzsS0sweY63hjd/GD8qXIkeTWoRE9hCescYeHJnWMXdNrv8oz5xSd/dlspQalN8+HAZtvij5o6s1zAJ3gUFzxzwlMrAAAAAElFTkSuQmCC",alt:""})),C?c().createElement("a",{className:"comments__time-link",href:Pe},c().createElement(we,{className:"comments__time ".concat(C?"link":""),time:"".concat(N,"Z"),nowLabel:r.postedNow,locale:i,noFormat:!0,noFuture:!0,relative:!0})):c().createElement(we,{className:"comments__time",time:"".concat(N,"Z"),nowLabel:r.postedNow,locale:i,noFormat:!0,noFuture:!0,relative:!0})),!!re.length&&c().createElement(ze,{className:"comments-menu",buttons:re,labelsMap:r})),c().createElement("div",{className:"comments__message",ref:pe,style:be},!!Z.name&&c().createElement("div",{className:"comments__info-replied-comment"},c().createElement(c().Fragment,null,c().createElement(Ve,{noLink:Z.isSmm,className:ne()("comments__author-name","comments__author-name_replied",{smm:Z.isSmm}),href:ue?"//webcf.waybackmachine.org/web/20240801092516/https://profile.vkplay.ru/profile/".concat(Z.slug,"/"):"/profile/".concat(Z.slug,"/"),target:u.inGamecenter?"_self":"_blank"},Z.name))),c().createElement("span",{dangerouslySetInnerHTML:{__html:he}})),oe&&c().createElement("button",{className:"comments__message-unfold",onClick:function(){J(!0),ae(!1)},type:"button"},r.unfoldCommentText),c().createElement("div",{className:"comments__info-bottom"},c().createElement("button",{className:ne()("comments__reply",{hidden:T}),onClick:function(){Se(),G(!1),W(!q)},"data-id":P,type:"button"},r.reply,c().createElement(fe,{className:"comments__reply-icon"})),c().createElement(De,{id:P,auth:n,likes:F,dislikes:H,isModerator:S,myReaction:j,onReaction:m,labelsMap:r}))),K&&c().createElement("div",{className:"comments-prompt"},c().createElement("span",{className:"comments-prompt__label"},r.deleteMessage),c().createElement("div",null,c().createElement("button",{className:"comments-prompt__button",onClick:function(){a(P)},type:"button"},r.yes),c().createElement("button",{className:"comments-prompt__button",type:"button",onClick:function(){Q(!1)}},r.no))))),($||q)&&c().createElement(Me,{id:P,auth:n,key:$?"edit-input":"response-input",isEdited:$,withAutosize:x,handleEditCancel:function(){G(!1)},focusOnLoad:!0,isInner:!0,defaultValue:$?R:y&&function(e){return ce&&null!=e&&e.name?"".concat((0,u.htmlUnescape)(e.name),", "):"".concat((0,u.htmlUnescape)(D.name),", ")||0}(E),onSubmit:$?function(e){G(!1),f(e)}:xe,onInputFocus:O,labelsMap:r}),Le)},We=e=>{var{data:t}=e;return t?c().createElement(qe,e):c().createElement(oe,e)};var Ze,Ye,Ke=o(269),Qe={};function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xe.apply(this,arguments)}function Je(e){return l.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 64 64"},e),Ze||(Ze=l.createElement("defs",null,l.createElement("path",{id:"spinner_svg__a",d:"M0 0h32v32H0z"}),l.createElement("mask",{id:"spinner_svg__b"},l.createElement("path",{fill:"#fff",d:"M0 0h64v64H0z"}),l.createElement("use",{fill:"#020202",xlinkHref:"#spinner_svg__a",transform:"rotate(-146 32 32)"}),l.createElement("use",{fill:"#040404",xlinkHref:"#spinner_svg__a",transform:"rotate(-144 32 32)"}),l.createElement("use",{fill:"#060606",xlinkHref:"#spinner_svg__a",transform:"rotate(-142 32 32)"}),l.createElement("use",{fill:"#080808",xlinkHref:"#spinner_svg__a",transform:"rotate(-140 32 32)"}),l.createElement("use",{fill:"#0A0A0A",xlinkHref:"#spinner_svg__a",transform:"rotate(-138 32 32)"}),l.createElement("use",{fill:"#0C0C0C",xlinkHref:"#spinner_svg__a",transform:"rotate(-136 32 32)"}),l.createElement("use",{fill:"#0E0E0E",xlinkHref:"#spinner_svg__a",transform:"rotate(-134 32 32)"}),l.createElement("use",{fill:"#101010",xlinkHref:"#spinner_svg__a",transform:"rotate(-132 32 32)"}),l.createElement("use",{fill:"#131313",xlinkHref:"#spinner_svg__a",transform:"rotate(-130 32 32)"}),l.createElement("use",{fill:"#151515",xlinkHref:"#spinner_svg__a",transform:"rotate(-128 32 32)"}),l.createElement("use",{fill:"#171717",xlinkHref:"#spinner_svg__a",transform:"rotate(-126 32 32)"}),l.createElement("use",{fill:"#191919",xlinkHref:"#spinner_svg__a",transform:"rotate(-124 32 32)"}),l.createElement("use",{fill:"#1B1B1B",xlinkHref:"#spinner_svg__a",transform:"rotate(-122 32 32)"}),l.createElement("use",{fill:"#1D1D1D",xlinkHref:"#spinner_svg__a",transform:"rotate(-120 32 32)"}),l.createElement("use",{fill:"#1F1F1F",xlinkHref:"#spinner_svg__a",transform:"rotate(-118 32 32)"}),l.createElement("use",{fill:"#212121",xlinkHref:"#spinner_svg__a",transform:"rotate(-116 32 32)"}),l.createElement("use",{fill:"#242424",xlinkHref:"#spinner_svg__a",transform:"rotate(-114 32 32)"}),l.createElement("use",{fill:"#262626",xlinkHref:"#spinner_svg__a",transform:"rotate(-112 32 32)"}),l.createElement("use",{fill:"#282828",xlinkHref:"#spinner_svg__a",transform:"rotate(-110 32 32)"}),l.createElement("use",{fill:"#2A2A2A",xlinkHref:"#spinner_svg__a",transform:"rotate(-108 32 32)"}),l.createElement("use",{fill:"#2C2C2C",xlinkHref:"#spinner_svg__a",transform:"rotate(-106 32 32)"}),l.createElement("use",{fill:"#2E2E2E",xlinkHref:"#spinner_svg__a",transform:"rotate(-104 32 32)"}),l.createElement("use",{fill:"#303030",xlinkHref:"#spinner_svg__a",transform:"rotate(-102 32 32)"}),l.createElement("use",{fill:"#323232",xlinkHref:"#spinner_svg__a",transform:"rotate(-100 32 32)"}),l.createElement("use",{fill:"#353535",xlinkHref:"#spinner_svg__a",transform:"rotate(-98 32 32)"}),l.createElement("use",{fill:"#373737",xlinkHref:"#spinner_svg__a",transform:"rotate(-96 32 32)"}),l.createElement("use",{fill:"#393939",xlinkHref:"#spinner_svg__a",transform:"rotate(-94 32 32)"}),l.createElement("use",{fill:"#3B3B3B",xlinkHref:"#spinner_svg__a",transform:"rotate(-92 32 32)"}),l.createElement("use",{fill:"#3D3D3D",xlinkHref:"#spinner_svg__a",transform:"rotate(-90 32 32)"}),l.createElement("use",{fill:"#3F3F3F",xlinkHref:"#spinner_svg__a",transform:"rotate(-88 32 32)"}),l.createElement("use",{fill:"#414141",xlinkHref:"#spinner_svg__a",transform:"rotate(-86 32 32)"}),l.createElement("use",{fill:"#434343",xlinkHref:"#spinner_svg__a",transform:"rotate(-84 32 32)"}),l.createElement("use",{fill:"#464646",xlinkHref:"#spinner_svg__a",transform:"rotate(-82 32 32)"}),l.createElement("use",{fill:"#484848",xlinkHref:"#spinner_svg__a",transform:"rotate(-80 32 32)"}),l.createElement("use",{fill:"#4A4A4A",xlinkHref:"#spinner_svg__a",transform:"rotate(-78 32 32)"}),l.createElement("use",{fill:"#4C4C4C",xlinkHref:"#spinner_svg__a",transform:"rotate(-76 32 32)"}),l.createElement("use",{fill:"#4E4E4E",xlinkHref:"#spinner_svg__a",transform:"rotate(-74 32 32)"}),l.createElement("use",{fill:"#505050",xlinkHref:"#spinner_svg__a",transform:"rotate(-72 32 32)"}),l.createElement("use",{fill:"#525252",xlinkHref:"#spinner_svg__a",transform:"rotate(-70 32 32)"}),l.createElement("use",{fill:"#545454",xlinkHref:"#spinner_svg__a",transform:"rotate(-68 32 32)"}),l.createElement("use",{fill:"#575757",xlinkHref:"#spinner_svg__a",transform:"rotate(-66 32 32)"}),l.createElement("use",{fill:"#595959",xlinkHref:"#spinner_svg__a",transform:"rotate(-64 32 32)"}),l.createElement("use",{fill:"#5B5B5B",xlinkHref:"#spinner_svg__a",transform:"rotate(-62 32 32)"}),l.createElement("use",{fill:"#5D5D5D",xlinkHref:"#spinner_svg__a",transform:"rotate(-60 32 32)"}),l.createElement("use",{fill:"#5F5F5F",xlinkHref:"#spinner_svg__a",transform:"rotate(-58 32 32)"}),l.createElement("use",{fill:"#616161",xlinkHref:"#spinner_svg__a",transform:"rotate(-56 32 32)"}),l.createElement("use",{fill:"#636363",xlinkHref:"#spinner_svg__a",transform:"rotate(-54 32 32)"}),l.createElement("use",{fill:"#656565",xlinkHref:"#spinner_svg__a",transform:"rotate(-52 32 32)"}),l.createElement("use",{fill:"#686868",xlinkHref:"#spinner_svg__a",transform:"rotate(-50 32 32)"}),l.createElement("use",{fill:"#6A6A6A",xlinkHref:"#spinner_svg__a",transform:"rotate(-48 32 32)"}),l.createElement("use",{fill:"#6C6C6C",xlinkHref:"#spinner_svg__a",transform:"rotate(-46 32 32)"}),l.createElement("use",{fill:"#6E6E6E",xlinkHref:"#spinner_svg__a",transform:"rotate(-44 32 32)"}),l.createElement("use",{fill:"#707070",xlinkHref:"#spinner_svg__a",transform:"rotate(-42 32 32)"}),l.createElement("use",{fill:"#727272",xlinkHref:"#spinner_svg__a",transform:"rotate(-40 32 32)"}),l.createElement("use",{fill:"#747474",xlinkHref:"#spinner_svg__a",transform:"rotate(-38 32 32)"}),l.createElement("use",{fill:"#767676",xlinkHref:"#spinner_svg__a",transform:"rotate(-36 32 32)"}),l.createElement("use",{fill:"#797979",xlinkHref:"#spinner_svg__a",transform:"rotate(-34 32 32)"}),l.createElement("use",{fill:"#7B7B7B",xlinkHref:"#spinner_svg__a",transform:"rotate(-32 32 32)"}),l.createElement("use",{fill:"#7D7D7D",xlinkHref:"#spinner_svg__a",transform:"rotate(-30 32 32)"}),l.createElement("use",{fill:"#7F7F7F",xlinkHref:"#spinner_svg__a",transform:"rotate(-28 32 32)"}),l.createElement("use",{fill:"#818181",xlinkHref:"#spinner_svg__a",transform:"rotate(-26 32 32)"}),l.createElement("use",{fill:"#838383",xlinkHref:"#spinner_svg__a",transform:"rotate(-24 32 32)"}),l.createElement("use",{fill:"#858585",xlinkHref:"#spinner_svg__a",transform:"rotate(-22 32 32)"}),l.createElement("use",{fill:"#878787",xlinkHref:"#spinner_svg__a",transform:"rotate(-20 32 32)"}),l.createElement("use",{fill:"#8A8A8A",xlinkHref:"#spinner_svg__a",transform:"rotate(-18 32 32)"}),l.createElement("use",{fill:"#8C8C8C",xlinkHref:"#spinner_svg__a",transform:"rotate(-16 32 32)"}),l.createElement("use",{fill:"#8E8E8E",xlinkHref:"#spinner_svg__a",transform:"rotate(-14 32 32)"}),l.createElement("use",{fill:"#909090",xlinkHref:"#spinner_svg__a",transform:"rotate(-12 32 32)"}),l.createElement("use",{fill:"#929292",xlinkHref:"#spinner_svg__a",transform:"rotate(-10 32 32)"}),l.createElement("use",{fill:"#949494",xlinkHref:"#spinner_svg__a",transform:"rotate(-8 32 32)"}),l.createElement("use",{fill:"#969696",xlinkHref:"#spinner_svg__a",transform:"rotate(-6 32 32)"}),l.createElement("use",{fill:"#989898",xlinkHref:"#spinner_svg__a",transform:"rotate(-4 32 32)"}),l.createElement("use",{fill:"#9B9B9B",xlinkHref:"#spinner_svg__a",transform:"rotate(-2 32 32)"}),l.createElement("use",{fill:"#9D9D9D",xlinkHref:"#spinner_svg__a"}),l.createElement("use",{fill:"#9F9F9F",xlinkHref:"#spinner_svg__a",transform:"rotate(2 32 32)"}),l.createElement("use",{fill:"#A1A1A1",xlinkHref:"#spinner_svg__a",transform:"rotate(4 32 32)"}),l.createElement("use",{fill:"#A3A3A3",xlinkHref:"#spinner_svg__a",transform:"rotate(6 32 32)"}),l.createElement("use",{fill:"#A5A5A5",xlinkHref:"#spinner_svg__a",transform:"rotate(8 32 32)"}),l.createElement("use",{fill:"#A7A7A7",xlinkHref:"#spinner_svg__a",transform:"rotate(10 32 32)"}),l.createElement("use",{fill:"#A9A9A9",xlinkHref:"#spinner_svg__a",transform:"rotate(12 32 32)"}),l.createElement("use",{fill:"#ACACAC",xlinkHref:"#spinner_svg__a",transform:"rotate(14 32 32)"}),l.createElement("use",{fill:"#AEAEAE",xlinkHref:"#spinner_svg__a",transform:"rotate(16 32 32)"}),l.createElement("use",{fill:"#B0B0B0",xlinkHref:"#spinner_svg__a",transform:"rotate(18 32 32)"}),l.createElement("use",{fill:"#B2B2B2",xlinkHref:"#spinner_svg__a",transform:"rotate(20 32 32)"}),l.createElement("use",{fill:"#B4B4B4",xlinkHref:"#spinner_svg__a",transform:"rotate(22 32 32)"}),l.createElement("use",{fill:"#B6B6B6",xlinkHref:"#spinner_svg__a",transform:"rotate(24 32 32)"}),l.createElement("use",{fill:"#B8B8B8",xlinkHref:"#spinner_svg__a",transform:"rotate(26 32 32)"}),l.createElement("use",{fill:"#BABABA",xlinkHref:"#spinner_svg__a",transform:"rotate(28 32 32)"}),l.createElement("use",{fill:"#BDBDBD",xlinkHref:"#spinner_svg__a",transform:"rotate(30 32 32)"}),l.createElement("use",{fill:"#BFBFBF",xlinkHref:"#spinner_svg__a",transform:"rotate(32 32 32)"}),l.createElement("use",{fill:"#C1C1C1",xlinkHref:"#spinner_svg__a",transform:"rotate(34 32 32)"}),l.createElement("use",{fill:"#C3C3C3",xlinkHref:"#spinner_svg__a",transform:"rotate(36 32 32)"}),l.createElement("use",{fill:"#C5C5C5",xlinkHref:"#spinner_svg__a",transform:"rotate(38 32 32)"}),l.createElement("use",{fill:"#C7C7C7",xlinkHref:"#spinner_svg__a",transform:"rotate(40 32 32)"}),l.createElement("use",{fill:"#C9C9C9",xlinkHref:"#spinner_svg__a",transform:"rotate(42 32 32)"}),l.createElement("use",{fill:"#CBCBCB",xlinkHref:"#spinner_svg__a",transform:"rotate(44 32 32)"}),l.createElement("use",{fill:"#CECECE",xlinkHref:"#spinner_svg__a",transform:"rotate(46 32 32)"}),l.createElement("use",{fill:"#D0D0D0",xlinkHref:"#spinner_svg__a",transform:"rotate(48 32 32)"}),l.createElement("use",{fill:"#D2D2D2",xlinkHref:"#spinner_svg__a",transform:"rotate(50 32 32)"}),l.createElement("use",{fill:"#D4D4D4",xlinkHref:"#spinner_svg__a",transform:"rotate(52 32 32)"}),l.createElement("use",{fill:"#D6D6D6",xlinkHref:"#spinner_svg__a",transform:"rotate(54 32 32)"}),l.createElement("use",{fill:"#D8D8D8",xlinkHref:"#spinner_svg__a",transform:"rotate(56 32 32)"}),l.createElement("use",{fill:"#DADADA",xlinkHref:"#spinner_svg__a",transform:"rotate(58 32 32)"}),l.createElement("use",{fill:"#DCDCDC",xlinkHref:"#spinner_svg__a",transform:"rotate(60 32 32)"}),l.createElement("use",{fill:"#DFDFDF",xlinkHref:"#spinner_svg__a",transform:"rotate(62 32 32)"}),l.createElement("use",{fill:"#E1E1E1",xlinkHref:"#spinner_svg__a",transform:"rotate(64 32 32)"}),l.createElement("use",{fill:"#E3E3E3",xlinkHref:"#spinner_svg__a",transform:"rotate(66 32 32)"}),l.createElement("use",{fill:"#E5E5E5",xlinkHref:"#spinner_svg__a",transform:"rotate(68 32 32)"}),l.createElement("use",{fill:"#E7E7E7",xlinkHref:"#spinner_svg__a",transform:"rotate(70 32 32)"}),l.createElement("use",{fill:"#E9E9E9",xlinkHref:"#spinner_svg__a",transform:"rotate(72 32 32)"}),l.createElement("use",{fill:"#EBEBEB",xlinkHref:"#spinner_svg__a",transform:"rotate(74 32 32)"}),l.createElement("use",{fill:"#EDEDED",xlinkHref:"#spinner_svg__a",transform:"rotate(76 32 32)"}),l.createElement("use",{fill:"#F0F0F0",xlinkHref:"#spinner_svg__a",transform:"rotate(78 32 32)"}),l.createElement("use",{fill:"#F2F2F2",xlinkHref:"#spinner_svg__a",transform:"rotate(80 32 32)"}),l.createElement("use",{fill:"#F4F4F4",xlinkHref:"#spinner_svg__a",transform:"rotate(82 32 32)"}),l.createElement("use",{fill:"#F6F6F6",xlinkHref:"#spinner_svg__a",transform:"rotate(84 32 32)"}),l.createElement("use",{fill:"#F8F8F8",xlinkHref:"#spinner_svg__a",transform:"rotate(86 32 32)"}),l.createElement("use",{fill:"#FAFAFA",xlinkHref:"#spinner_svg__a",transform:"rotate(88 32 32)"}),l.createElement("use",{fill:"#FCFCFC",xlinkHref:"#spinner_svg__a",transform:"rotate(90 32 32)"}),l.createElement("use",{fill:"#FEFEFE",xlinkHref:"#spinner_svg__a",transform:"rotate(92 32 32)"})))),Ye||(Ye=l.createElement("path",{d:"M54.6 47.6c-1.98-1.98-5.09-1.98-7.07 0-8.56 8.56-22.6 8.56-31.1 0-8.56-8.56-8.56-22.6 0-31.1 4.54-5.58-3.25-10.7-7.07-7.07-12.4 12.4-12.4 32.8 0 45.3 12.4 12.4 32.8 12.4 45.3 0 1.98-1.98 1.98-5.09 0-7.07zM32 54c-12.1 0-22-9.9-22-22s9.9-22 22-22c2.8 0 5-2.2 5-5s-2.2-5-5-5C14.4 0 0 14.4 0 32s14.4 32 32 32c7.16-.736 5.26-9.84 0-10z",mask:"url(#spinner_svg__b)"})))}Qe.styleTagTransform=K(),Qe.setAttributes=q(),Qe.insert=$().bind(null,"head"),Qe.domAPI=V(),Qe.insertStyleElement=Z(),H()(Ke.A,Qe),Ke.A&&Ke.A.locals&&Ke.A.locals;const et=()=>c().createElement("div",{className:"comments__loader"},c().createElement(Je,{className:"comments__loader-icon"}));function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt={postedNow:"Только что",loadMore:"Загрузить ещё",commentSingularNom:"комментарий",commentSingularGen:"комментариÑ",commentPluralGen:"комментариев",banTitle:"Ðе, ну Ñто бан!",banText:"ЕÑли вы Ñчитаете, что были забанены по ошибке,",banEmailUs:"напишите нам",editBtn:"Редактировать",deleteBtn:"Удалить",deleteMessage:"Ð’Ñ‹ уверены, что хотите удалить комментарий?",commentIsDeleted:"Комментарий был удален",yes:"Да",no:"Ðет",foldChildren:"Свернуть",reply:"Ответить",replySingularNom:"ответ",replySingularGen:"ответа",replyPluralGen:"ответов",unfoldCommentText:"РаÑкрыть",like:"Лайк",dislike:"Дизлайк",inputPlaceholder:"ÐапиÑать комментарий…",inputSubmit:"Отправить",inputCancel:"Отмена",noCommentsMessage:"ЗдеÑÑŒ пока нет комментариев.",noCommentsCallToAction:"Ваш может быть первым!",createFail:"Ðе получилоÑÑŒ Ñоздать комментарий",deleteFail:"Ðе получилоÑÑŒ удалить комментарий",editFail:"Ðе получилоÑÑŒ отредактировать комментарий",reactFail:"Ðе получилоÑÑŒ отреагировать на комментарий",retryFail:"Повторить дейÑтвие"},it=e=>{var{auth:n,threadUrl:r,project:i,supportEmail:o,onThreadInfoGet:a,onInputFocus:s,maxVisibleChildren:d,maxVisibleLines:p,scrollMagicNumber:f,onCommentCreate:m,withAutosize:b,withNamedResponse:_,withFailRetry:S,withBanError:x,onUpdateThreadInfo:E,withSecondInput:k,smmData:C,customLabelsMap:T,locale:O,scrollOverlay:M,linkToComment:P,readOnly:R,onVote:I}=e,[N,j]=(0,l.useState)(null),[B,F]=(0,l.useState)([]),[H,z]=(0,l.useState)(null),[V,U]=(0,l.useState)(null),[$,G]=(0,l.useState)(!1),[q,W]=(0,l.useState)([]),[Z,Y]=(0,l.useState)(null),[K,Q]=(0,l.useState)(!1),X=window.location.search.includes("hash"),J=null,te=(0,l.useMemo)((()=>A(r.replace(/\/$/,""))),[r]),ne=(0,l.useMemo)((()=>nt(nt({},rt),T)),[T]);function re(){return re=t((function*(){var e,t;try{t=yield function(e){return h("/comments/v3/thread/".concat(e,"/info/"))}(te)}catch(e){var r;return 404===e.status&&null!=n&&null!==(r=n.user)&&void 0!==r&&r.user_id&&function(){le.apply(this,arguments)}(),void Q(!0)}if(j(t),a&&a(t),Q(!0),null!==(e=t)&&void 0!==e&&e.post_count){var i=new Array(t.post_count>=10?10:0).fill();F(i),ie()}})),re.apply(this,arguments)}function ie(e){return oe.apply(this,arguments)}function oe(){return(oe=t((function*(e){var t=yield v("comments",te,e),n=B;e&&n&&(n=n.filter((e=>!q.includes(e.id)))),F([...n,...t.results||[]]),z(t.next)}))).apply(this,arguments)}function ae(e){return se.apply(this,arguments)}function se(){return(se=t((function*(e){return yield v("children",e)}))).apply(this,arguments)}function le(){return le=t((function*(){var e={project_slug:i,url:r.replace(/\/$/,"")},t=yield function(e){return g.apply(this,arguments)}(e);j(t.response),a&&a(t.response)})),le.apply(this,arguments)}(0,l.useEffect)((()=>{r&&function(){re.apply(this,arguments)}()}),[r]),(0,l.useEffect)((()=>{V&&function(e){var{tempId:t,postedComment:n,listState:r}=e,{list:i,setList:o}=r;o(ue({id:t,data:n},i)),U(null)}(V)}),[V]),(0,l.useEffect)((()=>{K&&X&&ce()}),[K]),(0,l.useEffect)((()=>{E&&E(N)}),[N]);var ce=()=>{var e=(0,u.query_string)(window.location.search).hash,t=document.getElementById(e);if(!t&&!J)return J=setInterval(ce,1e3),!1;t&&clearInterval(J),e&&(t&&t.classList.add("blink"),D({id:e,scrollMagicNumber:f,scrollOverlay:M}))};function ue(e,t){var{id:n,data:r}=e,i=JSON.parse(JSON.stringify(t)),o=Object.values(i).find((e=>e.id===n));return o?(r?Object.entries(r).map((e=>o[e[0]]=e[1])):i=i.filter((e=>e.id!==n)),i):i}function de(e,t){return pe.apply(this,arguments)}function pe(){return pe=t((function*(e,t){var{replyToId:r,value:o}=e;if(null!=o&&o.length){var{list:a,setList:s}=t,{user:l}=n,c=(null==N?void 0:N.post_count)||0,d={created_at:new Date,id:"my-temp-comment-".concat(Date.now()),status:"temp",is_editable:!1,message:(0,u.htmlEscape)(o),my_vote:null,likes:0,dislikes:0,author:{avatar:null!=N&&N.is_smm?null==C?void 0:C.icon:null==l?void 0:l.avatar,name:null!=N&&N.is_smm?null==C?void 0:C.name:null==l?void 0:l.nick}},p=[...a,d];j(nt(nt({},N),{},{post_count:c+1})),s(p),setTimeout((()=>{D({id:"comment-".concat(d.id),scrollMagicNumber:f,scrollOverlay:M})}),0);var h,g={project_slug:i,thread_slug:te,message:o};r&&(g.reply_to=r,d.reply_to=r);try{h=yield y({method:"POST",body:g})}catch(e){return U({tempId:d.id,postedComment:null,listState:{list:p,setList:s}}),j(nt(nt({},N),{},{post_count:c})),void(400===e.status?x&&(G(!0),D({id:"comment-block",scrollMagicNumber:f})):Y({type:"create",args:arguments}))}U({tempId:d.id,postedComment:h,listState:{list:p,setList:s}}),W([...q,h.id]),m&&m({auth:n,comment:h,isResponse:!!r})}})),pe.apply(this,arguments)}function fe(e,t){return he.apply(this,arguments)}function he(){return(he=t((function*(e,t){var{list:n,setList:r}=t,i=(null==N?void 0:N.post_count)||0;r(ue({id:e,data:{status:"del_u-temp"}},n)),j(nt(nt({},N),{},{post_count:i-1}));try{yield y({id:e,method:"DELETE",body:{}})}catch(t){r(ue({id:e,data:{status:"ok"}},n)),j(nt(nt({},N),{},{post_count:i})),Y({type:"delete"})}}))).apply(this,arguments)}function me(e,t){return ge.apply(this,arguments)}function ge(){return ge=t((function*(e,t){var{id:n,value:r}=e;if(r&&r.length){var{list:i,setList:o}=t;o(ue({id:n,data:{message:r}},i));var a={message:r};try{yield y({id:n,method:"PATCH",body:a})}catch(e){o(ue({id:n,data:i.find((e=>e.id===n))},i)),Y({type:"edit",args:arguments})}}})),ge.apply(this,arguments)}function ve(e,t){return ye.apply(this,arguments)}function ye(){return ye=t((function*(e,t){var{id:n,reaction:r,myVote:i}=e,{list:o,setList:a}=t,{likes:s,dislikes:l,my_vote:c}=o.find((e=>e.id===n)),u=r>0,d=r<0;a(ue({id:n,data:nt(nt(nt({},u&&{likes:u&&i?s+1:s-1,dislikes:c&&c!==r?l-1:l}),d&&{dislikes:d&&i?l+1:l-1,likes:c&&c!==r?s-1:s}),{},{my_vote:i})},o));var p={points:+r};try{yield function(e){return w.apply(this,arguments)}({type:"react",id:n,body:p})}catch(e){a(ue({id:n,data:o.find((e=>e.id===n))},o)),Y({type:"react"})}I&&I(r)})),ye.apply(this,arguments)}function be(e){return we.apply(this,arguments)}function we(){return(we=t((function*(e){de(e,{list:B,setList:F})}))).apply(this,arguments)}function _e(e){fe(e,{list:B,setList:F})}function Se(e){me(e,{list:B,setList:F})}function xe(e){ve(e,{list:B,setList:F})}return c().createElement("div",{id:"comment-block",className:"comments"},R?c().createElement("p",null,ne.commentsSmmOnly):c().createElement(Me,{auth:n,onSubmit:be,onInputFocus:s,noComments:!(null!=N&&N.post_count),withAutosize:b,labelsMap:ne,loaded:K}),(null==N?void 0:N.post_count)>0&&c().createElement("div",{className:"comments__controls"},$?c().createElement("p",{className:"comments__ban"},c().createElement("span",{className:"comments__ban_red"},ne.banTitle)," ",ne.banText," ",c().createElement("a",{href:o},ne.banEmailUs),"."):c().createElement("p",{className:"comments__counter"},N.post_count," ",L(N.post_count,[ne.commentSingularNom,ne.commentSingularGen,ne.commentPluralGen]))),!K&&c().createElement(et,null),!!B.length&&B.map(((e,t)=>c().createElement("div",{key:(null==e?void 0:e.id)||t,className:"comments__parent"},c().createElement(We,{smmData:C,project:i,data:e,auth:n,locale:O,createComment:de,isModerator:null==N?void 0:N.is_moderator,editComment:me,handleEdit:Se,deleteComment:fe,handleDelete:_e,reactToComment:ve,handleReaction:xe,fetchChildren:ae,withAutosize:b,withNamedResponse:_,maxVisibleChildren:d,maxVisibleLines:p,labelsMap:ne,withScrollToComment:X,linkToComment:P,readOnly:R,onInputFocus:s})))),H&&c().createElement("button",{className:"comments__load-more",type:"button",onClick:function(){var e,t;e=N.post_count-B.length,t=new Array(e>30?30:e>0?e:2).fill(),F([...B,...t]),ie(H)}},ne.loadMore),k&&(null==N?void 0:N.post_count)>12&&c().createElement(Me,{auth:n,onSubmit:be,onInputFocus:s,noComments:!(null!=N&&N.post_count),withAutosize:b,labelsMap:ne}),c().createElement(ee,{failedAction:Z,setFailedAction:Y,createComment:de,editComment:me,withFailRetry:S,labelsMap:ne}))};it.defaultProps={locale:"ru_RU",maxVisibleChildren:4,maxVisibleLines:6,scrollMagicNumber:55,customLabelsMap:rt};const ot=it;var at=o(366),st={};st.styleTagTransform=K(),st.setAttributes=q(),st.insert=$().bind(null,"head"),st.domAPI=V(),st.insertStyleElement=Z(),H()(at.A,st),at.A&&at.A.locals&&at.A.locals;const lt=ot})(),a})(),e.exports=r(n(67294),n(73935))},28157:function(e,t,n){var r=n(25108);!function(){var t={7:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,i)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,i){var o,a,s,u;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),(o=c(e))>0&&s.length>o&&!s.warned){s.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=s.length,u=d,r&&r.warn&&r.warn(u)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=m(l,c);for(n=0;n<c;++n)i(u[n],this,t)}return!0},a.prototype.addListener=function(e,t){return u(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return u(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},348:function(e,t){var n,r;n=function(e,t){"use strict";function n(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,o=t.timeout||5e3,a=t.jsonpCallback||"callback",s=void 0;return new Promise((function(l,c){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),d=a+"_"+u;window[u]=function(e){l({ok:!0,json:function(){return Promise.resolve(e)}}),s&&clearTimeout(s),r(d),n(u)},i+=-1===i.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+i+a+"="+u),t.charset&&p.setAttribute("charset",t.charset),t.nonce&&p.setAttribute("nonce",t.nonce),t.referrerPolicy&&p.setAttribute("referrerPolicy",t.referrerPolicy),t.crossorigin&&p.setAttribute("crossorigin","true"),p.id=d,document.getElementsByTagName("head")[0].appendChild(p),s=setTimeout((function(){c(new Error("JSONP request to "+e+" timed out")),n(u),r(d),window[u]=function(){n(u)}}),o),p.onerror=function(){c(new Error("JSONP request to "+e+" failed")),n(u),r(d),s&&clearTimeout(s)}}))}},void 0===(r=n.apply(t,[t,e]))||(e.exports=r)},156:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(545),t)},789:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.get_csrf_jwt_token=t.Backend=void 0;var o,a=i(n(348)),s=n(872);function l(){return window.CSRF_TOKEN?window.CSRF_TOKEN:(0,s.getCookie)("csrftoken")||""}!function(e){e.get="GET",e.post="POST",e.put="PUT",e.delete="DELETE",e.patch="PATCH"}(o||(o={}));var c=function(e){void 0===e&&(e={});var t="";Object.keys(e).forEach((function(n){var r=e[n];Array.isArray(r)&&(r.forEach((function(e){t+="&".concat(n,"=").concat(e)})),delete e[n])}));var n=(0,s.qsStringify)(e);return 0===n.length&&t.replace("&",""),n+t},u=function(e){return Object.keys(e).forEach((function(t){null==e[t]&&delete e[t]})),e},d=function(e,t,n,i,a){void 0===t&&(t=o.get),void 0===n&&(n={});var s=t===o.get,l=t===o.delete,d=n.body,p=null==d?void 0:d.isJSON,f=d&&d instanceof FormData,h="blob"===n.responseType,m="arrayBuffer"===n.responseType,g=n.headers;(null==d?void 0:d.headers)&&(g=r(r({},g),d.headers),delete d.headers);var v=r({},(!s||g)&&{headers:r(r({},!f&&{"Content-Type":p?"application/json":"application/x-www-form-urlencoded"}),g)});return(n=u(n)).body&&(n.body=u(n.body)),p&&delete n.body.isJSON,s?(delete n.headers,Object.keys(n).length>0&&(e+=(e.includes("?")?"&":"?")+c(n))):v.body=f?d:p?JSON.stringify(d):c(d),fetch(e,r({method:t,credentials:i?"omit":"include"},v)).then((function(e){if(e.ok){var t=e.headers.get("content-type")||"";return a?{response:e,encoding:t.split("charset=")[1]||"utf-8"}:h?e.blob():m?e.arrayBuffer():l?e.text():e.json()}return Promise.reject(e)})).catch((function(e){return Promise.reject(e)}))},p=function(e,t,n,r){return d(e,o.get,t,n,r).then((function(e){return e}))},f=function(e,t,n){return d(e,o.post,t,n).then((function(e){return e}))},h=function(e,t,n){return d(e,o.put,t,n).then((function(e){return e}))},m=function(e,t,n){return d(e,o.delete,t,n).then((function(e){return e}))},g=!1;function v(e,t,n,r){return function(i){i?8018===i.code?function(){if(g)return e(n,r),!1;var i="//".concat((0,s.getAuthHost)("auth-ac"),"/sdc"),o="callback"+((new Date).valueOf()+Math.floor(1e3*Math.random()));(0,a.default)("".concat(i,"?from=").concat((0,s.absoluteUrl)(t)),{timeout:1e4,jsonpCallback:"JSONP_call",jsonpCallbackFunction:o}).then((function(){g=!0,e(n,r)})).catch((function(e){r(e)}))}():n(i):r()}}var y={api_get:function(e,t){return e=(0,s.build_api_url)(e),new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get:function(e,t){return new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get_without_cred:function(e,t){return new Promise((function n(r,i){p(e,t,!0).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},api_post:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_patch:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){(function(e,t,n){return d(e,o.patch,t,void 0).then((function(e){return e}))})(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_delete:function(e){return b().then((function(){return e=(0,s.build_api_url)(e),new Promise((function t(n,r){m(e).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},delete:function(e){return b().then((function(t){return new Promise((function n(r,i){m(e,{headers:{"X-CSRFToken":l(),"X-JWTCSRFToken":t}}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_put:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){h(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},remote_api_post:function(e,t){return new Promise((function(n,r){f(e,{body:t}).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},doc_get:function(e,t){return new Promise((function(n,r){p(e,t,!0,!0).then((function(e){var t=e.response,i=e.encoding;"utf-8"===i?t.text().then((function(e){e?n(e):r()})):t.arrayBuffer().then((function(e){if(e){var t=new TextDecoder(i);n(t.decode(e))}else r()}))})).catch((function(e){return r(e)}))}))},simple_post:function(e,t){return new Promise((function(n,r){f(e,{body:t},!0).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},remote_api_get:function(e,t){return new Promise((function(n,r){p(e,t).then((function(e){n(e)})).catch((function(e){return r(e)}))}))},post:function(e,t){return b().then((function(n){return t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t,responseType:null==t?void 0:t.responseType}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},post_formdata:function(e,t,n){var i=n.file,o=n.fileField,a=void 0===o?"filedata":o;return b().then((function(n){var o=new FormData;for(var s in t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t))t[s]&&o.append("".concat(s),"".concat(t[s]));return o.append("".concat(a),i),new Promise((function t(n,r){f(e,{body:o}).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},post_real_formdata:function(e,t){return b().then((function(n){return t.append("csrfmiddlewaretoken",l()),t.append("csrfmiddlewaretoken_jwt",n),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},put:function(e,t){return new Promise((function n(r,i){h(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},jsonp:function(e,t){var n=t;return n="string"!=typeof t?t?"?".concat(new URLSearchParams(t).toString()):"":t?"?".concat(n):"",new Promise((function(t,r){(0,a.default)("".concat(e).concat(n),{timeout:1e4}).then((function(e){return e.json()})).then((function(e){t(e)})).catch((function(e){r(e)}))}))}};function b(){var e=window.__GEMS&&window.__GEMS.token||window.CSRF_JWT_TOKEN;return new Promise((function(t){e||window.__GEMS&&window.__GEMS.no_session?t(e):y.api_get("/social/profile/user_token").then((function(e){"fail"===e.status&&window.__GEMS&&(window.__GEMS.no_session=!0),window.__GEMS&&s.isGem&&(window.__GEMS.token=e.token),window.CSRF_JWT_TOKEN=e.token,t(e.token)}),(function(){return window.__GEMS&&(window.__GEMS.no_session=!0),t("")}))}))}t.Backend=y,t.default=y,t.get_csrf_jwt_token=b},318:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Broadcast=void 0;var o=i(n(7)),a=function(){var e=(new Date).getTime(),t={};try{t=window.localStorage}catch(e){r.error("[broadcast]",e)}var n=new o.default,i=function(t){var r,i=(t.key||"").match(/^broadcast_(.*)$/);if(i){r=i[1];var o=JSON.parse(t.newValue);o.sender!==e&&n.emit(r,o)}};return{selfId:e,post:function(n,r){r.ts=(new Date).getTime(),r.sender=e,t["broadcast_"+n]=JSON.stringify(r)},on:function(e,t){n.on(e,t)},off:function(e,t){t?n.removeListener(e,t):n.removeAllListeners(e)},init:function(){try{t.setItem("test","1"),t.removeItem("test")}catch(e){t={}}window.addEventListener("storage",i,!1)}}}();function s(){a.init()}t.Broadcast=a,t.default=a,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){s(),document.removeEventListener("DOMContentLoaded",e)})):s()},747:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HashUtils=void 0;var n={LongMath:{add64:function(e,t){var n,r={h:e.h+t.h,l:e.l+t.l};return n=r.l/4294967296>>>0,r.l=(4294967295&r.l)>>>0,r.h=(r.h+n&4294967295)>>>0,r},mul64:function(e,t){var n=this.mul32(e.l,t.l),r=this.mul32(e.h,t.l),i=this.mul32(e.l,t.h);return{h:(n.h+r.l+i.l&4294967295)>>>0,l:n.l}},mul32:function(e,t){var n=e>>16&65535,r=65535&e,i=t>>16&65535,o=65535&t,a=r*o,s=n*o,l=r*i,c=(a+(s+l<<16)>>>0&4294967295)>>>0;return{h:n*i+((a+65536*(s+l)-c)/4294967296>>>0),l:c}}},SipHash:function(){function e(e,t){var n=e.l+t.l,r={h:e.h+t.h+(n/2>>>31)>>>0,l:n>>>0};e.h=r.h,e.l=r.l}function t(e,t){e.h^=t.h,e.h>>>=0,e.l^=t.l,e.l>>>=0}function n(e,t){var n={h:e.h<<t|e.l>>>32-t,l:e.l<<t|e.h>>>32-t};e.h=n.h,e.l=n.l}function r(e){var t=e.l;e.l=e.h,e.h=t}function i(i,o,a,s){e(i,o),e(a,s),n(o,13),n(s,16),t(o,i),t(s,a),r(i),e(a,o),e(i,s),n(o,17),n(s,21),t(o,a),t(s,i),r(a)}function o(e,t){return e.charCodeAt(t+3)<<24|e.charCodeAt(t+2)<<16|e.charCodeAt(t+1)<<8|e.charCodeAt(t)}function a(e,n){var r,a={h:e[1]>>>0,l:e[0]>>>0},s={h:e[3]>>>0,l:e[2]>>>0},l={h:a.h,l:a.l},c=a,u={h:s.h,l:s.l},d=s,p=n.length,f=p-7,h=new Uint8Array(new ArrayBuffer(8)),m=0;for(t(l,{h:1936682341,l:1886610805}),t(u,{h:1685025377,l:1852075885}),t(c,{h:1819895653,l:1852142177}),t(d,{h:1952801890,l:2037671283});m<f;)t(d,r={h:o(n,m+4),l:o(n,m)}),i(l,u,c,d),i(l,u,c,d),t(l,r),m+=8;h[7]=p;for(var g=0;m<p;)h[g++]=n.charCodeAt(m++);for(;g<7;)h[g++]=0;t(d,r={h:h[7]<<24|h[6]<<16|h[5]<<8|h[4],l:h[3]<<24|h[2]<<16|h[1]<<8|h[0]}),i(l,u,c,d),i(l,u,c,d),t(l,r),t(c,{h:0,l:255}),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d);var v=l;return t(v,u),t(v,c),t(v,d),v}return{string16_to_key:function(e){return[o(e,0),o(e,4),o(e,8),o(e,12)]},hash:a,hash_hex:function(e,t){var n=a(e,t);return("0000000"+n.h.toString(16)).substr(-8)+("0000000"+n.l.toString(16)).substr(-8)},hash_uint:function(e,t){var n=a(e,t);return 4294967296*(2097151&n.h)+n.l}}}(),jumphash:function(e,t){for(var r={h:666578662,l:2276503805},i=0,o=-1;i<t;)o=i,e=n.LongMath.mul64(e,r),e=n.LongMath.add64(e,{h:0,l:1}),i=Math.floor((o+1)*(2147483648/(1+(e.h>>>1))));return o},getShard:function(e,t){return n.jumphash(n.SipHash.hash(0,e),t)}};t.HashUtils=n,t.default=n},545:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(287),t),i(n(872),t),i(n(789),t),i(n(318),t),i(n(63),t),i(n(638),t)},63:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MasterSlave=void 0;var i,o=r(n(7)),a=n(318),s=n(872);function l(){i.init()}t.MasterSlave=i,t.default=i,s.inGamecenter?t.default=t.MasterSlave=i={_master:!1,_events:new o.default,isMaster:function(){return this._master},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(){i._master=0===window.location.pathname.search("/gamecenter/chat")||0===window.location.pathname.search("/app"),i._events.emit("master")}}:t.default=t.MasterSlave=i={_events:new o.default,broadcastHandle:null,tryMasterHandle:null,masterId:null,authIdentity:null,debugFlag:!1,_debug:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i.debugFlag&&window.console&&window.console.debug.apply(window,e)},_becomeMaster:function(){i._debug("become master"),i.masterId=a.Broadcast.selfId,i._sendBroadcast(),i._events.emit("master")},_becomeDeadman:function(){i._debug("become deadman"),i.isMaster()&&(i.masterId=0,clearTimeout(i.broadcastHandle),a.Broadcast.post("master_resign",{})),a.Broadcast.off("master_broadcast"),a.Broadcast.off("master_resign"),i._events.emit("deadman")},_sendBroadcast:function(){i.isMaster()&&(i.isAuthChanged()?i._becomeDeadman():(i._debug("master broadcast",a.Broadcast.selfId),clearTimeout(i.broadcastHandle),i.broadcastHandle=setTimeout(i._sendBroadcast,1200),a.Broadcast.post("master_broadcast",{})))},_tryBecomeMaster:function(e){var t=(e||0)+Math.round(500*Math.random());i._debug("_tryBecomeMaster",e),clearTimeout(i.tryMasterHandle),i.isAuthChanged()?i._becomeDeadman():i.tryMasterHandle=setTimeout(i._becomeMaster,t)},_acceptMaster:function(e){(!i.isMaster()||e.sender<a.Broadcast.selfId)&&(i._debug("accept master",e.sender),i.isMaster()&&i._events.emit("slave"),i.masterId=e.sender,clearTimeout(i.broadcastHandle),clearTimeout(i.tryMasterHandle),i._tryBecomeMaster(5e3))},isMaster:function(){return i.masterId===a.Broadcast.selfId},isAuthChanged:function(){return!!i.authIdentityGetter&&i.authIdentity!==i.authIdentityGetter()},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(e){i.authIdentityGetter=e,e&&(i.authIdentity=e()),a.Broadcast.on("master_broadcast",i._acceptMaster),a.Broadcast.on("master_resign",i._tryBecomeMaster),window.addEventListener("unload",i._becomeDeadman,!1),i._tryBecomeMaster(2e3)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){l(),document.removeEventListener("DOMContentLoaded",e)})):l()},638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tmrStopTimespent=t.tmrStartTimespent=t.tmrPushTimespent=t.TimespentEventTypes=t.HostsActivityID=void 0;var i,o,a=n(872);!function(e){e.GamePage="68",e.Catalog="69",e.GOF="70",e.Community="71",e.Profile="72",e.Support="74"}(i=t.HostsActivityID||(t.HostsActivityID={})),function(e){e.Start="startForegroundTimespent",e.Stop="stopTimespent"}(o=t.TimespentEventTypes||(t.TimespentEventTypes={}));var s="3252498",l="showcase_timespent_started",c=function(){try{return window.localStorage.getItem(l)}catch(e){return r.error("Error getting timespent status:",e),null}},u=function(e){try{e?window.localStorage.setItem(l,e):window.localStorage.removeItem(l)}catch(e){r.error("Error setting timespent:",e)}};t.tmrPushTimespent=function(e,t){var n=window.location,l=n.hostname,c=n.pathname,d=l===(0,a.getGemHost)("store"),p=l===(0,a.getGemHost)("gof"),f=l===(0,a.getGemHost)("community"),h=l===(0,a.getGemHost)("profile"),m=l===(0,a.getGemHost)("support"),g=d&&(c.includes("/play/game/")||c.includes("/gamecenter/game")),v=d&&c.includes("/play/")&&!(c.includes("/play/game/")||c.includes("/play/my/")||c.includes("/play/promo/")||c.includes("/play/market/")||c.includes("/play/code/")),y=g?i.GamePage:v?i.Catalog:p?i.GOF:f?i.Community:h?i.Profile:m?i.Support:"",b=t||y;t&&t===y||(e===o.Start?u(b):u(),""!==b&&((window._tmr||(window._tmr=[])).push({id:s,type:e,activity:b}),r.log("â± tmr event sent:",e,s,"siteId: ".concat(b))))},t.tmrStartTimespent=function(e){var n=e?c():null;(0,t.tmrPushTimespent)(o.Start,n)},t.tmrStopTimespent=function(){var e=c();e&&(0,t.tmrPushTimespent)(o.Stop,e)}},872:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.origin_by_login=t.isCorpUser=t.isMyGamesEmail=t.isMailRuEmail=t.isMobile=t.isProduction=t.isMacGC=t.isMac=t.isWindows=t.inGamecenter=t.getAuthHost=t.getGemHost=t.hostname_rgx=t.domain_rgx=t.API_DOMAIN=t.DOMAIN=t.isVkPlayMedia=t.isGCUserAgent=t.isChatPage=t.isGm3=t.isGm2=t.isAtTest=t.isMyCom=t.isMailRu=t.isDevDomain=t.isGMR=t.isGem=t.isAstrum=t.isMyGames=t.isVkPlay=t.isVkPlayLive=t.isVkPlayRu=t.isDevVkPlay=t.isDevMyGames=t.isDevGem=t.isProductionMode=t.isDevMode=t.VKPLAY_DEV_DOMAIN=t.VKPLAY_LIVE_DOMAIN=t.VKPLAY_DOMAIN=t.SUPPORT_DOMAIN=t.MYCOM_DOMAIN=t.MAILRU_DOMAIN=t.GMR_GM_HOST=t.GMR_GM3_DOMAIN=t.GMR_GM2_DOMAIN=t.GMR_DOMAIN=t.ASTRUM_DOMAIN=t.MYGAMES_DEV_DOMAIN=t.MYGAMES_DOMAIN=void 0,t.getShortLocale=t.isOpenForWorld=t.calculateAge=t.setScriptTag=t.setLinkTag=t.openGameProfileURL=t.createGCGameURL=t.openUserProfileURL=t.openURL=t.getUserProfileURL=t.decodeEntities=t.allowCloud=t.isCis=t.CIS_REGIONS=t.copyTextToClipboard=t.copyTextToClipboardIE11=t.createCallLastDecorator=t.createDebounceDecorator=t.createThrottlingDecorator=t.getRandomInt=t.formatPrice=t.formatNumber=t.humanFileSize=t.isValidDate=t.resizePic=t.declineNum=t.qsStringify=t.query_string=t.htmlUnescape=t.htmlEscape=t.setCookie=t.getCookie=t.triggerPixel=t.safeUrl=t.absoluteUrl=t.buildGcHttpUrl=t.getGoogleCID=t.rbClick=t.rbShow=t.openGCUrl=t.build_url=t.build_api_url=t.showSignupBlock=t.showAuthBlock=t.isMyGamesApp=t.Domains=t.getShards=void 0;var i=/^[^@]+@(mail\.ru|xmail\.ru|list\.ru|inbox\.ru|bk\.ru|internet\.ru|corp\.mail\.ru|mail\.ua|vk\.com|vk\.team|vkteam\.ru|vk\.ru|corp\.vk\.ru|corp\.my\.com)$/,o=/^[^@]+@(corp\.mail.ru|corp\.vk\.com|vk\.team|vkteam\.ru)$/,a=/^[^@]+@(my\.games|guestmg(?:0[1-4])?\.pro)$/;t.MYGAMES_DOMAIN="my.games",t.MYGAMES_DEV_DOMAIN="dev-my.games",t.ASTRUM_DOMAIN="astrum.top",t.GMR_DOMAIN="games.mail.ru",t.GMR_GM2_DOMAIN="games.gm2.corp.mail.ru",t.GMR_GM3_DOMAIN="games.gm3.corp.mail.ru",t.GMR_GM_HOST=document.domain.match(/gm\d/),t.MAILRU_DOMAIN="mail.ru",t.MYCOM_DOMAIN="my.com",t.SUPPORT_DOMAIN="support.my.games",t.VKPLAY_DOMAIN="vkplay.ru",t.VKPLAY_LIVE_DOMAIN="vkplay.live",t.VKPLAY_DEV_DOMAIN="dev-vkplay.ru",t.isDevMode=function(){return!1},t.isProductionMode=!0,t.isDevGem=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN)||document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isDevMyGames=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN),t.isDevVkPlay=document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isVkPlayRu=document.domain.endsWith(t.VKPLAY_DOMAIN),t.isVkPlayLive=document.domain.endsWith(t.VKPLAY_LIVE_DOMAIN),t.isVkPlay=t.isVkPlayRu||t.isVkPlayLive||window.isVkp,t.isMyGames=document.domain.endsWith(t.MYGAMES_DOMAIN),t.isAstrum=document.domain.endsWith(t.ASTRUM_DOMAIN),t.isGem=t.isMyGames||t.isVkPlay,t.isGMR=document.domain.endsWith(t.GMR_DOMAIN)||document.domain.endsWith(t.GMR_GM2_DOMAIN)||document.domain.endsWith(t.GMR_GM3_DOMAIN),t.isDevDomain=t.isDevGem&&t.isGem,t.isMailRu=document.domain.endsWith(t.MAILRU_DOMAIN),t.isMyCom=document.domain.endsWith(t.MYCOM_DOMAIN),t.isAtTest="1"===h("at_test"),t.isGm2=location.origin.includes("gm2"),t.isGm3=location.origin.includes("gm3"),t.isChatPage=location.pathname.includes("/chat"),t.isGCUserAgent=navigator.userAgent.match(/\bDownloader\/\d+\b/);var s,l,c=location.pathname.includes("/gamecenter/")||location.search.includes("in_gamecenter=1");function u(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n=window.location.hostname.endsWith("dev-vkplay.ru")?t.hostname_rgx.exec("store.dev-vkplay.ru"):t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[1]||"",i=n[3]||"",o=n[4]||"",a=n[5],s=void 0!==n[3],l=void 0!==n[4],c=!s&&!l;return c&&t.isVkPlay&&"store"===e?a:c&&t.isVkPlay&&"chat"===e?"chat.".concat(a):"".concat(r).concat(e,".").concat(i).concat(o).concat(a)}function d(e){if(e=e||"/",t.isGem){if(e.indexOf("/profile/")>-1)return"//"+u("profile")+e}else if(document.domain.endsWith("corp.mail.ru")){var n=document.domain.split("."),r="games.gm2.corp.mail.ru";return"bonus"===n[0]||"market"===n[0]?"//webcf.waybackmachine.org/web/20240801092516/https://games.mail.ru"+e:"//"+(r=1===n[0].length?n[0]+"."+n[1]+"."+r:n[0]+"."+r)+e}return"//games.mail.ru"+e}function p(e,n){t.inGamecenter&&window.gc_open_url_mainwnd&&(n=n||e.target.href)&&(e.preventDefault(),0===n.indexOf("//")&&(n="https:"+n),window.gc_open_url_mainwnd(n))}function f(e){return e.startsWith("//")?e=document.location.protocol+e:/^https?:\/\//i.test(e)||(e=document.location.origin+e),e}function h(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}function m(e){for(var t={},n=(e||window.location.search||"").replace(/^[^?]*\?/,"").split("&"),r=0;r<n.length;r++){var i=n[r],o=i.indexOf("="),a=decodeURIComponent(i.substr(0,o));a&&(t[a]=decodeURIComponent(i.substr(o+1)))}return t}function g(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=t.addQueryPrefix,r=void 0!==n&&n;return"object"==typeof e?Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&""!==e[n]&&null!==e[n]&&(r&&0===t.length?t+="?":(r&&t.length>0||t.length>0)&&(t+="&"),t+="".concat(n,"=").concat(encodeURIComponent(e[n]))),t}),""):""}function v(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}function y(e,t){var n=t.decimalSignType,r=void 0===n?"point":n,i=t.postfix,o=void 0===i?"":i,a=t.prefix,s=void 0===a?"":a,l=t.separateThousandsWith,c=e.toString();return"comma"===r&&(c=c.replace(".",",")),l&&(c=c.replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1".concat(l))),"".concat(s).concat(c).concat(o)}t.isVkPlayMedia=document.domain.includes("media."),t.DOMAIN=t.isDevMyGames?t.MYGAMES_DEV_DOMAIN:t.isDevVkPlay?t.VKPLAY_DEV_DOMAIN:t.isVkPlay?t.VKPLAY_DOMAIN:t.isMailRu?t.MAILRU_DOMAIN:t.isMyGames?t.MYGAMES_DOMAIN:t.isMyCom?t.MYCOM_DOMAIN:t.isAstrum?t.ASTRUM_DOMAIN:t.VKPLAY_DOMAIN,t.API_DOMAIN="api.".concat(t.DOMAIN),t.domain_rgx=new RegExp("^https?://([^/]+.)?".concat(t.DOMAIN)),t.hostname_rgx=new RegExp("^([^.]+-)?(?:([^.-]+).)?((?:gm[123]|test[12]).)?(dev-)?(my.games|vkplay.ru|astrum.top)$"),t.getGemHost=u,t.getAuthHost=function(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n=window.location.hostname.endsWith("dev-vkplay.ru")?t.hostname_rgx.exec("store.dev-vkplay.ru"):t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[4]||"",i=n[5];return"".concat(e,".").concat(r).concat(i)},t.inGamecenter=!(window.location.pathname.indexOf("/gamecenter/download")>-1)&&(c||t.isGCUserAgent||window.IN_GAMECENTER),t.isWindows=navigator.platform.toLowerCase().indexOf("win")>-1,t.isMac=/Macintosh/i.test(navigator.userAgent),t.isMacGC=t.inGamecenter&&t.isMac,t.isProduction=t.isGem&&!t.isGm2||document.domain.endsWith(t.GMR_DOMAIN)||"games.my.com"===document.domain,t.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t.isMailRuEmail=function(e){return i.test(e)},t.isMyGamesEmail=function(e){return a.test(e)},t.isCorpUser=function(e){return o.test(e)},t.origin_by_login=function(e){return e?(0,t.isMailRuEmail)(e)?"mailru":e.endsWith("@vk")?"vk":e.endsWith("@ok")?"ok":isNaN(e)?e.endsWith("@facebook")?"fb":e.endsWith("@twitter")?"tw":e.endsWith("@discord")?"ds":e.endsWith("@google")?"g":e.endsWith("@steam")?"steam":e.endsWith("@twitch")?"twitch":e.endsWith("@hitbox")?"hitbox":e.endsWith("@ps")?"ps":e.endsWith("@xbox")?"xbox":e.endsWith("@apple")?"apple":e.endsWith("@eg")?"eg":e.endsWith("@pl")?"pl":e.endsWith("@ns")?"ns":(0,t.isMyGamesEmail)(e)?"mygames":e.indexOf("@")>0?"e":void r.error("unknown origin for login: '".concat(e,"'")):"p":""},t.getShards=function(){return t.isGem?(n=["ws0.".concat(t.API_DOMAIN)],r=["ws0.gm2.".concat(t.DOMAIN),"ws1.gm2.".concat(t.DOMAIN)],i=["ws0.gm3.".concat(t.DOMAIN)],o=["wss0.".concat(t.API_DOMAIN),"wss1.".concat(t.API_DOMAIN),"wss2.".concat(t.API_DOMAIN),"wss3.".concat(t.API_DOMAIN),"wss4.".concat(t.API_DOMAIN),"wss5.".concat(t.API_DOMAIN)],a=["eu-ws0.".concat(t.API_DOMAIN),"eu-ws1.".concat(t.API_DOMAIN),"eu-ws2.".concat(t.API_DOMAIN),"eu-ws3.".concat(t.API_DOMAIN),"eu-ws4.".concat(t.API_DOMAIN),"eu-ws5.".concat(t.API_DOMAIN)],t.isDevGem?t.isGm3?i:n:t.isProduction?t.isMyGames?a:o:r):(e=["ws0.".concat(t.GMR_DOMAIN),"ws1.".concat(t.GMR_DOMAIN),"ws2.".concat(t.GMR_DOMAIN),"ws3.".concat(t.GMR_DOMAIN),"ws4.".concat(t.GMR_DOMAIN),"ws5.".concat(t.GMR_DOMAIN)],t.isProduction?e:["ws0.games.gm2.corp.mail.ru","ws1.games.gm2.corp.mail.ru"]);var e,n,r,i,o,a},t.Domains={wsd:(0,t.getShards)()},t.isMyGamesApp=(s=navigator.userAgent,l=m(),s.indexOf("com.my.mygamesapp")>-1||"1"===l.is_mygames_app),t.showAuthBlock=function(e){window.__GEMS&&e&&(window.__GEMS.continue=e),t.isMyGamesApp?messageHandler.postMessage("LOGIN"):t.inGamecenter?window.gc_show_auth_window&&window.gc_show_auth_window():t.isMyCom?window.__GMC&&window.__GMC.showLogin():t.isGem?window.__GEM&&window.__GEM.showLogin(e):t.isAtTest&&window.__GMR_HEADER&&window.__GMR_HEADER.showSignIn?window.__GMR_HEADER.showSignIn(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.showSignupBlock=function(e){t.isMyCom?window.__GMC&&window.__GMC.showSignup():t.isGem?window.__GEM&&window.__GEM.showSignup(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.build_api_url=function(e){e=e||"/";var n=document.domain.replace(/^m([-.])/,"");if(n.endsWith("my.com"))return n.endsWith("dev.my.com")?"//webcf.waybackmachine.org/web/20240801092516/https://api-"+n+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.my.com"+e;if(n.endsWith("corp.mail.ru")){var r=document.domain.split(".")[0];return"//".concat(r,"-api.games.").concat(t.GMR_GM_HOST,".corp.mail.ru").concat(e)}return n.endsWith("dev-my.games")?"//webcf.waybackmachine.org/web/20240801092516/https://api.dev-my.games".concat(e):t.isGem?"//"+u("api")+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.mail.ru"+e},t.build_url=d,t.openGCUrl=p,t.rbShow=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/d"+e+".gif?rnd="+Math.random()},t.rbClick=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/sb"+e+".gif?rnd="+Math.random()},t.getGoogleCID=function(e){void 0===e&&(e=h("_ga"));var t=e.match(/(\d+\.\d+)$/);return t?t[1]:void 0},t.buildGcHttpUrl=function(e){return void 0===e&&(e=""),"mailrugames://urlhttps/games.mail.ru"+e},t.absoluteUrl=f,t.safeUrl=function(e){return e&&(0===(e=f(e)).search(t.domain_rgx)||e.startsWith(window.location.origin))?e:""},t.triggerPixel=function(e){var t,n;if(e&&""!==e){var r=e.indexOf("?")>-1?"&rnd=":"?rnd=",i=window.gem_cookiebot_loaded;(!i||i&&(null===(n=null===(t=window.Cookiebot)||void 0===t?void 0:t.consent)||void 0===n?void 0:n.statistics))&&((new Image).src=e+r+Math.random())}},t.getCookie=h,t.setCookie=function(e,t,n){void 0===n&&(n={});var r=(n=n||{}).expires;if("number"==typeof r&&r){var i=new Date;i.setTime(i.getTime()+1e3*r),r=n.expires=i}r&&r.toUTCString&&(n.expires=r.toUTCString());var o=e+"="+(t=encodeURIComponent(t));for(var a in n)if(n[a]){var s=n[a];o+="; "+a,!0!==s&&(o+="="+s)}document.cookie=o},t.htmlEscape=function(e){return void 0===e&&(e=""),e.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/&/g,"&")},t.htmlUnescape=function(e){return void 0===e&&(e=""),e.replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/&/g,"&")},t.query_string=m,t.qsStringify=g,t.declineNum=function(e,t,n,r){var i;return e%100==11||e%100==12||e%100==13||e%100==14?i=r:e%10==1?i=t:e%10>=2&&e%10<=4?i=n:(e%10==0||e%10>=5&&e%10<=9)&&(i=r),i},t.resizePic=function(e,t){var r;void 0===t&&(t={});var i=t.method||"crop",o=t.quality,a=void 0===o?85:o,s=t.format,l=t.blur,c=t.feather,u=t.color,d=g(n(n(n(n(n({},!isNaN(a)&&a<100&&{quality:a}),s&&{format:s}),l&&{feather_blur:l}),c&&{feather:c}),u&&{feather_color:u}));if(r=t&&(t.width||t.height)?t.width+"x"+t.height:"big2",e)return(e+=d.length>0?(e.includes("?")?"&":"?")+d:"").indexOf("/hotbox/")>-1?e=e.replace("/hotbox/","/pre_".concat(r,"_").concat(i,"/hotbox/")):e.indexOf("/pic/")>-1&&(e=e.replace("/pic/","/pre_".concat(r,"_").concat(i,"/pic/"))),e},t.isValidDate=v,t.humanFileSize=function(e,t,n){void 0===t&&(t={});var r=0;if(t){for(var i=n?1e3:1024;e>1e3;)e/=i,r++;return e.toFixed(1)+" "+t[r]}},t.formatNumber=y;var b,w={USD:{separateThousandsWith:" ",prefix:"$"},EUR:{separateThousandsWith:" ",prefix:"€"},RUB:{separateThousandsWith:" ",decimalSignType:"comma",postfix:" ₽"}};t.formatPrice=function(e,t){return w[t]?y(e,w[t]):null},t.getRandomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e},t.createThrottlingDecorator=function(e,t){void 0===t&&(t=1e3);var n,r,i=!1;return function o(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(i)return n=a,void(r=this);e.apply(void 0,a),i=!0,setTimeout((function(){i=!1,n&&(o.apply(r,n),n=r=null)}),t)}},t.createDebounceDecorator=function(e,t){void 0===t&&(t=1e3);var n=!1;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n||(e.apply(void 0,r),n=!0,setTimeout((function(){return n=!1}),t))}},t.createCallLastDecorator=function(e,t){void 0===t&&(t=1e3);var n=null;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,r)}),t)}},t.copyTextToClipboardIE11=function(e,t){var n=document.createElement("textarea");n.value=e,n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.position="fixed",document.body.appendChild(n),n.select(),n.setSelectionRange(0,99999),document.execCommand("copy"),t&&t(),document.body.removeChild(n)},t.copyTextToClipboard=function(e,n){window.gc_clipboard_copy?(window.gc_clipboard_copy(e),n&&n()):navigator.clipboard?navigator.clipboard.writeText(e).then(n).catch((function(){return(0,t.copyTextToClipboardIE11)(e,n)})):(0,t.copyTextToClipboardIE11)(e,n)},t.CIS_REGIONS=["398","219","215","201","29","28","34","191","188","17","33","16","196","467"],t.isCis=function(){var e;return t.CIS_REGIONS.includes((null===(e=window.__GEMS)||void 0===e?void 0:e.country_id)||window.country_id)},t.allowCloud=function(e){var n,r;void 0===e&&(e={});var i=e.login&&(0,t.isCorpUser)(e.login),o=t.isGem?null===(n=window.__GEMS)||void 0===n?void 0:n.country_id:null===(r=window.gmrGeo)||void 0===r?void 0:r.country_id,a=t.CIS_REGIONS.includes(o);return i||a},t.decodeEntities=(b=document.createElement("div"),function(e){void 0===e&&(e="");var t=e;return t=(t=(t=t.replace(/<br\s*[\/]?>/gi,"\n")).replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")).replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),b.innerHTML=t,t=b.textContent,b.textContent="",t}),t.getUserProfileURL=function(e){return d("".concat(t.inGamecenter&&!t.isGem?"/gamecenter":"","/profile/").concat(e))},t.openURL=function(e,n){t.inGamecenter?p(e,n):window.open(n,"_blank","noopener,noreferrer")},t.openUserProfileURL=function(e,n){var r=(0,t.getUserProfileURL)(n);(0,t.openURL)(e,r)},t.createGCGameURL=function(e){return"mailrugames://show/".concat(e)},t.openGameProfileURL=function(e,n){t.inGamecenter?p(e,(0,t.createGCGameURL)(n.gc_id)):(0,t.openURL)(e,n.url)},t.setLinkTag=function(e){return new Promise((function(t,n){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=function(){return t()},r.onerror=function(){return n()},document.head.appendChild(r)}))},t.setScriptTag=function(e){var t=e.src,n=e.inlineScript,r=e.onload,i=e.data,o=e.async,a=e.prepend,s=e.id,l=e.setToHead,c=document.createElement("script"),u=l?document.head:document.body;if(c.type="text/javascript",c.onload=r,!s||(c.id=s,!document.getElementById(s))){if(t&&(c.src=t),o&&(c.async=!0),i&&Object.keys(i).map((function(e){c.setAttribute(["data-".concat(e)],i[e])})),n){var d=document.createTextNode(n);c.appendChild(d)}a?u.prepend(c):u.appendChild(c)}},t.calculateAge=function(e){void 0===e&&(e="");var t=new Date(e);if(!v(t))return r.warn("Age calculation error: invalid date"),null;var n=new Date,i=n.getMonth()-t.getMonth(),o=n.getFullYear()-t.getFullYear();return(i<0||0===i&&n.getDate()<t.getDate())&&o--,o},t.isOpenForWorld=function(e){var t=["188","201"].includes(e);return!(!e||t)},t.getShortLocale=function(e){var n=t.isMyGames?"en":"ru",r=e.replace("-","_"),i=r.split("_")[0];return["zh_CN","zh_TW","pt_BR"].includes(r)&&(i=r.split("_")[1].toLowerCase()),null!=i?i:n}},287:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.WSD=void 0;var i=r(n(7)),o=n(747),a=n(63),s=n(318),l={id:null,properShardNumber:NaN,CODE_CID_DUP:4001,CODE_RESHARD:4002,CODE_NO_AUTH:4003,socket:null,reconnectHandle:null,errorTimeout:2e3,minErrorTimeout:2e3,maxErrorTimeout:3e5,minPageReloadInterval:36e5,reopens:0,opened:!1,events:new i.default,_log:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).log.apply(e,t)},_debug:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).debug.apply(e,t)},_error:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).error.apply(e,t)},on:function(e,t){l.events.on(e,t)},off:function(e,t){t?l.events.removeListener(e,t):l.events.removeAllListeners(e)},getShard:function(){var e;return e=isNaN(l.properShardNumber)?o.HashUtils.getShard(String(l.id),l.shards.length):l.properShardNumber,l.shards[e]},getCid:function(){var e=window.localStorage.getItem("ws_cid");return e||(e=String(Math.round(4294967295*Math.random())),window.localStorage.setItem("ws_cid",e)),e},getUrl:function(){var e=l.getShard(),t=l.getCid();return((window.location.protocol||"").match("^https")?"wss":"ws")+"://"+e+"?cid="+encodeURIComponent(t)},onWebsocketOpen:function(e){l._debug("[ws] opened",e),l.emitOpen(),s.Broadcast.post("ws",{type:"open"})},onWebsocketClose:function(e){if(l._debug("[ws] closed","code:",e.code,"reason:",e.reason,"wasClean:",e.wasClean),l.emitClose(),s.Broadcast.post("ws",{type:"close"}),l.socket=null,e.wasClean)switch(e.code){case l.CODE_CID_DUP:window.localStorage.removeItem("ws_cid"),l.reconnect();break;case l.CODE_RESHARD:var t=parseInt(e.reason);if(l._debug("[ws] reshard","new:",t,"prev:",l.properShardNumber),!isNaN(t))if(isNaN(l.properShardNumber))l.properShardNumber=t,l.reconnect();else{var n=parseInt(window.localStorage.getItem("ws_last_reload_ts")),r=(new Date).getTime();(!n||r-n>l.minPageReloadInterval)&&l.pageReload()}break;case l.CODE_NO_AUTH:window.gc_renew_cookie&&window.gc_renew_cookie(),document.body.className+=" no_auth",l.reconnect(!0);break;default:return void(l.errorTimeout=l.minErrorTimeout)}else l.reconnect(!0)},onWebsocketMessage:function(e){var t=e.data;l.emitMessage(t),s.Broadcast.post("ws",{type:"message",message:t})},onCrossTabMessage:function(e){switch(e.type){case"message":l.emitMessage(e.message);break;case"open":l.emitOpen();break;case"close":l.emitClose();break;default:l._error("unknown broadcast message",e)}},emitMessage:function(e){e=JSON.parse(e),l._debug("[ws] message",e),l.events.emit("message",e)},emitOpen:function(){l.events.emit("open",l.reopens),l.reopens+=1,l.opened=!0},emitClose:function(){l.events.emit("close"),l.opened=!1},isOpened:function(){return l.opened},pageReload:function(){var e=(new Date).getTime();window.localStorage.setItem("ws_last_reload_ts",String(e)),window.location.reload()},connect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.close(),l.socket=null);try{l.socket=new WebSocket(l.getUrl()),l.socket.onopen=function(e){l.onWebsocketOpen(e)},l.socket.onclose=function(e){l.onWebsocketClose(e)},l.socket.onerror=function(e){l._error("[ws] error",e)},l.socket.onmessage=function(e){l.onWebsocketMessage(e)}}catch(e){l._error("[ws] error",e)}},reconnect:function(e){if(clearTimeout(l.reconnectHandle),e){l.errorTimeout===l.maxErrorTimeout&&l.pageReload(),l.errorTimeout=Math.min(l.maxErrorTimeout,2*l.errorTimeout);var t=Math.round(l.errorTimeout*(.75+Math.random()/2));l.reconnectHandle=setTimeout(l.connect,t)}else l.reconnectHandle=setTimeout(l.connect)},disconnect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.onopen=null,l.socket.onclose=null,l.socket.onerror=null,l.socket.onmessage=null,l.socket.close(),l.socket=null)},becomeMaster:function(){l._debug("[ws] is master"),s.Broadcast.off("ws",l.onCrossTabMessage),l.connect()},becomeSlave:function(){l._debug("[ws] is slave"),l.disconnect(),s.Broadcast.on("ws",l.onCrossTabMessage)},becomeDeadman:function(){l._debug("[ws] is deadman"),l.disconnect(),s.Broadcast.off("ws",l.onCrossTabMessage)},init:function(e,t){window.WebSocket&&e?(l.id=e,l.shards=t,a.MasterSlave.on("master",l.becomeMaster),a.MasterSlave.on("slave",l.becomeSlave),a.MasterSlave.on("deadman",l.becomeDeadman),a.MasterSlave.isMaster()?l.becomeMaster():l.becomeSlave()):l._error("[ws] is not inited, id=",e)}};t.WSD=l,t.default=l}},n={},i=function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r].call(o.exports,o,o.exports,e),o.exports}(156);e.exports=i}()},14890:function(e,t,n){var r,i=n(25108);self,r=(e,t)=>(()=>{var n={783:e=>{var t,n,r;t={187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,i)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var o,a,s,u;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=c(e))>0&&s.length>o&&!s.warned){s.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=s.length,u=d,i&&i.warn&&i.warn(u)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=m(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},a.prototype.addListener=function(e,t){return u(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return u(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},144:function(e,t){var n,r;n=function(e,t){"use strict";function n(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,o=t.timeout||5e3,a=t.jsonpCallback||"callback",s=void 0;return new Promise((function(l,c){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),d=a+"_"+u;window[u]=function(e){l({ok:!0,json:function(){return Promise.resolve(e)}}),s&&clearTimeout(s),r(d),n(u)},i+=-1===i.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+i+a+"="+u),t.charset&&p.setAttribute("charset",t.charset),t.nonce&&p.setAttribute("nonce",t.nonce),t.referrerPolicy&&p.setAttribute("referrerPolicy",t.referrerPolicy),p.id=d,document.getElementsByTagName("head")[0].appendChild(p),s=setTimeout((function(){c(new Error("JSONP request to "+e+" timed out")),n(u),r(d),window[u]=function(){n(u)}}),o),p.onerror=function(){c(new Error("JSONP request to "+e+" failed")),n(u),r(d),s&&clearTimeout(s)}}))}},void 0===(r=n.apply(t,[t,e]))||(e.exports=r)},607:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(999),t)},111:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.get_csrf_jwt_token=t.Backend=void 0;var o,a=i(n(144)),s=n(945);function l(){return window.CSRF_TOKEN?window.CSRF_TOKEN:(0,s.getCookie)("csrftoken")||""}!function(e){e.get="GET",e.post="POST",e.put="PUT",e.delete="DELETE",e.patch="PATCH"}(o||(o={}));var c=function(e){void 0===e&&(e={});var t="";Object.keys(e).forEach((function(n){var r=e[n];Array.isArray(r)&&(r.forEach((function(e){t+="&".concat(n,"=").concat(e)})),delete e[n])}));var n=(0,s.qsStringify)(e);return 0===n.length&&t.replace("&",""),n+t},u=function(e){return Object.keys(e).forEach((function(t){null==e[t]&&delete e[t]})),e},d=function(e,t,n,i,a){void 0===t&&(t=o.get),void 0===n&&(n={});var s=t===o.get,l=t===o.delete,d=n.body,p=null==d?void 0:d.isJSON,f=d&&d instanceof FormData,h=n.headers;(null==d?void 0:d.headers)&&(h=r(r({},h),d.headers),delete d.headers);var m=r({},(!s||h)&&{headers:r(r({},!f&&{"Content-Type":p?"application/json":"application/x-www-form-urlencoded"}),h)});return(n=u(n)).body&&(n.body=u(n.body)),p&&delete n.body.isJSON,s?(delete n.headers,Object.keys(n).length>0&&(e+=(e.includes("?")?"&":"?")+c(n))):m.body=f?d:p?JSON.stringify(d):c(d),fetch(e,r({method:t,credentials:i?"omit":"include"},m)).then((function(e){if(e.ok){var t=e.headers.get("content-type")||"";return a?{response:e,encoding:t.split("charset=")[1]||"utf-8"}:l?e.text():e.json()}return Promise.reject(e)})).catch((function(e){return Promise.reject(e)}))},p=function(e,t,n,r){return d(e,o.get,t,n,r).then((function(e){return e}))},f=function(e,t,n){return d(e,o.post,t,n).then((function(e){return e}))},h=function(e,t,n){return d(e,o.put,t,n).then((function(e){return e}))},m=function(e,t,n){return d(e,o.delete,t,n).then((function(e){return e}))},g=!1;function v(e,t,n,r){return function(i){i?8018===i.code?function(){if(g)return e(n,r),!1;var i="//".concat((0,s.getAuthHost)("auth-ac"),"/sdc"),o="callback"+((new Date).valueOf()+Math.floor(1e3*Math.random()));(0,a.default)("".concat(i,"?from=").concat((0,s.absoluteUrl)(t)),{timeout:1e4,jsonpCallback:"JSONP_call",jsonpCallbackFunction:o}).then((function(){g=!0,e(n,r)})).catch((function(e){r(e)}))}():n(i):r()}}var y={api_get:function(e,t){return e=(0,s.build_api_url)(e),new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get:function(e,t){return new Promise((function n(r,i){p(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},get_without_cred:function(e,t){return new Promise((function n(r,i){p(e,t,!0).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},api_post:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_patch:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){(function(e,t,n){return d(e,o.patch,t,void 0).then((function(e){return e}))})(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_delete:function(e){return b().then((function(){return e=(0,s.build_api_url)(e),new Promise((function t(n,r){m(e).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},delete:function(e){return b().then((function(t){return new Promise((function n(r,i){m(e,{headers:{"X-CSRFToken":l(),"X-JWTCSRFToken":t}}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},api_put:function(e,t){return b().then((function(n){return e=(0,s.build_api_url)(e),t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){h(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},remote_api_post:function(e,t){return new Promise((function(n,r){f(e,{body:t}).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},doc_get:function(e,t){return new Promise((function(n,r){p(e,t,!0,!0).then((function(e){var t=e.response,i=e.encoding;"utf-8"===i?t.text().then((function(e){e?n(e):r()})):t.arrayBuffer().then((function(e){if(e){var t=new TextDecoder(i);n(t.decode(e))}else r()}))})).catch((function(e){return r(e)}))}))},simple_post:function(e,t){return new Promise((function(n,r){f(e,{body:t},!0).then((function(e){e?n(e):r()})).catch((function(e){return r(e)}))}))},remote_api_get:function(e,t){return new Promise((function(n,r){p(e,t).then((function(e){n(e)})).catch((function(e){return r(e)}))}))},post:function(e,t){return b().then((function(n){return t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},post_formdata:function(e,t,n){var i=n.file,o=n.fileField,a=void 0===o?"filedata":o;return b().then((function(n){var o=new FormData;for(var s in t=r({csrfmiddlewaretoken:l(),csrfmiddlewaretoken_jwt:n},t))t[s]&&o.append("".concat(s),"".concat(t[s]));return o.append("".concat(a),i),new Promise((function t(n,r){f(e,{body:o}).then(v(t,e,n,r)).catch((function(e){return r(e)}))}))}))},post_real_formdata:function(e,t){return b().then((function(n){return t.append("csrfmiddlewaretoken",l()),t.append("csrfmiddlewaretoken_jwt",n),new Promise((function n(r,i){f(e,{body:t}).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))}))},put:function(e,t){return new Promise((function n(r,i){h(e,t).then(v(n,e,r,i)).catch((function(e){return i(e)}))}))},jsonp:function(e,t){var n=t;return n="string"!=typeof t?t?"?".concat(new URLSearchParams(t).toString()):"":t?"?".concat(n):"",new Promise((function(t,r){(0,a.default)("".concat(e).concat(n),{timeout:1e4}).then((function(e){return e.json()})).then((function(e){t(e)})).catch((function(e){r(e)}))}))}};function b(){var e=window.__GEMS&&window.__GEMS.token||window.CSRF_JWT_TOKEN;return new Promise((function(t){e||window.__GEMS&&window.__GEMS.no_session?t(e):y.api_get("/social/profile/user_token").then((function(e){"fail"===e.status&&window.__GEMS&&(window.__GEMS.no_session=!0),window.__GEMS&&s.isGem&&(window.__GEMS.token=e.token),window.CSRF_JWT_TOKEN=e.token,t(e.token)}),(function(){return window.__GEMS&&(window.__GEMS.no_session=!0),t("")}))}))}t.Backend=y,t.default=y,t.get_csrf_jwt_token=b},93:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Broadcast=void 0;var o=r(n(187)),a=function(){var e=(new Date).getTime(),t={};try{t=window.localStorage}catch(e){i.error("[broadcast]",e)}var n=new o.default,r=function(t){var r,i=(t.key||"").match(/^broadcast_(.*)$/);if(i){r=i[1];var o=JSON.parse(t.newValue);o.sender!==e&&n.emit(r,o)}};return{selfId:e,post:function(n,r){r.ts=(new Date).getTime(),r.sender=e,t["broadcast_"+n]=JSON.stringify(r)},on:function(e,t){n.on(e,t)},off:function(e,t){t?n.removeListener(e,t):n.removeAllListeners(e)},init:function(){try{t.setItem("test","1"),t.removeItem("test")}catch(e){t={}}window.addEventListener("storage",r,!1)}}}();function s(){a.init()}t.Broadcast=a,t.default=a,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){s(),document.removeEventListener("DOMContentLoaded",e)})):s()},662:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HashUtils=void 0;var n={LongMath:{add64:function(e,t){var n,r={h:e.h+t.h,l:e.l+t.l};return n=r.l/4294967296>>>0,r.l=(4294967295&r.l)>>>0,r.h=(r.h+n&4294967295)>>>0,r},mul64:function(e,t){var n=this.mul32(e.l,t.l),r=this.mul32(e.h,t.l),i=this.mul32(e.l,t.h);return{h:(n.h+r.l+i.l&4294967295)>>>0,l:n.l}},mul32:function(e,t){var n=e>>16&65535,r=65535&e,i=t>>16&65535,o=65535&t,a=r*o,s=n*o,l=r*i,c=(a+(s+l<<16)>>>0&4294967295)>>>0;return{h:n*i+((a+65536*(s+l)-c)/4294967296>>>0),l:c}}},SipHash:function(){function e(e,t){var n=e.l+t.l,r={h:e.h+t.h+(n/2>>>31)>>>0,l:n>>>0};e.h=r.h,e.l=r.l}function t(e,t){e.h^=t.h,e.h>>>=0,e.l^=t.l,e.l>>>=0}function n(e,t){var n={h:e.h<<t|e.l>>>32-t,l:e.l<<t|e.h>>>32-t};e.h=n.h,e.l=n.l}function r(e){var t=e.l;e.l=e.h,e.h=t}function i(i,o,a,s){e(i,o),e(a,s),n(o,13),n(s,16),t(o,i),t(s,a),r(i),e(a,o),e(i,s),n(o,17),n(s,21),t(o,a),t(s,i),r(a)}function o(e,t){return e.charCodeAt(t+3)<<24|e.charCodeAt(t+2)<<16|e.charCodeAt(t+1)<<8|e.charCodeAt(t)}function a(e,n){var r,a={h:e[1]>>>0,l:e[0]>>>0},s={h:e[3]>>>0,l:e[2]>>>0},l={h:a.h,l:a.l},c=a,u={h:s.h,l:s.l},d=s,p=n.length,f=p-7,h=new Uint8Array(new ArrayBuffer(8)),m=0;for(t(l,{h:1936682341,l:1886610805}),t(u,{h:1685025377,l:1852075885}),t(c,{h:1819895653,l:1852142177}),t(d,{h:1952801890,l:2037671283});m<f;)t(d,r={h:o(n,m+4),l:o(n,m)}),i(l,u,c,d),i(l,u,c,d),t(l,r),m+=8;h[7]=p;for(var g=0;m<p;)h[g++]=n.charCodeAt(m++);for(;g<7;)h[g++]=0;t(d,r={h:h[7]<<24|h[6]<<16|h[5]<<8|h[4],l:h[3]<<24|h[2]<<16|h[1]<<8|h[0]}),i(l,u,c,d),i(l,u,c,d),t(l,r),t(c,{h:0,l:255}),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d),i(l,u,c,d);var v=l;return t(v,u),t(v,c),t(v,d),v}return{string16_to_key:function(e){return[o(e,0),o(e,4),o(e,8),o(e,12)]},hash:a,hash_hex:function(e,t){var n=a(e,t);return("0000000"+n.h.toString(16)).substr(-8)+("0000000"+n.l.toString(16)).substr(-8)},hash_uint:function(e,t){var n=a(e,t);return 4294967296*(2097151&n.h)+n.l}}}(),jumphash:function(e,t){for(var r={h:666578662,l:2276503805},i=0,o=-1;i<t;)o=i,e=n.LongMath.mul64(e,r),e=n.LongMath.add64(e,{h:0,l:1}),i=Math.floor((o+1)*(2147483648/(1+(e.h>>>1))));return o},getShard:function(e,t){return n.jumphash(n.SipHash.hash(0,e),t)}};t.HashUtils=n,t.default=n},999:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(402),t),i(n(945),t),i(n(111),t),i(n(93),t),i(n(843),t),i(n(645),t)},843:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MasterSlave=void 0;var i,o=r(n(187)),a=n(93),s=n(945);function l(){i.init()}t.MasterSlave=i,t.default=i,s.inGamecenter?t.default=t.MasterSlave=i={_master:!1,_events:new o.default,isMaster:function(){return this._master},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(){i._master=0===window.location.pathname.search("/gamecenter/chat")||0===window.location.pathname.search("/app"),i._events.emit("master")}}:t.default=t.MasterSlave=i={_events:new o.default,broadcastHandle:null,tryMasterHandle:null,masterId:null,authIdentity:null,debugFlag:!1,_debug:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i.debugFlag&&window.console&&window.console.debug.apply(window,e)},_becomeMaster:function(){i._debug("become master"),i.masterId=a.Broadcast.selfId,i._sendBroadcast(),i._events.emit("master")},_becomeDeadman:function(){i._debug("become deadman"),i.isMaster()&&(i.masterId=0,clearTimeout(i.broadcastHandle),a.Broadcast.post("master_resign",{})),a.Broadcast.off("master_broadcast"),a.Broadcast.off("master_resign"),i._events.emit("deadman")},_sendBroadcast:function(){i.isMaster()&&(i.isAuthChanged()?i._becomeDeadman():(i._debug("master broadcast",a.Broadcast.selfId),clearTimeout(i.broadcastHandle),i.broadcastHandle=setTimeout(i._sendBroadcast,1200),a.Broadcast.post("master_broadcast",{})))},_tryBecomeMaster:function(e){var t=(e||0)+Math.round(500*Math.random());i._debug("_tryBecomeMaster",e),clearTimeout(i.tryMasterHandle),i.isAuthChanged()?i._becomeDeadman():i.tryMasterHandle=setTimeout(i._becomeMaster,t)},_acceptMaster:function(e){(!i.isMaster()||e.sender<a.Broadcast.selfId)&&(i._debug("accept master",e.sender),i.isMaster()&&i._events.emit("slave"),i.masterId=e.sender,clearTimeout(i.broadcastHandle),clearTimeout(i.tryMasterHandle),i._tryBecomeMaster(5e3))},isMaster:function(){return i.masterId===a.Broadcast.selfId},isAuthChanged:function(){return!!i.authIdentityGetter&&i.authIdentity!==i.authIdentityGetter()},on:function(e,t){i._events.on(e,t)},off:function(e,t){t?i._events.removeListener(e,t):i._events.removeAllListeners(e)},init:function(e){i.authIdentityGetter=e,e&&(i.authIdentity=e()),a.Broadcast.on("master_broadcast",i._acceptMaster),a.Broadcast.on("master_resign",i._tryBecomeMaster),window.addEventListener("unload",i._becomeDeadman,!1),i._tryBecomeMaster(2e3)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function e(){l(),document.removeEventListener("DOMContentLoaded",e)})):l()},645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tmrStopTimespent=t.tmrStartTimespent=t.tmrPushTimespent=t.TimespentEventTypes=t.HostsActivityID=void 0;var r,o,a=n(945);!function(e){e.GamePage="68",e.Catalog="69",e.GOF="70",e.Community="71",e.Profile="72",e.Support="74"}(r=t.HostsActivityID||(t.HostsActivityID={})),function(e){e.Start="startForegroundTimespent",e.Stop="stopTimespent"}(o=t.TimespentEventTypes||(t.TimespentEventTypes={}));var s="3252498",l="showcase_timespent_started",c=function(){try{return window.localStorage.getItem(l)}catch(e){return i.error("Error getting timespent status:",e),null}},u=function(e){try{e?window.localStorage.setItem(l,e):window.localStorage.removeItem(l)}catch(e){i.error("Error setting timespent:",e)}};t.tmrPushTimespent=function(e,t){var n=window.location,l=n.hostname,c=n.pathname,d=l===(0,a.getGemHost)("store"),p=l===(0,a.getGemHost)("gof"),f=l===(0,a.getGemHost)("community"),h=l===(0,a.getGemHost)("profile"),m=l===(0,a.getGemHost)("support"),g=d&&(c.includes("/play/game/")||c.includes("/gamecenter/game")),v=d&&c.includes("/play/")&&!(c.includes("/play/game/")||c.includes("/play/my/")||c.includes("/play/promo/")||c.includes("/play/market/")||c.includes("/play/code/")),y=g?r.GamePage:v?r.Catalog:p?r.GOF:f?r.Community:h?r.Profile:m?r.Support:"",b=t||y;t&&t===y||(e===o.Start?u(b):u(),""!==b&&((window._tmr||(window._tmr=[])).push({id:s,type:e,activity:b}),i.log("â± tmr event sent:",e,s,"siteId: ".concat(b))))},t.tmrStartTimespent=function(e){var n=e?c():null;(0,t.tmrPushTimespent)(o.Start,n)},t.tmrStopTimespent=function(){var e=c();e&&(0,t.tmrPushTimespent)(o.Stop,e)}},945:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Domains=t.getShards=t.origin_by_login=t.isCorpUser=t.isMyGamesEmail=t.isMailRuEmail=t.isMobile=t.isProduction=t.isMacGC=t.isMac=t.isWindows=t.inGamecenter=t.getAuthHost=t.getGemHost=t.hostname_rgx=t.domain_rgx=t.API_DOMAIN=t.DOMAIN=t.isVkPlayMedia=t.isGCUserAgent=t.isChatPage=t.isGm3=t.isGm2=t.isAtTest=t.isMyCom=t.isMailRu=t.isDevDomain=t.isGMR=t.isGem=t.isMyGames=t.isVkPlay=t.isVkPlayLive=t.isVkPlayRu=t.isDevVkPlay=t.isDevMyGames=t.isDevGem=t.isProductionMode=t.isDevMode=t.VKPLAY_DEV_DOMAIN=t.VKPLAY_LIVE_DOMAIN=t.VKPLAY_DOMAIN=t.SUPPORT_DOMAIN=t.MYCOM_DOMAIN=t.MAILRU_DOMAIN=t.GMR_GM_HOST=t.GMR_GM3_DOMAIN=t.GMR_GM2_DOMAIN=t.GMR_DOMAIN=t.MYGAMES_DEV_DOMAIN=t.MYGAMES_DOMAIN=void 0,t.isOpenForWorld=t.calculateAge=t.setScriptTag=t.setLinkTag=t.openGameProfileURL=t.createGCGameURL=t.openUserProfileURL=t.openURL=t.getUserProfileURL=t.decodeEntities=t.allowCloud=t.isCis=t.CIS_REGIONS=t.copyTextToClipboard=t.copyTextToClipboardIE11=t.createCallLastDecorator=t.createDebounceDecorator=t.createThrottlingDecorator=t.getRandomInt=t.formatPrice=t.formatNumber=t.humanFileSize=t.isValidDate=t.resizePic=t.declineNum=t.qsStringify=t.query_string=t.htmlUnescape=t.htmlEscape=t.setCookie=t.getCookie=t.triggerPixel=t.safeUrl=t.absoluteUrl=t.buildGcHttpUrl=t.getGoogleCID=t.rbClick=t.rbShow=t.openGCUrl=t.build_url=t.build_api_url=t.showSignupBlock=t.showAuthBlock=t.isMyGamesApp=void 0;var r=/^[^@]+@(mail\.ru|xmail\.ru|list\.ru|inbox\.ru|bk\.ru|internet\.ru|corp\.mail\.ru|mail\.ua|vk\.com|vk\.team|corp\.my\.com)$/,o=/^[^@]+@(corp\.mail.ru|corp\.vk\.com|vk\.team|corp\.my\.com|pixonic\.com|pixonic\.ru|my\.games)$/,a=/^[^@]+@(my\.games|guestmg(?:0[1-4])?\.pro)$/;t.MYGAMES_DOMAIN="my.games",t.MYGAMES_DEV_DOMAIN="dev-my.games",t.GMR_DOMAIN="games.mail.ru",t.GMR_GM2_DOMAIN="games.gm2.corp.mail.ru",t.GMR_GM3_DOMAIN="games.gm3.corp.mail.ru",t.GMR_GM_HOST=document.domain.match(/gm\d/),t.MAILRU_DOMAIN="mail.ru",t.MYCOM_DOMAIN="my.com",t.SUPPORT_DOMAIN="support.my.games",t.VKPLAY_DOMAIN="vkplay.ru",t.VKPLAY_LIVE_DOMAIN="vkplay.live",t.VKPLAY_DEV_DOMAIN="dev-vkplay.ru",t.isDevMode=function(){return!1},t.isProductionMode=!0,t.isDevGem=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN)||document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isDevMyGames=document.domain.endsWith(t.MYGAMES_DEV_DOMAIN),t.isDevVkPlay=document.domain.endsWith(t.VKPLAY_DEV_DOMAIN),t.isVkPlayRu=document.domain.endsWith(t.VKPLAY_DOMAIN),t.isVkPlayLive=document.domain.endsWith(t.VKPLAY_LIVE_DOMAIN),t.isVkPlay=t.isVkPlayRu||t.isVkPlayLive||window.isVkp,t.isMyGames=document.domain.endsWith(t.MYGAMES_DOMAIN),t.isGem=t.isMyGames||t.isVkPlay,t.isGMR=document.domain.endsWith(t.GMR_DOMAIN)||document.domain.endsWith(t.GMR_GM2_DOMAIN)||document.domain.endsWith(t.GMR_GM3_DOMAIN),t.isDevDomain=t.isDevGem&&t.isGem,t.isMailRu=document.domain.endsWith(t.MAILRU_DOMAIN),t.isMyCom=document.domain.endsWith(t.MYCOM_DOMAIN),t.isAtTest="1"===h("at_test"),t.isGm2=location.origin.includes("gm2"),t.isGm3=location.origin.includes("gm3"),t.isChatPage=location.pathname.includes("/chat"),t.isGCUserAgent=navigator.userAgent.match(/\bDownloader\/\d+\b/);var s,l,c=location.pathname.includes("/gamecenter/")||location.search.includes("in_gamecenter=1");function u(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n="dev-vkplay.ru"===window.location.hostname?t.hostname_rgx.exec("store.dev-vkplay.ru"):t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[1]||"",i=n[3]||"",o=n[4]||"",a=n[5],s=void 0!==n[3],l=void 0!==n[4],c=!s&&!l;return c&&t.isVkPlay&&"store"===e?a:c&&t.isVkPlay&&"chat"===e?"chat.".concat(a):"".concat(r).concat(e,".").concat(i).concat(o).concat(a)}function d(e){if(e=e||"/",t.isGem){if(e.indexOf("/profile/")>-1)return"//"+u("profile")+e}else if(document.domain.endsWith("corp.mail.ru")){var n=document.domain.split("."),r="games.gm2.corp.mail.ru";return"bonus"===n[0]||"market"===n[0]?"//webcf.waybackmachine.org/web/20240801092516/https://games.mail.ru"+e:"//"+(r=1===n[0].length?n[0]+"."+n[1]+"."+r:n[0]+"."+r)+e}return"//games.mail.ru"+e}function p(e,n){t.inGamecenter&&window.gc_open_url_mainwnd&&(n=n||e.target.href)&&(e.preventDefault(),0===n.indexOf("//")&&(n="https:"+n),window.gc_open_url_mainwnd(n))}function f(e){return e.startsWith("//")?e=document.location.protocol+e:/^https?:\/\//i.test(e)||(e=document.location.origin+e),e}function h(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}function m(e){for(var t={},n=(e||window.location.search||"").replace(/^[^?]*\?/,"").split("&"),r=0;r<n.length;r++){var i=n[r],o=i.indexOf("="),a=decodeURIComponent(i.substr(0,o));a&&(t[a]=decodeURIComponent(i.substr(o+1)))}return t}function g(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=t.addQueryPrefix,r=void 0!==n&&n;return"object"==typeof e?Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&""!==e[n]&&null!==e[n]&&(r&&0===t.length?t+="?":(r&&t.length>0||t.length>0)&&(t+="&"),t+="".concat(n,"=").concat(encodeURIComponent(e[n]))),t}),""):""}function v(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}function y(e,t){var n=t.decimalSignType,r=void 0===n?"point":n,i=t.postfix,o=void 0===i?"":i,a=t.prefix,s=void 0===a?"":a,l=t.separateThousandsWith,c=e.toString();return"comma"===r&&(c=c.replace(".",",")),l&&(c=c.replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1".concat(l))),"".concat(s).concat(c).concat(o)}t.isVkPlayMedia=document.domain.includes("media."),t.DOMAIN=t.isDevMyGames?t.MYGAMES_DEV_DOMAIN:t.isDevVkPlay?t.VKPLAY_DEV_DOMAIN:t.isVkPlay?t.VKPLAY_DOMAIN:t.isMailRu?t.MAILRU_DOMAIN:t.isMyGames?t.MYGAMES_DOMAIN:t.isMyCom?t.MYCOM_DOMAIN:t.VKPLAY_DOMAIN,t.API_DOMAIN="api.".concat(t.DOMAIN),t.domain_rgx=new RegExp("^https?://([^/]+.)?".concat(t.DOMAIN)),t.hostname_rgx=new RegExp("^([^.]+-)?(?:([^.-]+).)?((?:gm[123]|test[12]).)?(dev-)?(my.games|vkplay.ru|astrum.top)$"),t.getGemHost=u,t.getAuthHost=function(e){var n=t.hostname_rgx.exec(window.location.hostname);n||(n=t.hostname_rgx.exec(t.isVkPlay?t.VKPLAY_DOMAIN:t.MYGAMES_DOMAIN));var r=n[4]||"",i=n[5];return"".concat(e,".").concat(r).concat(i)},t.inGamecenter=!(window.location.pathname.indexOf("/gamecenter/download")>-1)&&(c||t.isGCUserAgent||window.IN_GAMECENTER),t.isWindows=navigator.platform.toLowerCase().indexOf("win")>-1,t.isMac=/Macintosh/i.test(navigator.userAgent),t.isMacGC=t.inGamecenter&&t.isMac,t.isProduction=t.isGem&&!t.isGm2||document.domain.endsWith(t.GMR_DOMAIN)||"games.my.com"===document.domain,t.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t.isMailRuEmail=function(e){return r.test(e)},t.isMyGamesEmail=function(e){return a.test(e)},t.isCorpUser=function(e){return o.test(e)},t.origin_by_login=function(e){return e?(0,t.isMailRuEmail)(e)?"mailru":e.endsWith("@vk")?"vk":e.endsWith("@ok")?"ok":isNaN(e)?e.endsWith("@facebook")?"fb":e.endsWith("@twitter")?"tw":e.endsWith("@google")?"g":e.endsWith("@steam")?"steam":e.endsWith("@twitch")?"twitch":e.endsWith("@hitbox")?"hitbox":e.endsWith("@ps")?"ps":e.endsWith("@xbox")?"xbox":e.endsWith("@apple")?"apple":e.endsWith("@eg")?"eg":e.endsWith("@pl")?"pl":e.endsWith("@ns")?"ns":(0,t.isMyGamesEmail)(e)?"mygames":e.indexOf("@")>0?"e":void i.error("unknown origin for login: '".concat(e,"'")):"p":""},t.getShards=function(){return t.isGem?(n=["ws0.".concat(t.API_DOMAIN)],r=["ws0.gm2.".concat(t.DOMAIN),"ws1.gm2.".concat(t.DOMAIN)],i=["ws0.gm3.".concat(t.DOMAIN)],o=["ws0.".concat(t.API_DOMAIN),"ws1.".concat(t.API_DOMAIN),"ws2.".concat(t.API_DOMAIN),"ws3.".concat(t.API_DOMAIN),"ws4.".concat(t.API_DOMAIN),"ws5.".concat(t.API_DOMAIN)],a=["eu-ws0.".concat(t.API_DOMAIN),"eu-ws1.".concat(t.API_DOMAIN),"eu-ws2.".concat(t.API_DOMAIN),"eu-ws3.".concat(t.API_DOMAIN),"eu-ws4.".concat(t.API_DOMAIN),"eu-ws5.".concat(t.API_DOMAIN)],t.isDevGem?t.isGm3?i:n:t.isProduction?t.isMyGames?a:o:r):(e=["ws0.".concat(t.GMR_DOMAIN),"ws1.".concat(t.GMR_DOMAIN),"ws2.".concat(t.GMR_DOMAIN),"ws3.".concat(t.GMR_DOMAIN),"ws4.".concat(t.GMR_DOMAIN),"ws5.".concat(t.GMR_DOMAIN)],t.isProduction?e:["ws0.games.gm2.corp.mail.ru","ws1.games.gm2.corp.mail.ru"]);var e,n,r,i,o,a},t.Domains={wsd:(0,t.getShards)()},t.isMyGamesApp=(s=navigator.userAgent,l=m(),s.indexOf("com.my.mygamesapp")>-1||"1"===l.is_mygames_app),t.showAuthBlock=function(e){window.__GEMS&&e&&(window.__GEMS.continue=e),t.isMyGamesApp?messageHandler.postMessage("LOGIN"):t.inGamecenter?window.gc_show_auth_window&&window.gc_show_auth_window():t.isMyCom?window.__GMC&&window.__GMC.showLogin():t.isGem?window.__GEM&&window.__GEM.showLogin(e):t.isAtTest&&window.__GMR_HEADER&&window.__GMR_HEADER.showSignIn?window.__GMR_HEADER.showSignIn(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.showSignupBlock=function(e){t.isMyCom?window.__GMC&&window.__GMC.showSignup():t.isGem?window.__GEM&&window.__GEM.showSignup(e):window.__PH&&window.__PH.authForm.show({mobile_redirect:1,successPage:e})},t.build_api_url=function(e){e=e||"/";var n=document.domain.replace(/^m([-.])/,"");if(n.endsWith("my.com"))return n.endsWith("dev.my.com")?"//webcf.waybackmachine.org/web/20240801092516/https://api-"+n+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.my.com"+e;if(n.endsWith("corp.mail.ru")){var r=document.domain.split(".")[0];return"//".concat(r,"-api.games.").concat(t.GMR_GM_HOST,".corp.mail.ru").concat(e)}return n.endsWith("dev-my.games")?"//webcf.waybackmachine.org/web/20240801092516/https://api.dev-my.games".concat(e):t.isGem?"//"+u("api")+e:"//webcf.waybackmachine.org/web/20240801092516/https://api.games.mail.ru"+e},t.build_url=d,t.openGCUrl=p,t.rbShow=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/d"+e+".gif?rnd="+Math.random()},t.rbClick=function(e){e=String(e||"").replace(/^\s*(cl[nb])?/,"").replace(/\s*$/,""),(new Image).src="//webcf.waybackmachine.org/web/20240801092516/https://rs.mail.ru/sb"+e+".gif?rnd="+Math.random()},t.getGoogleCID=function(e){void 0===e&&(e=h("_ga"));var t=e.match(/(\d+\.\d+)$/);return t?t[1]:void 0},t.buildGcHttpUrl=function(e){return void 0===e&&(e=""),"mailrugames://urlhttps/games.mail.ru"+e},t.absoluteUrl=f,t.safeUrl=function(e){return e&&(0===(e=f(e)).search(t.domain_rgx)||e.startsWith(window.location.origin))?e:""},t.triggerPixel=function(e){var t,n;if(e&&""!==e){var r=e.indexOf("?")>-1?"&rnd=":"?rnd=",i=window.gem_cookiebot_loaded;(!i||i&&(null===(n=null===(t=window.Cookiebot)||void 0===t?void 0:t.consent)||void 0===n?void 0:n.statistics))&&((new Image).src=e+r+Math.random())}},t.getCookie=h,t.setCookie=function(e,t,n){void 0===n&&(n={});var r=(n=n||{}).expires;if("number"==typeof r&&r){var i=new Date;i.setTime(i.getTime()+1e3*r),r=n.expires=i}r&&r.toUTCString&&(n.expires=r.toUTCString());var o=e+"="+(t=encodeURIComponent(t));for(var a in n)if(n[a]){var s=n[a];o+="; "+a,!0!==s&&(o+="="+s)}document.cookie=o},t.htmlEscape=function(e){return void 0===e&&(e=""),e.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/&/g,"&")},t.htmlUnescape=function(e){return void 0===e&&(e=""),e.replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/&/g,"&")},t.query_string=m,t.qsStringify=g,t.declineNum=function(e,t,n,r){var i;return e%100==11||e%100==12||e%100==13||e%100==14?i=r:e%10==1?i=t:e%10>=2&&e%10<=4?i=n:(e%10==0||e%10>=5&&e%10<=9)&&(i=r),i},t.resizePic=function(e,t){var r;void 0===t&&(t={});var i=t.method||"crop",o=t.quality,a=void 0===o?85:o,s=t.format,l=t.blur,c=t.feather,u=t.color,d=g(n(n(n(n(n({},!isNaN(a)&&a<100&&{quality:a}),s&&{format:s}),l&&{feather_blur:l}),c&&{feather:c}),u&&{feather_color:u}));if(r=t&&(t.width||t.height)?t.width+"x"+t.height:"big2",e)return(e+=d.length>0?(e.includes("?")?"&":"?")+d:"").indexOf("/hotbox/")>-1?e=e.replace("/hotbox/","/pre_".concat(r,"_").concat(i,"/hotbox/")):e.indexOf("/pic/")>-1&&(e=e.replace("/pic/","/pre_".concat(r,"_").concat(i,"/pic/"))),e},t.isValidDate=v,t.humanFileSize=function(e,t,n){void 0===t&&(t={});var r=0;if(t){for(var i=n?1e3:1024;e>1e3;)e/=i,r++;return e.toFixed(1)+" "+t[r]}},t.formatNumber=y;var b,w={USD:{separateThousandsWith:" ",prefix:"$"},EUR:{separateThousandsWith:" ",prefix:"€"},RUB:{separateThousandsWith:" ",decimalSignType:"comma",postfix:" ₽"}};t.formatPrice=function(e,t){return w[t]?y(e,w[t]):null},t.getRandomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e},t.createThrottlingDecorator=function(e,t){void 0===t&&(t=1e3);var n,r,i=!1;return function o(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];if(i)return n=a,void(r=this);e.apply(void 0,a),i=!0,setTimeout((function(){i=!1,n&&(o.apply(r,n),n=r=null)}),t)}},t.createDebounceDecorator=function(e,t){void 0===t&&(t=1e3);var n=!1;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n||(e.apply(void 0,r),n=!0,setTimeout((function(){return n=!1}),t))}},t.createCallLastDecorator=function(e,t){void 0===t&&(t=1e3);var n=null;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,r)}),t)}},t.copyTextToClipboardIE11=function(e,t){var n=document.createElement("textarea");n.value=e,n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.position="fixed",document.body.appendChild(n),n.select(),n.setSelectionRange(0,99999),document.execCommand("copy"),t&&t(),document.body.removeChild(n)},t.copyTextToClipboard=function(e,n){!t.inGamecenter&&navigator.clipboard?navigator.clipboard.writeText(e).then(n).catch((function(){return(0,t.copyTextToClipboardIE11)(e,n)})):(0,t.copyTextToClipboardIE11)(e,n)},t.CIS_REGIONS=["398","219","215","201","29","28","34","191","188","17","33","16","196","467"],t.isCis=function(){var e;return t.CIS_REGIONS.includes((null===(e=window.__GEMS)||void 0===e?void 0:e.country_id)||window.country_id)},t.allowCloud=function(e){var n,r;void 0===e&&(e={});var i=e.login&&(0,t.isCorpUser)(e.login),o=t.isGem?null===(n=window.__GEMS)||void 0===n?void 0:n.country_id:null===(r=window.gmrGeo)||void 0===r?void 0:r.country_id,a=t.CIS_REGIONS.includes(o);return i||a},t.decodeEntities=(b=document.createElement("div"),function(e){void 0===e&&(e="");var t=e;return t=(t=(t=t.replace(/<br\s*[\/]?>/gi,"\n")).replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")).replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),b.innerHTML=t,t=b.textContent,b.textContent="",t}),t.getUserProfileURL=function(e){return d("".concat(t.inGamecenter&&!t.isGem?"/gamecenter":"","/profile/").concat(e))},t.openURL=function(e,n){t.inGamecenter?p(e,n):window.open(n,"_blank","noopener,noreferrer")},t.openUserProfileURL=function(e,n){var r=(0,t.getUserProfileURL)(n);(0,t.openURL)(e,r)},t.createGCGameURL=function(e){return"mailrugames://show/".concat(e)},t.openGameProfileURL=function(e,n){t.inGamecenter?p(e,(0,t.createGCGameURL)(n.gc_id)):(0,t.openURL)(e,n.url)},t.setLinkTag=function(e){return new Promise((function(t,n){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=function(){return t()},r.onerror=function(){return n()},document.head.appendChild(r)}))},t.setScriptTag=function(e){var t=e.src,n=e.inlineScript,r=e.onload,i=e.data,o=e.async,a=e.prepend,s=e.id,l=e.setToHead,c=document.createElement("script"),u=l?document.head:document.body;if(c.type="text/javascript",c.onload=r,!s||(c.id=s,!document.getElementById(s))){if(t&&(c.src=t),o&&(c.async=!0),i&&Object.keys(i).map((function(e){c.setAttribute(["data-".concat(e)],i[e])})),n){var d=document.createTextNode(n);c.appendChild(d)}a?u.prepend(c):u.appendChild(c)}},t.calculateAge=function(e){void 0===e&&(e="");var t=new Date(e);if(!v(t))return i.warn("Age calculation error: invalid date"),null;var n=new Date,r=n.getMonth()-t.getMonth(),o=n.getFullYear()-t.getFullYear();return(r<0||0===r&&n.getDate()<t.getDate())&&o--,o},t.isOpenForWorld=function(e){var t=["188","201"].includes(e);return!(!e||t)}},402:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.WSD=void 0;var i=r(n(187)),o=n(662),a=n(843),s=n(93),l={id:null,properShardNumber:NaN,CODE_CID_DUP:4001,CODE_RESHARD:4002,CODE_NO_AUTH:4003,socket:null,reconnectHandle:null,errorTimeout:2e3,minErrorTimeout:2e3,maxErrorTimeout:3e5,minPageReloadInterval:36e5,reopens:0,opened:!1,events:new i.default,_log:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).log.apply(e,t)},_debug:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).debug.apply(e,t)},_error:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];window.console&&(e=window.console).error.apply(e,t)},on:function(e,t){l.events.on(e,t)},off:function(e,t){t?l.events.removeListener(e,t):l.events.removeAllListeners(e)},getShard:function(){var e;return e=isNaN(l.properShardNumber)?o.HashUtils.getShard(String(l.id),l.shards.length):l.properShardNumber,l.shards[e]},getCid:function(){var e=window.localStorage.getItem("ws_cid");return e||(e=String(Math.round(4294967295*Math.random())),window.localStorage.setItem("ws_cid",e)),e},getUrl:function(){var e=l.getShard(),t=l.getCid();return((window.location.protocol||"").match("^https")?"wss":"ws")+"://"+e+"?cid="+encodeURIComponent(t)},onWebsocketOpen:function(e){l._debug("[ws] opened",e),l.emitOpen(),s.Broadcast.post("ws",{type:"open"})},onWebsocketClose:function(e){if(l._debug("[ws] closed","code:",e.code,"reason:",e.reason,"wasClean:",e.wasClean),l.emitClose(),s.Broadcast.post("ws",{type:"close"}),l.socket=null,e.wasClean)switch(e.code){case l.CODE_CID_DUP:window.localStorage.removeItem("ws_cid"),l.reconnect();break;case l.CODE_RESHARD:var t=parseInt(e.reason);if(l._debug("[ws] reshard","new:",t,"prev:",l.properShardNumber),!isNaN(t))if(isNaN(l.properShardNumber))l.properShardNumber=t,l.reconnect();else{var n=parseInt(window.localStorage.getItem("ws_last_reload_ts")),r=(new Date).getTime();(!n||r-n>l.minPageReloadInterval)&&l.pageReload()}break;case l.CODE_NO_AUTH:window.gc_renew_cookie&&window.gc_renew_cookie(),document.body.className+=" no_auth",l.reconnect(!0);break;default:return void(l.errorTimeout=l.minErrorTimeout)}else l.reconnect(!0)},onWebsocketMessage:function(e){var t=e.data;l.emitMessage(t),s.Broadcast.post("ws",{type:"message",message:t})},onCrossTabMessage:function(e){switch(e.type){case"message":l.emitMessage(e.message);break;case"open":l.emitOpen();break;case"close":l.emitClose();break;default:l._error("unknown broadcast message",e)}},emitMessage:function(e){e=JSON.parse(e),l._debug("[ws] message",e),l.events.emit("message",e)},emitOpen:function(){l.events.emit("open",l.reopens),l.reopens+=1,l.opened=!0},emitClose:function(){l.events.emit("close"),l.opened=!1},isOpened:function(){return l.opened},pageReload:function(){var e=(new Date).getTime();window.localStorage.setItem("ws_last_reload_ts",String(e)),window.location.reload()},connect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.close(),l.socket=null);try{l.socket=new WebSocket(l.getUrl()),l.socket.onopen=function(e){l.onWebsocketOpen(e)},l.socket.onclose=function(e){l.onWebsocketClose(e)},l.socket.onerror=function(e){l._error("[ws] error",e)},l.socket.onmessage=function(e){l.onWebsocketMessage(e)}}catch(e){l._error("[ws] error",e)}},reconnect:function(e){if(clearTimeout(l.reconnectHandle),e){l.errorTimeout===l.maxErrorTimeout&&l.pageReload(),l.errorTimeout=Math.min(l.maxErrorTimeout,2*l.errorTimeout);var t=Math.round(l.errorTimeout*(.75+Math.random()/2));l.reconnectHandle=setTimeout(l.connect,t)}else l.reconnectHandle=setTimeout(l.connect)},disconnect:function(){clearTimeout(l.reconnectHandle),l.socket&&(l.socket.onopen=null,l.socket.onclose=null,l.socket.onerror=null,l.socket.onmessage=null,l.socket.close(),l.socket=null)},becomeMaster:function(){l._debug("[ws] is master"),s.Broadcast.off("ws",l.onCrossTabMessage),l.connect()},becomeSlave:function(){l._debug("[ws] is slave"),l.disconnect(),s.Broadcast.on("ws",l.onCrossTabMessage)},becomeDeadman:function(){l._debug("[ws] is deadman"),l.disconnect(),s.Broadcast.off("ws",l.onCrossTabMessage)},init:function(e,t){window.WebSocket&&e?(l.id=e,l.shards=t,a.MasterSlave.on("master",l.becomeMaster),a.MasterSlave.on("slave",l.becomeSlave),a.MasterSlave.on("deadman",l.becomeDeadman),a.MasterSlave.isMaster()?l.becomeMaster():l.becomeSlave()):l._error("[ws] is not inited, id=",e)}};t.WSD=l,t.default=l}},n={},r=function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r].call(o.exports,o,o.exports,e),o.exports}(607),e.exports=r},907:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(601),i=n.n(r),o=n(314),a=n.n(o),s=n(417),l=n.n(s),c=new URL(n(921),n.b),u=new URL(n(773),n.b),d=new URL(n(150),n.b),p=new URL(n(726),n.b),f=new URL(n(566),n.b),h=a()(i()),m=l()(c),g=l()(u),v=l()(d),y=l()(p),b=l()(f);h.push([e.id,`.b-subscription button, .b-subscription input {\n font-family: "VK Sans Display", sans-serif;\n }\n\n .b-subscription *,\n .b-subscription *:before,\n .b-subscription *:after {\n box-sizing: border-box;\n }\n\n .b-subscription .icon {\n display: inline-block;\n line-height: 1;\n vertical-align: middle;\n }\n\n .b-subscription a {\n color: #16A7FF;\n transition: color .15s;\n text-decoration: none;\n }\n\n .b-subscription a:hover {\n color: #72bef4;\n }\n\n .b-subscription__popup .icon, .b-subscription-line .icon {\n display: inline-block;\n vertical-align: middle;\n line-height: 1;\n }\n\n .b-subscription__popup *,\n .b-subscription__popup *:before,\n .b-subscription__popup *:after,\n .b-subscription-line *,\n .b-subscription-line *:before,\n .b-subscription-line *:after {\n box-sizing: border-box;\n }\n\n .b-subscription__popup a, .b-subscription-line a {\n color: #16A7FF;\n transition: color .15s;\n text-decoration: none;\n }\n\n .b-subscription__popup a:hover, .b-subscription-line a:hover {\n color: #72bef4;\n }\n\n.is-popup-shown {\n overflow: hidden;\n}\n\nhtml {\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n}\n\n.b-subscription {\n display: inline-block;\n font-family: "VK Sans Display", sans-serif;\n position: relative;\n color: #F5F5F7;\n\n\n\n}\n\n.b-subscription-wrapper {\n width: 100%;\n }\n\n/* sizes */\n\n.b-subscription-wrapper.compact {\n width: 100%;\n max-width: 350px;\n }\n\n.b-subscription__header {\n\n }\n\n.b-subscription__content {\n text-align: left;\n }\n\n.b-subscription__feature {\n display: inline-block;\n margin-right: 4px;\n }\n\n.b-subscription__feature:before {\n content: '•';\n display: inline-block;\n padding-right: 4px;\n color: rgba(200, 200, 200, 0.6);\n }\n\n.b-subscription__feature-list {\n margin: 0;\n padding: 0;\n }\n\n.b-subscription__action {\n position: relative;\n }\n\n.b-subscription__submit {\n height: 44px;\n line-height: 44px;\n font-weight: 600;\n font-size: 18px;\n border-radius: 6px;\n background-color: #E2E3E7;\n color: #333;\n transition: background-color .15s;\n text-align: center;\n padding: 0 12px;\n border: none;\n }\n\n.b-subscription__submit:hover {\n cursor: pointer;\n background-color: #ddd;\n }\n\n.b-subscription__submit:disabled {\n cursor: auto;\n background-color: #C6C6C6;\n }\n\n.b-subscription__submit_inside {\n position: absolute;\n top: 2px;\n right: 2px;\n }\n\n.b-subscription__close {\n position: absolute;\n top: 13px;\n right: 13px;\n width: 16px;\n line-height: 1;\n fill: rgba(200, 200, 200, 0.7);\n z-index: 1;\n }\n\n.b-subscription__close:hover {\n cursor: pointer;\n }\n\n.b-subscription__category h4 {\n text-align: left;\n margin: 0;\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n }\n\n.b-subscription__category-list {\n display: flex;\n flex-direction: column;\n text-align: left;\n padding: 0;\n list-style: none;\n margin: 0 -6px 10px;\n }\n\n@media screen and (min-width: 768px) {\n\n.b-subscription__category-list {\n flex-direction: row;\n flex-wrap: wrap\n }\n }\n\n.b-subscription__category-item {\n display: flex;\n align-items: center;\n background: #454549;\n border-radius: 8px;\n padding: 5px 6px;\n flex: 1 0 calc(50% - 10px);\n margin-left: 6px;\n margin-top: 10px;\n line-height: 1.3;\n }\n\n.b-subscription__category-item .icon {\n margin-right: 5px;\n }\n\n.b-subscription__done__text {\n color: #F5F5F7;\n }\n\n.b-subscription__done .icon {\n width: 30px;\n opacity: 0.8;\n }\n\n.b-subscription__done a {\n color: rgba(245,245, 247, 0.8);\n text-decoration: underline;\n white-space: nowrap;\n }\n\n.b-subscription__done a:hover {\n color: rgba(245,245, 247, 1);\n }\n\n/* compact view */\n\n.compact .b-subscription {\n display: flex;\n width: 100%;\n background-color: #0077FF;\n background-image: url(${m});\n background-repeat: no-repeat;\n background-size: 100% auto;\n background-position: 0 0;\n border-radius: 10px;\n }\n\n.compact .b-subscription .b-subscription__inner {\n padding: 50% 16px 16px;\n }\n\n.compact .b-subscription .b-subscription__header {\n font-weight: 700;\n font-size: 20px;\n line-height: 22px;\n margin-bottom: 10px;\n width: 80%;\n }\n\n.compact .b-subscription .b-subscription__feature-list {\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n }\n\n.compact .b-subscription .b-subscription__action {\n margin-top: 12px;\n }\n\n.compact .b-subscription .b-subscription__submit {\n letter-spacing: .2px;\n line-height: 40px;\n height: 40px;\n }\n\n.compact .b-subscription .b-subscription__done {\n text-align: center;\n }\n\n.compact .b-subscription .b-subscription__done .b-subscription__header {\n width: 90%;\n margin: 0 auto;\n }\n\n.compact .b-subscription .b-subscription__done .b-subscription__done__text {\n margin-top: 10px;\n }\n\n.compact .b-subscription .b-subscription__done__descr {\n margin-top: 10px;\n }\n\n/* compact view */\n\n.wide .b-subscription {\n max-width: 1020px;\n margin: 0 auto 40px;\n width: 100%;\n background-color: #0077FF;\n border: 1px solid rgba(245, 245, 247, 0.12);\n border-radius: 8px;\n background-image: url(${g});\n background-repeat: no-repeat;\n background-size: contain;\n background-position: 100% 0;\n }\n\n@media screen and (max-width: 768px) {\n\n.wide .b-subscription {\n display: none\n }\n }\n\n.wide .b-subscription .b-subscription__inner {\n width: 57%;\n padding: 20px 0 20px 20px\n }\n\n.wide .b-subscription .b-subscription__header {\n font-weight: 700;\n font-size: 24px;\n line-height: 26px;\n margin: 0 0 10px 0;\n /*text-shadow: 1px 1px 1px #222; */\n }\n\n.wide .b-subscription .b-subscription__feature-list {\n width: 75%;\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n }\n\n.wide .b-subscription .b-subscription__action {\n display: flex;\n align-items: center;\n margin-top: 14px;\n }\n\n.wide .b-subscription .b-subscription__input-wrapper {\n flex-grow: 1;\n }\n\n.wide .b-subscription .b-subscription__close {\n fill: rgba(233, 233, 233, 0.7)\n }\n\n.wide .b-subscription .b-subscription__done {\n margin-top: 20px;\n }\n\n.wide .b-subscription .b-subscription__done .icon {\n float: left;\n width: 24px;\n height: 24px;\n margin-top: 1px;\n margin-right: 10px;\n }\n\n.wide .b-subscription .b-subscription__done .b-subscription__done__descr {\n overflow: auto;\n }\n\n.wide .b-subscription .b-subscription__submit {\n margin-left: 10px;\n padding: 0 25px;\n }\n\n/* compact view end */\n\n.regular .b-subscription {\n background-image: url(${v});\n background-repeat: no-repeat;\n background-size: contain;\n width: 100%;\n max-width: 500px;\n margin: 0 auto;\n background-color: #2F2F35;\n border-radius: 6px;\n }\n\n.regular .b-subscription .b-subscription__inner {\n padding: 30% 30px 30px;\n }\n\n.regular .b-subscription .b-subscription__header {\n font-weight: 500;\n font-size: 22px;\n line-height: 26px;\n }\n\n.regular .b-subscription .b-subscription__content {\n text-align: center;\n }\n\n.regular .b-subscription .b-subscription__feature {\n color: #D8D8D8;\n }\n\n.regular .b-subscription .b-subscription__feature:first-child:before {\n display: none;\n }\n\n.regular .b-subscription .b-subscription__feature:before {\n padding-right: 7px;\n padding-left: 3px;\n }\n\n.regular .b-subscription .b-subscription__submit {\n width: 100%;\n }\n\n.regular .b-subscription .b-subscription__submit:disabled {\n color:#59595C;\n background: #3C3C40;\n }\n\n.b-subscription__input {\n color: #F5F5F7;\n background-color: transparent;\n height: 44px;\n border: none;\n width: 100%;\n padding: 0 14px;\n font-size: 15px;\n}\n\n.b-subscription__input::-moz-placeholder {\n color: #d0cfcf;\n }\n\n.b-subscription__input::placeholder {\n color: #d0cfcf;\n }\n\n.b-subscription__input:disabled {\n color: #d0cfcf;\n }\n\n.compact .b-subscription__input {\n padding: 0 60px 0 14px;\n }\n\n.regular .b-subscription__input {\n outline: none;\n }\n\n.b-subscription__input-wrapper {\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n transition: border-color .15s;\n }\n\n.compact .b-subscription__input-wrapper,\n .wide .b-subscription__input-wrapper {\n background-color: #005AC1;\n }\n\n.regular .b-subscription__input-wrapper {\n background: #3C3C40;\n border: 1px solid #59595C;\n border-radius: 8px;\n margin: 25px 0 20px;\n }\n\n.regular .b-subscription__input-wrapper.is-focused {\n border: 1px solid #fff;\n }\n\n.b-subscription-line {\n position: relative;\n width: 100%;\n overflow: hidden;\n color: #fff;\n background: linear-gradient(270deg, rgba(134, 190, 255, 0) 70.99%, #4199FF 100%), #0077FF;\n box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);\n font-family: "VK Sans Display", sans-serif;\n}\n\n@media screen and (max-width: 1024px) {\n\n.b-subscription-line {\n display: none\n}\n }\n\n.b-subscription-line__inner {\n position: relative;\n max-width: 1920px;\n width: 100%;\n margin: 0 auto;\n padding: 0 50px;\n background-image: url(${y});\n background-repeat: no-repeat;\n background-position: 0;\n background-size: auto 100%;\n text-align: center;\n }\n\n.b-subscription-line__content {\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 10px 0;\n }\n\n.b-subscription-line__text {\n font-weight: 500;\n font-size: 18px;\n line-height: 22px;\n margin-bottom: 2px;\n vertical-align: middle;\n }\n\n.b-subscription-line__decor {\n position: absolute;\n left: 102%;\n top: 0;\n width: 180px;\n height: 56px;\n background-image: url(${b});\n background-repeat: no-repeat;\n background-size: contain;\n\n }\n\n.b-subscription-line .icon {\n margin-right: 5px;\n line-height: 1;\n }\n\n.b-subscription-line .b-subscription__action {\n margin-left: 20px;\n }\n\n.b-subscription-line .b-subscription__submit {\n padding: 0 25px;\n font-size: 15px;\n line-height: 34px;\n height: 34px;\n }\n\n.b-subscription-line .b-subscription__close {\n top: 50%;\n transform: translateY(-50%);\n right: 25px;\n fill: rgba(240, 240, 240, 0.7)\n }\n\n.b-subscription__success {\n color: #F5F5F7;\n background: #2F2F35;\n border: 1px solid #3C3C40;\n border-radius: 8px;\n padding: 40px 30px 30px;\n }\n\n.b-subscription__success__icon {\n width: 101px;\n height: 95px;\n margin: 0 auto;\n }\n\n.b-subscription__success__icon img {\n width: 100%;\n }\n\n.b-subscription__success__descr {\n font-size: 16px;\n line-height: 22px;\n color: #D8D8D8;\n margin-bottom: 20px;\n border-bottom: 1px solid #454549;\n }\n\n.b-subscription__success__descr span {\n color: #D7CD98;\n }\n\n.b-subscription__success__text {\n text-align: left;\n }\n\n.b-subscription__success__header {\n font-weight: 500;\n font-size: 22px;\n line-height: 26px;\n margin: 0 0 15px 0;\n }\n\n.regular .b-subscription__success__header {\n text-align: center;\n }\n\n.b-subscription__success .b-subscription__submit {\n width: 100%;\n margin-top: 20px;\n }\n\n.b-subscription__success .icon {\n display: inline-block;\n vertical-align: middle;\n line-height: 1;\n }\n\n.b-subscription__success a {\n color: #16A7FF;\n transition: color .15s;\n text-decoration: none;\n }\n\n.b-subscription__success a:hover {\n color: #72bef4;\n }\n\n.b-subscription__popup {\n font-family: "VK Sans Display", sans-serif;\n position: fixed;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n min-height: 100%;\n z-index: 9999;\n }\n\n.b-subscription__popup:before {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0,0,0,0.8);\n }\n\n.b-subscription__popup .b-subscription__close {\n top: 15px;\n right: 15px;\n fill: #909090;\n }\n\n.b-subscription__popup-fade {\n\n }\n\n.b-subscription__popup-outer {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow-y: auto;\n padding: 40px 0;\n }\n\n.b-subscription__popup-inner {\n display: table;\n width: 100%;\n height: 100%;\n }\n\n.b-subscription__popup-inner > div {\n display: table-cell;\n vertical-align: middle;\n text-align: center;\n }\n\n.b-subscription__popup-content {\n display: inline-block;\n width: 100%;\n max-width: 500px;\n position: relative;\n z-index: 1;\n }\n`,""]);const w=h},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},417:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},601:e=>{"use strict";e.exports=function(e){return e[1]}},146:(e,t,n)=>{"use strict";var r=n(363),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{c(t,v,y)}catch(e){}}}}return t}},694:(e,t,n)=>{"use strict";var r=n(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},556:(e,t,n)=>{e.exports=n(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},993:(e,t,n)=>{"use strict";var r=n(155),i=n(98),o=n(556);function a(e){return e.split(/\s+/)}function s(e){return e.children?r.Children.only(e.children):null}s.displayName="BodyClassName",s.cache=[],s.propTypes={className:o.string.isRequired},e.exports=i((function(e){return e.map((function(e){return e.className})).filter((function(e,t,n){return n.indexOf(e)===t})).join(" ")}),(function(e){var t=a(document.body.className).filter((function(e){return-1===s.cache.indexOf(e)})),n=a(e);s.cache=n,document.body.className=t.concat(n).join(" ").trim()}))(s)},799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||_(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=_},363:(e,t,n)=>{"use strict";e.exports=n(799)},98:(e,t,n)=>{"use strict";var r,i=n(155),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},19:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YMInitializer=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(155)),i=s(n(556)),o=s(n(644)),a=n(449);function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,c(t).apply(this,arguments))}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),(n=[{key:"componentDidMount",value:function(){(0,o.default)(this.props.accounts,this.props.options,this.props.version);var e=document.createElement("script"),t=this.props.attrs;e.type="text/javascript",e.async=!0,e.src=(0,a.scriptPath)(this.props.version),Object.keys(t).map((function(n){e.__proto__.hasOwnProperty(n)&&e.setAttribute(n,t[n])})),this.insertPoint.insertBefore(e,null)}},{key:"render",value:function(){var e=this;return r.default.createElement(this.props.containerElement,{ref:function(t){e.insertPoint=t}},this.props.children)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(r.Component);t.YMInitializer=d,d.displayName="YMInitializer",d.propTypes={accounts:i.default.arrayOf(i.default.number).isRequired,containerElement:i.default.string,options:i.default.object,attrs:i.default.object,version:i.default.oneOf(["1","2"])},d.defaultProps={containerElement:"div",options:{},attrs:{},version:"1"}},449:(e,t)=>{"use strict";function n(){throw new Error("invalid Ya.Metrika version")}Object.defineProperty(t,"__esModule",{value:!0}),t.callbackQueueName=function(e){return"1"===e?"yandex_metrika_callbacks":"2"===e?"yandex_metrika_callbacks2":void n()},t.scriptPath=function(e){return"1"===e?"https://webcf.waybackmachine.org/web/20240801092516/https://mc.yandex.ru/metrika/watch.js":"2"===e?"https://webcf.waybackmachine.org/web/20240801092516/https://mc.yandex.ru/metrika/tag.js":void n()},t.trackerConstructorName=function(e){return"1"===e?"Metrika":"2"===e?"Metrika2":void n()},t.trackerInstanceName=function(e){return"yaCounter".concat(e)},t.trackerVersionName=function(e){return"yaCounterVersion".concat(e)},t.accountListName=void 0,t.accountListName="yandex_metrika_accounts"},764:(e,t,n)=>{"use strict";t.Ay=void 0;var r=n(449);function o(e,t){try{for(var n,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];(n=window[(0,r.trackerInstanceName)(e)])[t].apply(n,a)}catch(e){i.warn(e)}}n(19),t.Ay=function(){return function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.forEach((function(e){var t=window[(0,r.trackerVersionName)(e)],i=window[(0,r.callbackQueueName)(t)];i?i.push((function(){return o.apply(void 0,[e].concat(n))})):o.apply(void 0,[e].concat(n))}))}}("undefined"!=typeof window?window[r.accountListName]:[]).apply(void 0,arguments)}},644:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1",o=(0,r.callbackQueueName)(n);window[r.accountListName]=window[r.accountListName]||[],window[r.accountListName]=window[r.accountListName].concat(e),window[o]=window[o]||[],window[o].push((function(){e.forEach((function(e){var o={id:e};try{window[(0,r.trackerInstanceName)(e)]=new(Ya[(0,r.trackerConstructorName)(n)])(Object.assign(o,t))}catch(e){i.warn(e)}}))})),e.forEach((function(e){window[(0,r.trackerVersionName)(e)]=n}))};var r=n(449)},72:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=i(f,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},921:e=>{"use strict";e.exports="data:image/png;base64,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"},726:e=>{"use strict";e.exports="data:image/png;base64,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"},566:e=>{"use strict";e.exports="data:image/png;base64,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"},150:e=>{"use strict";e.exports="data:image/png;base64,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"},773:e=>{"use strict";e.exports="data:image/png;base64,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"},910:e=>{"use strict";e.exports="data:image/png;base64,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"},155:t=>{"use strict";t.exports=e},514:e=>{"use strict";e.exports=t},942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},402:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"إعدادات الØساب","s.catalog":"الكتالوج","s.content.feature1":"خصومات Ùريدة","s.content.feature2":"أسرار مخÙية","s.content.feature3":"عروض","s.content.feature4":"آراء المطورين","s.content.feature5":"أخبار عن الألعاب.","s.content.featureAll":"• خصومات Ùريدة • أسرار مخÙية • عروض • آراء المطورين • أخبار عن الألعاب.","s.content.header":"اشترك ÙÙŠ نشرة أخبار VK Play","s.email":"عنوان بريدك الإلكتروني","s.finish.edit":"أدر اشتراكك عبر","s.finish.header":"لقد اشتركت Ø¨Ù†Ø¬Ø§Ø ÙÙŠ نشرة أخبار VK Play!","s.line.text":"اعر٠المزيد من الأخبار المثيرة عن الألعاب مع VK Play!","s.ok":"Øسنًا","s.subscribe":"اشتراك","s.success.categories":"لقد اشتركت ÙÙŠ هذه الÙئات:","s.success.discount":"الخصومات","s.success.edit":"يمكنك إدارة اشتراكات ÙÙŠ <a> إعدادات الØساب</a>.","s.success.game_news":"أخبار الألعاب","s.success.header":"تم الاشتراك بنجاØ!","s.success.news":"أخبار المنصة","s.success.promo":"العروض والتØديثات","s.success.text":"الآن سيتم إرسال نشرات الأخبار عن العروض والتØديثات الكبيرة إلى <span>{email}</span>.","s.success.text_no_verify":"الآن كل المطلوب هو تأكيد عنوان بريدك الإلكتروني على <span>{email}</span>."}')},153:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"Kontoeinstellungen ein","s.catalog":"Verzeichnis","s.content.feature1":"einmalige Rabatte","s.content.feature2":"Easter Eggs","s.content.feature3":"Angebote","s.content.feature4":"Einblicke von Entwicklern","s.content.feature5":"Spielneuigkeiten","s.content.featureAll":"• einmalige Rabatte • Easter Eggs • Angebote • Einblicke von Entwicklern • Spielneuigkeiten.","s.content.header":"Abonniere den VK Play-Newsletter","s.email":"Deine Email-Adresse","s.finish.edit":"Ãœberprüfe dein Abo via","s.finish.header":"Du hast den VK Play-Newsletter erfolgreich abonniert!","s.line.text":"Erhalte mehr interessante Neuigkeiten über Gaming mit VK Play!","s.ok":"OK","s.subscribe":"Abonnieren","s.success.categories":"Du hast die folgenden Kategorien abonniert:","s.success.discount":"Rabatte","s.success.edit":"Du kannst deine Abos in deinen <a>Kontoeinstellungen</a> bearbeiten.","s.success.game_news":"Spielneuigkeiten","s.success.header":"Abonnement erfolgreich registriert!","s.success.news":"Plattform-Neuigkeiten","s.success.promo":"Angebote & Updates","s.success.text":"Wir senden nun Neuigkeiten über wichtige Angebote und Updates an <span>{email}</span>.","s.success.text_no_verify":"Bestätige nun deine E-Mail-Adresse: <span>{email}</span>."}')},242:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"account settings","s.catalog":"Catalog","s.content.feature1":"unique discounts","s.content.feature2":"Easter eggs","s.content.feature3":"offers","s.content.feature4":"developer insights","s.content.feature5":"gaming news","s.content.featureAll":"• unique discounts • Easter eggs • offers • developer insights • gaming news.","s.content.header":"Subscribe to the VK Play newsletters","s.email":"Your email address","s.finish.edit":"Manage your subscription via","s.finish.header":"You have successfully subscribed to the VK Play newsletters!","s.line.text":"Get more interesting gaming news with VK Play!","s.ok":"OK","s.subscribe":"Subscribe","s.success.categories":"You are subscribed to these categories:","s.success.discount":"Discounts","s.success.edit":"You can manage your subscriptions in your <a>account settings</a>.","s.success.game_news":"Game News","s.success.header":"Subscription successfully registered!","s.success.news":"Platform news","s.success.promo":"Offers & updates","s.success.text":"Now newsletters about major offers and updates will be sent to you at <span>{email}</span>.","s.success.text_no_verify":"Now simply confirm your email address at <span>{email}</span>."}')},427:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"configuración de la cuenta","s.catalog":"Catálogo","s.content.feature1":"descuentos únicos","s.content.feature2":"huevos de Pascua","s.content.feature3":"ofertas","s.content.feature4":"información de los desarrolladores","s.content.feature5":"noticias de juegos","s.content.featureAll":"• descuentos únicos • huevos de Pascua • ofertas • información de los desarrolladores • noticias de juegos","s.content.header":"SuscrÃbete a los boletines de VK Play","s.email":"Tu dirección de email","s.finish.edit":"Gestiona la suscripción mediante","s.finish.header":"¡Te has suscrito correctamente a los boletines de VK Play!","s.line.text":"¡Descubre más noticias interesantes sobre juegos con VK Play!","s.ok":"Aceptar","s.subscribe":"Suscribirse","s.success.categories":"Te has suscrito a las siguientes categorÃas:","s.success.discount":"Descuentos","s.success.edit":"Puedes gestionar las suscripciones en la <a>configuración de la cuenta</a>.","s.success.game_news":"Noticias de juegos","s.success.header":"¡La suscripción se ha registrado correctamente!","s.success.news":"Noticias de la plataforma","s.success.promo":"Ofertas y actualizaciones","s.success.text":"Ahora, los boletines con las ofertas y actualizaciones importantes se te enviarán a <span>{email}</span>.","s.success.text_no_verify":"Ahora confirma tu dirección de correo electrónico en <span>{email}</span>."}')},179:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"ustawieniach swojego konta","s.catalog":"Katalog","s.content.feature1":"unikalne zniżki","s.content.feature2":"easter eggi","s.content.feature3":"oferty","s.content.feature4":"opinie twórców","s.content.feature5":"nowoÅ›ci o grach","s.content.featureAll":"• unikalne zniżki • easter eggi • oferty • opinie twórców • nowoÅ›ci o grach.","s.content.header":"Zapisz siÄ™ na biuletyny VK Play","s.email":"Twój adres email","s.finish.edit":"ZarzÄ…dzaj subskrypcjÄ… za pomocÄ…","s.finish.header":"Zapisano siÄ™ na biuletyny VK Play!","s.line.text":"Poznaj jeszcze wiÄ™cej ciekawych nowoÅ›ci o grach z VK Play!","s.ok":"OK","s.subscribe":"Subskrybuj","s.success.categories":"Zasubskrybowano na te kategorie:","s.success.discount":"Zniżki","s.success.edit":"Możesz zarzÄ…dzać swoimi subskrypcjami w <a>ustawieniach swojego konta</a>.","s.success.game_news":"NowoÅ›ci o grach","s.success.header":"UdaÅ‚o siÄ™ zaktualizować subskrypcjÄ™!","s.success.news":"NowoÅ›ci dot. platformy","s.success.promo":"Oferty i aktualizacje","s.success.text":"Teraz na adres <span>{email}</span> bÄ™dÄ… wysyÅ‚ane biuletyny o głównych ofertach i aktualizacjach.","s.success.text_no_verify":"Wystarczy tylko potwierdzić swój adres email na <span>{email}</span>."}')},49:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"наÑтройки аккаунта","s.catalog":"Перейти в каталог","s.content.feature1":"уникальные Ñкидки","s.content.feature2":"паÑхалки","s.content.feature3":"акции","s.content.feature4":"инÑайты разработчиков","s.content.feature5":"новоÑти об играх","s.content.featureAll":"• уникальные Ñкидки • паÑхалки • акции • инÑайты разработчиков • новоÑти об играх.","s.content.header":"ПодпиÑывайтеÑÑŒ на раÑÑылки VK Play","s.email":"Ваш email","s.finish.edit":"УправлÑйте подпиÑкой через","s.finish.header":"ПодпиÑка на раÑÑылки VK Play оформлена!","s.line.text":"Получайте больше интереÑных новоÑтей по играм VK Play!","s.ok":"ПонÑтно","s.subscribe":"ПодпиÑатьÑÑ","s.success.categories":"Ð’Ñ‹ подпиÑаны на категории:","s.success.discount":"Скидки","s.success.edit":"Ð’Ñ‹ можете управлÑÑ‚ÑŒ подпиÑками в <a>ÐаÑтройках аккаунта</a>.","s.success.game_news":"ÐовоÑти об играх","s.success.header":"ПодпиÑка уÑпешно оформлена!","s.success.news":"ÐовоÑти платформы","s.success.promo":"Ðкции и обновлениÑ","s.success.text":"Теперь на email <span>{email}</span> вам будут приходить новоÑтные пиÑьма о крупных акциÑÑ… и обновлениÑÑ….","s.success.text_no_verify":"ОÑталоÑÑŒ подтвердить email в почте <span>{email}</span>."}')},164:e=>{"use strict";e.exports=JSON.parse('{"s.account_settings":"Hesap ayarlarından","s.catalog":"Katalog","s.content.feature1":"eÅŸsiz indirimler","s.content.feature2":"Paskalya yumurtaları","s.content.feature3":"teklifler","s.content.feature4":"geliÅŸtirici görüşü","s.content.feature5":"oyun haberleri","s.content.featureAll":"• eÅŸsiz indirimler • Paskalya yumurtaları • teklifler •geliÅŸtirici görüşü • oyun haberleri.","s.content.header":"VK Play bültenine abone ol","s.email":"E-posta adresin","s.finish.edit":"AboneliÄŸini ÅŸuradan yönet:","s.finish.header":"VK Play bültenine baÅŸarılı bir ÅŸekilde abone oldun!","s.line.text":"VK Play ile daha ilginç oyun haberlerine ulaÅŸ!","s.ok":"TAMAM","s.subscribe":"Abone ol","s.success.categories":"Åžu kategorilere abone oldun:","s.success.discount":"Ä°ndirimler","s.success.edit":"<a>Hesap ayarlarından</a> aboneliklerini yönetebilirsin","s.success.game_news":"Oyun Haberleri","s.success.header":"Abonelik baÅŸarıyla kaydedildi!","s.success.news":"Platform haberleri","s.success.promo":"Teklifler ve güncellemeler","s.success.text":"Artık önemli teklifler ve güncellemelerle ilgili haber bültenleri <span>{email}</span> adresine gönderilecek.","s.success.text_no_verify":"Åžimdi yalnızca <span>{email}</span> adresinde E-posta adresini onayla"}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.b=document.baseURI||self.location.href,o.nc=void 0;var a={};return(()=>{"use strict";o.r(a),o.d(a,{default:()=>pi});var e={};function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}o.r(e),o.d(e,{addTrackers:()=>Zn,default:()=>sr,event:()=>nr,exception:()=>rr,ga:()=>Kn,initialize:()=>Yn,modalview:()=>er,outboundLink:()=>or,pageview:()=>Jn,plugin:()=>ir,send:()=>Xn,set:()=>Qn,testModeAPI:()=>ar,timing:()=>tr});var n=o(155),r=o.n(n),s=o(783),l=o(942),c=o.n(l),u=function(e,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},u(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p.apply(this,arguments)};function f(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function h(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError,o(146);var m,g,v,y=n.createContext(null),b=(y.Consumer,y.Provider),w=y;function _(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function S(e){return e.type===g.literal}function x(e){return e.type===g.argument}function E(e){return e.type===g.number}function k(e){return e.type===g.date}function C(e){return e.type===g.time}function T(e){return e.type===g.select}function O(e){return e.type===g.plural}function M(e){return e.type===g.pound}function A(e){return e.type===g.tag}function P(e){return!(!e||"object"!=typeof e||e.type!==v.number)}function L(e){return!(!e||"object"!=typeof e||e.type!==v.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(m||(m={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(g||(g={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(v||(v={}));var D=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,R=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function I(e){var t={};return e.replace(R,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var N=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,j=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,B=/^(@+)?(\+|#+)?[rs]?$/g,F=/(\*)(0+)|(#+)(0+)|(0+)/g,H=/^(0+)$/;function z(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(B,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function V(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function U(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!H.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function $(e){return V(e)||{}}function G(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=p(p(p({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return p(p({},e),$(t))}),{}));continue;case"engineering":t=p(p(p({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return p(p({},e),$(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(F,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(H.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(j.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(j,(function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];"w"===o?t=p(p({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=p(p({},t),z(o)))}else if(B.test(i.stem))t=p(p({},t),z(i.stem));else{var a=V(i.stem);a&&(t=p(p({},t),a));var s=U(i.stem);s&&(t=p(p({},t),s))}}return t}var q,W={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Z(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(W[n||""]||W[r||""]||W["".concat(r,"-001")]||W["001"])[0]}var Y=new RegExp("^".concat(D.source,"*")),K=new RegExp("".concat(D.source,"*$"));function Q(e,t){return{start:e,end:t}}var X=!!String.prototype.startsWith,J=!!String.fromCodePoint,ee=!!Object.fromEntries,te=!!String.prototype.codePointAt,ne=!!String.prototype.trimStart,re=!!String.prototype.trimEnd,ie=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},oe=!0;try{oe="a"===(null===(q=fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===q?void 0:q[0])}catch(e){oe=!1}var ae,se=X?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},le=J?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},ce=ee?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},ue=te?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},de=ne?function(e){return e.trimStart()}:function(e){return e.replace(Y,"")},pe=re?function(e){return e.trimEnd()}:function(e){return e.replace(K,"")};function fe(e,t){return new RegExp(e,t)}if(oe){var he=fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ae=function(e,t){var n;return he.lastIndex=t,null!==(n=he.exec(e)[1])&&void 0!==n?n:""}}else ae=function(e,t){for(var n=[];;){var r=ue(e,t);if(void 0===r||ve(r)||ye(r))break;n.push(r),t+=r>=65536?2:1}return le.apply(void 0,n)};var me=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,Q(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ge(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:g.pound,location:Q(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:g.literal,value:"<".concat(r,"/>"),location:Q(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ge(this.char()))return this.error(m.INVALID_TAG,Q(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,Q(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:r,children:o,location:Q(n,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,Q(a,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,Q(n,this.clonePosition()))}return this.error(m.INVALID_TAG,Q(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=Q(n,this.clonePosition());return{val:{type:g.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ge(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return le.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),le(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,Q(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,Q(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,Q(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,Q(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:r,location:Q(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,Q(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,Q(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ae(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Q(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,Q(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(h=pe(_.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,Q(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Q(c,this.clonePosition())}}if((S=this.tryParseArgumentClose(r)).err)return S;var u=Q(r,this.clonePosition());if(l&&se(null==l?void 0:l.style,"::",0)){var d=de(l.style.slice(2));if("number"===a)return(_=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?_:{val:{type:g.number,value:n,location:u,style:_.val},err:null};if(0===d.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var f=d;this.locale&&(f=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=Z(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var h={type:v.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?I(f):{}};return{val:{type:"date"===a?g.date:g.time,value:n,location:u,style:h},err:null}}return{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,Q(y,p({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),w=0;if("select"!==a&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Q(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),b=this.parseIdentifierIfPossible(),w=_.val}var S,x=this.tryParsePluralOrSelectOptions(e,a,t,b);if(x.err)return x;if((S=this.tryParseArgumentClose(r)).err)return S;var E=Q(r,this.clonePosition());return"select"===a?{val:{type:g.select,value:n,options:ce(x.val),location:E},err:null}:{val:{type:g.plural,value:n,options:ce(x.val),offset:w,pluralType:"plural"===a?"cardinal":"ordinal",location:E},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,Q(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,Q(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Q(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(N).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:v.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?G(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,a=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Q(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}if(s.has(l))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Q(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var h=this.tryParseArgumentClose(p);if(h.err)return h;a.push([l,{value:f.val,location:Q(p,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,Q(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(m.MISSING_OTHER_CLAUSE,Q(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=Q(r,this.clonePosition());return i?ie(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ue(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(se(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ve(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ge(e){return e>=97&&e<=122||e>=65&&e<=90}function ve(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ye(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function be(e){e.forEach((function(e){if(delete e.location,T(e)||O(e))for(var t in e.options)delete e.options[t].location,be(e.options[t].value);else E(e)&&P(e.style)||(k(e)||C(e))&&L(e.style)?delete e.style.location:A(e)&&be(e.children)}))}function we(e,t){void 0===t&&(t={}),t=p({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new me(e,t).parse();if(n.err){var r=SyntaxError(m[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||be(n.val),n.val}function _e(e,t){var n=t&&t.cache?t.cache:Me,r=t&&t.serializer?t.serializer:Ce;return(t&&t.strategy?t.strategy:ke)(e,{cache:n,serializer:r})}function Se(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function xe(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function Ee(e,t,n,r,i){return n.bind(t,e,r,i)}function ke(e,t){return Ee(e,this,1===e.length?Se:xe,t.cache.create(),t.serializer)}var Ce=function(){return JSON.stringify(arguments)};function Te(){this.cache=Object.create(null)}Te.prototype.get=function(e){return this.cache[e]},Te.prototype.set=function(e,t){this.cache[e]=t};var Oe,Me={create:function(){return new Te}},Ae={variadic:function(e,t){return Ee(e,this,xe,t.cache.create(),t.serializer)},monadic:function(e,t){return Ee(e,this,Se,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Oe||(Oe={}));var Pe,Le=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return d(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),De=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Oe.INVALID_VALUE,i)||this}return d(t,e),t}(Le),Re=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Oe.INVALID_VALUE,r)||this}return d(t,e),t}(Le),Ie=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Oe.MISSING_VALUE,n)||this}return d(t,e),t}(Le);function Ne(e){return"function"==typeof e}function je(e,t,n,r,i,o,a){if(1===e.length&&S(e[0]))return[{type:Pe.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(S(u))s.push({type:Pe.literal,value:u.value});else if(M(u))"number"==typeof o&&s.push({type:Pe.literal,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!i||!(d in i))throw new Ie(d,a);var p=i[d];if(x(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?Pe.literal:Pe.object,value:p});else if(k(u)){var f="string"==typeof u.style?r.date[u.style]:L(u.style)?u.style.parsedOptions:void 0;s.push({type:Pe.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(C(u))f="string"==typeof u.style?r.time[u.style]:L(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:Pe.literal,value:n.getDateTimeFormat(t,f).format(p)});else if(E(u))(f="string"==typeof u.style?r.number[u.style]:P(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),s.push({type:Pe.literal,value:n.getNumberFormat(t,f).format(p)});else{if(A(u)){var h=u.children,m=u.value,g=i[m];if(!Ne(g))throw new Re(m,"function",a);var v=g(je(h,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map((function(e){return{type:"string"==typeof e?Pe.literal:Pe.object,value:e}})))}if(T(u)){if(!(y=u.options[p]||u.options.other))throw new De(u.value,p,Object.keys(u.options),a);s.push.apply(s,je(y.value,t,n,r,i))}else if(O(u)){var y;if(!(y=u.options["=".concat(p)])){if(!Intl.PluralRules)throw new Le('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Oe.MISSING_INTL_API,a);var b=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));y=u.options[b]||u.options.other}if(!y)throw new De(u.value,p,Object.keys(u.options),a);s.push.apply(s,je(y.value,t,n,r,i,p-(u.offset||0)))}}}}return(w=s).length<2?w:w.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Pe.literal&&t.type===Pe.literal?n.value+=t.value:e.push(t),e}),[]);var w}function Be(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Pe||(Pe={}));var Fe,He=function(){function e(t,n,r,i){var o,a,s,l=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Pe.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return je(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){return{locale:l.resolvedLocale.toString()}},this.getAst=function(){return l.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,(s=r)?Object.keys(a).reduce((function(e,t){var n,r;return e[t]=(n=a[t],(r=s[t])?p(p(p({},n||{}),r||{}),Object.keys(n).reduce((function(e,t){return e[t]=p(p({},n[t]),r[t]||{}),e}),{})):n),e}),p({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,h([void 0],t,!1)))}),{cache:Be(o.number),strategy:Ae.variadic}),getDateTimeFormat:_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,h([void 0],t,!1)))}),{cache:Be(o.dateTime),strategy:Ae.variadic}),getPluralRules:_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,h([void 0],t,!1)))}),{cache:Be(o.pluralRules),strategy:Ae.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=we,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Fe||(Fe={}));var ze=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r," \n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return d(t,e),t}(Error),Ve=function(e){function t(t,n){return e.call(this,Fe.UNSUPPORTED_FORMATTER,t,n)||this}return d(t,e),t}(ze),Ue=function(e){function t(t,n){return e.call(this,Fe.INVALID_CONFIG,t,n)||this}return d(t,e),t}(ze),$e=function(e){function t(t,n){return e.call(this,Fe.MISSING_DATA,t,n)||this}return d(t,e),t}(ze),Ge=function(e){function t(t,n,r){return e.call(this,Fe.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return d(t,e),t}(ze),qe=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t," \nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description," \n"),n,i)||this;return o.descriptor=r,o}return d(t,e),t}(Ge),We=function(e){function t(t,n){var r=e.call(this,Fe.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return r.descriptor=t,r}return d(t,e),t}(ze);function Ze(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var Ye={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function Ke(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Qe(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new Ve("No ".concat(t," format named: ").concat(n)))}function Xe(e){_(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Je,et,tt=p(p({},Ye),{textComponent:n.Fragment});function nt(){var e=n.useContext(w);return Xe(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Je||(Je={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(et||(et={}));var rt=function(e){var t=nt(),n=e.value,r=e.children,i=f(e,["value","children"]);return r(t.formatNumberToParts(n,i))};function it(e){var t=function(t){var n=nt(),r=t.value,i=t.children,o=f(t,["value","children"]),a="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(a,o):n.formatTimeToParts(a,o))};return t.displayName=et[e],t}function ot(e){var t=function(t){var r=nt(),i=t.value,o=t.children,a=f(t,["value","children"]),s=r[e](i,a);if("function"==typeof o)return o(s);var l=r.textComponent||n.Fragment;return n.createElement(l,null,s)};return t.displayName=Je[e],t}rt.displayName="FormattedNumberParts",rt.displayName="FormattedNumberParts",ot("formatDate"),ot("formatTime"),ot("formatNumber"),ot("formatList"),ot("formatDisplayName"),it("formatDate"),it("formatTime");var at={id:"s.content.header",defaultMessage:"ПодпиÑывайтеÑÑŒ на раÑÑылки VK Play"},st={id:"s.content.feature1",defaultMessage:"уникальные Ñкидки"},lt={id:"s.content.feature2",defaultMessage:"паÑхалки"},ct={id:"s.content.feature3",defaultMessage:"акции"},ut={id:"s.content.feature4",defaultMessage:"инÑайты разработчиков"},dt={id:"s.content.feature5",defaultMessage:"новоÑти об играх"};const pt=()=>{var{formatMessage:e}=nt();return r().createElement("div",{className:"b-subscription__content"},r().createElement("h2",{className:"b-subscription__header",dangerouslySetInnerHTML:{__html:e(at)}}),r().createElement("ul",{className:"b-subscription__feature-list"},r().createElement("li",{className:"b-subscription__feature"},e(st)),r().createElement("li",{className:"b-subscription__feature"},e(lt)),r().createElement("li",{className:"b-subscription__feature"},e(ct)),r().createElement("li",{className:"b-subscription__feature"},e(ut)),r().createElement("li",{className:"b-subscription__feature"},e(dt))))};var ft;function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ht.apply(this,arguments)}const mt=function(e){return n.createElement("svg",ht({width:15,height:13,fill:"#333",xmlns:"http://www.w3.org/2000/svg"},e),ft||(ft=n.createElement("path",{d:"M1.434 5.454c.057-.01.115-.014.174-.013H11.5l-.216-.1c-.21-.1-.402-.236-.566-.402L7.943 2.165a1.038 1.038 0 0 1-.145-1.33 1.003 1.003 0 0 1 1.505-.13l5.016 5.017a1.003 1.003 0 0 1 .001 1.418v.001l-5.017 5.017a1.003 1.003 0 0 1-1.505-.1c-.281-.42-.22-.981.145-1.33l2.77-2.78c.147-.146.316-.27.501-.365l.301-.136H1.663a1.038 1.038 0 0 1-1.059-.843 1.003 1.003 0 0 1 .83-1.15Z"})))},gt=e=>{var{email:t,handleInput:i,handleSubmit:o,submitDisabled:a,inputDisabled:s,placeholder:l,btnText:u,hideInput:d}=e,[p,f]=(0,n.useState)(!1),h=()=>{f(!p)};return r().createElement("div",{className:c()("b-subscription__action")},!d&&r().createElement("div",{className:c()("b-subscription__input-wrapper",{"is-focused":p})},r().createElement("input",{type:"text",placeholder:l,onChange:i,onFocus:h,onBlur:h,value:t,disabled:s,className:"b-subscription__input"})),r().createElement("button",{onClick:o,disabled:a,className:c()("b-subscription__submit",{"b-subscription__submit_inside":!u})},u||r().createElement("span",null,r().createElement(mt,null))))};var vt;function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(this,arguments)}const bt=function(e){return n.createElement("svg",yt({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},e),vt||(vt=n.createElement("g",{fillRule:"nonzero"},n.createElement("path",{d:"M13.48.752.752 13.48a1.25 1.25 0 1 0 1.768 1.768L15.248 2.52A1.25 1.25 0 1 0 13.48.752Z"}),n.createElement("path",{d:"M15.248 13.48 2.52.752A1.25 1.25 0 0 0 .752 2.52L13.48 15.248a1.25 1.25 0 1 0 1.768-1.768Z"}))))},wt=e=>r().createElement("span",e,r().createElement(bt,null));var _t=o(514),St=o.n(_t),xt=o(556),Et=o.n(xt),kt=!("undefined"==typeof window||!window.document||!window.document.createElement),Ct=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Tt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ct(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return kt?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),St().createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(r().Component);Tt.propTypes={children:Et().node.isRequired,node:Et().any};const Ot=Tt;var Mt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),At=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Mt(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){St().unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=r().cloneElement(this.props.children)),this.portal=St().unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(r().Component);const Pt=At;At.propTypes={children:Et().node.isRequired,node:Et().any};const Lt=St().createPortal?Ot:Pt;var Dt=o(993),Rt=o.n(Dt);const It=e=>{var{onClose:t,children:n}=e;return r().createElement(Rt(),{className:"is-popup-shown"},r().createElement(Lt,null,r().createElement("div",{className:"b-subscription__popup"},r().createElement("div",{className:"b-subscription__popup-fade"}),r().createElement("div",{className:"b-subscription__popup-outer",onClick:e=>{var n=e.target;document.getElementsByClassName("b-subscription__popup-content")[0].contains(n)||t()}},r().createElement("div",{className:"b-subscription__popup-inner"},r().createElement("div",null,r().createElement("div",{className:"b-subscription__popup-content"},r().createElement(wt,{onClick:t,className:"b-subscription__close"}),n)))))))};var Nt,jt;function Bt(){return Bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bt.apply(this,arguments)}const Ft=function(e){return n.createElement("svg",Bt({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Nt||(Nt=n.createElement("g",{filter:"url(#feature_rupor_svg__a)"},n.createElement("g",{clipPath:"url(#feature_rupor_svg__b)"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#07F"}),n.createElement("g",{filter:"url(#feature_rupor_svg__c)"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.435 21.799c0 .914-.737 1.655-1.646 1.655A1.651 1.651 0 0 1 9.144 21.8v-2.665A3.314 3.314 0 0 1 7.5 16.267v-1.12c0-1.826 1.474-3.311 3.29-3.311H13.227c1.444-.015 2.62-.219 4.283-2.327C18.238 8.561 19.139 8 20.113 8c2.422 0 4.387 3.463 4.387 7.727 0 4.265-1.965 7.727-4.387 7.727-.978 0-1.881-.564-2.612-1.518-1.95-2.47-3.231-2.315-5.066-2.319V21.8Zm5.688-3.896c.349 1.763 1.109 2.987 1.99 2.987 1.21 0 2.193-2.314 2.193-5.163s-.983-5.163-2.193-5.163c-.873 0-1.628 1.204-1.981 2.942a2.205 2.205 0 0 1 1.98 2.198c0 1.15-.874 2.095-1.99 2.2Zm-6.785-3.28a1.1 1.1 0 0 1 1.097 1.104 1.1 1.1 0 0 1-1.097 1.104 1.1 1.1 0 0 1-1.097-1.104 1.1 1.1 0 0 1 1.097-1.104Z",fill:"#fff"}))))),jt||(jt=n.createElement("defs",null,n.createElement("filter",{id:"feature_rupor_svg__a",x:-1,y:-1,width:34,height:35,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:1,dy:2}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),n.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_246_2435"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:-1,dy:-1}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.186667 0 0 0 0 0.4 0 0 0 0.6 0"}),n.createElement("feBlend",{in2:"effect1_innerShadow_246_2435",result:"effect2_innerShadow_246_2435"})),n.createElement("filter",{id:"feature_rupor_svg__c",x:.5,y:8,width:31,height:32.455,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:10}),n.createElement("feGaussianBlur",{stdDeviation:3.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.276111 0 0 0 0 0.591667 0 0 0 0.5 0"}),n.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_246_2435"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_246_2435",result:"shape"})),n.createElement("clipPath",{id:"feature_rupor_svg__b"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#fff"})))))};var Ht,zt;function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vt.apply(this,arguments)}const Ut=function(e){return n.createElement("svg",Vt({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ht||(Ht=n.createElement("g",{filter:"url(#feature_discount_svg__a)"},n.createElement("g",{clipPath:"url(#feature_discount_svg__b)"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#07F"}),n.createElement("g",{filter:"url(#feature_discount_svg__c)"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m24.5 9.475-.021 5.623a3.552 3.552 0 0 1-1.073 2.297l-6.523 6.526c-.344.386-.816.579-1.352.579-.537 0-1.03-.193-1.395-.558l-6.073-6.075a1.957 1.957 0 0 1 0-2.747l6.588-6.547a3.684 3.684 0 0 1 2.296-1.052h.021L22.59 7.5a1.94 1.94 0 0 1 1.91 1.975Zm-12.166 6.65 7.83-2.476a.632.632 0 1 1 .38 1.205l-7.831 2.47a.629.629 0 0 1-.379-1.199Zm.352 1.115 7.83-2.47a.543.543 0 1 0 .001 0l-7.83 2.47Zm5.632.44c-.455-.454-.966-.68-1.53-.666-.558.018-1.062.256-1.51.704l-.349.348c-.473.474-.719.993-.723 1.553 0 .564.229 1.07.677 1.518.45.451.956.678 1.513.671.556-.008 1.063-.244 1.517-.699l.358-.358c.47-.47.714-.986.718-1.547.011-.56-.217-1.069-.671-1.523Zm-1.373 2.432c-.183.184-.377.275-.582.285h-.002c-.197.013-.378-.058-.546-.227a.79.79 0 0 1-.25-.557c.003-.204.09-.397.273-.58l.363-.362c.187-.188.382-.28.587-.29h.001a.703.703 0 0 1 .559.229c.173.172.248.36.235.565v.002c-.01.205-.098.396-.274.572l-.364.363ZM15.09 9.998c.435-.435.918-.661 1.45-.679.536-.013 1.024.2 1.465.64.44.442.656.928.645 1.46.01-.533-.204-1.02-.645-1.46-.44-.441-.929-.654-1.465-.64-.532.016-1.015.243-1.45.677l-.348.349c-.44.44-.672.913-.695 1.419.023-.505.255-.978.695-1.418l.348-.348Zm.137 1.805v.027c.004.234.096.44.275.62.184.183.389.267.615.252.231-.01.445-.114.641-.31l.363-.364c.19-.19.29-.4.3-.63l.002-.015-.001.013c-.011.231-.111.442-.3.631l-.364.363c-.196.196-.41.3-.64.31-.227.016-.432-.068-.616-.251a.878.878 0 0 1-.275-.646Zm2.84-1.907c-.454-.455-.965-.68-1.529-.666-.558.018-1.062.256-1.51.704l-.349.348c-.473.473-.719.992-.723 1.552v.001c0 .563.229 1.07.677 1.517.45.451.956.679 1.513.671.556-.007 1.062-.244 1.517-.698l.358-.358c.47-.47.714-.987.718-1.548.011-.56-.217-1.068-.671-1.523Zm-1.954 2.716h-.002c-.197.014-.378-.058-.546-.226a.79.79 0 0 1-.25-.557c.003-.204.09-.397.273-.58l.363-.363c.187-.187.382-.28.587-.29h.001a.703.703 0 0 1 .559.23c.173.172.248.36.235.565v.001c-.01.206-.098.396-.275.573l-.362.363c-.184.184-.378.275-.583.284Z",fill:"#fff"}))))),zt||(zt=n.createElement("defs",null,n.createElement("filter",{id:"feature_discount_svg__a",x:-1,y:-1,width:34,height:35,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:1,dy:2}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),n.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_246_2461"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:-1,dy:-1}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.186667 0 0 0 0 0.4 0 0 0 0.6 0"}),n.createElement("feBlend",{in2:"effect1_innerShadow_246_2461",result:"effect2_innerShadow_246_2461"})),n.createElement("filter",{id:"feature_discount_svg__c",x:.5,y:7.5,width:31,height:34,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:10}),n.createElement("feGaussianBlur",{stdDeviation:3.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.276111 0 0 0 0 0.591667 0 0 0 0.5 0"}),n.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_246_2461"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_246_2461",result:"shape"})),n.createElement("clipPath",{id:"feature_discount_svg__b"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#fff"})))))};var $t,Gt;function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qt.apply(this,arguments)}const Wt=function(e){return n.createElement("svg",qt({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$t||($t=n.createElement("g",{filter:"url(#feature_games_svg__a)"},n.createElement("g",{clipPath:"url(#feature_games_svg__b)"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#07F"}),n.createElement("g",{filter:"url(#feature_games_svg__c)"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m24.772 15.232.018.094c.767 3.93 1.17 6.377-.153 7.15-.617.36-1.407.243-2.347-.348a5.894 5.894 0 0 1-1.315-1.154l-.135-.158c-.584-.693-1.464-1.737-3.933-1.737h-.052l-.053.001h-1.594c-2.535-.018-3.455 1.033-4.048 1.736l-.135.158a5.894 5.894 0 0 1-1.315 1.154c-.585.368-1.111.552-1.575.552-.28 0-.539-.068-.772-.204-1.323-.773-.92-3.22-.153-7.15l.019-.097c.156-.802.31-1.588.424-2.3.312-1.97 1.029-3.216 2.129-3.707 1.113-.496 2.114-.013 2.225.044 1.888 1.063 3.274.974 3.311.972h.001l.08-.004 1.29.004c.006.002 1.397.102 3.276-.958.14-.071 1.138-.556 2.253-.058 1.1.49 1.817 1.738 2.13 3.706.113.713.267 1.501.424 2.304Zm-12.039.206h.934c.516 0 .933-.377.933-.842 0-.465-.417-.843-.933-.843h-.934v-.842c0-.465-.417-.842-.933-.842s-.933.377-.933.842v.842h-.934c-.516 0-.933.378-.933.843 0 .465.417.842.933.842h.934v.842c0 .465.417.843.933.843s.933-.378.933-.843v-.842Zm5.168-.017c-.497 0-.9-.387-.9-.864s.403-.864.9-.864c.496 0 .9.387.9.864s-.404.864-.9.864Zm1 .924c0 .476.403.863.9.863.496 0 .9-.387.9-.863 0-.477-.404-.864-.9-.864-.497 0-.9.387-.9.864Zm.9-2.73c-.497 0-.9-.386-.9-.863s.403-.864.9-.864c.496 0 .9.387.9.864 0 .476-.404.863-.9.863Zm.998.942c0 .477.403.864.9.864s.9-.387.9-.864-.403-.864-.9-.864-.9.387-.9.864Z",fill:"#fff"}))))),Gt||(Gt=n.createElement("defs",null,n.createElement("filter",{id:"feature_games_svg__a",x:-1,y:-1,width:34,height:35,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:1,dy:2}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),n.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_246_2451"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:-1,dy:-1}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.186667 0 0 0 0 0.4 0 0 0 0.6 0"}),n.createElement("feBlend",{in2:"effect1_innerShadow_246_2451",result:"effect2_innerShadow_246_2451"})),n.createElement("filter",{id:"feature_games_svg__c",x:-.5,y:9,width:33,height:30.68,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:10}),n.createElement("feGaussianBlur",{stdDeviation:3.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.276111 0 0 0 0 0.591667 0 0 0 0.5 0"}),n.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_246_2451"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_246_2451",result:"shape"})),n.createElement("clipPath",{id:"feature_games_svg__b"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#fff"})))))};var Zt,Yt;function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kt.apply(this,arguments)}const Qt=function(e){return n.createElement("svg",Kt({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Zt||(Zt=n.createElement("g",{filter:"url(#feature_update_svg__a)"},n.createElement("g",{clipPath:"url(#feature_update_svg__b)"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#07F"}),n.createElement("g",{filter:"url(#feature_update_svg__c)"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m19.973 9.64.946-1.637c.261-.455.802-.634 1.206-.4a.78.78 0 0 1 .357.46l1.481 4.1a.99.99 0 0 1-.083.84.987.987 0 0 1-.686.491l-4.291.768a.791.791 0 0 1-.578-.08c-.403-.233-.519-.79-.256-1.245l.841-1.457a5.91 5.91 0 0 0-2.865-.794c-.076 0-.151 0-.227.002a5.885 5.885 0 0 0-2.38.574 5.906 5.906 0 0 0-2.706 2.672 5.82 5.82 0 0 0-.54 3.487 5.809 5.809 0 0 0 1.797 3.387c.534.498 1.16.894 1.839 1.162a5.86 5.86 0 0 0 4.415-.054 5.883 5.883 0 0 0 3.32-3.687l.027-.102a1.064 1.064 0 0 1 2.059.54l-.002.005a7.947 7.947 0 0 1-2.18 3.626 8.001 8.001 0 0 1-2.485 1.612 7.978 7.978 0 0 1-6.024 0 8.002 8.002 0 0 1-4.129-3.838 7.92 7.92 0 0 1-.737-2.33 8.042 8.042 0 0 1 .016-2.523 7.932 7.932 0 0 1 .721-2.23 8.039 8.039 0 0 1 3.773-3.682 7.943 7.943 0 0 1 3.265-.745h.205a7.925 7.925 0 0 1 3.9 1.078Z",fill:"#fff"}))))),Yt||(Yt=n.createElement("defs",null,n.createElement("filter",{id:"feature_update_svg__a",x:-1,y:-1,width:34,height:35,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:1,dy:2}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),n.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_246_2447"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:-1,dy:-1}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.186667 0 0 0 0 0.4 0 0 0 0.6 0"}),n.createElement("feBlend",{in2:"effect1_innerShadow_246_2447",result:"effect2_innerShadow_246_2447"})),n.createElement("filter",{id:"feature_update_svg__c",x:1,y:7.5,width:30.021,height:34,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:10}),n.createElement("feGaussianBlur",{stdDeviation:3.5}),n.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.276111 0 0 0 0 0.591667 0 0 0 0.5 0"}),n.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_246_2447"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_246_2447",result:"shape"})),n.createElement("clipPath",{id:"feature_update_svg__b"},n.createElement("rect",{width:32,height:32,rx:8,fill:"#fff"})))))};var Xt={successHeader:{id:"s.success.header",defaultMessage:"ПодпиÑка уÑпешно оформлена!"},successText:{id:"s.success.text",defaultMessage:"Теперь на email <span>{email}</span> вам будут приходить новоÑтные пиÑьма о крупных акциÑÑ… и обновлениÑÑ…."},successTextNotVerify:{id:"s.success.text_no_verify",defaultMessage:"ОÑталоÑÑŒ подтвердить email в почте <span>{email}</span>."},successCategories:{id:"s.success.categories",defaultMessage:"Ð’Ñ‹ подпиÑаны на категории:"},news:{id:"s.success.news",defaultMessage:"ÐовоÑти платформы"},discount:{id:"s.success.discount",defaultMessage:"Скидки"},promo:{id:"s.success.promo",defaultMessage:"Ðкции и обновлениÑ"},gameNews:{id:"s.success.game_news",defaultMessage:"ÐовоÑти об играх"},edit:{id:"s.success.edit",defaultMessage:"Ð’Ñ‹ можете управлÑÑ‚ÑŒ подпиÑками в <a>ÐаÑтройках аккаунтa</a>."},ok:{id:"s.ok",defaultMessage:"ПонÑтно"}};const Jt=e=>{var{email:t,handleClick:n,btnText:i,verified:a}=e,{formatMessage:l}=nt();return r().createElement("div",{className:"b-subscription__success"},r().createElement("div",{className:"b-subscription__success__icon"},r().createElement("img",{src:o(910),alt:""})),r().createElement("div",{className:"b-subscription__success__descr"},r().createElement("h3",{className:"b-subscription__success__header"},l(Xt.successHeader)),r().createElement("p",{className:"b-subscription__success__text"},l(a?Xt.successText:Xt.successTextNotVerify,{email:t||"",span:e=>r().createElement("span",null,e)}))),r().createElement("div",{className:"b-subscription__category"},r().createElement("h4",null,l(Xt.successCategories)),r().createElement("ul",{className:"b-subscription__category-list"},r().createElement("li",{className:"b-subscription__category-item"},r().createElement("span",{className:"icon"},r().createElement(Ft,null)),l(Xt.news)),r().createElement("li",{className:"b-subscription__category-item"},r().createElement("span",{className:"icon"},r().createElement(Ut,null)),l(Xt.discount)),r().createElement("li",{className:"b-subscription__category-item"},r().createElement("span",{className:"icon"},r().createElement(Qt,null)),l(Xt.promo)),r().createElement("li",{className:"b-subscription__category-item"},r().createElement("span",{className:"icon"},r().createElement(Wt,null)),l(Xt.gameNews))),r().createElement("p",null,l(Xt.edit,{a:e=>r().createElement("a",{href:"//webcf.waybackmachine.org/web/20240801092516/https://account.vkplay.ru/profile/newsletter/",target:s.inGamecenter?"_self":"_blank"},e)}))),r().createElement("button",{className:"b-subscription__submit",onClick:n},i||l(Xt.ok)))};var en;function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tn.apply(this,arguments)}const nn=function(e){return n.createElement("svg",tn({viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),en||(en=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Zm-7.236-3.145a1.5 1.5 0 1 0-2.197-2.043l-7.304 7.852L9.4 13.741a1.5 1.5 0 1 0-2.138 2.105l4.686 4.76c.75.761 1.982.744 2.71-.038l8.105-8.713Z",fill:"#fff"})))};var rn={id:"s.finish.header",defaultMessage:"ПодпиÑка на раÑÑылки VK Play оформлена!"},on={id:"s.account_settings",defaultMessage:"наÑтройки аккаунта"},an={id:"s.finish.edit",defaultMessage:"УправлÑйте подпиÑкой через"};const sn=e=>{var{formatMessage:t}=nt();return r().createElement("div",{className:"b-subscription__content b-subscription__done"},r().createElement("span",{className:"icon"},r().createElement(nn,null)),r().createElement("div",{className:"b-subscription__done__descr"},r().createElement("h2",{className:"b-subscription__header",dangerouslySetInnerHTML:{__html:t(rn)}}),r().createElement("p",{className:"b-subscription__done__text"},r().createElement("span",null,t(an)," "),r().createElement("a",{href:"//webcf.waybackmachine.org/web/20240801092516/https://account.vkplay.ru/profile/newsletter/",target:s.inGamecenter?"_self":"_blank"},t(on)))))};var ln,cn;function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},un.apply(this,arguments)}const dn=function(e){return n.createElement("svg",un({width:34,height:34,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ln||(ln=n.createElement("g",{filter:"url(#letter_svg__a)"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.512 27H7.322C5.488 27 4 25.533 4 23.727V10.273C4 8.467 5.49 7 7.321 7h19.19c1.833 0 3.322 1.467 3.322 3.273v13.454c0 1.806-1.489 3.273-3.321 3.273Zm-15.04-9.963-3.715-3.66a1.36 1.36 0 0 1 0-1.946 1.409 1.409 0 0 1 1.974 0l7.17 7.066 7.18-7.075a1.411 1.411 0 0 1 1.977 0 1.363 1.363 0 0 1 0 1.945l-3.709 3.653 3.45 3.4c.521.513.521 1.346 0 1.858a1.348 1.348 0 0 1-1.885 0l-3.45-3.4-2.418 2.382a1.402 1.402 0 0 1-1.144.57 1.405 1.405 0 0 1-1.144-.57l-2.4-2.364-3.431 3.38a1.348 1.348 0 0 1-1.886 0 1.303 1.303 0 0 1 0-1.86l3.43-3.38Z",fill:"url(#letter_svg__b)"}))),cn||(cn=n.createElement("defs",null,n.createElement("linearGradient",{id:"letter_svg__b",x1:16.917,y1:7,x2:16.917,y2:27,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#fff"}),n.createElement("stop",{offset:1,stopColor:"#A9D1FF"})),n.createElement("filter",{id:"letter_svg__a",x:-3,y:-2,width:40,height:40,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:1}),n.createElement("feGaussianBlur",{stdDeviation:1.5}),n.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),n.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_114_12807"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_114_12807",result:"shape"})))))};var pn={id:"s.line.text",defaultMessage:"Получайте больше интереÑных новоÑтей по играм VK Play!"};const fn=e=>{var{children:t,handleClose:n}=e,{formatMessage:i}=nt();return r().createElement("div",{className:"b-subscription-line"},r().createElement(wt,{onClick:n,className:"b-subscription__close"}),r().createElement("div",{className:"b-subscription-line__inner"},r().createElement("div",{className:"b-subscription-line__content"},r().createElement("span",{className:"icon"},r().createElement(dn,null)),r().createElement("span",{className:"b-subscription-line__text"},i(pn)),r().createElement("div",{className:"b-subscription-line__decor"}),t)))};var hn=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9]){1,}?/;function mn(e){i.warn("[react-ga]",e)}function gn(e){return gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gn(e)}var vn=["to","target"];function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(n),!0).forEach((function(t){xn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wn(e,t){return wn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wn(e,t)}function _n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sn(e)}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var En="_blank",kn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wn(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Sn(i);if(o){var n=Sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===gn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _n(e)}(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xn(_n(e=a.call.apply(a,[this].concat(n))),"handleClick",(function(t){var n=e.props,r=n.target,i=n.eventLabel,o=n.to,a=n.onClick,l=n.trackerNames,c={label:i},u=r!==En,d=!(t.ctrlKey||t.shiftKey||t.metaKey||1===t.button);u&&d?(t.preventDefault(),s.trackLink(c,(function(){window.location.href=o}),l)):s.trackLink(c,(function(){}),l),a&&a(t)})),e}return t=s,(n=[{key:"render",value:function(){var e=this.props,t=e.to,n=e.target,i=bn(bn({},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,vn)),{},{target:n,href:t,onClick:this.handleClick});return n===En&&(i.rel="".concat(i.rel?i.rel:""," noopener noreferrer").trim()),delete i.eventLabel,delete i.trackerNames,r().createElement("a",i)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(n.Component);xn(kn,"trackLink",(function(){mn("ga tracking not enabled")})),kn.propTypes={eventLabel:Et().string.isRequired,target:Et().string,to:Et().string,onClick:Et().func,trackerNames:Et().arrayOf(Et().string)},kn.defaultProps={target:null,to:null,onClick:null,trackerNames:null};var Cn="REDACTED (Potential Email Address)";function Tn(e){return e&&e.toString().replace(/^\s+|\s+$/g,"")}var On=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i,Mn=!1;function An(e){i.info("[react-ga]",e)}var Pn=[];const Ln={calls:Pn,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Pn.push([].concat(t))},resetCalls:function(){Pn.length=0}};var Dn=["category","action","label","value","nonInteraction","transport"];function Rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(e){return Nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nn(e)}function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Bn="undefined"==typeof window||"undefined"==typeof document,Fn=!1,Hn=!0,zn=!1,Vn=!0,Un=!0,$n=function(){var e;return zn?Ln.ga.apply(Ln,arguments):!Bn&&(window.ga?(e=window).ga.apply(e,arguments):mn("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function Gn(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e||"";return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(n=Tn(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(On)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))),t&&(n=function(e){return"string"==typeof(t=e)&&-1!==t.indexOf("@")?(mn("This arg looks like an email address, redacting."),Cn):e;var t}(n)),n}(e,Hn,Un)}function qn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0];if("function"==typeof $n){if("string"!=typeof i)return void mn("ga command must be a string");!Vn&&Array.isArray(e)||$n.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){var t;$n.apply(void 0,function(e){if(Array.isArray(e))return jn(e)}(t=["".concat(e,".").concat(i)].concat(n.slice(1)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return jn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}))}}function Wn(e,t){e?t&&(t.debug&&!0===t.debug&&(Fn=!0),!1===t.titleCase&&(Hn=!1),!1===t.redactEmail&&(Un=!1),t.useExistingGa)||(t&&t.gaOptions?$n("create",e,t.gaOptions):$n("create",e,"auto")):mn("gaTrackingID is required in initialize()")}function Zn(e,t){return Array.isArray(e)?e.forEach((function(e){"object"===Nn(e)?Wn(e.trackingId,e):mn("All configs must be an object")})):Wn(e,t),!0}function Yn(e,t){if(t&&!0===t.testMode)zn=!0;else{if(Bn)return;t&&!0===t.standardImplementation||function(e){if(!Mn){Mn=!0;var t="https://webcf.waybackmachine.org/web/20240801092516/https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://webcf.waybackmachine.org/web/20240801092516/https://www.google-analytics.com/analytics_debug.js");var n,r,i,o,a,s,l,c=e&&e.onerror;n=window,r=document,i="script",o=t,a="ga",n.GoogleAnalyticsObject=a,n[a]=n[a]||function(){(n[a].q=n[a].q||[]).push(arguments)},n[a].l=1*new Date,s=r.createElement(i),l=r.getElementsByTagName(i)[0],s.async=1,s.src=o,s.onerror=c,l.parentNode.insertBefore(s,l)}}(t)}Vn=!t||"boolean"!=typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,Zn(e,t)}function Kn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&($n.apply(void 0,t),Fn&&(An("called ga('arguments');"),An("with arguments: ".concat(JSON.stringify(t))))),window.ga}function Qn(e,t){e?"object"===Nn(e)?(0===Object.keys(e).length&&mn("empty `fieldsObject` given to .set()"),qn(t,"set",e),Fn&&(An("called ga('set', fieldsObject);"),An("with fieldsObject: ".concat(JSON.stringify(e))))):mn("Expected `fieldsObject` arg to be an Object"):mn("`fieldsObject` is required in .set()")}function Xn(e,t){qn(t,"send",e),Fn&&(An("called ga('send', fieldObject);"),An("with fieldObject: ".concat(JSON.stringify(e))),An("with trackers: ".concat(JSON.stringify(t))))}function Jn(e,t,n){if(e){var r=Tn(e);if(""!==r){var i={};if(n&&(i.title=n),qn(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rn(Object(n),!0).forEach((function(t){In(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},i)),Fn){An("called ga('send', 'pageview', path);");var o="";n&&(o=" and title: ".concat(n)),An("with path: ".concat(r).concat(o))}}else mn("path cannot be an empty string in .pageview()")}else mn("path is required in .pageview()")}function er(e,t){if(e){var n,r="/"===(n=Tn(e)).substring(0,1)?n.substring(1):n;if(""!==r){var i="/modal/".concat(r);qn(t,"send","pageview",i),Fn&&(An("called ga('send', 'pageview', path);"),An("with path: ".concat(i)))}else mn("modalName cannot be an empty string or a single / in .modalview()")}else mn("modalName is required in .modalview(modalName)")}function tr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,i=e.label,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n&&"number"==typeof r){var a={hitType:"timing",timingCategory:Gn(t),timingVar:Gn(n),timingValue:r};i&&(a.timingLabel=Gn(i)),Xn(a,o)}else mn("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function nr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,i=e.value,o=e.nonInteraction,a=e.transport,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Dn),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n){var c={hitType:"event",eventCategory:Gn(t),eventAction:Gn(n)};r&&(c.eventLabel=Gn(r)),void 0!==i&&("number"!=typeof i?mn("Expected `args.value` arg to be a Number."):c.eventValue=i),void 0!==o&&("boolean"!=typeof o?mn("`args.nonInteraction` must be a boolean."):c.nonInteraction=o),void 0!==a&&("string"!=typeof a?mn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(a)&&mn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),c.transport=a)),Object.keys(s).filter((function(e){return"dimension"===e.substr(0,9)})).forEach((function(e){c[e]=s[e]})),Object.keys(s).filter((function(e){return"metric"===e.substr(0,6)})).forEach((function(e){c[e]=s[e]})),Xn(c,l)}else mn("args.category AND args.action are required in event()")}function rr(e,t){var n=e.description,r=e.fatal,i={hitType:"exception"};n&&(i.exDescription=Gn(n)),void 0!==r&&("boolean"!=typeof r?mn("`args.fatal` must be a boolean."):i.exFatal=r),Xn(i,t)}var ir={require:function(e,t,n){if(e){var r=Tn(e);if(""!==r){var i=n?"".concat(n,".require"):"require";if(t){if("object"!==Nn(t))return void mn("Expected `options` arg to be an Object");0===Object.keys(t).length&&mn("Empty `options` given to .require()"),Kn(i,r,t),Fn&&An("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else Kn(i,r),Fn&&An("called ga('require', '".concat(r,"');"))}else mn("`name` cannot be an empty string in .require()")}else mn("`name` is required in .require()")},execute:function(e,t){for(var n,r,i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];if(1===o.length?n=o[0]:(r=o[0],n=o[1]),"string"!=typeof e)mn("Expected `pluginName` arg to be a String.");else if("string"!=typeof t)mn("Expected `action` arg to be a String.");else{var s="".concat(e,":").concat(t);n=n||null,r&&n?(Kn(s,r,n),Fn&&(An("called ga('".concat(s,"');")),An('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(Kn(s,n),Fn&&(An("called ga('".concat(s,"');")),An("with payload: ".concat(JSON.stringify(n))))):(Kn(s),Fn&&An("called ga('".concat(s,"');")))}}};function or(e,t,n){if("function"==typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:Gn(e.label)},i=!1,o=setTimeout((function(){i=!0,t()}),250);r.hitCallback=function(){clearTimeout(o),i||t()},Xn(r,n)}else mn("args.label is required in outboundLink()");else mn("hitCallback function is required")}var ar=Ln;const sr={initialize:Yn,ga:Kn,set:Qn,send:Xn,pageview:Jn,modalview:er,timing:tr,event:nr,exception:rr,plugin:ir,outboundLink:or,testModeAPI:Ln};function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(n),!0).forEach((function(t){ur(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kn.origTrackLink=kn.trackLink,kn.trackLink=or;var dr=kn;const pr=cr(cr({},e),{},{OutboundLink:dr});var fr=o(764),hr=e=>{var n,r,o,{action:a,label:l,category:c}=e,u=window.__cmp&&(null===(n=window.__cmp("consentStatus"))||void 0===n?void 0:n.consentExists)&&(null===(r=window.__cmp("consentStatus"))||void 0===r?void 0:r.userChoiceExists),d=window.__cmp&&(null===(o=window.__cmp("getCMPData"))||void 0===o?void 0:o.purposeConsents.c52);if(s.isVkPlay&&(!window.__cmp||u&&d)){["pageview","scroll"].includes(a)||pr.ga("send",t({hitType:"event",eventCategory:"vkplay_events",eventAction:a},l&&{eventLabel:l}));try{(0,fr.Ay)("params",{vkplay_events:l?{[a]:l}:a})}catch(e){}var p=window._tmr||(window._tmr=[]),f=t({category:c,action:a===c+"_click"?"click":a},l&&{label:l},{url:window.location.href});p.push({id:"3247783",type:"reachGoal",goal:"vkplay",params:f}),window.location.search.includes("extra_events_debug=1")&&i.log("🚀 extra event sent:",a,l,c)}},mr={id:"s.subscribe",defaultMessage:"ПодпиÑатьÑÑ"},gr={id:"s.email",defaultMessage:"Ваш email"},vr={id:"s.catalog",defaultMessage:"Перейти в каталог"};const yr=e=>{var t,{view:o,user:a,onClose:l}=e,[u,d]=(0,n.useState)(!1),[p,f]=(0,n.useState)(!1),[h,m]=(0,n.useState)(""),[g,v]=(0,n.useState)(!1),[y,b]=(0,n.useState)(null),[w,_]=(0,n.useState)({[o]:1}),[S,x]=(0,n.useState)(!1),[E,k]=(0,n.useState)(null),C=(null==E?void 0:E.can_change_email)||(null==E?void 0:E.can_change_email_in_account)||!(null!=a&&a.login),T="regular"===o,O=E&&Object.keys(E).length,{formatMessage:M}=nt(),A=e=>{var t=e.target.value;m(t)},P=()=>{localStorage.setItem("show_sbscrptn_vkplay","0"),d(!1),l&&l(),setTimeout((()=>{window.partner_resize&&window.partner_resize()}),0)},L=()=>{x(!1),_({[o]:1})},D=()=>{if(null==a||!a.login)return window.__GEM&&window.__GEM.showLogin(),!1;var e={client_id:"games.my.com",email:h};x(!0),b(!0),hr({action:"vkp_news_submit",label:"subscription",category:"subscription"}),s.Backend.api_post("/account/subscriptions/subscribe/",e).then((e=>{"ok"===e.status&&(x(!0),b(!0),window.partner_resize&&window.partner_resize(),hr({action:"vkp_news_subscribe",label:"subscription",category:"subscription"}))}))};switch((0,n.useEffect)((()=>{i.debug("SUBSCRIPTIONS TOGGLE",u)}),[u]),(0,n.useEffect)((()=>{"0"===localStorage.getItem("show_sbscrptn_vkplay")?(d(!1),l&&l()):d(!0)}),[]),(0,n.useEffect)((()=>{null!=a&&a.login?s.Backend.api_get("/account/subscriptions/status/",{client_id:"games.my.com"}).then((e=>{if(e){var{subscribed_at:t,unsubscribed_at:n}=e;(t&&!n||t>n)&&(b(!0),d(!1),l&&l()),k(e),e.email&&m(e.email)}})).catch((e=>{k({})})):k({})}),[a]),(0,n.useEffect)((()=>{p||y||!u||(hr({action:"form_show",label:"subscription",category:"subscription"}),f(!0))}),[u]),(0,n.useEffect)((()=>{window.partner_resize&&window.partner_resize()}),[E]),(0,n.useEffect)((()=>{var e,t;e=h,t=hn.test(e),v(t)}),[h]),o){case"regular":t=y?r().createElement(Jt,{handleClick:()=>{window.location.href=location.origin+"/play"},btnText:M(vr),verified:null==E?void 0:E.email_verified,email:h}):r().createElement("div",{className:"b-subscription"},r().createElement("div",{className:"b-subscription__inner"},r().createElement(r().Fragment,null,r().createElement(pt,null),r().createElement(gt,{view:o,email:h,btnText:M(mr),inputDisabled:!C,submitDisabled:!g,handleSubmit:D,placeholder:M(gr),handleInput:A}))));break;case"line":t=r().createElement(r().Fragment,null,!y&&r().createElement(fn,{handleClose:P},r().createElement(gt,{view:o,handleSubmit:()=>{if(null==a||!a.login)return window.__GEM&&window.__GEM.showLogin(),!1;_({[o]:2})},btnText:M(mr),hideInput:!0})),!y&&2===w[o]&&r().createElement(It,{onClose:L},r().createElement("div",{className:c()("b-subscription-wrapper","regular")},r().createElement("div",{className:"b-subscription"},r().createElement("div",{className:"b-subscription__inner"},r().createElement(pt,null),r().createElement(gt,{view:o,email:h,btnText:M(mr),inputDisabled:!C,placeholder:M(gr),submitDisabled:!g,handleSubmit:D,handleInput:A}))))));break;case"compact":t=r().createElement("div",{className:"b-subscription"},r().createElement(wt,{onClick:P,className:"b-subscription__close"}),r().createElement("div",{className:"b-subscription__inner"},y?r().createElement(sn,null):r().createElement(r().Fragment,null,r().createElement(pt,null),r().createElement(gt,{view:o,email:h,placeholder:M(gr),inputDisabled:!C,submitDisabled:!g,handleSubmit:D,handleInput:A}))));break;case"wide":t=r().createElement("div",{className:"b-subscription"},r().createElement(wt,{onClick:P,className:"b-subscription__close"}),r().createElement("div",{className:"b-subscription__inner"},y?r().createElement(sn,null):r().createElement(r().Fragment,null,r().createElement(pt,null),r().createElement(gt,{view:o,email:h,placeholder:M(gr),btnText:M(mr),inputDisabled:!C,submitDisabled:!g,handleSubmit:D,handleInput:A}))));break;case"popup":t=r().createElement("p",null,"popup")}return T||u&&O&&null!=a&&a.login?r().createElement("div",{className:c()("b-subscription-wrapper",o)},t,S&&!T&&r().createElement(It,{onClose:L},r().createElement(Jt,{handleClick:()=>{hr({action:"vkp_news_agree",label:"subscription",category:"subscription"}),L()},email:h,verified:E.email_verified}))):(i.debug("SUBSCRIPTION SHOULD HIDE",{viewIsRegular:T,showSubscriptions:u,userStatusLoaded:O,user:null==a?void 0:a.login}),null)};function br(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=p({timeZone:t},e[r]),n}),{})}function wr(e,t){return Object.keys(p(p({},e),t)).reduce((function(n,r){return n[r]=p(p({},e[r]||{}),t[r]||{}),n}),{})}function _r(e,t){if(!t)return e;var n=He.formats;return p(p(p({},n),e),{date:wr(br(n.date,t),br(e.date||{},t)),time:wr(br(n.time,t),br(e.time||{},t))})}function Sr(e,t,n,r,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.fallbackOnEmptyString,d=e.onError,f=e.timeZone,h=e.defaultRichTextElements;void 0===n&&(n={id:""});var m=n.id,v=n.defaultMessage;_(!!m,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var y=String(m),b=s&&Object.prototype.hasOwnProperty.call(s,y)&&s[y];if(Array.isArray(b)&&1===b.length&&b[0].type===g.literal)return b[0].value;if(!r&&b&&"string"==typeof b&&!h)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=p(p({},h),r||{}),a=_r(a,f),c=_r(c,f),!b){if(!1===u&&""===b)return b;if((!v||o&&o.toLowerCase()!==l.toLowerCase())&&d(new We(n,o)),v)try{return t.getMessageFormat(v,l,c,i).format(r)}catch(e){return d(new qe('Error formatting default message for: "'.concat(y,'", rendering default message verbatim'),o,n,e)),"string"==typeof v?v:y}return y}try{return t.getMessageFormat(b,o,a,p({formatters:t},i||{})).format(r)}catch(e){d(new qe('Error formatting message: "'.concat(y,'", using ').concat(v?"default message":"id"," as fallback."),o,n,e))}if(v)try{return t.getMessageFormat(v,l,c,i).format(r)}catch(e){d(new qe('Error formatting the default message for: "'.concat(y,'", rendering message verbatim'),o,n,e))}return"string"==typeof b?b:"string"==typeof v?v:y}var xr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Er(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&Qe(i,"number",a,o)||{};return t(r,Ze(n,xr,s))}function kr(e,t,n,r){void 0===r&&(r={});try{return Er(e,t,r).format(n)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Cr(e,t,n,r){void 0===r&&(r={});try{return Er(e,t,r).formatToParts(n)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting number.",t))}return[]}var Tr=["numeric","style"];function Or(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Le('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Oe.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&Qe(i,"relative",a,o)||{};return t(r,Ze(n,Tr,s))}(e,t,i).format(n,r)}catch(t){e.onError(new Ge("Error formatting relative time.",e.locale,t))}return String(n)}var Mr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Ar(e,t,n,r){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,c=p(p({},s&&{timeZone:s}),l&&Qe(o,t,l,a)),u=Ze(r,Mr,c);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=p(p({},u),{hour:"numeric",minute:"numeric"})),n(i,u)}function Pr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ar(e,"date",t,a).format(s)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Lr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ar(e,"time",t,a).format(s)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function Dr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l=e.timeZone,c=e.locale,u=e.onError,d=Ze(s,Mr,l?{timeZone:l}:{});try{return t(c,d).formatRange(i,o)}catch(e){u(new ze(Fe.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function Rr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ar(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Ir(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ar(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new ze(Fe.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Nr=["localeMatcher","type"];function jr(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.PluralRules||o(new Le('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Oe.MISSING_INTL_API));var a=Ze(r,Nr);try{return t(i,a).select(n)}catch(e){o(new Ge("Error formatting plural.",i,e))}return"other"}var Br=["localeMatcher","type","style"],Fr=Date.now();function Hr(e,t,n,r){void 0===r&&(r={});var i=zr(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===i.length?i[0]:i}function zr(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.ListFormat||o(new Le('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Oe.MISSING_INTL_API));var a=Ze(r,Br);try{var s={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Fr,"_").concat(e,"_").concat(Fr)}(t);return s[n]=e,n}return String(e)}));return t(i,a).formatToParts(l).map((function(e){return"literal"===e.type?e:p(p({},e),{value:s[e.value]||e.value})}))}catch(e){o(new ze(Fe.FORMAT_ERROR,"Error formatting list.",e))}return n}var Vr=["localeMatcher","style","type","fallback"];function Ur(e,t,n,r){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new Le('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Oe.MISSING_INTL_API));var a=Ze(r,Vr);try{return t(i,a).of(n)}catch(e){o(new ze(Fe.FORMAT_ERROR,"Error formatting display name.",e))}}function $r(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Gr(e){return e?Object.keys(e).reduce((function(t,r){var i,o=e[r];return t[r]=Ne(o)?(i=o,function(e){return i(n.Children.toArray(e))}):o,t}),{}):e}var qr=function(e,t,r,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=Gr(i),l=Sr.apply(void 0,h([e,t,r,s],o,!1));return Array.isArray(l)?n.Children.toArray(l):l},Wr=function(e,t){var n=e.defaultRichTextElements,r=f(e,["defaultRichTextElements"]),i=Gr(n),o=function(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,h([void 0],t,!1)))}),{cache:Ke(e.dateTime),strategy:Ae.variadic}),o=_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,h([void 0],t,!1)))}),{cache:Ke(e.number),strategy:Ae.variadic}),a=_e((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,h([void 0],t,!1)))}),{cache:Ke(e.pluralRules),strategy:Ae.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:_e((function(e,t,n,r){return new He(e,t,n,p({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},r||{}))}),{cache:Ke(e.message),strategy:Ae.variadic}),getRelativeTimeFormat:_e((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,h([void 0],e,!1)))}),{cache:Ke(e.relativeTime),strategy:Ae.variadic}),getPluralRules:a,getListFormat:_e((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,h([void 0],e,!1)))}),{cache:Ke(e.list),strategy:Ae.variadic}),getDisplayNames:_e((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,h([void 0],e,!1)))}),{cache:Ke(e.displayNames),strategy:Ae.variadic})}}(t),r=p(p({},Ye),e),i=r.locale,o=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new $e('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new $e('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new Ue('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){e.onWarn&&e.defaultRichTextElements&&function(e){return"string"==typeof(e?e[Object.keys(e)[0]]:void 0)}(e.messages||{})&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(r),p(p({},r),{formatters:n,formatNumber:kr.bind(null,r,n.getNumberFormat),formatNumberToParts:Cr.bind(null,r,n.getNumberFormat),formatRelativeTime:Or.bind(null,r,n.getRelativeTimeFormat),formatDate:Pr.bind(null,r,n.getDateTimeFormat),formatDateToParts:Rr.bind(null,r,n.getDateTimeFormat),formatTime:Lr.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Dr.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Ir.bind(null,r,n.getDateTimeFormat),formatPlural:jr.bind(null,r,n.getPluralRules),formatMessage:Sr.bind(null,r,n),$t:Sr.bind(null,r,n),formatList:Hr.bind(null,r,n.getListFormat),formatListToParts:zr.bind(null,r,n.getListFormat),formatDisplayName:Ur.bind(null,r,n.getDisplayNames)})}(p(p(p({},tt),r),{defaultRichTextElements:i}),t);return p(p({},o),{formatMessage:qr.bind(null,{locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i},o.formatters)})},Zr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Wr($r(t.props),t.cache),prevConfig:$r(t.props)},t}return d(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,i=$r(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}(n,i)?null:{intl:Wr(i,r),prevConfig:i}},t.prototype.render=function(){return Xe(this.state.intl),n.createElement(b,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=tt,t}(n.PureComponent);const Yr=Zr;var Kr=o(72),Qr=o.n(Kr),Xr=o(825),Jr=o.n(Xr),ei=o(659),ti=o.n(ei),ni=o(56),ri=o.n(ni),ii=o(540),oi=o.n(ii),ai=o(113),si=o.n(ai),li=o(907),ci={};ci.styleTagTransform=si(),ci.setAttributes=ri(),ci.insert=ti().bind(null,"head"),ci.domAPI=Jr(),ci.insertStyleElement=oi(),Qr()(li.A,ci),li.A&&li.A.locals&&li.A.locals;const ui=e=>{var{lang:t,messages:n}=e,i=null==t?void 0:t.split("_")[0];return r().createElement(Yr,{messages:n,locale:i,defaultLocale:"ru"},r().createElement(yr,e))};var di={ru:o(49),en:o(242),de:o(153),es:o(427),pl:o(179),tr:o(164),ar:o(402)};const pi=e=>{var{user:o,onClose:a}=e,[l,c]=(0,n.useState)(null),[u,d]=(0,n.useState)(e.lang||"ru_RU"),p=u.split("_")[0],[f,h]=(0,n.useState)(null),m={user:o||(null==f?void 0:f.session)||{},lang:u};return(0,n.useEffect)((()=>{o?null!=o&&o.login||a&&a():s.Backend.api_get("/social/profile/v2/session").then((e=>{var{locale:t}=e;"ok"===e.status?(h(e),d(t)):"fail"===e.status&&(d(t),a&&a())})).catch((e=>{i.warn(e)}))}),[]),(0,n.useEffect)((()=>{c(di[p])}),[u]),l&&m.user.login?r().createElement(ui,t({},e,m,{messages:l})):null}})(),a})(),e.exports=r(n(67294),n(73935))},2223:function(e,t,n){var r,i=n(25108);self,r=(e,t)=>(()=>{var n={4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},6659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".blockquote__root--kb89LI{position:relative;background:#2c2c30;border-radius:10px;padding:40px 84px 40px 100px}.blockquote__root--kb89LI .blockquote__decoration--jcIBwI{position:absolute;top:24px;left:24px;width:64px;height:64px;color:#9b9b9b;pointer-events:none;opacity:.4}.blockquote__root--kb89LI .blockquote__content--cOexUl{max-width:640px;width:100%;margin-bottom:32px;font-size:24px}.blockquote__root--kb89LI .blockquote__content--cOexUl p.is-empty:first-child::before{color:#9b9b9b;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.blockquote__root--kb89LI .blockquote__footer--yHvIfY{display:flex;align-items:center;gap:9px}.blockquote__root--kb89LI .blockquote__authorImage--CXslpd{border-radius:50%;height:40px;width:40px;object-fit:cover}.blockquote__root--kb89LI .blockquote__author--gTlNqX{flex:1 1 auto;font-size:18px;font-style:normal;line-height:110%;color:#f5f5f7}.blockquote__root--kb89LI .blockquote__author--gTlNqX::placeholder{color:#9b9b9b}",""]),a.locals={root:"blockquote__root--kb89LI",decoration:"blockquote__decoration--jcIBwI",content:"blockquote__content--cOexUl",footer:"blockquote__footer--yHvIfY",authorImage:"blockquote__authorImage--CXslpd",author:"blockquote__author--gTlNqX"};const s=a},8744:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".blockquote-mini__root--lTziZ3{border-left:6px solid #ddd;padding-left:26px;max-width:770px}",""]),a.locals={root:"blockquote-mini__root--lTziZ3"};const s=a},1324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".editable-element__input--PIzNq_{font-family:inherit;color:#f5f5f7;background-color:rgba(0,0,0,0);border:0}.editable-element__input--PIzNq_::placeholder{color:#707070}",""]),a.locals={input:"editable-element__input--PIzNq_"};const s=a},29:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".embed-search__root--bphTc5{width:600px;max-width:100vw}.embed-search__root--bphTc5 .embed-search__footer--vneqDZ{display:flex;justify-content:center}",""]),a.locals={root:"embed-search__root--bphTc5",footer:"embed-search__footer--vneqDZ"};const s=a},2958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".game-search__root--O2L04O .game-search__list--unZg7f{list-style-type:none;max-height:50vh;overflow-y:scroll}.game-search__root--O2L04O .game-search__listItem--JgglSW{padding:8px;margin:4px 0;border-radius:8px;transition:background-color .1s ease-out}.game-search__root--O2L04O .game-search__listItem--JgglSW:hover{background-color:rgba(255,255,255,.2666666667)}.game-search__root--O2L04O .game-search__game--bcxPmY{width:100%;display:flex;gap:16px;align-items:center;cursor:pointer;color:#fff}.game-search__root--O2L04O .game-search__gameImage--r4jyG0{width:72px;height:44px;object-fit:cover;border-radius:4px}",""]),a.locals={root:"game-search__root--O2L04O",list:"game-search__list--unZg7f",listItem:"game-search__listItem--JgglSW",game:"game-search__game--bcxPmY",gameImage:"game-search__gameImage--r4jyG0"};const s=a},8930:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".reddit-embed__root--Pqd9I1{display:flex;justify-content:center}.reddit-embed__root--Pqd9I1 .reddit-embed__embed--QIZ0_D{max-width:600px;flex:1 0 auto}",""]),a.locals={root:"reddit-embed__root--Pqd9I1",embed:"reddit-embed__embed--QIZ0_D"};const s=a},4100:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".related__root--eyG6xv{display:flex;flex-direction:column;gap:16px}.related__root--eyG6xv .related__title--jKMTix{color:#fff;font-size:16px;font-style:normal;font-weight:700;line-height:normal;opacity:.5}.related__root--eyG6xv .related__content--KeJj3d{display:flex;flex-direction:column;gap:42px}.related__search--VLKL06 .related__list--dbAhvJ{list-style-type:none;max-height:50vh;overflow-y:scroll}.related__search--VLKL06 .related__item--wAqj2F{margin:4px 0;border-radius:8px;transition:background-color .1s ease-out}.related__search--VLKL06 .related__item--wAqj2F:hover{background-color:rgba(255,255,255,.2666666667)}.related__search--VLKL06 .related__article--eZ2w0V{padding:8px;width:100%;display:flex;justify-content:flex-start;gap:16px;align-items:center;cursor:pointer;color:#fff}.related__search--VLKL06 .related__articleImage--tGzDk9{width:72px;height:44px;object-fit:cover;border-radius:4px}.related__search--VLKL06 .related__articleTitle--K1hhhE{text-align:left}",""]),a.locals={root:"related__root--eyG6xv",title:"related__title--jKMTix",content:"related__content--KeJj3d",search:"related__search--VLKL06",list:"related__list--dbAhvJ",item:"related__item--wAqj2F",article:"related__article--eZ2w0V",articleImage:"related__articleImage--tGzDk9",articleTitle:"related__articleTitle--K1hhhE"};const s=a},6894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".search__root--Mf9_Ws{width:600px;max-width:100vw}",""]),a.locals={root:"search__root--Mf9_Ws"};const s=a},9649:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".TelegramEmbed-styles__root--TG_XkY{width:100%;display:flex;justify-content:center}",""]),a.locals={root:"TelegramEmbed-styles__root--TG_XkY"};const s=a},5189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".tiktok-embed__root--R4Sc1i{display:flex;justify-content:center}.tiktok-embed__root--R4Sc1i .tiktok-embed__preview--mQB8nY{position:relative;height:0;width:40%;padding-bottom:71.1111111111%;overflow:hidden;border-radius:8px;background-color:#2c2c30}@media screen and (max-width: 767px){.tiktok-embed__root--R4Sc1i .tiktok-embed__preview--mQB8nY{width:60%;padding-bottom:106.6666666667%}}@media screen and (max-width: 425px){.tiktok-embed__root--R4Sc1i .tiktok-embed__preview--mQB8nY{width:100%;padding-bottom:177.7777777778%}}.tiktok-embed__root--R4Sc1i .tiktok-embed__previewImage--Bw97mU{height:100%;left:0;position:absolute;top:0;width:100%;object-fit:cover}.tiktok-embed__root--R4Sc1i .tiktok-embed__previewButton--w2k1Yv{position:absolute;top:0;left:0;height:100%;width:100%}.tiktok-embed__root--R4Sc1i .tiktok-embed__previewButton--w2k1Yv:hover .tiktok-embed__previewButtonImage--KdBQMs{opacity:1}.tiktok-embed__root--R4Sc1i .tiktok-embed__previewButtonImage--KdBQMs{width:48px;height:48px;color:#fff;opacity:.5;transition:opacity .2s ease-out}.tiktok-embed__root--R4Sc1i .tiktok-embed__embed--aHyv5T{flex:0 1 auto;border-radius:8px;overflow:hidden;position:absolute;visibility:hidden}.tiktok-embed__root--R4Sc1i .tiktok-embed__embed--aHyv5T.tiktok-embed__embedActive--aqPDm1{position:initial;visibility:visible}.tiktok-embed__root--R4Sc1i .tiktok-embed__embed--aHyv5T .tiktok-embed{margin:0}",""]),a.locals={root:"tiktok-embed__root--R4Sc1i",preview:"tiktok-embed__preview--mQB8nY",previewImage:"tiktok-embed__previewImage--Bw97mU",previewButton:"tiktok-embed__previewButton--w2k1Yv",previewButtonImage:"tiktok-embed__previewButtonImage--KdBQMs",embed:"tiktok-embed__embed--aHyv5T",embedActive:"tiktok-embed__embedActive--aqPDm1"};const s=a},7274:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".twitch-embed__root--YOYAWR{position:relative;height:0;width:100%;padding-bottom:56.25%;overflow:hidden;border-radius:8px}.twitch-embed__root--YOYAWR .twitch-embed__iframe--q_KpP1{position:absolute;top:0;left:0;height:100%;width:100%}",""]),a.locals={root:"twitch-embed__root--YOYAWR",iframe:"twitch-embed__iframe--q_KpP1"};const s=a},7704:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".type-menu-button__root--gRk4bg .type-menu-button__checkIcon--ctWLxE{visibility:hidden}.type-menu-button__root--gRk4bg .type-menu-button__checkIcon--ctWLxE.type-menu-button__active--ZF58gT{visibility:visible}",""]),a.locals={root:"type-menu-button__root--gRk4bg",checkIcon:"type-menu-button__checkIcon--ctWLxE",active:"type-menu-button__active--ZF58gT"};const s=a},6622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".vk-video-embed__root--Q2mlFR{position:relative;height:0;width:100%;padding-bottom:56.25%;overflow:hidden;border-radius:8px}.vk-video-embed__root--Q2mlFR .vk-video-embed__iframe--HqluoQ{position:absolute;top:0;left:0;height:100%;width:100%}",""]),a.locals={root:"vk-video-embed__root--Q2mlFR",iframe:"vk-video-embed__iframe--HqluoQ"};const s=a},2131:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".youtube-embed__root--cWSOMO{display:flex;justify-content:center}.youtube-embed__root--cWSOMO .youtube-embed__content--ladSZA{flex:0 0 auto;position:relative;height:0;width:100%;padding-bottom:56.25%;overflow:hidden;border-radius:8px}.youtube-embed__root--cWSOMO.youtube-embed__shorts--sgIJNv .youtube-embed__content--ladSZA{width:40%;padding-bottom:71.1111111111%}@media screen and (max-width: 767px){.youtube-embed__root--cWSOMO.youtube-embed__shorts--sgIJNv .youtube-embed__content--ladSZA{width:60%;padding-bottom:106.6666666667%}}@media screen and (max-width: 425px){.youtube-embed__root--cWSOMO.youtube-embed__shorts--sgIJNv .youtube-embed__content--ladSZA{width:100%;padding-bottom:177.7777777778%}}.youtube-embed__root--cWSOMO.youtube-embed__shorts--sgIJNv .youtube-embed__playButton--f_nZps{height:115px;width:87px}.youtube-embed__root--cWSOMO .youtube-embed__iframe--n9hNXr{position:absolute;top:0;left:0;height:100%;width:100%}.youtube-embed__root--cWSOMO .youtube-embed__preview--vL66uh{height:100%;left:0;position:absolute;top:0;width:100%;object-fit:cover}.youtube-embed__root--cWSOMO .youtube-embed__button--IztD_s{position:absolute;top:0;left:0;height:100%;width:100%}.youtube-embed__root--cWSOMO .youtube-embed__button--IztD_s:hover .youtube-embed__playButton--f_nZps{color:red}.youtube-embed__root--cWSOMO .youtube-embed__playButton--f_nZps{position:absolute;top:50%;left:50%;height:48px;width:68px;transform:translate(-50%, -50%);color:rgba(33,33,33,.8);transition:color .1s cubic-bezier(0.4, 0, 1, 1)}",""]),a.locals={root:"youtube-embed__root--cWSOMO",content:"youtube-embed__content--ladSZA",shorts:"youtube-embed__shorts--sgIJNv",playButton:"youtube-embed__playButton--f_nZps",iframe:"youtube-embed__iframe--n9hNXr",preview:"youtube-embed__preview--vL66uh",button:"youtube-embed__button--IztD_s"};const s=a},7851:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".beta-keys__button--v6bxVo,.beta-keys__root--jqGb3p{align-items:center;background:none;border-radius:4px;color:rgba(0,0,0,.6);cursor:pointer;display:flex;font-size:16px;font-weight:bold;line-height:120%;outline:none;text-align:center;transition:color .1s,background .1s,border .1s;user-select:none;justify-content:center;white-space:nowrap}.beta-keys__button--v6bxVo:focus,.beta-keys__root--jqGb3p:focus{outline:none}@media screen and (max-width: 1000px){.beta-keys__button--v6bxVo,.beta-keys__root--jqGb3p{font-size:14px;line-height:16px;padding:9px 12px 8px}}.beta-keys__button--v6bxVo.beta-keys__variant_primary--aLjnrc,.beta-keys__root--jqGb3p{background:#16a7ff;border-color:rgba(0,0,0,0);color:#fff}.beta-keys__button--v6bxVo.beta-keys__variant_primary--aLjnrc:visited,.beta-keys__root--jqGb3p:visited{color:#fff}@media screen and (min-width: 1200px){.beta-keys__button--v6bxVo.beta-keys__variant_primary--aLjnrc:hover,.beta-keys__root--jqGb3p:hover{background:#56bfff;color:#fff}}.beta-keys__button--v6bxVo.beta-keys__variant_primary-imp--XpaaPi,.beta-keys__variant_primary-imp--XpaaPi.beta-keys__root--jqGb3p{background:#16a7ff !important;border-color:rgba(0,0,0,0) !important;color:#fff !important}.beta-keys__button--v6bxVo.beta-keys__variant_primary-imp--XpaaPi:visited,.beta-keys__variant_primary-imp--XpaaPi.beta-keys__root--jqGb3p:visited{color:#fff !important}@media screen and (min-width: 1200px){.beta-keys__button--v6bxVo.beta-keys__variant_primary-imp--XpaaPi:hover,.beta-keys__variant_primary-imp--XpaaPi.beta-keys__root--jqGb3p:hover{background:#16a7ff !important;color:#fff !important}}.beta-keys__button--v6bxVo.beta-keys__variant_inverted-primary--zEn8uP,.beta-keys__variant_inverted-primary--zEn8uP.beta-keys__root--jqGb3p{background:#2c2c30;border-color:rgba(0,0,0,0);color:#f5f5f7}.beta-keys__button--v6bxVo.beta-keys__variant_inverted-primary--zEn8uP:visited,.beta-keys__variant_inverted-primary--zEn8uP.beta-keys__root--jqGb3p:visited{color:#f5f5f7}@media screen and (min-width: 1200px){.beta-keys__button--v6bxVo.beta-keys__variant_inverted-primary--zEn8uP:hover,.beta-keys__variant_inverted-primary--zEn8uP.beta-keys__root--jqGb3p:hover{background:#16a7ff;color:#2c2c30}}.beta-keys__button--v6bxVo.beta-keys__variant_outline-primary--_RLUHd,.beta-keys__variant_outline-primary--_RLUHd.beta-keys__root--jqGb3p{background:rgba(0,0,0,0);border-color:#16a7ff;border-style:solid;border-width:1px;color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_outline-primary--_RLUHd:hover,.beta-keys__variant_outline-primary--_RLUHd.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_outline-primary--_RLUHd:visited,.beta-keys__variant_outline-primary--_RLUHd.beta-keys__root--jqGb3p:visited{color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_primary-link--nAtyh3,.beta-keys__variant_primary-link--nAtyh3.beta-keys__root--jqGb3p{color:#16a7ff;white-space:nowrap}.beta-keys__button--v6bxVo.beta-keys__variant_primary-link--nAtyh3:hover,.beta-keys__variant_primary-link--nAtyh3.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_primary-link--nAtyh3:visited,.beta-keys__variant_primary-link--nAtyh3.beta-keys__root--jqGb3p:visited{color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_primary-light-link--wbpcf3,.beta-keys__variant_primary-light-link--wbpcf3.beta-keys__root--jqGb3p{display:inline;font-size:inherit;color:#16a7ff;white-space:nowrap;font-weight:normal;padding:0 4px}.beta-keys__button--v6bxVo.beta-keys__variant_primary-light-link--wbpcf3:hover,.beta-keys__variant_primary-light-link--wbpcf3.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_primary-light-link--wbpcf3:visited,.beta-keys__variant_primary-light-link--wbpcf3.beta-keys__root--jqGb3p:visited{color:#53beff}.beta-keys__button--v6bxVo.beta-keys__variant_secondary--yG7ssw,.beta-keys__variant_secondary--yG7ssw.beta-keys__root--jqGb3p{background:rgba(230,238,255,.5);color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_secondary--yG7ssw:hover,.beta-keys__variant_secondary--yG7ssw.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_secondary--yG7ssw:visited,.beta-keys__variant_secondary--yG7ssw.beta-keys__root--jqGb3p:visited{color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_outline-secondary--emMiIM,.beta-keys__variant_outline-secondary--emMiIM.beta-keys__root--jqGb3p{background:rgba(0,0,0,0);border-color:#16a7ff;border-style:solid;border-width:1px;color:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_outline-danger--SerFcm,.beta-keys__variant_outline-danger--SerFcm.beta-keys__root--jqGb3p{background:rgba(0,0,0,0);border-color:#ff614c;border-style:solid;border-width:1px;color:#ff614c}.beta-keys__button--v6bxVo.beta-keys__variant_icon-secondary--lgMZYw,.beta-keys__variant_icon-secondary--lgMZYw.beta-keys__root--jqGb3p{background:#f2f2f2;fill:#16a7ff}.beta-keys__button--v6bxVo.beta-keys__variant_monochrome--I1ytVj,.beta-keys__variant_monochrome--I1ytVj.beta-keys__root--jqGb3p{background:#000;color:#ecedf0}.beta-keys__button--v6bxVo.beta-keys__variant_monochrome--I1ytVj:hover,.beta-keys__variant_monochrome--I1ytVj.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_monochrome--I1ytVj:visited,.beta-keys__variant_monochrome--I1ytVj.beta-keys__root--jqGb3p:visited{color:#ecedf0}.beta-keys__button--v6bxVo.beta-keys__variant_outline-monochrome--izMBqF,.beta-keys__variant_outline-monochrome--izMBqF.beta-keys__root--jqGb3p{background:rgba(0,0,0,0);color:#060b26;border:1px solid #060b26;border-radius:4px}.beta-keys__button--v6bxVo.beta-keys__variant_outline-monochrome--izMBqF:hover,.beta-keys__variant_outline-monochrome--izMBqF.beta-keys__root--jqGb3p:hover,.beta-keys__button--v6bxVo.beta-keys__variant_outline-monochrome--izMBqF:visited,.beta-keys__variant_outline-monochrome--izMBqF.beta-keys__root--jqGb3p:visited{color:#060b26}.beta-keys__button--v6bxVo.beta-keys__size_xsm--XaGRkW,.beta-keys__size_xsm--XaGRkW.beta-keys__root--jqGb3p{border-radius:5px;font-size:26px;font-weight:normal;padding:2px 10px}@media screen and (max-width: 1199px){.beta-keys__button--v6bxVo.beta-keys__size_xsm--XaGRkW,.beta-keys__size_xsm--XaGRkW.beta-keys__root--jqGb3p{font-size:16px;padding:7px 11px}}.beta-keys__button--v6bxVo.beta-keys__size_sm--kZesee,.beta-keys__size_sm--kZesee.beta-keys__root--jqGb3p{padding:7px 20px}@media screen and (max-width: 1199px){.beta-keys__button--v6bxVo.beta-keys__size_sm--kZesee,.beta-keys__size_sm--kZesee.beta-keys__root--jqGb3p{padding:6px 13px 5px}}.beta-keys__button--v6bxVo.beta-keys__size_md--qIg0RS,.beta-keys__size_md--qIg0RS.beta-keys__root--jqGb3p{padding:10px 20px 9px}.beta-keys__button--v6bxVo.beta-keys__size_lg--hh4xv2,.beta-keys__root--jqGb3p{font-size:16px;padding:12px 20px 11px}.beta-keys__button--v6bxVo.beta-keys__shape_round--d3Fxd7,.beta-keys__shape_round--d3Fxd7.beta-keys__root--jqGb3p{border-radius:29px}.beta-keys__button--v6bxVo.beta-keys__full--CKk5cj,.beta-keys__full--CKk5cj.beta-keys__root--jqGb3p{display:block}.beta-keys__button--v6bxVo.beta-keys__disabled--h3f2sH,.beta-keys__disabled--h3f2sH.beta-keys__root--jqGb3p{opacity:.5;pointer-events:none}.beta-keys__button--v6bxVo.beta-keys__noEvents--gqN8kL,.beta-keys__noEvents--gqN8kL.beta-keys__root--jqGb3p{pointer-events:none}.beta-keys__buttonIcon--qPgFzK{align-items:center;display:flex;justify-content:center;padding:0 !important}.beta-keys__buttonIcon--qPgFzK.beta-keys__button_xsm--LcLFWL{height:33px;width:33px}.beta-keys__buttonIcon--qPgFzK.beta-keys__button_sm--l0uaT3{height:42px;width:42px}.beta-keys__buttonIcon--qPgFzK.beta-keys__button_md--iBZrrx{height:55px;width:55px}.beta-keys__buttonIcon--qPgFzK.beta-keys__button_ghost--DarLSl{background:none}.beta-keys__root--jqGb3p{transition:background .2s}.beta-keys__root--jqGb3p.beta-keys__loading--i7EuCw{background-size:400% 400%;animation:beta-keys__pulse--GgAvEY 1.5s ease-in-out infinite;background-image:linear-gradient(-75deg, #447CFF 40%, rgba(68, 124, 255, 0.4) 50%, #447CFF 60%);opacity:.6;pointer-events:none}@keyframes beta-keys__pulse--GgAvEY{0%{background-position:-40% 0%}100%{background-position:-110% 0%}}.beta-keys__root--jqGb3p .beta-keys__icon--QYe0Sp{height:22px;margin-right:10px;color:#fff}.beta-keys__result--RpaPnp{outline:none}@media screen and (max-width: 1199px){.beta-keys__result--RpaPnp{height:auto;line-height:initial}}.beta-keys__result--RpaPnp.beta-keys__wrong--Wp435m{font-weight:normal}.beta-keys__result--RpaPnp.beta-keys__wrong--Wp435m .beta-keys__inlineButton--NGymTl{padding:0 4px}.beta-keys__result--RpaPnp b{font-weight:bold}",""]),a.locals={button:"beta-keys__button--v6bxVo",root:"beta-keys__root--jqGb3p",variant_primary:"beta-keys__variant_primary--aLjnrc","variant_primary-imp":"beta-keys__variant_primary-imp--XpaaPi","variant_inverted-primary":"beta-keys__variant_inverted-primary--zEn8uP","variant_outline-primary":"beta-keys__variant_outline-primary--_RLUHd","variant_primary-link":"beta-keys__variant_primary-link--nAtyh3","variant_primary-light-link":"beta-keys__variant_primary-light-link--wbpcf3",variant_secondary:"beta-keys__variant_secondary--yG7ssw","variant_outline-secondary":"beta-keys__variant_outline-secondary--emMiIM","variant_outline-danger":"beta-keys__variant_outline-danger--SerFcm","variant_icon-secondary":"beta-keys__variant_icon-secondary--lgMZYw",variant_monochrome:"beta-keys__variant_monochrome--I1ytVj","variant_outline-monochrome":"beta-keys__variant_outline-monochrome--izMBqF",size_xsm:"beta-keys__size_xsm--XaGRkW",size_sm:"beta-keys__size_sm--kZesee",size_md:"beta-keys__size_md--qIg0RS",size_lg:"beta-keys__size_lg--hh4xv2",shape_round:"beta-keys__shape_round--d3Fxd7",full:"beta-keys__full--CKk5cj",disabled:"beta-keys__disabled--h3f2sH",noEvents:"beta-keys__noEvents--gqN8kL",buttonIcon:"beta-keys__buttonIcon--qPgFzK",button_xsm:"beta-keys__button_xsm--LcLFWL",button_sm:"beta-keys__button_sm--l0uaT3",button_md:"beta-keys__button_md--iBZrrx",button_ghost:"beta-keys__button_ghost--DarLSl",loading:"beta-keys__loading--i7EuCw",pulse:"beta-keys__pulse--GgAvEY",icon:"beta-keys__icon--QYe0Sp",result:"beta-keys__result--RpaPnp",wrong:"beta-keys__wrong--Wp435m",inlineButton:"beta-keys__inlineButton--NGymTl"};const s=a},8288:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".button__button--EMmO0c{align-items:center;background:none;border-radius:4px;color:rgba(0,0,0,.6);cursor:pointer;display:flex;font-size:16px;font-weight:bold;line-height:120%;outline:none;text-align:center;transition:color .1s,background .1s,border .1s;user-select:none;justify-content:center;white-space:nowrap}.button__button--EMmO0c:focus{outline:none}@media screen and (max-width: 1000px){.button__button--EMmO0c{font-size:14px;line-height:16px;padding:9px 12px 8px}}.button__button--EMmO0c.button__variant_primary--oSN1dO{background:#16a7ff;border-color:rgba(0,0,0,0);color:#fff}.button__button--EMmO0c.button__variant_primary--oSN1dO:visited{color:#fff}@media screen and (min-width: 1200px){.button__button--EMmO0c.button__variant_primary--oSN1dO:hover{background:#56bfff;color:#fff}}.button__button--EMmO0c.button__variant_primary-imp--l5qYEl{background:#16a7ff !important;border-color:rgba(0,0,0,0) !important;color:#fff !important}.button__button--EMmO0c.button__variant_primary-imp--l5qYEl:visited{color:#fff !important}@media screen and (min-width: 1200px){.button__button--EMmO0c.button__variant_primary-imp--l5qYEl:hover{background:#16a7ff !important;color:#fff !important}}.button__button--EMmO0c.button__variant_inverted-primary--q9Kn70{background:#2c2c30;border-color:rgba(0,0,0,0);color:#f5f5f7}.button__button--EMmO0c.button__variant_inverted-primary--q9Kn70:visited{color:#f5f5f7}@media screen and (min-width: 1200px){.button__button--EMmO0c.button__variant_inverted-primary--q9Kn70:hover{background:#16a7ff;color:#2c2c30}}.button__button--EMmO0c.button__variant_outline-primary--VqBg1j{background:rgba(0,0,0,0);border-color:#16a7ff;border-style:solid;border-width:1px;color:#16a7ff}.button__button--EMmO0c.button__variant_outline-primary--VqBg1j:hover,.button__button--EMmO0c.button__variant_outline-primary--VqBg1j:visited{color:#16a7ff}.button__button--EMmO0c.button__variant_primary-link--SubUIk{color:#16a7ff;white-space:nowrap}.button__button--EMmO0c.button__variant_primary-link--SubUIk:hover,.button__button--EMmO0c.button__variant_primary-link--SubUIk:visited{color:#16a7ff}.button__button--EMmO0c.button__variant_primary-light-link--FnA4Bi{display:inline;font-size:inherit;color:#16a7ff;white-space:nowrap;font-weight:normal;padding:0 4px}.button__button--EMmO0c.button__variant_primary-light-link--FnA4Bi:hover,.button__button--EMmO0c.button__variant_primary-light-link--FnA4Bi:visited{color:#53beff}.button__button--EMmO0c.button__variant_secondary--zp07y1{background:rgba(230,238,255,.5);color:#16a7ff}.button__button--EMmO0c.button__variant_secondary--zp07y1:hover,.button__button--EMmO0c.button__variant_secondary--zp07y1:visited{color:#16a7ff}.button__button--EMmO0c.button__variant_outline-secondary--KLEW_8{background:rgba(0,0,0,0);border-color:#16a7ff;border-style:solid;border-width:1px;color:#16a7ff}.button__button--EMmO0c.button__variant_outline-danger--n7NfvD{background:rgba(0,0,0,0);border-color:#ff614c;border-style:solid;border-width:1px;color:#ff614c}.button__button--EMmO0c.button__variant_icon-secondary--jeYOMQ{background:#f2f2f2;fill:#16a7ff}.button__button--EMmO0c.button__variant_monochrome--B3Z3MI{background:#000;color:#ecedf0}.button__button--EMmO0c.button__variant_monochrome--B3Z3MI:hover,.button__button--EMmO0c.button__variant_monochrome--B3Z3MI:visited{color:#ecedf0}.button__button--EMmO0c.button__variant_outline-monochrome--_wSaJp{background:rgba(0,0,0,0);color:#060b26;border:1px solid #060b26;border-radius:4px}.button__button--EMmO0c.button__variant_outline-monochrome--_wSaJp:hover,.button__button--EMmO0c.button__variant_outline-monochrome--_wSaJp:visited{color:#060b26}.button__button--EMmO0c.button__size_xsm--yEUpd_{border-radius:5px;font-size:26px;font-weight:normal;padding:2px 10px}@media screen and (max-width: 1199px){.button__button--EMmO0c.button__size_xsm--yEUpd_{font-size:16px;padding:7px 11px}}.button__button--EMmO0c.button__size_sm--p_aSd_{padding:7px 20px}@media screen and (max-width: 1199px){.button__button--EMmO0c.button__size_sm--p_aSd_{padding:6px 13px 5px}}.button__button--EMmO0c.button__size_md--laCUZV{padding:10px 20px 9px}.button__button--EMmO0c.button__size_lg--PmlxW5{font-size:16px;padding:12px 20px 11px}.button__button--EMmO0c.button__shape_round--oQt34Y{border-radius:29px}.button__button--EMmO0c.button__full--qAqaCf{display:block}.button__button--EMmO0c.button__disabled--xnh8YW{opacity:.5;pointer-events:none}.button__button--EMmO0c.button__noEvents--edyAMB{pointer-events:none}.button__buttonIcon--YIfBCq{align-items:center;display:flex;justify-content:center;padding:0 !important}.button__buttonIcon--YIfBCq.button__button_xsm--QxFWZz{height:33px;width:33px}.button__buttonIcon--YIfBCq.button__button_sm--sOWoWf{height:42px;width:42px}.button__buttonIcon--YIfBCq.button__button_md--lhKDim{height:55px;width:55px}.button__buttonIcon--YIfBCq.button__button_ghost--hgUpql{background:none}",""]),a.locals={button:"button__button--EMmO0c",variant_primary:"button__variant_primary--oSN1dO","variant_primary-imp":"button__variant_primary-imp--l5qYEl","variant_inverted-primary":"button__variant_inverted-primary--q9Kn70","variant_outline-primary":"button__variant_outline-primary--VqBg1j","variant_primary-link":"button__variant_primary-link--SubUIk","variant_primary-light-link":"button__variant_primary-light-link--FnA4Bi",variant_secondary:"button__variant_secondary--zp07y1","variant_outline-secondary":"button__variant_outline-secondary--KLEW_8","variant_outline-danger":"button__variant_outline-danger--n7NfvD","variant_icon-secondary":"button__variant_icon-secondary--jeYOMQ",variant_monochrome:"button__variant_monochrome--B3Z3MI","variant_outline-monochrome":"button__variant_outline-monochrome--_wSaJp",size_xsm:"button__size_xsm--yEUpd_",size_sm:"button__size_sm--p_aSd_",size_md:"button__size_md--laCUZV",size_lg:"button__size_lg--PmlxW5",shape_round:"button__shape_round--oQt34Y",full:"button__full--qAqaCf",disabled:"button__disabled--xnh8YW",noEvents:"button__noEvents--edyAMB",buttonIcon:"button__buttonIcon--YIfBCq",button_xsm:"button__button_xsm--QxFWZz",button_sm:"button__button_sm--sOWoWf",button_md:"button__button_md--lhKDim",button_ghost:"button__button_ghost--hgUpql"};const s=a},9298:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.gallery-base__root--neTL9x{font-family:"VK Sans",sans-serif;position:relative;width:100%;z-index:1}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x{margin:0 -20px 24px;width:calc(100% + 40px)}}.gallery-base__root--neTL9x .gallery-base__uploadButton--r5PBvk{position:absolute;top:10px;left:50%;z-index:1;transform:translateX(-50%)}.gallery-base__root--neTL9x .gallery-base__image--_D7lMH{border-radius:8px;object-fit:cover;width:100%;z-index:0}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .gallery-base__image--_D7lMH{border-radius:0;max-width:none}}.gallery-base__root--neTL9x .gallery-base__image--_D7lMH .picture{height:auto;min-height:30px}.gallery-base__gallerySub--aqMF8J .gallery-base__root--neTL9x .gallery-base__image--_D7lMH{height:131px;object-fit:cover;width:84px}.gallery-base__root--neTL9x .gallery-base__imageWrap--Oo1ELN{position:relative;display:block}body[data-project="vkp"] .gallery-base__root--neTL9x .gallery-base__imageWrap--Oo1ELN::after{content:"";display:block;position:absolute;left:0;top:0;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid rgba(245,245,247,.12);border-radius:8px;pointer-events:none;z-index:9}.gallery-base__root--neTL9x .gallery-base__item--DG56n2{display:block !important;position:relative}.gallery-base__gallerySub--aqMF8J .gallery-base__root--neTL9x .gallery-base__item--DG56n2{pointer-events:auto}.gallery-base__root--neTL9x .gallery-base__itemMini--NHfY30{padding:0 14px}.gallery-base__itemMini--NHfY30 .gallery-base__root--neTL9x .gallery-base__itemWrap--h1HxsW{height:104px;overflow:hidden;border-radius:8px;transform:translate3d(0, 0, 0);padding:0 !important}@media screen and (max-width: 1199px){.gallery-base__itemMini--NHfY30 .gallery-base__root--neTL9x .gallery-base__itemWrap--h1HxsW{height:154px}}.gallery-base__root--neTL9x .gallery-base__infoWrap--tr4VZf{display:none}.gallery-base__root--neTL9x .gallery-base__title--kCCgFU{width:100%;color:rgba(245,245,247,.6);font-size:16px;line-height:150%;margin:15px 0 0;text-align:left}.gallery-base__root--neTL9x .gallery-base__title--kCCgFU.gallery-base__link--ikrOwm{color:rgba(245,245,247,.6);font-size:16px;line-height:150%;margin:15px 0 0;text-align:left}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .gallery-base__title--kCCgFU.gallery-base__link--ikrOwm{padding:0 20px}}.gallery-base__root--neTL9x .gallery-base__buttonToFull--XPv9pB{height:100%;left:0;position:absolute;top:0;width:100%;opacity:0}.gallery-base__root--neTL9x.gallery-base__gallerySub--aqMF8J{max-width:620px}.gallery-base__root--neTL9x .slick-slide{height:auto}.gallery-base__root--neTL9x.gallery-base__editable--U05sS5 .slick-slider .slick-arrow{height:calc(100% - 41px)}.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE{margin:0 -14px}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE{margin:0}}.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE .slick-arrow{height:46px;width:46px;background:#fff;border:1px solid rgba(0,0,0,.1);box-shadow:0 4px 24px rgba(0,0,0,.2);display:flex;justify-content:center;align-items:center;border-radius:50%;margin:29px -9px 0 0}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE .slick-arrow{margin:55px 0 0}}.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE .slick-arrow .gallery-base__galleryArrowIcon--PBiTjN{color:#fff;margin:0;filter:none}.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE .slick-arrow.slick-prev{margin:29px 0 0 -9px}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .slick-slider .gallery-base__slickSliderMini--vBKnxE .slick-arrow.slick-prev{margin:55px 0 0}}.gallery-base__root--neTL9x .slick-slider .slick-arrow{align-items:center;background:none;border:0;cursor:pointer;display:flex !important;height:100%;position:absolute;top:0;width:100px;z-index:1}.gallery-base__root--neTL9x .slick-slider .slick-arrow:focus{outline:none}@media screen and (max-width: 1199px){.gallery-base__root--neTL9x .slick-slider .slick-arrow{height:90%}}.gallery-base__root--neTL9x .slick-slider .slick-arrow .gallery-base__galleryArrowIcon--PBiTjN{color:#fff;margin:0 20px;filter:drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.6))}.gallery-base__root--neTL9x .slick-slider .slick-prev{justify-content:flex-start;left:0}.gallery-base__root--neTL9x .slick-slider .slick-prev:focus{animation:gallery-base__prev--juHYBR .2s ease-out}.gallery-base__root--neTL9x .slick-slider .slick-prev .gallery-base__galleryArrowIcon--PBiTjN{transform:rotate(180deg)}.gallery-base__root--neTL9x .slick-slider .slick-next{justify-content:flex-end;right:0}.gallery-base__root--neTL9x .slick-slider .slick-next:focus{animation:gallery-base__next--c7qlnO .2s ease-in}.gallery-base__root--neTL9x .slick-slider .slick-disabled{opacity:20%}.gallery-base__root--neTL9x .slick-slider .slick-disabled:focus{animation:none}.gallery-base__gallerySub--aqMF8J .gallery-base__root--neTL9x .slick-slider .slick-current .gallery-base__image--_D7lMH{width:131px}@keyframes gallery-base__prev--juHYBR{50%{transform:translateX(-10px)}100%{transform:translateX(0)}}@keyframes gallery-base__next--c7qlnO{50%{transform:translateX(10px)}100%{transform:translateX(0)}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x{margin-bottom:0;max-width:80vw;overflow:visible;pointer-events:none}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x{max-width:100vw}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__image--_D7lMH{border-radius:8px;margin:auto}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__image--_D7lMH{border-radius:0;height:auto;max-height:100vh;object-fit:contain;pointer-events:auto;width:100%}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__image--_D7lMH .gallery-base__pictureFullscreen--oUKg9x{height:calc(100vh - 200px);width:auto;max-width:100%;min-width:560px}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__image--_D7lMH .gallery-base__pictureFullscreen--oUKg9x{height:auto;width:100%;min-width:auto}}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__imageWrap--Oo1ELN{display:flex;flex-direction:column;height:auto;margin:auto;width:100%}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__item--DG56n2{pointer-events:none;text-align:center}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__itemWrap--h1HxsW{display:inline-block;position:relative}@media screen and (min-width: 1200px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__itemWrap--h1HxsW{pointer-events:auto}}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__itemWrap--h1HxsW{display:flex;flex-direction:column;height:100vh}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__info--fTVVSq{align-items:flex-end;bottom:0;display:flex;justify-content:space-between;left:0;padding:0 30px 23px 42px;pointer-events:auto;position:absolute;width:100%;z-index:2}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__info--fTVVSq{background:rgba(0,0,0,.6);border-radius:20px 20px 0 0;flex-wrap:wrap;padding:34px 17px 36px;pointer-events:none}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__infoWrap--tr4VZf{display:flex;margin-right:30px;white-space:nowrap}@media screen and (min-width: 1200px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__infoWrap--tr4VZf{pointer-events:auto}}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__infoWrap--tr4VZf{align-items:center;height:50px;justify-content:space-between;margin:0;width:100%}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__infoWrap--tr4VZf>*{pointer-events:auto}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__buttonToFull--XPv9pB{pointer-events:auto;z-index:1}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__full--oK2FKW{display:flex;align-items:center;backdrop-filter:blur(30px);background:rgba(0,0,0,.1);border-radius:7px 0 0 7px;color:rgba(255,255,255,.7);cursor:pointer;font-size:20px;line-height:150%;margin-right:3px;padding:11px 10px 14px 21px;transition:background .1s}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__full--oK2FKW:hover{background:rgba(0,0,0,.2)}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__full--oK2FKW{background:rgba(255,255,255,.1);border-radius:5px;font-size:0;padding:7px 10px}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullIcon--nGkWhG{width:32px;height:32px;margin-right:17px}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullIcon--nGkWhG{margin:0;transform:scale(0.65)}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullCount--cmoLnR{backdrop-filter:blur(30px);background:rgba(0,0,0,.1);border-radius:0 7px 7px 0;color:rgba(255,255,255,.7);font-size:20px;line-height:150%;padding:11px 24px 14px}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullCount--cmoLnR{background:rgba(255,255,255,.1);border-radius:5px;font-size:14px;padding:8px 12px}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullTitle--Q1fCbN{background:rgba(0,0,0,.5);border-radius:7px;color:#fff;font-size:20px;line-height:150%;margin:0;opacity:1;padding:12px 20px 13px}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .gallery-base__fullTitle--Q1fCbN{background:none;font-size:16px;margin-bottom:18px;order:-1;padding:0;width:100%}}@media screen and (min-width: 1200px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-slider{text-align:center}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-arrow{height:50%;top:12vh;width:55%}@media screen and (min-width: 1200px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-arrow{pointer-events:auto}}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-arrow{display:none}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-prev{left:-90px}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-next{right:-90px}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-dots{display:inline-flex !important;justify-content:center;list-style:none;margin-top:24px;position:relative;z-index:2}@media screen and (min-width: 1200px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-dots{pointer-events:auto}}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-dots{bottom:0;margin-bottom:29px;margin-left:-12px;position:absolute;width:100%}}.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-dots>li:not(:last-of-type){margin-right:9px}@media screen and (max-width: 1199px){.gallery-base__fullscreen--WDldl2.gallery-base__root--neTL9x .slick-dots>li:not(:last-of-type){margin-right:6px}}',""]),a.locals={root:"gallery-base__root--neTL9x",uploadButton:"gallery-base__uploadButton--r5PBvk",image:"gallery-base__image--_D7lMH",gallerySub:"gallery-base__gallerySub--aqMF8J",imageWrap:"gallery-base__imageWrap--Oo1ELN",item:"gallery-base__item--DG56n2",itemMini:"gallery-base__itemMini--NHfY30",itemWrap:"gallery-base__itemWrap--h1HxsW",infoWrap:"gallery-base__infoWrap--tr4VZf",title:"gallery-base__title--kCCgFU",link:"gallery-base__link--ikrOwm",buttonToFull:"gallery-base__buttonToFull--XPv9pB",editable:"gallery-base__editable--U05sS5",slickSliderMini:"gallery-base__slickSliderMini--vBKnxE",galleryArrowIcon:"gallery-base__galleryArrowIcon--PBiTjN",prev:"gallery-base__prev--juHYBR",next:"gallery-base__next--c7qlnO",fullscreen:"gallery-base__fullscreen--WDldl2",pictureFullscreen:"gallery-base__pictureFullscreen--oUKg9x",info:"gallery-base__info--fTVVSq",full:"gallery-base__full--oK2FKW",fullIcon:"gallery-base__fullIcon--nGkWhG",fullCount:"gallery-base__fullCount--cmoLnR",fullTitle:"gallery-base__fullTitle--Q1fCbN"};const s=a},7321:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".gallery-fullscreen__root--AGzqwQ{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:999999}.gallery-fullscreen__root--AGzqwQ .gallery-fullscreen__overlay--QbNb20{background:rgba(0,0,0,.8);height:100%;left:0;position:absolute;top:0;transition:background .2s;width:100%}@media screen and (max-width: 1199px){.gallery-fullscreen__root--AGzqwQ .gallery-fullscreen__overlay--QbNb20{background:#000}}.gallery-fullscreen__root--AGzqwQ .gallery-fullscreen__dotImage--Bp3f9K{border-radius:20px;height:131px;object-fit:cover;transition:width .3s;width:84px;will-change:width}@media screen and (max-width: 1199px){.gallery-fullscreen__root--AGzqwQ .gallery-fullscreen__dotImage--Bp3f9K{border-radius:7px;height:50px;pointer-events:auto;width:25px}}.gallery-fullscreen__root--AGzqwQ .slick-active .gallery-fullscreen__dotImage--Bp3f9K{width:131px}@media screen and (max-width: 1199px){.gallery-fullscreen__root--AGzqwQ .slick-active .gallery-fullscreen__dotImage--Bp3f9K{width:50px}}",""]),a.locals={root:"gallery-fullscreen__root--AGzqwQ",overlay:"gallery-fullscreen__overlay--QbNb20",dotImage:"gallery-fullscreen__dotImage--Bp3f9K"};const s=a},4644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".picture__root--moyod3{position:relative;overflow:hidden;mask-image:radial-gradient(white, black)}.picture__root--moyod3 .picture__picture--fHdeTI{object-fit:cover;display:block;overflow:hidden;z-index:1;position:relative;height:100%;width:100%;border-radius:inherit;color:rgba(0,0,0,0)}.picture__root--moyod3 .picture__pictureBlur--r7CqNz{z-index:0;background:#2c2c30;width:100%;height:100%;object-fit:cover;filter:blur(20px);transform:translate3d(0, 0, 0) scale(1.15)}.picture__root--moyod3 .picture__pictureOrigin--gwS2QQ{background:#2c2c30;width:100%;height:100%}.picture__root--moyod3 .picture__pictureOrigin--gwS2QQ.picture__absolute--boLQ_A{position:absolute;top:0;z-index:1}.picture__root--moyod3 .picture__image--yYDmTv{display:inherit;height:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;object-fit:inherit;width:inherit}",""]),a.locals={root:"picture__root--moyod3",picture:"picture__picture--fHdeTI",pictureBlur:"picture__pictureBlur--r7CqNz",pictureOrigin:"picture__pictureOrigin--gwS2QQ",absolute:"picture__absolute--boLQ_A",image:"picture__image--yYDmTv"};const s=a},3499:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.beta-keys-extension__root--ajLP9N{margin-bottom:16px;position:relative}.ProseMirror[contenteditable="true"] .ProseMirror-selectednode .beta-keys-extension__root--ajLP9N::after{content:"";position:absolute;right:-8px;top:0;width:1px;height:100%;background-color:#fff;visibility:initial;animation:beta-keys-extension__blink--LY3Ig3 1.1s steps(2, start) infinite}@keyframes beta-keys-extension__blink--LY3Ig3{100%{visibility:hidden}}',""]),a.locals={root:"beta-keys-extension__root--ajLP9N",blink:"beta-keys-extension__blink--LY3Ig3"};const s=a},3623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.blockquote-extension__root--eyQ4cS{margin-bottom:16px;position:relative}.ProseMirror[contenteditable="true"] .ProseMirror-selectednode .blockquote-extension__root--eyQ4cS::after{content:"";position:absolute;right:-8px;top:0;width:1px;height:100%;background-color:#fff;visibility:initial;animation:blockquote-extension__blink--DD49an 1.1s steps(2, start) infinite}@keyframes blockquote-extension__blink--DD49an{100%{visibility:hidden}}',""]),a.locals={root:"blockquote-extension__root--eyQ4cS",blink:"blockquote-extension__blink--DD49an"};const s=a},8903:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o),s=n(1667),l=n.n(s),c=new URL(n(4827),n.b),u=a()(i()),d=l()(c);u.push([e.id,`.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J{width:100%;max-width:728px;padding:0;margin:0 0 24px 0}ol>li .bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J,ul>li .bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J{margin:12px 0 0 40px}.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J ul{list-style:none}.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J ul>li{position:relative;display:block;margin:0 0 8px 0}.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J ul>li:last-child{margin-bottom:0}.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J ul>li>p{padding-left:28px}.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J.bullet-list-extension__root--pFNv9J ul>li:before{position:absolute;top:3px;left:0;content:url(${d});width:24px;height:24px}`,""]),u.locals={root:"bullet-list-extension__root--pFNv9J"};const p=u},2283:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.embed-extension__root--gL76bt{margin-bottom:24px;position:relative}.ProseMirror[contenteditable="true"] .ProseMirror-selectednode .embed-extension__root--gL76bt::after{content:"";position:absolute;right:-8px;top:0;width:1px;height:100%;background-color:#fff;visibility:initial;animation:embed-extension__blink--gIETMV 1.1s steps(2, start) infinite}@keyframes embed-extension__blink--gIETMV{100%{visibility:hidden}}',""]),a.locals={root:"embed-extension__root--gL76bt",blink:"embed-extension__blink--gIETMV"};const s=a},523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.gallery-extension__root--Dn9Vsd{margin-bottom:16px;position:relative}.ProseMirror[contenteditable="true"] .ProseMirror-selectednode .gallery-extension__root--Dn9Vsd::after{content:"";position:absolute;right:-8px;top:0;width:1px;height:100%;background-color:#fff;visibility:initial;animation:gallery-extension__blink--ii38Pj 1.1s steps(2, start) infinite}@keyframes gallery-extension__blink--ii38Pj{100%{visibility:hidden}}.gallery-extension__root--Dn9Vsd.gallery-extension__placeholder--cI9sY5{display:flex;align-items:center;justify-content:center;width:100%;min-height:300px;background:linear-gradient(254deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 61.05%),linear-gradient(106deg, rgba(255, 255, 255, 0.2) 6.91%, rgba(0, 0, 0, 0) 60.92%),#2c2c30;border-radius:10px}.gallery-extension__root--Dn9Vsd .gallery-extension__clickArea--jqFyWe{position:absolute;top:0;left:50%;width:80%;height:calc(100% - 41px);transform:translateX(-50%);z-index:2}',""]),a.locals={root:"gallery-extension__root--Dn9Vsd",blink:"gallery-extension__blink--ii38Pj",placeholder:"gallery-extension__placeholder--cI9sY5",clickArea:"gallery-extension__clickArea--jqFyWe"};const s=a},970:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,"h2.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL{width:100%;max-width:770px;padding:0;margin:0 0 16px;font-size:36px;font-weight:700;line-height:150%}h3.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL{padding:0;margin:0 0 12px;font-size:24px;font-weight:bold;line-height:110%}.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL>strong{font-weight:800}.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL.heading-extension__root--QuNlCL>em{font-style:italic}",""]),a.locals={root:"heading-extension__root--QuNlCL"};const s=a},8698:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".link-extension__modal--FqODvt{max-width:400px;padding:4px 8px;background-color:#000;border:1px solid rgba(255,255,255,.2);border-radius:7px;font-size:14px;text-align:center;white-space:normal;word-break:break-word}",""]),a.locals={modal:"link-extension__modal--FqODvt"};const s=a},1916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4{width:100%;max-width:728px;padding:0;margin:0 0 24px 0}ol>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4,ul>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4{margin:12px 0 0 40px}ol>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol,ul>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol{counter-reset:list}ol>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol>li:before,ul>li .ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol>li:before{counter-increment:list;content:counter(list, lower-alpha) ". "}.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol{counter-reset:root;list-style:none !important}.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol>li{position:relative;display:block;margin:0 0 8px 0}.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol>li>p{display:inline}.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4.ordered-list-extension__root--iresv4 ol>li:before{counter-increment:root;content:counter(root) ". ";display:inline-flex;align-items:center;justify-content:center;margin-right:4px;min-width:24px;height:24px;color:#007efa;font-size:20px;font-weight:600}',""]),a.locals={root:"ordered-list-extension__root--iresv4"};const s=a},9378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6{width:100%;max-width:770px}@media screen and (max-width: 1309px){.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6{max-width:initial}}.tiptap>.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6{margin:0 0 16px 0}.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6>strong{font-weight:700}.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6.paragraph-extension__root--Elzxz6>em{font-style:italic}",""]),a.locals={root:"paragraph-extension__root--Elzxz6"};const s=a},6211:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.raw-html-extension__root--YT8P8s{margin-bottom:16px;position:relative}.ProseMirror[contenteditable="true"] .ProseMirror-selectednode .raw-html-extension__root--YT8P8s::after{content:"";position:absolute;right:-8px;top:0;width:1px;height:100%;background-color:#fff;visibility:initial;animation:raw-html-extension__blink--Bf92KY 1.1s steps(2, start) infinite}@keyframes raw-html-extension__blink--Bf92KY{100%{visibility:hidden}}',""]),a.locals={root:"raw-html-extension__root--YT8P8s",blink:"raw-html-extension__blink--Bf92KY"};const s=a},2270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".related-extension__root--FLz4UN{cursor:default;margin:40px 0 16px}",""]),a.locals={root:"related-extension__root--FLz4UN"};const s=a},9428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".related-item-extension__root--QL7hBi{position:relative;margin-bottom:16px;color:rgba(56,157,255,.87);font-size:18px;font-style:normal;font-weight:400;line-height:150%;text-decoration-line:underline}",""]),a.locals={root:"related-item-extension__root--QL7hBi"};const s=a},5843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".table-cell-extension__root--_cwXun{min-width:80px;padding:2px 4px;vertical-align:middle;word-break:normal;white-space:pre-line}",""]),a.locals={root:"table-cell-extension__root--_cwXun"};const s=a},25:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".table-extension__root--Lrj71g{margin:0 0 24px 0;max-width:100%;overflow:scroll}.table-extension__root--Lrj71g table{min-width:calc(100% - 2px);font-size:17px;border-spacing:0;border-collapse:collapse;border-radius:10px;border-style:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.6);overflow:hidden;margin:1px}.table-extension__root--Lrj71g table tbody>tr>th{background-color:rgba(255,255,255,.15)}.table-extension__root--Lrj71g table tbody>tr>th,.table-extension__root--Lrj71g table tbody>tr>td{padding:0 8px;border:1px solid rgba(255,255,255,.6)}.table-extension__root--Lrj71g table tbody>tr>th.selectedCell,.table-extension__root--Lrj71g table tbody>tr>td.selectedCell{background-color:rgba(79,153,227,.3)}",""]),a.locals={root:"table-extension__root--Lrj71g"};const s=a},9835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".box__root--kZ0l0d{background-color:rgba(42,41,41,.6);border:1px solid #4b4b4b;border-radius:18px;backdrop-filter:blur(5px)}.box__root--kZ0l0d.box__display_block--ebWMR2{display:block}.box__root--kZ0l0d.box__display_flexRow--snyzFQ{display:flex;flex-direction:row}.box__root--kZ0l0d.box__display_flexColumn--RecL_g{display:flex;flex-direction:column}.box__root--kZ0l0d.box__size_md--NVKsXJ{padding:20px;gap:12px}",""]),a.locals={root:"box__root--kZ0l0d",display_block:"box__display_block--ebWMR2",display_flexRow:"box__display_flexRow--snyzFQ",display_flexColumn:"box__display_flexColumn--RecL_g",size_md:"box__size_md--NVKsXJ"};const s=a},1453:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,':root{--wysi-button-c-filled-gray-default-content: #FFFFFF;--wysi-button-c-filled-gray-default-fill: #292929;--wysi-button-c-filled-gray-default-stroke: transparent;--wysi-button-c-filled-gray-hover-content: #FFFFFF;--wysi-button-c-filled-gray-hover-fill: #3C3C3C;--wysi-button-c-filled-gray-hover-stroke: transparent;--wysi-button-c-filled-gray-active-content: #FFFFFF;--wysi-button-c-filled-gray-active-fill: #4B4B4B;--wysi-button-c-filled-gray-active-stroke: transparent;--wysi-button-c-filled-red-default-content: #FFFFFF;--wysi-button-c-filled-red-default-fill: #230707;--wysi-button-c-filled-red-default-stroke: transparent;--wysi-button-c-filled-red-hover-content: #FFFFFF;--wysi-button-c-filled-red-hover-fill: #380707;--wysi-button-c-filled-red-hover-stroke: transparent;--wysi-button-c-filled-red-active-content: #FFFFFF;--wysi-button-c-filled-red-active-fill: #500606;--wysi-button-c-filled-red-active-stroke: transparent;--wysi-button-c-filled-blue-default-content: #FFFFFF;--wysi-button-c-filled-blue-default-fill: #004F9D;--wysi-button-c-filled-blue-default-stroke: transparent;--wysi-button-c-filled-blue-hover-content: #FFFFFF;--wysi-button-c-filled-blue-hover-fill: #0067CA;--wysi-button-c-filled-blue-hover-stroke: transparent;--wysi-button-c-filled-blue-active-content: #FFFFFF;--wysi-button-c-filled-blue-active-fill: #007EFA;--wysi-button-c-filled-blue-active-stroke: transparent;--wysi-button-c-subtle-gray-default-content: #6A6A6A;--wysi-button-c-subtle-gray-default-fill: transparent;--wysi-button-c-subtle-gray-default-stroke:transparent;--wysi-button-c-subtle-gray-hover-content: #C8C8C8;--wysi-button-c-subtle-gray-hover-fill: rgba(#FFFFFF, 0.16);--wysi-button-c-subtle-gray-hover-stroke: transparent;--wysi-button-c-subtle-gray-active-content: #FFFFFF;--wysi-button-c-subtle-gray-active-fill: transparent;--wysi-button-c-subtle-gray-active-stroke: transparent;--wysi-button-c-subtle-red-default-content: #C00101;--wysi-button-c-subtle-red-default-fill: transparent;--wysi-button-c-subtle-red-default-stroke: transparent;--wysi-button-c-subtle-red-hover-content: #D70000;--wysi-button-c-subtle-red-hover-fill: #C328283F;--wysi-button-c-subtle-red-hover-stroke: transparent;--wysi-button-c-subtle-red-active-content: #FF0000;--wysi-button-c-subtle-red-active-fill: transparent;--wysi-button-c-subtle-red-active-stroke: transparent;--wysi-button-c-subtle-blue-default-content: #1EA0E1;--wysi-button-c-subtle-blue-default-fill: transparent;--wysi-button-c-subtle-blue-default-stroke: transparent;--wysi-button-c-subtle-blue-hover-content: #2DB9F5;--wysi-button-c-subtle-blue-hover-fill: rgba(#1CB3FF, 0.35);--wysi-button-c-subtle-blue-hover-stroke: transparent;--wysi-button-c-subtle-blue-active-content: #0FC3FA;--wysi-button-c-subtle-blue-active-fill: transparent;--wysi-button-c-subtle-blue-active-stroke: transparent;--wysi-button-group-c-transparent-fill: transparent;--wysi-button-group-c-transparent-stroke: transparent;--wysi-button-group-c-filled-fill: #000000;--wysi-button-group-c-filled-stroke: transparent;--wysi-button-group-c-outline-fill: #000000;--wysi-button-group-c-outline-stroke: #292929;--wysi-button-divider-c-stroke: #292929}.button__button--EbiRM6{display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:4px 8px;-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;font-family:"VK Sans Display",sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:100%;text-decoration:none;text-align:left;border:1px solid var(--wysi-button-c-filled-gray-default-fill);border-radius:8px;color:var(--wysi-button-c-filled-gray-default-content);background-color:var(--wysi-button-c-filled-gray-default-fill);border-color:var(--wysi-button-c-filled-gray-default-stroke)}.button__button--EbiRM6.button__state_active--Z3TIbA{color:var(--wysi-button-c-filled-gray-active-content);background-color:var(--wysi-button-c-filled-gray-active-fill);border-color:var(--wysi-button-c-filled-gray-active-stroke)}.button__button--EbiRM6:hover{background-color:var(--wysi-button-c-filled-gray-hover-fill);border-color:var(--wysi-button-c-filled-gray-hover-stroke)}.button__button--EbiRM6:hover:not(.button__button--EbiRM6.button__state_active--Z3TIbA){color:var(--wysi-button-c-filled-gray-hover-content)}.button__button--EbiRM6:active .button__content--ObbEI3,.button__button--EbiRM6:active .button__icon--chd4mG{transform:translateY(1px)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_gray--wtFF1c{color:var(--wysi-button-c-filled-gray-default-content);background-color:var(--wysi-button-c-filled-gray-default-fill);border-color:var(--wysi-button-c-filled-gray-default-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_gray--wtFF1c.button__state_active--Z3TIbA{color:var(--wysi-button-c-filled-gray-active-content);background-color:var(--wysi-button-c-filled-gray-active-fill);border-color:var(--wysi-button-c-filled-gray-active-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_gray--wtFF1c:hover{background-color:var(--wysi-button-c-filled-gray-hover-fill);border-color:var(--wysi-button-c-filled-gray-hover-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_gray--wtFF1c:hover:not(.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_gray--wtFF1c.button__state_active--Z3TIbA){color:var(--wysi-button-c-filled-gray-hover-content)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_red--sBeTTS{color:var(--wysi-button-c-filled-red-default-content);background-color:var(--wysi-button-c-filled-red-default-fill);border-color:var(--wysi-button-c-filled-red-default-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_red--sBeTTS.button__state_active--Z3TIbA{color:var(--wysi-button-c-filled-red-active-content);background-color:var(--wysi-button-c-filled-red-active-fill);border-color:var(--wysi-button-c-filled-red-active-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_red--sBeTTS:hover{background-color:var(--wysi-button-c-filled-red-hover-fill);border-color:var(--wysi-button-c-filled-red-hover-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_red--sBeTTS:hover:not(.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_red--sBeTTS.button__state_active--Z3TIbA){color:var(--wysi-button-c-filled-red-hover-content)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_blue--Zs4orn{color:var(--wysi-button-c-filled-blue-default-content);background-color:var(--wysi-button-c-filled-blue-default-fill);border-color:var(--wysi-button-c-filled-blue-default-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_blue--Zs4orn.button__state_active--Z3TIbA{color:var(--wysi-button-c-filled-blue-active-content);background-color:var(--wysi-button-c-filled-blue-active-fill);border-color:var(--wysi-button-c-filled-blue-active-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_blue--Zs4orn:hover{background-color:var(--wysi-button-c-filled-blue-hover-fill);border-color:var(--wysi-button-c-filled-blue-hover-stroke)}.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_blue--Zs4orn:hover:not(.button__button--EbiRM6.button__variant_filled--JIZip2.button__color_blue--Zs4orn.button__state_active--Z3TIbA){color:var(--wysi-button-c-filled-blue-hover-content)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_gray--wtFF1c{color:var(--wysi-button-c-subtle-gray-default-content);background-color:var(--wysi-button-c-subtle-gray-default-fill);border-color:var(--wysi-button-c-subtle-gray-default-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_gray--wtFF1c.button__state_active--Z3TIbA{color:var(--wysi-button-c-subtle-gray-active-content);background-color:var(--wysi-button-c-subtle-gray-active-fill);border-color:var(--wysi-button-c-subtle-gray-active-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_gray--wtFF1c:hover{background-color:var(--wysi-button-c-subtle-gray-hover-fill);border-color:var(--wysi-button-c-subtle-gray-hover-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_gray--wtFF1c:hover:not(.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_gray--wtFF1c.button__state_active--Z3TIbA){color:var(--wysi-button-c-subtle-gray-hover-content)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_red--sBeTTS{color:var(--wysi-button-c-subtle-red-default-content);background-color:var(--wysi-button-c-subtle-red-default-fill);border-color:var(--wysi-button-c-subtle-red-default-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_red--sBeTTS.button__state_active--Z3TIbA{color:var(--wysi-button-c-subtle-red-active-content);background-color:var(--wysi-button-c-subtle-red-active-fill);border-color:var(--wysi-button-c-subtle-red-active-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_red--sBeTTS:hover{background-color:var(--wysi-button-c-subtle-red-hover-fill);border-color:var(--wysi-button-c-subtle-red-hover-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_red--sBeTTS:hover:not(.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_red--sBeTTS.button__state_active--Z3TIbA){color:var(--wysi-button-c-subtle-red-hover-content)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_blue--Zs4orn{color:var(--wysi-button-c-subtle-blue-default-content);background-color:var(--wysi-button-c-subtle-blue-default-fill);border-color:var(--wysi-button-c-subtle-blue-default-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_blue--Zs4orn.button__state_active--Z3TIbA{color:var(--wysi-button-c-subtle-blue-active-content);background-color:var(--wysi-button-c-subtle-blue-active-fill);border-color:var(--wysi-button-c-subtle-blue-active-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_blue--Zs4orn:hover{background-color:var(--wysi-button-c-subtle-blue-hover-fill);border-color:var(--wysi-button-c-subtle-blue-hover-stroke)}.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_blue--Zs4orn:hover:not(.button__button--EbiRM6.button__variant_subtle--zOPyqj.button__color_blue--Zs4orn.button__state_active--Z3TIbA){color:var(--wysi-button-c-subtle-blue-hover-content)}.button__button--EbiRM6.button__compact--A8WeKB{padding:4px}.button__button--EbiRM6.button__size_sm--I5rnRl{font-size:12px;padding:4px 8px}.button__button--EbiRM6.button__size_sm--I5rnRl.button__compact--A8WeKB{padding:4px}.button__button--EbiRM6.button__size_sm--I5rnRl .button__icon--chd4mG,.button__button--EbiRM6.button__size_sm--I5rnRl .button__content--ObbEI3{height:14px}.button__button--EbiRM6.button__size_md--BjYYq_{font-size:14px;padding:4px 8px}.button__button--EbiRM6.button__size_md--BjYYq_.button__compact--A8WeKB{padding:4px}.button__button--EbiRM6.button__size_md--BjYYq_ .button__icon--chd4mG,.button__button--EbiRM6.button__size_md--BjYYq_ .button__content--ObbEI3{height:20px}.button__button--EbiRM6.button__size_lg--bnsa2e{font-size:16px;padding:8px 16px}.button__button--EbiRM6.button__size_lg--bnsa2e.button__compact--A8WeKB{padding:8px}.button__button--EbiRM6.button__size_lg--bnsa2e .button__icon--chd4mG,.button__button--EbiRM6.button__size_lg--bnsa2e .button__content--ObbEI3{height:24px}.button__button--EbiRM6.button__radius_xs--F7IIzs{border-radius:2px}.button__button--EbiRM6.button__radius_sm--Pz_HqD{border-radius:4px}.button__button--EbiRM6.button__radius_md--x2npA0{border-radius:8px}.button__button--EbiRM6.button__radius_lg--ptVD_3{border-radius:16px}.button__button--EbiRM6.button__radius_xl--IOaghG{border-radius:24px}.button__button--EbiRM6 .button__content--ObbEI3{flex:1 0 auto;display:flex;align-items:center;height:20px;white-space:nowrap;overflow:hidden}.button__button--EbiRM6 .button__icon--chd4mG{flex:0 0 auto;display:inline-flex;justify-content:center;align-items:center;height:20px}.button__button--EbiRM6 .button__icon--chd4mG>svg{height:100%}.button__group--zFqcRe{display:flex;justify-content:center;align-items:stretch;background-color:var(--wysi-button-group-c-outline-fill);border:1px solid var(--wysi-button-group-c-outline-stroke);border-radius:8px;overflow:hidden}.button__group--zFqcRe>.button__button--EbiRM6{border-radius:0}.button__group--zFqcRe>.button__button--EbiRM6:first-of-type:not(.button__group--zFqcRe>.button__button--EbiRM6:last-of-type){border-right:0}.button__group--zFqcRe>.button__button--EbiRM6:last-of-type:not(.button__group--zFqcRe>.button__button--EbiRM6:first-of-type){border-left:0}.button__group--zFqcRe>.button__button--EbiRM6:not(.button__group--zFqcRe>.button__button--EbiRM6:first-of-type):not(.button__group--zFqcRe>.button__button--EbiRM6:last-of-type){border-radius:0}.button__group--zFqcRe.button__radius_xs--F7IIzs{border-radius:2px}.button__group--zFqcRe.button__radius_sm--Pz_HqD{border-radius:4px}.button__group--zFqcRe.button__radius_md--x2npA0{border-radius:8px}.button__group--zFqcRe.button__radius_lg--ptVD_3{border-radius:16px}.button__group--zFqcRe.button__radius_xl--IOaghG{border-radius:24px}.button__group--zFqcRe.button__variant_transparent--rLQKbj{background-color:var(--wysi-button-group-c-transparent-fill);border-width:0;border-color:var(--wysi-button-group-c-transparent-stroke)}.button__group--zFqcRe.button__variant_filled--JIZip2{background-color:var(--wysi-button-group-c-filled-fill);border-width:0;border-color:var(--wysi-button-group-c-filled-stroke)}.button__group--zFqcRe.button__variant_outline--HrnRkn{background-color:var(--wysi-button-group-c-outline-fill);border-width:1px;border-color:var(--wysi-button-group-c-outline-stroke)}.button__divider--ObHP7q{width:1px;background-color:var(--wysi-button-divider-c-stroke)}',""]),a.locals={button:"button__button--EbiRM6",state_active:"button__state_active--Z3TIbA",content:"button__content--ObbEI3",icon:"button__icon--chd4mG",variant_filled:"button__variant_filled--JIZip2",color_gray:"button__color_gray--wtFF1c",color_red:"button__color_red--sBeTTS",color_blue:"button__color_blue--Zs4orn",variant_subtle:"button__variant_subtle--zOPyqj",compact:"button__compact--A8WeKB",size_sm:"button__size_sm--I5rnRl",size_md:"button__size_md--BjYYq_",size_lg:"button__size_lg--bnsa2e",radius_xs:"button__radius_xs--F7IIzs",radius_sm:"button__radius_sm--Pz_HqD",radius_md:"button__radius_md--x2npA0",radius_lg:"button__radius_lg--ptVD_3",radius_xl:"button__radius_xl--IOaghG",group:"button__group--zFqcRe",variant_transparent:"button__variant_transparent--rLQKbj",variant_outline:"button__variant_outline--HrnRkn",divider:"button__divider--ObHP7q"};const s=a},1190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".input__root--v2NXJr{display:flex;align-items:stretch;width:100%;height:40px;overflow:hidden;cursor:pointer;background-color:#171717;color:#6a6a6a;font-size:16px;border:1px solid #292929}.input__root--v2NXJr.input__size_xs--T8MTvb{height:30px;font-size:12px}.input__root--v2NXJr.input__size_xs--T8MTvb .input__prefix--DGrVl5,.input__root--v2NXJr.input__size_xs--T8MTvb .input__postfix--wJImC1{min-width:30px}.input__root--v2NXJr.input__size_xs--T8MTvb .input__prefix--DGrVl5>svg,.input__root--v2NXJr.input__size_xs--T8MTvb .input__postfix--wJImC1>svg{height:14px}.input__root--v2NXJr.input__size_sm--qLCyHy{height:36px;font-size:14px}.input__root--v2NXJr.input__size_sm--qLCyHy .input__prefix--DGrVl5,.input__root--v2NXJr.input__size_sm--qLCyHy .input__postfix--wJImC1{min-width:36px}.input__root--v2NXJr.input__size_sm--qLCyHy .input__prefix--DGrVl5>svg,.input__root--v2NXJr.input__size_sm--qLCyHy .input__postfix--wJImC1>svg{height:16px}.input__root--v2NXJr.input__size_md--I518BM{height:42px;font-size:16px}.input__root--v2NXJr.input__size_md--I518BM .input__prefix--DGrVl5,.input__root--v2NXJr.input__size_md--I518BM .input__postfix--wJImC1{min-width:42px}.input__root--v2NXJr.input__size_md--I518BM .input__prefix--DGrVl5>svg,.input__root--v2NXJr.input__size_md--I518BM .input__postfix--wJImC1>svg{height:18px}.input__root--v2NXJr.input__size_lg--Dp39zq{height:50px;font-size:18px}.input__root--v2NXJr.input__size_lg--Dp39zq .input__prefix--DGrVl5,.input__root--v2NXJr.input__size_lg--Dp39zq .input__postfix--wJImC1{min-width:50px}.input__root--v2NXJr.input__size_lg--Dp39zq .input__prefix--DGrVl5>svg,.input__root--v2NXJr.input__size_lg--Dp39zq .input__postfix--wJImC1>svg{height:22px}.input__root--v2NXJr.input__size_xl--TLUr9i{height:60px;font-size:20px}.input__root--v2NXJr.input__size_xl--TLUr9i .input__prefix--DGrVl5,.input__root--v2NXJr.input__size_xl--TLUr9i .input__postfix--wJImC1{min-width:60px}.input__root--v2NXJr.input__size_xl--TLUr9i .input__prefix--DGrVl5>svg,.input__root--v2NXJr.input__size_xl--TLUr9i .input__postfix--wJImC1>svg{height:24px}.input__root--v2NXJr.input__radius_xs--a_8cUD{border-radius:2px}.input__root--v2NXJr.input__radius_sm--iOYxgA{border-radius:4px}.input__root--v2NXJr.input__radius_md--SPkPrM{border-radius:8px}.input__root--v2NXJr.input__radius_lg--cvWRuM{border-radius:16px}.input__root--v2NXJr.input__radius_xl--CAxOQX{border-radius:24px}.input__root--v2NXJr .input__prefix--DGrVl5,.input__root--v2NXJr .input__postfix--wJImC1{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;height:100%;min-width:42px}.input__root--v2NXJr .input__prefix--DGrVl5>svg,.input__root--v2NXJr .input__postfix--wJImC1>svg{height:18px}.input__root--v2NXJr .input__prefix--DGrVl5>[data-button]{height:100%;width:100%;justify-content:center;border-top-right-radius:0;border-bottom-right-radius:0}.input__root--v2NXJr .input__postfix--wJImC1>[data-button]{height:100%;width:100%;justify-content:center;border-top-left-radius:0;border-bottom-left-radius:0}.input__root--v2NXJr .input__input--Rt5Z9T{flex:1 0 auto;background-color:rgba(0,0,0,0);border:0;padding:0 16px;font-size:inherit;color:#fff}.input__root--v2NXJr .input__input--Rt5Z9T::placeholder{color:#6a6a6a}.input__root--v2NXJr .input__input--Rt5Z9T.input__with_prefix--U9S_NM{padding-left:0}.input__root--v2NXJr .input__input--Rt5Z9T.input__with_postfix--psHrU9{padding-right:0}",""]),a.locals={root:"input__root--v2NXJr",size_xs:"input__size_xs--T8MTvb",prefix:"input__prefix--DGrVl5",postfix:"input__postfix--wJImC1",size_sm:"input__size_sm--qLCyHy",size_md:"input__size_md--I518BM",size_lg:"input__size_lg--Dp39zq",size_xl:"input__size_xl--TLUr9i",radius_xs:"input__radius_xs--a_8cUD",radius_sm:"input__radius_sm--iOYxgA",radius_md:"input__radius_md--SPkPrM",radius_lg:"input__radius_lg--cvWRuM",radius_xl:"input__radius_xl--CAxOQX",input:"input__input--Rt5Z9T",with_prefix:"input__with_prefix--U9S_NM",with_postfix:"input__with_postfix--psHrU9"};const s=a},8512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,":root{--wysi-menu-c-fill: #000000;--wysi-menu-c-stroke: #292929;--wysi-menu-divider-c-stroke: #292929}.menu__menu--XVyClY{display:flex;flex-direction:column;padding:4px 4px;min-width:200px;background-color:var(--wysi-menu-c-fill);border:1px solid var(--wysi-menu-c-stroke);border-radius:8px}.menu__menu--XVyClY>[data-button]{padding-left:16px;padding-right:16px}.menu__divider--oY_r1k{width:90%;height:1px;margin:2px auto;background-color:var(--wysi-menu-divider-c-stroke)}",""]),a.locals={menu:"menu__menu--XVyClY",divider:"menu__divider--oY_r1k"};const s=a},5049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".modal__root--PM9Yiu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;overflow-y:scroll}.modal__root--PM9Yiu .modal__backdrop--PfPWLw{position:fixed;left:0;top:0;width:100%;height:100%;background:#000;opacity:.5}.modal__root--PM9Yiu .modal__content--VhvoJk{position:absolute;left:50%;margin-top:15vh;transform:translateX(-50%)}.modal__bodyOverflow--du0vCq{overflow:hidden}",""]),a.locals={root:"modal__root--PM9Yiu",backdrop:"modal__backdrop--PfPWLw",content:"modal__content--VhvoJk",bodyOverflow:"modal__bodyOverflow--du0vCq"};const s=a},7498:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,'.slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:rgba(0,0,0,0)}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.slick-track{top:0;left:0}.slick-track:after,.slick-track:before{display:table;content:""}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid rgba(0,0,0,0)}.slick-arrow.slick-hidden{display:none}.ProseMirror.ProseMirror.ProseMirror[contenteditable=true]:after{content:"";position:absolute;bottom:-62px;left:0;width:100%;height:62px;z-index:1}.ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:after{border-color:#fff}.tiptap.tiptap.tiptap{color:#f5f5f7;word-break:break-word;font-family:"VK Sans",sans-serif}',""]);const s=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},1667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},7856:function(e){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,r,i){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return r&&t(o,r.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=Object.hasOwnProperty,s=Object.setPrototypeOf,l=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,d=Object.freeze,p=Object.seal,f=Object.create,h="undefined"!=typeof Reflect&&Reflect,m=h.apply,g=h.construct;m||(m=function(e,t,n){return e.apply(t,n)}),d||(d=function(e){return e}),p||(p=function(e){return e}),g||(g=function(e,t){return n(e,r(t))});var v=O(Array.prototype.forEach),y=O(Array.prototype.pop),b=O(Array.prototype.push),w=O(String.prototype.toLowerCase),_=O(String.prototype.toString),S=O(String.prototype.match),x=O(String.prototype.replace),E=O(String.prototype.indexOf),k=O(String.prototype.trim),C=O(RegExp.prototype.test),T=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(e,n)}}(TypeError);function O(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return m(e,t,r)}}function M(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:w,s&&s(e,null);for(var i=t.length;i--;){var o=t[i];if("string"==typeof o){var a=n(o);a!==o&&(l(t)||(t[i]=a),o=a)}e[o]=!0}return e}function A(e){var t,n=f(null);for(t in e)!0===m(a,e,[t])&&(n[t]=e[t]);return n}function P(e,t){for(;null!==e;){var n=u(e,t);if(n){if(n.get)return O(n.get);if("function"==typeof n.value)return O(n.value)}e=c(e)}return function(e){return i.warn("fallback value for",e),null}}var L=d(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=d(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=d(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=d(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=d(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=d(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=d(["#text"]),F=d(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=d(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=d(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=d(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=p(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=p(/<%[\w\W]*|[\w\W]*%>/gm),G=p(/\${[\w\W]*}/gm),q=p(/^data-[\-\w.\u00B7-\uFFFF]/),W=p(/^aria-[\-\w]+$/),Z=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=p(/^(?:\w+script|data):/i),K=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=p(/^html$/i);return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,o=function(e){return t(e)};if(o.version="2.4.7",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;var a=n.document,s=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,u=n.Node,p=n.Element,f=n.NodeFilter,h=n.NamedNodeMap,m=void 0===h?n.NamedNodeMap||n.MozNamedAttrMap:h,g=n.HTMLFormElement,O=n.DOMParser,X=n.trustedTypes,J=p.prototype,ee=P(J,"cloneNode"),te=P(J,"nextSibling"),ne=P(J,"childNodes"),re=P(J,"parentNode");if("function"==typeof c){var ie=s.createElement("template");ie.content&&ie.content.ownerDocument&&(s=ie.content.ownerDocument)}var oe=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return i.warn("TrustedTypes policy "+a+" could not be created."),null}}(X,a),ae=oe?oe.createHTML(""):"",se=s,le=se.implementation,ce=se.createNodeIterator,ue=se.createDocumentFragment,de=se.getElementsByTagName,pe=a.importNode,fe={};try{fe=A(s).documentMode?s.documentMode:{}}catch(e){}var he={};o.isSupported="function"==typeof re&&le&&void 0!==le.createHTMLDocument&&9!==fe;var me,ge,ve=U,ye=$,be=G,we=q,_e=W,Se=Y,xe=K,Ee=Z,ke=null,Ce=M({},[].concat(r(L),r(D),r(R),r(N),r(B))),Te=null,Oe=M({},[].concat(r(F),r(H),r(z),r(V))),Me=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,Pe=null,Le=!0,De=!0,Re=!1,Ie=!0,Ne=!1,je=!1,Be=!1,Fe=!1,He=!1,ze=!1,Ve=!1,Ue=!0,$e=!1,Ge=!0,qe=!1,We={},Ze=null,Ye=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ke=null,Qe=M({},["audio","video","img","source","image","track"]),Xe=null,Je=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=nt,it=!1,ot=null,at=M({},[et,tt,nt],_),st=["application/xhtml+xml","text/html"],lt=null,ct=s.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(t){lt&<===t||(t&&"object"===e(t)||(t={}),t=A(t),me=me=-1===st.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===me?_:w,ke="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,ge):Ce,Te="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,ge):Oe,ot="ALLOWED_NAMESPACES"in t?M({},t.ALLOWED_NAMESPACES,_):at,Xe="ADD_URI_SAFE_ATTR"in t?M(A(Je),t.ADD_URI_SAFE_ATTR,ge):Je,Ke="ADD_DATA_URI_TAGS"in t?M(A(Qe),t.ADD_DATA_URI_TAGS,ge):Qe,Ze="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,ge):Ye,Ae="FORBID_TAGS"in t?M({},t.FORBID_TAGS,ge):{},Pe="FORBID_ATTR"in t?M({},t.FORBID_ATTR,ge):{},We="USE_PROFILES"in t&&t.USE_PROFILES,Le=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Re=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ne=t.SAFE_FOR_TEMPLATES||!1,je=t.WHOLE_DOCUMENT||!1,He=t.RETURN_DOM||!1,ze=t.RETURN_DOM_FRAGMENT||!1,Ve=t.RETURN_TRUSTED_TYPE||!1,Fe=t.FORCE_BODY||!1,Ue=!1!==t.SANITIZE_DOM,$e=t.SANITIZE_NAMED_PROPS||!1,Ge=!1!==t.KEEP_CONTENT,qe=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,rt=t.NAMESPACE||nt,Me=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Me.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Me.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Me.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(De=!1),ze&&(He=!0),We&&(ke=M({},r(B)),Te=[],!0===We.html&&(M(ke,L),M(Te,F)),!0===We.svg&&(M(ke,D),M(Te,H),M(Te,V)),!0===We.svgFilters&&(M(ke,R),M(Te,H),M(Te,V)),!0===We.mathMl&&(M(ke,N),M(Te,z),M(Te,V))),t.ADD_TAGS&&(ke===Ce&&(ke=A(ke)),M(ke,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Te===Oe&&(Te=A(Te)),M(Te,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&M(Xe,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ze===Ye&&(Ze=A(Ze)),M(Ze,t.FORBID_CONTENTS,ge)),Ge&&(ke["#text"]=!0),je&&M(ke,["html","head","body"]),ke.table&&(M(ke,["tbody"]),delete Ae.tbody),d&&d(t),lt=t)},pt=M({},["mi","mo","mn","ms","mtext"]),ft=M({},["foreignobject","desc","title","annotation-xml"]),ht=M({},["title","style","font","a","script"]),mt=M({},D);M(mt,R),M(mt,I);var gt=M({},N);M(gt,j);var vt=function(e){b(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},yt=function(e,t){try{b(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Te[e])if(He||ze)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){var t,n;if(Fe)e="<remove></remove>"+e;else{var r=S(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===me&&rt===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=oe?oe.createHTML(e):e;if(rt===nt)try{t=(new O).parseFromString(i,me)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(rt,"template",null);try{t.documentElement.innerHTML=it?ae:i}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),rt===nt?de.call(t,je?"html":"body")[0]:je?t.documentElement:o},wt=function(e){return ce.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,null,!1)},_t=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},St=function(e,t,n){he[e]&&v(he[e],(function(e){e.call(o,t,n,lt)}))},xt=function(e){var t;if(St("beforeSanitizeElements",e,null),function(e){return e instanceof g&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof m)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)}(e))return vt(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var n=ge(e.nodeName);if(St("uponSanitizeElement",e,{tagName:n,allowedTags:ke}),e.hasChildNodes()&&!_t(e.firstElementChild)&&(!_t(e.content)||!_t(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===n&&C(/<template/i,e.innerHTML))return vt(e),!0;if(!ke[n]||Ae[n]){if(!Ae[n]&&kt(n)){if(Me.tagNameCheck instanceof RegExp&&C(Me.tagNameCheck,n))return!1;if(Me.tagNameCheck instanceof Function&&Me.tagNameCheck(n))return!1}if(Ge&&!Ze[n]){var r=re(e)||e.parentNode,i=ne(e)||e.childNodes;if(i&&r)for(var a=i.length-1;a>=0;--a)r.insertBefore(ee(i[a],!0),te(e))}return vt(e),!0}return e instanceof p&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});var n=w(e.tagName),r=w(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||pt[r]):Boolean(mt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&ft[r]:Boolean(gt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!ft[r])&&!(t.namespaceURI===et&&!pt[r])&&!gt[n]&&(ht[n]||!mt[n]):!("application/xhtml+xml"!==me||!ot[e.namespaceURI]))}(e)?(vt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!C(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne&&3===e.nodeType&&(t=e.textContent,t=x(t,ve," "),t=x(t,ye," "),t=x(t,be," "),e.textContent!==t&&(b(o.removed,{element:e.cloneNode()}),e.textContent=t)),St("afterSanitizeElements",e,null),!1):(vt(e),!0)},Et=function(e,t,n){if(Ue&&("id"===t||"name"===t)&&(n in s||n in ct))return!1;if(De&&!Pe[t]&&C(we,t));else if(Le&&C(_e,t));else if(!Te[t]||Pe[t]){if(!(kt(e)&&(Me.tagNameCheck instanceof RegExp&&C(Me.tagNameCheck,e)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(e))&&(Me.attributeNameCheck instanceof RegExp&&C(Me.attributeNameCheck,t)||Me.attributeNameCheck instanceof Function&&Me.attributeNameCheck(t))||"is"===t&&Me.allowCustomizedBuiltInElements&&(Me.tagNameCheck instanceof RegExp&&C(Me.tagNameCheck,n)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(n))))return!1}else if(Xe[t]);else if(C(Ee,x(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ke[e])if(Re&&!C(Se,x(n,xe,"")));else if(n)return!1;return!0},kt=function(e){return e.indexOf("-")>0},Ct=function(t){var n,r,i,a;St("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te};for(a=s.length;a--;){var c=n=s[a],u=c.name,d=c.namespaceURI;if(r="value"===u?n.value:k(n.value),i=ge(u),l.attrName=i,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,St("uponSanitizeAttribute",t,l),r=l.attrValue,!l.forceKeepAttr&&(yt(u,t),l.keepAttr))if(Ie||!C(/\/>/i,r)){Ne&&(r=x(r,ve," "),r=x(r,ye," "),r=x(r,be," "));var p=ge(t.nodeName);if(Et(p,i,r)){if(!$e||"id"!==i&&"name"!==i||(yt(u,t),r="user-content-"+r),oe&&"object"===e(X)&&"function"==typeof X.getAttributeType)if(d);else switch(X.getAttributeType(p,i)){case"TrustedHTML":r=oe.createHTML(r);break;case"TrustedScriptURL":r=oe.createScriptURL(r)}try{d?t.setAttributeNS(d,u,r):t.setAttribute(u,r),y(o.removed)}catch(e){}}}else yt(u,t)}St("afterSanitizeAttributes",t,null)}},Tt=function e(t){var n,r=wt(t);for(St("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)St("uponSanitizeShadowNode",n,null),xt(n)||(n.content instanceof l&&e(n.content),Ct(n));St("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(t){var r,i,s,c,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((it=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!_t(t)){if("function"!=typeof t.toString)throw T("toString is not a function");if("string"!=typeof(t=t.toString()))throw T("dirty is not a string, aborting")}if(!o.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(_t(t))return n.toStaticHTML(t.outerHTML)}return t}if(Be||dt(p),o.removed=[],"string"==typeof t&&(qe=!1),qe){if(t.nodeName){var f=ge(t.nodeName);if(!ke[f]||Ae[f])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(i=(r=bt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!He&&!Ne&&!je&&-1===t.indexOf("<"))return oe&&Ve?oe.createHTML(t):t;if(!(r=bt(t)))return He?null:Ve?ae:""}r&&Fe&&vt(r.firstChild);for(var h=wt(qe?t:r);s=h.nextNode();)3===s.nodeType&&s===c||xt(s)||(s.content instanceof l&&Tt(s.content),Ct(s),c=s);if(c=null,qe)return t;if(He){if(ze)for(d=ue.call(r.ownerDocument);r.firstChild;)d.appendChild(r.firstChild);else d=r;return(Te.shadowroot||Te.shadowrootmod)&&(d=pe.call(a,d,!0)),d}var m=je?r.outerHTML:r.innerHTML;return je&&ke["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&C(Q,r.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+m),Ne&&(m=x(m,ve," "),m=x(m,ye," "),m=x(m,be," ")),oe&&Ve?oe.createHTML(m):m},o.setConfig=function(e){dt(e),Be=!0},o.clearConfig=function(){lt=null,Be=!1},o.isValidAttribute=function(e,t,n){lt||dt({});var r=ge(e),i=ge(t);return Et(r,i,n)},o.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],b(he[e],t))},o.removeHook=function(e){if(he[e])return y(he[e])},o.removeHooks=function(e){he[e]&&(he[e]=[])},o.removeAllHooks=function(){he={}},o}()}()},2988:(e,t,n)=>{var r=n(1755),i=n(6665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},8177:(e,t,n)=>{var r=n(2988),i=n(6665),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},1755:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},6665:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},4974:(e,t,n)=>{var r=n(8177);e.exports=new r},973:(e,t,n)=>{var r=n(1169),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},1296:(e,t,n)=>{var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function w(){var e=h();if(b(e))return _(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?f(n,o-(e-c)):n}(e))}function _(e){return s=void 0,v&&r?y(e):(r=i=void 0,a)}function S(){var e=h(),n=b(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(w,t),u?y(e):a}(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=g(t)||0,m(n)&&(u=!!n.leading,o=(d="maxWait"in n)?p(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},S.flush=function(){return void 0===s?a:_(h())},S}},8205:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var i=s(n(8156)),o=s(n(4184)),a=n(5518);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,u(u({},n),r)):i.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(i.default.PureComponent);t.PrevArrow=b;var w=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,u(u({},n),r)):i.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(i.default.PureComponent);t.NextArrow=w},3492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(8156))&&r.__esModule?r:{default:r},o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},6329:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var i=s(n(8156)),o=s(n(4184)),a=n(5518);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(s,e);var t,n,r=p(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),r.apply(this,arguments)}return t=s,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,f=t.slideCount,h=t.currentSlide,m=(e={slideCount:f,slidesToScroll:d,slidesToShow:p,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:r,onMouseLeave:s},v=[],y=0;y<m;y++){var b=(y+1)*d-1,w=u?b:(0,a.clamp)(b,0,f-1),_=w-(d-1),S=u?_:(0,a.clamp)(_,0,f-1),x=(0,o.default)({"slick-active":u?h>=S&&h<=w:h===S}),E={message:"dots",index:y,slidesToScroll:d,currentSlide:h},k=this.clickHandler.bind(this,E);v=v.concat(i.default.createElement("li",{key:y,className:x},i.default.cloneElement(this.props.customPaging(y),{onClick:k})))}return i.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}],n&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(i.default.PureComponent);t.Dots=h},6066:(e,t,n)=>{"use strict";var r;t.Z=void 0;var i=((r=n(5798))&&r.__esModule?r:{default:r}).default;t.Z=i},6948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},8517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=p(n(8156)),i=p(n(6948)),o=p(n(1296)),a=p(n(4184)),s=n(5518),l=n(4740),c=n(6329),u=n(8205),d=p(n(1033));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var i=_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}(this,n)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(m,e);var t,n,p=b(m);function m(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),S(w(t=p.call(this,e)),"listRefHandler",(function(e){return t.list=e})),S(w(t),"trackRefHandler",(function(e){return t.track=e})),S(w(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),S(w(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(g(g({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=g({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),S(w(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),S(w(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(g(g({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=g(g({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),S(w(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),S(w(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=g(g({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),S(w(t),"updateState",(function(e,n,i){var o=(0,s.initializedState)(e);e=g(g(g({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=g(g({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)})),S(w(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,s.getPreClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var f=r.default.Children.count(t.props.children),h=g(g(g({},t.props),t.state),{},{slideCount:f}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+f,v=100/t.props.slidesToShow*m,y=100/m,b=-y*((0,s.getPreClones)(h)+t.state.currentSlide)*v/100;return t.props.centerMode&&(b+=(100-y*v/100)/2),{slideWidth:y+"%",trackStyle:{width:v+"%",left:b+"%"}}})),S(w(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),S(w(t),"progressiveLazyLoad",(function(){for(var e=[],n=g(g({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),S(w(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(g(g(g({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),p=d.state,f=d.nextState;if(p){o&&o(u,p.currentSlide);var h=p.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(p,(function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout((function(){var e=f.animating,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(f,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(p.currentSlide),delete t.animationEndCallback}))}),l))}))}})),S(w(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=g(g({},t.props),t.state),i=(0,s.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),S(w(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),S(w(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),S(w(t),"selectHandler",(function(e){t.changeSlide(e)})),S(w(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),S(w(t),"enableBodyScroll",(function(){window.ontouchmove=null})),S(w(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),S(w(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),S(w(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),S(w(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),S(w(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),S(w(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),S(w(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),S(w(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(g(g({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),S(w(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),S(w(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),S(w(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),S(w(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),S(w(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),S(w(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),S(w(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),S(w(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),S(w(t),"render",(function(){var e,n,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=g(g({},t.props),t.state),p=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(p=g(g({},p),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=t.props.pauseOnDotsHover;m=g(g({},m),{},{clickHandler:t.changeSlide,onMouseEnter:v?t.onDotsLeave:null,onMouseOver:v?t.onDotsOver:null,onMouseLeave:v?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,m)}var y=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,y),i=r.default.createElement(u.NextArrow,y));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var _=g(g({},b),w),S=t.props.touchMove,x={className:"slick-list",style:_,onClick:t.clickHandler,onMouseDown:S?t.swipeStart:null,onMouseMove:t.state.dragging&&S?t.swipeMove:null,onMouseUp:S?t.swipeEnd:null,onMouseLeave:t.state.dragging&&S?t.swipeEnd:null,onTouchStart:S?t.swipeStart:null,onTouchMove:t.state.dragging&&S?t.swipeMove:null,onTouchEnd:S?t.touchEnd:null,onTouchCancel:t.state.dragging&&S?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},E={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(x={className:"slick-list"},E={className:o}),r.default.createElement("div",E,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},x),r.default.createElement(l.Track,h({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=g(g({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=g(g({},t.state),n),t}return t=m,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==f(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(r.default.Component);t.InnerSlider=x},5798:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(8156)),a=n(8517),s=u(n(973)),l=u(n(3492)),c=n(5518);function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,n)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,c.canUseDOM)()&&n(4974),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(u,e);var t,n,r=g(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),b(v(t=r.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),b(v(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),b(v(t),"slickNext",(function(){return t.innerSlider.slickNext()})),b(v(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),b(v(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),b(v(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=u,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?(0,s.default)({minWidth:0,maxWidth:n}):(0,s.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,c.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,s.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f(f(f({},l.default),this.props),t[0].settings):f(f({},l.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=o.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(i.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],c=null,u=0;u<r.length;u+=e.rows*e.slidesPerRow){for(var p=[],h=u;h<u+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var m=[],g=h;g<h+e.slidesPerRow&&(e.variableWidth&&r[g].props.style&&(c=r[g].props.style.width),!(g>=r.length));g+=1)m.push(o.default.cloneElement(r[g],{key:100*u+10*h+g,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(o.default.createElement("div",{key:10*u+h},m))}e.variableWidth?s.push(o.default.createElement("div",{key:u,style:{width:c}},p)):s.push(o.default.createElement("div",{key:u},p))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:v},r)}return s.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(a.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}])&&h(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.Component);t.default=_},4740:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var i=s(n(8156)),o=s(n(4184)),a=n(5518);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},b=function(e){var t,n=[],r=[],s=[],l=i.default.Children.count(e.children),c=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,(function(d,p){var f,h={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:i.default.createElement("div",null);var g=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(m(m({},e),{},{index:p})),b=f.props.className||"",w=v(m(m({},e),{},{index:p}));if(n.push(i.default.cloneElement(f,{key:"original"+y(f,p),"data-index":p,className:(0,o.default)(w,b),tabIndex:"-1","aria-hidden":!w["slick-active"],style:m(m({outline:"none"},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var _=l-p;_<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-_)>=c&&(f=d),w=v(m(m({},e),{},{index:t})),r.push(i.default.cloneElement(f,{key:"precloned"+y(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+p)<u&&(f=d),w=v(m(m({},e),{},{index:t})),s.push(i.default.cloneElement(f,{key:"postcloned"+y(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}})),e.rtl?r.concat(n,s).reverse():r.concat(n,s)},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(o,e);var t,n,r=d(o);function o(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return g(p(e=r.call.apply(r,[this].concat(n))),"node",null),g(p(e),"handleRef",(function(t){e.node=t})),e}return t=o,(n=[{key:"render",value:function(){var e=b(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.default.PureComponent);t.Track=w},5518:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,o=(r=n(8156))&&r.__esModule?r:{default:r};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var u=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=u;var d=function(e){for(var t=[],n=p(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=d,t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),r=f(e),i=n;i<r;i++)t.push(i);return t};var p=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=p;var f=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=f;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var g=function(e){return e&&e.offsetWidth||0};t.getWidth=g;var v=function(e){return e&&e.offsetHeight||0};t.getHeight=v;var y=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var b=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=b,t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=o.default.Children.count(e.children),r=e.listRef,i=Math.ceil(g(r)),a=e.trackRef&&e.trackRef.node,l=Math.ceil(g(a));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var u=r&&v(r.querySelector('[data-index="0"]')),p=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var h=e.lazyLoadedList||[],m=d(s(s({},e),{},{currentSlide:f,lazyLoadedList:h})),y={slideCount:n,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:p,lazyLoadedList:h=h.concat(m)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,a=e.slideCount,l=e.lazyLoad,u=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,y,w,_=o,S={},x={},T=i?o:c(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?_=o+a:o>=a&&(_=o-a),l&&g.indexOf(_)<0&&(g=g.concat(_)),S={animating:!0,currentSlide:_,lazyLoadedList:g,targetSlide:_},x={animating:!1,targetSlide:_}}else v=_,_<0?(v=_+a,i?a%f!=0&&(v=a-a%f):v=0):!b(e)&&_>u?_=v=u:p&&_>=a?(_=i?a:a-1,v=i?0:a-1):_>=a&&(v=_-a,i?a%f!=0&&(v=0):v=a-h),!i&&_+h>=a&&(v=a-h),y=C(s(s({},e),{},{slideIndex:_})),w=C(s(s({},e),{},{slideIndex:v})),i||(y===w&&(_=v),y=w),l&&(g=g.concat(d(s(s({},e),{},{currentSlide:_})))),m?(S={animating:!0,currentSlide:v,trackStyle:k(s(s({},e),{},{left:y})),lazyLoadedList:g,targetSlide:T},x={animating:!1,currentSlide:v,trackStyle:E(s(s({},e),{},{left:w})),swipeLeft:null,targetSlide:T}):S={currentSlide:v,trackStyle:E(s(s({},e),{},{left:w})),lazyLoadedList:g,targetSlide:T};return{state:S,nextState:x}},t.changeSlide=function(e,t){var n,r,i,o,a=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(n=c%a!=0?0:(c-u)%a,"previous"===t.message)o=u-(i=0===n?a:l-n),p&&!f&&(o=-1==(r=u-i)?c-1:r),f||(o=d-a);else if("next"===t.message)o=u+(i=0===n?a:n),p&&!f&&(o=(u+a)%c+n),f||(o=d+a);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,f){var h=A(s(s({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=c:o<t.currentSlide&&"right"===h&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&u(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,p=t.edgeDragged,f=t.onEdge,h=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,w=t.infinite,_=t.touchObject,S=t.swipeEvent,x=t.listHeight,k=t.listWidth;if(!n){if(r)return u(e);i&&o&&a&&u(e);var T,O={},M=C(t);_.curX=e.touches?e.touches[0].pageX:e.clientX,_.curY=e.touches?e.touches[0].pageY:e.clientY,_.swipeLength=Math.round(Math.sqrt(Math.pow(_.curX-_.startX,2)));var A=Math.round(Math.sqrt(Math.pow(_.curY-_.startY,2)));if(!a&&!m&&A>10)return{scrolling:!0};a&&(_.swipeLength=A);var P=(l?-1:1)*(_.curX>_.startX?1:-1);a&&(P=_.curY>_.startY?1:-1);var L=Math.ceil(g/v),D=y(t.touchObject,a),R=_.swipeLength;return w||(0===c&&("right"===D||"down"===D)||c+1>=L&&("left"===D||"up"===D)||!b(t)&&("left"===D||"up"===D))&&(R=_.swipeLength*d,!1===p&&f&&(f(D),O.edgeDragged=!0)),!h&&S&&(S(D),O.swiped=!0),T=i?M+R*(x/k)*P:l?M-R*P:M+R*P,a&&(T=M+R*P),O=s(s({},O),{},{touchObject:_,swipeLeft:T,trackStyle:E(s(s({},t),{},{left:T}))}),Math.abs(_.curX-_.startX)<.8*Math.abs(_.curY-_.startY)||_.swipeLength>10&&(O.swiping=!0,u(e)),O}},t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,p=t.scrolling,f=t.onSwipe,h=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!n)return r&&u(e),{};var v=l?c/a:o/a,b=y(i,l),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return w;if(!i.swipeLength)return w;if(i.swipeLength>v){var x,E;u(e),f&&f(b);var T=g?m:h;switch(b){case"left":case"up":E=T+S(t),x=d?_(t,E):E,w.currentDirection=0;break;case"right":case"down":E=T-S(t),x=d?_(t,E):E,w.currentDirection=1;break;default:x=T}w.triggerSlideHandler=x}else{var O=C(t);w.trackStyle=k(s(s({},t),{},{left:O}))}return w};var w=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=w;var _=function(e,t){var n=w(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=_;var S=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every((function(r){if(e.vertical){if(r.offsetTop+v(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+g(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=S;var x=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:i.error("Keys Missing:",e)};t.checkSpecKeys=x;var E=function(e){var t,n;x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=M(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=s(s({},i),{},{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=E;var k=function(e){x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=k;var C=function(e){if(e.unslick)return 0;x(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,f=e.slideHeight,h=e.fade,m=e.vertical;if(h||1===e.slideCount)return 0;var g=0;if(o?(g=-T(e),s%c!=0&&r+c>s&&(g=-(r>s?l-(r-s):s%c)),a&&(g+=parseInt(l/2))):(s%c!=0&&r+c>s&&(g=l-s%c),a&&(g=parseInt(l/2))),t=m?r*f*-1+g*f:r*u*-1+g*u,!0===p){var v,y=i&&i.node;if(v=r+T(e),t=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=o?r+T(e):r,n=y&&y.children[v],t=0;for(var b=0;b<v;b++)t-=y&&y.children[b]&&y.children[b].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=C;var T=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=T;var O=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=O;var M=function(e){return 1===e.slideCount?1:T(e)+e.slideCount+O(e)};t.getTotalSlides=M;var A=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+P(e)?"left":"right":e.targetSlide<e.currentSlide-L(e)?"right":"left"};t.siblingDirection=A;var P=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=P;var L=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=L,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=v(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?m(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=f(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(l+a)!==n&&(l-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return v(i.left,i.top,s,l)}(e):p}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var n,r,i,o,a,s,l,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new b(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new r,S=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){S.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));const x=void 0!==o.ResizeObserver?o.ResizeObserver:S},1169:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=i(f,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4827:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlPSIjMDA3RUZBIiBmaWxsPSJub25lIj4KICAgIDxwYXRoIGQ9Ik04IDE4TDE1IDEyIiBzdHJva2U9ImluaGVyaXQiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CiAgICA8cGF0aCBkPSJNOCA2TDE1IDEyIiBzdHJva2U9ImluaGVyaXQiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPg=="},8156:t=>{"use strict";t.exports=e},7111:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.b=document.baseURI||self.location.href,o.nc=void 0;var a={};return(()=>{"use strict";function e(e){this.content=e}o.r(a),o.d(a,{BetaKeysExtension:()=>Um,BlockquoteExtension:()=>lg,BoldExtension:()=>mg,BubbleMenuButton:()=>Oh,BulletListExtension:()=>Fg,DraggableNodeViewWrapper:()=>Xp,EmbedExtension:()=>Gg,FloatingMenuButton:()=>_m,GalleryExtension:()=>wv,HeadingExtension:()=>Ov,ItalicExtension:()=>Iv,LinkExtension:()=>Ob,ListItemExtension:()=>Mb,Modal:()=>Yp,Node:()=>Sa,NodeMenuButton:()=>Tm,NodeViewContent:()=>ql,NodeViewWrapper:()=>Wl,OrderedListExtension:()=>Fb,ParagraphExtension:()=>Wb,PlaceholderExtension:()=>Xb,RawHtmlExtension:()=>rw,ReactNodeViewRenderer:()=>Kl,RelatedExtension:()=>mw,RelatedItemExtension:()=>ww,Search:()=>rf,TableCellExtension:()=>Ow,TableExtension:()=>$_,TableHeaderExtension:()=>G_,TableRowExtension:()=>q_,default:()=>W_,mergeAttributes:()=>ho}),e.prototype={constructor:e,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(t,n,r){var i=r&&r!=t?this.remove(r):this,o=i.find(t),a=i.content.slice();return-1==o?a.push(r||t,n):(a[o+1]=n,r&&(a[o]=r)),new e(a)},remove:function(t){var n=this.find(t);if(-1==n)return this;var r=this.content.slice();return r.splice(n,2),new e(r)},addToStart:function(t,n){return new e([t,n].concat(this.remove(t).content))},addToEnd:function(t,n){var r=this.remove(t).content.slice();return r.push(t,n),new e(r)},addBefore:function(t,n,r){var i=this.remove(n),o=i.content.slice(),a=i.find(t);return o.splice(-1==a?o.length:a,0,n,r),new e(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(t){return(t=e.from(t)).size?new e(t.content.concat(this.subtract(t).content)):this},append:function(t){return(t=e.from(t)).size?new e(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var n=this;t=e.from(t);for(var r=0;r<t.content.length;r+=2)n=n.remove(t.content[r]);return n},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},e.from=function(t){if(t instanceof e)return t;var n=[];if(t)for(var r in t)n.push(r,t[r]);return new e(n)};const t=e;function n(e,t,r){for(let i=0;;i++){if(i==e.childCount||i==t.childCount)return e.childCount==t.childCount?null:r;let o=e.child(i),a=t.child(i);if(o!=a){if(!o.sameMarkup(a))return r;if(o.isText&&o.text!=a.text){for(let e=0;o.text[e]==a.text[e];e++)r++;return r}if(o.content.size||a.content.size){let e=n(o.content,a.content,r+1);if(null!=e)return e}r+=o.nodeSize}else r+=o.nodeSize}}function r(e,t,n,i){for(let o=e.childCount,a=t.childCount;;){if(0==o||0==a)return o==a?null:{a:n,b:i};let s=e.child(--o),l=t.child(--a),c=s.nodeSize;if(s!=l){if(!s.sameMarkup(l))return{a:n,b:i};if(s.isText&&s.text!=l.text){let e=0,t=Math.min(s.text.length,l.text.length);for(;e<t&&s.text[s.text.length-e-1]==l.text[l.text.length-e-1];)e++,n--,i--;return{a:n,b:i}}if(s.content.size||l.content.size){let e=r(s.content,l.content,n-1,i-1);if(e)return e}n-=c,i-=c}else n-=c,i-=c}}class s{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,i){for(let o=0,a=0;a<t;o++){let s=this.content[o],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,i||null,o)&&s.content.size){let i=a+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}a=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i="",o=!0;return this.nodesBetween(e,t,((a,s)=>{a.isText?(i+=a.text.slice(Math.max(e,s)-s,t-s),o=!n):a.isLeaf?(r?i+="function"==typeof r?r(a):r:a.type.spec.leafText&&(i+=a.type.spec.leafText(a)),o=!n):!o&&a.isBlock&&(i+=n,o=!0)}),0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),i=1);i<e.content.length;i++)r.push(e.content[i]);return new s(r,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],r=0;if(t>e)for(let i=0,o=0;o<t;i++){let a=this.content[i],s=o+a.nodeSize;s>e&&((o<e||s>t)&&(a=a.isText?a.cut(Math.max(0,e-o),Math.min(a.text.length,t-o)):a.cut(Math.max(0,e-o-1),Math.min(a.content.size,t-o-1))),n.push(a),r+=a.nodeSize),o=s}return new s(n,r)}cutByIndex(e,t){return e==t?s.empty:0==e&&t==this.content.length?this:new s(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new s(r,i)}addToStart(e){return new s([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new s(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return n(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return r(this,e,t,n)}findIndex(e,t=-1){if(0==e)return c(0,e);if(e==this.size)return c(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=r+this.child(n).nodeSize;if(i>=e)return i==e||t>0?c(n+1,i):c(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return s.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new s(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return s.empty;let t,n=0;for(let r=0;r<e.length;r++){let i=e[r];n+=i.nodeSize,r&&i.isText&&e[r-1].sameMarkup(i)?(t||(t=e.slice(0,r)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new s(t||e,n)}static from(e){if(!e)return s.empty;if(e instanceof s)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new s([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}s.empty=new s([],0);const l={index:0,offset:0};function c(e,t){return l.index=e,l.offset=t,l}function u(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!u(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!u(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class d{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,r));else{if(i.type.excludes(this.type))return e;!n&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&u(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return d.none;if(e instanceof d)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}d.none=[];class p extends Error{}class f{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=m(this.content,e+this.openStart,t);return n&&new f(n,this.openStart,this.openEnd)}removeBetween(e,t){return new f(h(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return f.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new f(s.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let r=e.firstChild;r&&!r.isLeaf&&(t||!r.type.spec.isolating);r=r.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)r++;return new f(e,n,r)}}function h(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(i==t||o.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(h(o.content,t-i-1,n-i-1)))}function m(e,t,n,r){let{index:i,offset:o}=e.findIndex(t),a=e.maybeChild(i);if(o==t||a.isText)return r&&!r.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=m(a.content,t-o-1,n);return s&&e.replaceChild(i,a.copy(s))}function g(e,t,n){if(n.openStart>e.depth)throw new p("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new p("Inconsistent open depths");return v(e,t,n,0)}function v(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let a=v(e,t,n,r+1);return o.copy(o.content.replaceChild(i,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:i,end:a}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)r=t.node(e).copy(s.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return S(o,x(e,i,a,t,r))}{let r=e.parent,i=r.content;return S(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}}return S(o,E(e,t,r))}function y(e,t){if(!t.type.compatibleContent(e.type))throw new p("Cannot join "+t.type.name+" onto "+e.type.name)}function b(e,t,n){let r=e.node(n);return y(r,t.node(n)),r}function w(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function _(e,t,n,r){let i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(w(e.nodeAfter,r),o++));for(let e=o;e<a;e++)w(i.child(e),r);t&&t.depth==n&&t.textOffset&&w(t.nodeBefore,r)}function S(e,t){return e.type.checkContent(t),e.copy(t)}function x(e,t,n,r,i){let o=e.depth>i&&b(e,t,i+1),a=r.depth>i&&b(n,r,i+1),l=[];return _(null,e,i,l),o&&a&&t.index(i)==n.index(i)?(y(o,a),w(S(o,x(e,t,n,r,i+1)),l)):(o&&w(S(o,E(e,t,i+1)),l),_(t,n,i,l),a&&w(S(a,E(n,r,i+1)),l)),_(r,null,i,l),new s(l)}function E(e,t,n){let r=[];return _(null,e,n,r),e.depth>n&&w(S(b(e,t,n+1),E(e,t,n+1)),r),_(t,null,n,r),new s(r)}f.empty=new f(s.empty,0,0);class k{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return d.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var o=0;o<i.length;o++)!1!==i[o].type.spec.inclusive||r&&i[o].isInSet(r.marks)||(i=i[o--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)!1!==n[i].type.spec.inclusive||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new M(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,i=t;for(let t=e;;){let{index:e,offset:o}=t.content.findIndex(i),a=i-o;if(n.push(t,e,r+o),!a)break;if(t=t.child(e),t.isText)break;i=a-1,r+=o+1}return new k(t,n,i)}static resolveCached(e,t){for(let n=0;n<C.length;n++){let r=C[n];if(r.pos==t&&r.doc==e)return r}let n=C[T]=k.resolve(e,t);return T=(T+1)%O,n}}let C=[],T=0,O=12;class M{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const A=Object.create(null);class P{constructor(e,t,n,r=d.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||s.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&u(this.attrs,t||e.defaultAttrs||A)&&d.sameSet(this.marks,n||d.none)}copy(e=null){return e==this.content?this:new P(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new P(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return f.empty;let r=this.resolve(e),i=this.resolve(t),o=n?0:r.sharedDepth(t),a=r.start(o),s=r.node(o).content.cut(r.pos-a,i.pos-a);return new f(s,r.depth-o,i.depth-o)}replace(e,t,n){return g(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return k.resolveCached(this,e)}resolveNoCache(e){return k.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),D(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=s.empty,r=0,i=n.childCount){let o=this.contentMatchAt(e).matchFragment(n,r,i),a=o&&o.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(let e=r;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),o=i&&i.matchFragment(this.content,t);return!!o&&o.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=d.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!d.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=s.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}}P.prototype.text=void 0;class L extends P{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):D(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new L(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new L(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function D(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class R{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new I(e,t);if(null==n.next)return R.empty;let r=N(n);n.next&&n.err("Unexpected trailing text");let i=function(e){let t=Object.create(null);return function n(r){let i=[];r.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);V(e,n).forEach((e=>{r||i.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)}))}))}));let o=t[r.join(",")]=new R(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(z);o.next.push({type:i[e][0],next:t[r.join(",")]||n(r)})}return o}(V(e,0))}(function(e){let t=[[]];return i(function e(t,o){if("choice"==t.type)return t.exprs.reduce(((t,n)=>t.concat(e(n,o))),[]);if("seq"!=t.type){if("star"==t.type){let a=n();return r(o,a),i(e(t.expr,a),a),[r(a)]}if("plus"==t.type){let a=n();return i(e(t.expr,o),a),i(e(t.expr,a),a),[r(a)]}if("opt"==t.type)return[r(o)].concat(e(t.expr,o));if("range"==t.type){let a=o;for(let r=0;r<t.min;r++){let r=n();i(e(t.expr,a),r),a=r}if(-1==t.max)i(e(t.expr,a),a);else for(let o=t.min;o<t.max;o++){let o=n();r(a,o),i(e(t.expr,a),o),a=o}return[r(a)]}if("name"==t.type)return[r(o,void 0,t.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let a=e(t.exprs[r],o);if(r==t.exprs.length-1)return a;i(a,o=n())}}(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach((e=>e.to=t))}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,o=[];for(let t=0;t<e.next.length;t++){let{type:n,next:a}=e.next[t];o.push(n.name),!i||n.isText||n.hasRequiredAttrs()||(i=!1),-1==r.indexOf(a)&&r.push(a)}i&&t.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function i(o,a){let l=o.matchFragment(e,n);if(l&&(!t||l.validEnd))return s.from(a.map((e=>e.createAndFill())));for(let e=0;e<o.next.length;e++){let{type:t,next:n}=o.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=i(n,a.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:o,next:a}=i.next[e];o.isLeaf||o.hasRequiredAttrs()||o.name in t||r.type&&!a.validEnd||(n.push({match:o.contentMatch,type:o,via:r}),t[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map(((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)r+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return r})).join("\n")}}R.empty=new R(!0);class I{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function N(e){let t=[];do{t.push(j(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function j(e){let t=[];do{t.push(B(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function B(e){let t=function(e){if(e.eat("(")){let t=N(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let e in n){let r=n[e];r.groups.indexOf(t)>-1&&i.push(r)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=H(e,t)}return t}function F(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function H(e,t){let n=F(e),r=n;return e.eat(",")&&(r="}"!=e.next?F(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function z(e,t){return t-e}function V(e,t){let n=[];return function t(r){let i=e[r];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(r);for(let e=0;e<i.length;e++){let{term:r,to:o}=i[e];r||-1!=n.indexOf(o)||t(o)}}(t),n.sort(z)}function U(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function $(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(void 0===i){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);i=t.default}n[r]=i}return n}function G(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new W(e[n]);return t}class q{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=G(n.attrs),this.defaultAttrs=U(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==R.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:$(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new P(this,this.computeAttrs(e),s.from(t),d.setFrom(n))}createChecked(e=null,t,n){return t=s.from(t),this.checkContent(t),new P(this,this.computeAttrs(e),t,d.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=s.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(s.empty,!0);return i?new P(this,e,t.append(i),d.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:d.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,r)=>n[e]=new q(e,t,r)));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class W{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class Z{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=G(r.attrs),this.excluded=null;let i=U(this.attrs);this.instance=i?new d(this,i):null}create(e=null){return!e&&this.instance?this.instance:new d(this,$(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach(((e,i)=>n[e]=new Z(e,r++,t,i))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}class Y{constructor(e){this.cached=Object.create(null);let n=this.spec={};for(let t in e)n[t]=e[t];n.nodes=t.from(e.nodes),n.marks=t.from(e.marks||{}),this.nodes=q.compile(this.spec.nodes,this),this.marks=Z.compile(this.spec.marks,this);let r=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw new RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],n=t.spec.content||"",i=t.spec.marks;t.contentMatch=r[n]||(r[n]=R.parse(n,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.markSet="_"==i?null:i?K(this,i.split(" ")):""!=i&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:K(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof q))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new L(n,n.defaultAttrs,e,d.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return P.fromJSON(this,e)}markFromJSON(e){return d.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function K(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],o=e.marks[i],a=o;if(o)n.push(o);else for(let t in e.marks){let r=e.marks[t];("_"==i||r.spec.group&&r.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=r)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class Q{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((e=>{e.tag?this.tags.push(e):e.style&&this.styles.push(e)})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new re(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new re(this,t,!0);return n.addAll(e,t.from,t.to),f.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(ie(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],o=r.style;if(!(0!=o.indexOf(e)||r.context&&!n.matchesContext(r.context)||o.length>e.length&&(61!=o.charCodeAt(e.length)||o.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)<n)break}t.splice(r,0,e)}for(let t in e.marks){let r=e.marks[t].spec.parseDOM;r&&r.forEach((e=>{n(e=oe(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&&r.forEach((e=>{n(e=oe(e)),e.node||e.ignore||e.mark||(e.node=t)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Q(e,Q.schemaRules(e)))}}const X={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},J={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ee={ol:!0,ul:!0};function te(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class ne{constructor(e,t,n,r,i,o,a){this.type=e,this.attrs=t,this.marks=n,this.pendingMarks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=d.none,this.stashMarks=[],this.match=o||(4&a?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(s.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=s.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(s.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let r=n[t];(this.type?this.type.allowsMarkType(r.type):ae(r.type,e))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!X.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class re{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let r,i=t.topNode,o=te(null,t.preserveWhitespace,0)|(n?4:0);r=i?new ne(i.type,i.attrs,d.none,d.none,!0,t.topMatch||i.type.contentMatch,o):new ne(n?null:e.schema.topNodeType,null,d.none,d.none,!0,null,o),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.getAttribute("style");if(!n)return t();let r=this.readStyles(function(e){let t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,r=[];for(;t=n.exec(e);)r.push(t[1],t[2].trim());return r}(n));if(!r)return;let[i,o]=r,a=this.top;for(let e=0;e<o.length;e++)this.removePendingMark(o[e],a);for(let e=0;e<i.length;e++)this.addPendingMark(i[e]);t();for(let e=0;e<i.length;e++)this.removePendingMark(i[e],a);for(let e=0;e<o.length;e++)this.addPendingMark(o[e])}addTextNode(e){let t=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(1&n.options)t=2&n.options?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let r=n.content[n.content.length-1],i=e.previousSibling;(!r||i&&"BR"==i.nodeName||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let n,r=e.nodeName.toLowerCase();ee.hasOwnProperty(r)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&ee.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(i?i.ignore:J.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);let t,n=this.top,o=this.needsBlock;if(X.hasOwnProperty(r))n.content.length&&n.content[0].isInline&&this.open&&(this.open--,n=this.top),t=!0,n.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);i&&i.skip?this.addAll(e):this.withStyleRules(e,(()=>this.addAll(e))),t&&this.sync(n),this.needsBlock=o}else this.withStyleRules(e,(()=>{this.addElementByRule(e,i,!1===i.consuming?n:void 0)}))}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=d.none,n=d.none;for(let r=0;r<e.length;r+=2)for(let i;;){let o=this.parser.matchStyle(e[r],e[r+1],this,i);if(!o)break;if(o.ignore)return null;if(o.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach((e=>{o.clearMark(e)&&(n=e.addToSet(n))})):t=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(t),!1!==o.consuming)break;i=o}return[t,n]}addElementByRule(e,t,n){let r,i,o;t.node?(i=this.parser.schema.nodes[t.node],i.isLeaf?this.insertNode(i.create(t.attrs))||this.leafFallback(e):r=this.enter(i,t.attrs||null,t.preserveWhitespace)):(o=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(o));let a=this.top;if(i&&i.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e)));else{let n=e;"string"==typeof t.contentElement?n=e.querySelector(t.contentElement):"function"==typeof t.contentElement?n=t.contentElement(e):t.contentElement&&(n=t.contentElement),this.findAround(e,n,!0),this.addAll(n)}r&&this.sync(a)&&this.open--,o&&this.removePendingMark(o,a)}addAll(e,t,n){let r=t||0;for(let i=t?e.childNodes[t]:e.firstChild,o=null==n?null:e.childNodes[n];i!=o;i=i.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(i);this.findAtPoint(e,r)}findPlace(e){let t,n;for(let r=this.open;r>=0;r--){let i=this.nodes[r],o=i.findWrapping(e);if(o&&(!t||t.length>o.length)&&(t=o,n=i,!o.length))break;if(i.solid)break}if(!t)return!1;this.sync(n);for(let e=0;e<t.length;e++)this.enterInner(t[e],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let n=t.activeMarks;for(let r=0;r<e.marks.length;r++)t.type&&!t.type.allowsMarkType(e.marks[r].type)||(n=e.marks[r].addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n){let r=this.findPlace(e.create(t));return r&&this.enterInner(e,t,!0,n),r}enterInner(e,t=null,n=!1,r){this.closeExtra();let i=this.top;i.applyPending(e),i.match=i.match&&i.match.matchType(e);let o=te(e,r,i.options);4&i.options&&0==i.content.length&&(o|=4),this.nodes.push(new ne(e,t,i.activeMarks,i.pendingMarks,n,null,o)),this.open++}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node)&&t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),o=(e,a)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;a>=i;a--)if(o(e-1,a))return!0;return!1}{let e=a>0||0==a&&r?this.nodes[a].type:n&&a>=i?n.node(a-i).type:null;if(!e||e.name!=s&&-1==e.groups.indexOf(s))return!1;a--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}addPendingMark(e){let t=function(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let n=this.open;n>=0;n--){let r=this.nodes[n];if(r.pendingMarks.lastIndexOf(e)>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);let t=r.popFromStashMark(e);t&&r.type&&r.type.allowsMarkType(t.type)&&(r.activeMarks=t.addToSet(r.activeMarks))}if(r==t)break}}}function ie(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function oe(e){let t={};for(let n in e)t[n]=e[n];return t}function ae(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],a=e=>{o.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t)return!0;if(o.indexOf(i)<0&&a(i))return!0}};if(a(i.contentMatch))return!0}}class se{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=ce(t).createDocumentFragment());let r=n,i=[];return e.forEach((e=>{if(i.length||e.marks.length){let n=0,o=0;for(;n<i.length&&o<e.marks.length;){let t=e.marks[o];if(this.marks[t.type.name]){if(!t.eq(i[n][0])||!1===t.type.spec.spanning)break;n++,o++}else o++}for(;n<i.length;)r=i.pop()[1];for(;o<e.marks.length;){let n=e.marks[o++],a=this.serializeMark(n,e.isInline,t);a&&(i.push([n,r]),r.appendChild(a.dom),r=a.contentDOM||a.dom)}}r.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:r}=se.renderSpec(ce(t),this.nodes[e.type.name](e));if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&se.renderSpec(ce(n),r(e,t))}static renderSpec(e,t,n=null){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let r,i=t[0],o=i.indexOf(" ");o>0&&(n=i.slice(0,o),i=i.slice(o+1));let a=n?e.createElementNS(n,i):e.createElement(i),s=t[1],l=1;if(s&&"object"==typeof s&&null==s.nodeType&&!Array.isArray(s)){l=2;for(let e in s)if(null!=s[e]){let t=e.indexOf(" ");t>0?a.setAttributeNS(e.slice(0,t),e.slice(t+1),s[e]):a.setAttribute(e,s[e])}}for(let i=l;i<t.length;i++){let o=t[i];if(0===o){if(i<t.length-1||i>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}{let{dom:t,contentDOM:i}=se.renderSpec(e,o,n);if(a.appendChild(t),i){if(r)throw new RangeError("Multiple content holes");r=i}}}return{dom:a,contentDOM:r}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new se(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=le(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return le(e.marks)}}function le(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function ce(e){return e.document||window.document}const ue=Math.pow(2,16);function de(e,t){return e+t*ue}function pe(e){return 65535&e}class fe{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class he{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&he.empty)return he.empty}recover(e){let t=0,n=pe(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/ue}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;let l=this.ranges[a+i],c=this.ranges[a+o],u=s+l;if(e<=u){let i=s+r+((l?e==s?-1:e==u?1:t:t)<0?0:c);if(n)return i;let o=e==(t<0?s:u)?null:de(a/3,e-s),d=e==s?2:e==u?1:4;return(t<0?e!=s:e!=u)&&(d|=8),new fe(i,d,o)}r+=c-l}return n?e+r:new fe(e+r,0,null)}touches(e,t){let n=0,r=pe(t),i=this.inverted?2:1,o=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let a=this.ranges[t]-(this.inverted?n:0);if(a>e)break;let s=this.ranges[t+i];if(e<=a+s&&t==3*r)return!0;n+=this.ranges[t+o]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let o=this.ranges[r],a=o-(this.inverted?i:0),s=o+(this.inverted?0:i),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),i+=c-l}}invert(){return new he(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?he.empty:new he(e<0?[0,-e,0]:[0,0,e])}}he.empty=new he([]);class me{constructor(e=[],t,n=0,r=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=r}slice(e=0,t=this.maps.length){return new me(this.maps,this.mirror,e,t)}copy(){return new me(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,n=this.maps.length;t<e.maps.length;t++){let r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let e=new me;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let n=this.from;n<this.to;n++){let i=this.maps[n].mapResult(e,t);if(null!=i.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this.maps[t].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new fe(e,r,null)}}const ge=Object.create(null);class ve{getMap(){return he.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=ge[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in ge)throw new RangeError("Duplicate use of step JSON ID "+e);return ge[e]=t,t.prototype.jsonID=e,t}}class ye{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new ye(e,null)}static fail(e){return new ye(null,e)}static fromReplace(e,t,n,r){try{return ye.ok(e.replace(t,n,r))}catch(e){if(e instanceof p)return ye.fail(e.message);throw e}}}function be(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let o=e.child(i);o.content.size&&(o=o.copy(be(o.content,t,o))),o.isInline&&(o=t(o,n,i)),r.push(o)}return s.fromArray(r)}class we extends ve{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new f(be(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),r),t.openStart,t.openEnd);return ye.fromReplace(e,this.from,this.to,i)}invert(){return new _e(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new we(t.pos,n.pos,this.mark)}merge(e){return e instanceof we&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new we(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new we(t.from,t.to,e.markFromJSON(t.mark))}}ve.jsonID("addMark",we);class _e extends ve{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new f(be(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return ye.fromReplace(e,this.from,this.to,n)}invert(){return new we(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new _e(t.pos,n.pos,this.mark)}merge(e){return e instanceof _e&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new _e(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new _e(t.from,t.to,e.markFromJSON(t.mark))}}ve.jsonID("removeMark",_e);class Se extends ve{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ye.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return ye.fromReplace(e,this.pos,this.pos+1,new f(s.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new Se(this.pos,t.marks[n]);return new Se(this.pos,this.mark)}}return new xe(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Se(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Se(t.pos,e.markFromJSON(t.mark))}}ve.jsonID("addNodeMark",Se);class xe extends ve{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ye.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return ye.fromReplace(e,this.pos,this.pos+1,new f(s.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new Se(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new xe(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new xe(t.pos,e.markFromJSON(t.mark))}}ve.jsonID("removeNodeMark",xe);class Ee extends ve{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&Ce(e,this.from,this.to)?ye.fail("Structure replace would overwrite content"):ye.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new he([this.from,this.to-this.from,this.slice.size])}invert(e){return new Ee(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new Ee(t.pos,Math.max(t.pos,n.pos),this.slice)}merge(e){if(!(e instanceof Ee)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?f.empty:new f(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new Ee(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?f.empty:new f(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new Ee(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Ee(t.from,t.to,f.fromJSON(e,t.slice),!!t.structure)}}ve.jsonID("replace",Ee);class ke extends ve{constructor(e,t,n,r,i,o,a=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=o,this.structure=a}apply(e){if(this.structure&&(Ce(e,this.from,this.gapFrom)||Ce(e,this.gapTo,this.to)))return ye.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return ye.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?ye.fromReplace(e,this.from,this.to,n):ye.fail("Content does not fit in gap")}getMap(){return new he([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new ke(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=e.map(this.gapFrom,-1),i=e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||i>n.pos?null:new ke(t.pos,n.pos,r,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ke(t.from,t.to,t.gapFrom,t.gapTo,f.fromJSON(e,t.slice),t.insert,!!t.structure)}}function Ce(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let e=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function Te(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Oe(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let r=e.$from.node(n),i=e.$from.index(n),o=e.$to.indexAfter(n);if(n<e.depth&&r.canReplace(i,o,t))return n;if(0==n||r.type.spec.isolating||!Te(r,i,o))break}return null}function Me(e,t,n=null,r=e){let i=function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.contentMatchAt(r).findWrapping(t);if(!o)return null;let a=o.length?o[0]:t;return n.canReplaceWith(r,i,a)?o:null}(e,t),o=i&&function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.child(r),a=t.contentMatch.findWrapping(o.type);if(!a)return null;let s=(a.length?a[a.length-1]:t).contentMatch;for(let e=r;s&&e<i;e++)s=s.matchType(n.child(e).type);return s&&s.validEnd?a:null}(r,t);return o?i.map(Ae).concat({type:t,attrs:n}).concat(o.map(Ae)):null}function Ae(e){return{type:e,attrs:null}}function Pe(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>o;e--,t--){let n=i.node(e),o=i.index(e);if(n.type.spec.isolating)return!1;let a=n.content.cutByIndex(o,n.childCount),s=r&&r[t+1];s&&(a=a.replaceChild(0,s.type.create(s.attrs)));let l=r&&r[t]||n;if(!n.canReplace(o+1,n.childCount)||!l.type.validContent(a))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function Le(e,t){let n=e.resolve(t),r=n.index();return De(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function De(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}function Re(e,t,n=-1){let r=e.resolve(t);for(let e=r.depth;;e--){let i,o,a=r.index(e);if(e==r.depth?(i=r.nodeBefore,o=r.nodeAfter):n>0?(i=r.node(e+1),a++,o=r.node(e).maybeChild(a)):(i=r.node(e).maybeChild(a-1),o=r.node(e+1)),i&&!i.isTextblock&&De(i,o)&&r.node(e).canReplace(a,a+1))return t;if(0==e)break;t=n<0?r.before(e):r.after(e)}}function Ie(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=r.depth;t>=0;t--){let n=t==r.depth?0:r.pos<=(r.start(t+1)+r.end(t+1))/2?-1:1,o=r.index(t)+(n>0?1:0),a=r.node(t),s=!1;if(1==e)s=a.canReplace(o,o,i);else{let e=a.contentMatchAt(o).findWrapping(i.firstChild.type);s=e&&a.canReplaceWith(o,o,e[0])}if(s)return 0==n?r.pos:n<0?r.before(t+1):r.after(t+1)}return null}function Ne(e,t,n=t,r=f.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return je(i,o,r)?new Ee(t,n,r):new Be(i,o,r).fit()}function je(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}ve.jsonID("replaceAround",ke);class Be{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=s.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=s.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,o=n.depth,a=r.depth;for(;o&&a&&1==i.childCount;)i=i.firstChild.content,o--,a--;let s=new f(i,o,a);return e>-1?new ke(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new Ee(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=ze(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let o,{type:a,match:l}=this.frontier[e],c=null;if(1==t&&(i?l.matchType(i.type)||(c=l.fillBefore(s.from(i),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:e,parent:r,inject:c};if(2==t&&i&&(o=l.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:r,wrap:o};if(r&&l.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=ze(e,t);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new f(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),0))}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=ze(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new f(Fe(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new f(Fe(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let o=this.unplaced,a=n?n.content:o.content,l=o.openStart-e,c=0,u=[],{match:d,type:p}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)u.push(r.child(e));d=d.matchFragment(r)}let h=a.size+e-(o.content.size-o.openEnd);for(;c<a.childCount;){let e=a.child(c),t=d.matchType(e.type);if(!t)break;c++,(c>1||0==l||e.content.size)&&(d=t,u.push(Ve(e.mark(p.allowedMarks(e.marks)),1==c?l:0,c==a.childCount?h:-1)))}let m=c==a.childCount;m||(h=-1),this.placed=He(this.placed,t,s.from(u)),this.frontier[t].match=d,m&&h<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=a;e<h;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=m?0==e?f.empty:new f(Fe(o.content,e-1,1),e-1,h<0?o.openEnd:e-1):new f(Fe(o.content,e,c),o.openStart,o.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!Ue(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),o=Ue(e,t,r,n,i);if(o){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=Ue(e,n,r,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:o,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=He(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=He(this.placed,this.depth,s.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(s.empty,!0);e.childCount&&(this.placed=He(this.placed,this.frontier.length,e))}}function Fe(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(Fe(e.firstChild.content,t-1,n)))}function He(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(He(e.lastChild.content,t-1,n)))}function ze(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function Ve(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,Ve(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(s.empty,!0)))),e.copy(r)}function Ue(e,t,n,r,i){let o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!function(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,o.content,a)?s:null}function $e(e,t,n,r,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy($e(i.content,t+1,n,r,i)))}if(t>r){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(s.empty,!0))}return e}function Ge(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let i=e.start(r);if(i<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(i==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==i-1)&&n.push(r)}return n}class qe extends ve{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return ye.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return ye.fromReplace(e,this.pos,this.pos+1,new f(s.from(r),0,t.isLeaf?0:1))}getMap(){return he.empty}invert(e){return new qe(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new qe(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new qe(t.pos,t.attr,t.value)}}ve.jsonID("attr",qe);class We extends ve{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return ye.ok(n)}getMap(){return he.empty}invert(e){return new We(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new We(t.attr,t.value)}}ve.jsonID("docAttr",We);let Ze=class extends Error{};Ze=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(Ze.prototype=Object.create(Error.prototype)).constructor=Ze,Ze.prototype.name="TransformError";class Ye{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new me}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Ze(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=f.empty){let r=Ne(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new f(s.from(n),0,0))}delete(e,t){return this.replace(e,t,f.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),o=e.doc.resolve(n);if(je(i,o,r))return e.step(new Ee(t,n,r));let a=Ge(i,e.doc.resolve(n));0==a[a.length-1]&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;a.indexOf(e)>-1?s=e:i.before(e)==t&&a.splice(1,0,-e)}let l=a.indexOf(s),c=[],u=r.openStart;for(let e=r.content,t=0;;t++){let n=e.firstChild;if(c.push(n),t==r.openStart)break;e=n.content}for(let e=u-1;e>=0;e--){let t=c[e],n=(d=t.type).spec.defining||d.spec.definingForContent;if(n&&!t.sameMarkup(i.node(Math.abs(s)-1)))u=e;else if(n||!t.type.isTextblock)break}var d;for(let t=r.openStart;t>=0;t--){let s=(t+u+1)%(r.openStart+1),d=c[s];if(d)for(let t=0;t<a.length;t++){let c=a[(t+l)%a.length],u=!0;c<0&&(u=!1,c=-c);let p=i.node(c-1),h=i.index(c-1);if(p.canReplaceWith(h,h,d.type,d.marks))return e.replace(i.before(c),u?o.after(c):n,new f($e(r.content,0,r.openStart,s),s,r.openEnd))}}let p=e.steps.length;for(let s=a.length-1;s>=0&&(e.replace(t,n,r),!(e.steps.length>p));s--){let e=a[s];e<0||(t=i.before(e),n=o.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let e=r.depth-1;e>=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t>0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e>=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t<r.node(e).childCount)return null}return null}(e.doc,t,r.type);null!=i&&(t=n=i)}e.replaceRange(t,n,new f(s.from(r),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n),o=Ge(r,i);for(let t=0;t<o.length;t++){let n=o[t],a=t==o.length-1;if(a&&0==n||r.node(n).type.contentMatch.validEnd)return e.delete(r.start(n),i.end(n));if(n>0&&(a||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return e.delete(r.before(n),i.after(n))}for(let o=1;o<=r.depth&&o<=i.depth;o++)if(t-r.start(o)==r.depth-o&&n>r.end(o)&&i.end(o)-n!=i.depth-o)return e.delete(r.before(o),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:r,$to:i,depth:o}=t,a=r.before(o+1),l=i.after(o+1),c=a,u=l,d=s.empty,p=0;for(let e=o,t=!1;e>n;e--)t||r.index(e)>0?(t=!0,d=s.from(r.node(e).copy(d)),p++):c--;let h=s.empty,m=0;for(let e=o,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,h=s.from(i.node(e).copy(h)),m++):u++;e.step(new ke(c,u,a,l,new f(d.append(h),p,m),d.size-p,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let r=new Ee(t-n,t+n,f.empty,!0);e.step(r)}(this,e,t),this}wrap(e,t){return function(e,t,n){let r=s.empty;for(let e=n.length-1;e>=0;e--){if(r.size){let t=n[e].type.contentMatch.matchFragment(r);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=s.from(n[e].type.create(n[e].attrs,r))}let i=t.start,o=t.end;e.step(new ke(i,o,i,o,new f(r,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,r=null){return function(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{if(t.isTextblock&&!t.hasMarkup(r,i)&&function(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(o).map(n),r)){e.clearIncompatible(e.mapping.slice(o).map(n,1),r);let a=e.mapping.slice(o),l=a.map(n,1),c=a.map(n+t.nodeSize,1);return e.step(new ke(l,c,l+1,c-1,new f(s.from(r.create(i,null,t.marks)),0,0),1,!0)),!1}}))}(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return function(e,t,n,r,i){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new ke(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new f(s.from(a),0,0),1,!0))}(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new qe(e,t,n)),this}setDocAttribute(e,t){return this.step(new We(e,t)),this}addNodeMark(e,t){return this.step(new Se(e,t)),this}removeNodeMark(e,t){if(!(t instanceof d)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new xe(e,t)),this}split(e,t=1,n){return function(e,t,n=1,r){let i=e.doc.resolve(t),o=s.empty,a=s.empty;for(let e=i.depth,t=i.depth-n,l=n-1;e>t;e--,l--){o=s.from(i.node(e).copy(o));let t=r&&r[l];a=s.from(t?t.type.create(t.attrs,a):i.node(e).copy(a))}e.step(new Ee(t,t,new f(o.append(a),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let i,o,a=[],s=[];e.doc.nodesBetween(t,n,((e,l,c)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,t),d=Math.min(l+e.nodeSize,n),p=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(p)||(i&&i.to==c&&i.mark.eq(u[e])?i.to=d:a.push(i=new _e(c,d,u[e])));o&&o.to==c?o.to=d:s.push(o=new we(c,d,r))}})),a.forEach((t=>e.step(t))),s.forEach((t=>e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,((e,a)=>{if(!e.isInline)return;o++;let s=null;if(r instanceof Z){let t,n=e.marks;for(;t=r.isInSet(n);)(s||(s=[])).push(t),n=t.removeFromSet(n)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(a+e.nodeSize,n);for(let e=0;e<s.length;e++){let n,l=s[e];for(let e=0;e<i.length;e++){let t=i[e];t.step==o-1&&l.eq(i[e].style)&&(n=t)}n?(n.to=r,n.step=o):i.push({style:l,from:Math.max(a,t),to:r,step:o})}}})),i.forEach((t=>e.step(new _e(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return function(e,t,n,r=n.contentMatch){let i=e.doc.nodeAt(t),o=[],a=t+1;for(let t=0;t<i.childCount;t++){let l=i.child(t),c=a+l.nodeSize,u=r.matchType(l.type);if(u){r=u;for(let t=0;t<l.marks.length;t++)n.allowsMarkType(l.marks[t].type)||e.step(new _e(a,c,l.marks[t]));if(l.isText&&!n.spec.code){let e,t,r=/\r?\n|\r/g;for(;e=r.exec(l.text);)t||(t=new f(s.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),o.push(new Ee(a+e.index,a+e.index+e[0].length,t))}}else o.push(new Ee(a,c,f.empty));a=c}if(!r.validEnd){let t=r.fillBefore(s.empty,!0);e.replace(a,a,new f(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}(this,e,t,n),this}}const Ke=Object.create(null);class Qe{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Xe(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=f.empty){let n=t.content.lastChild,r=null;for(let e=0;e<t.openEnd;e++)r=n,n=n.lastChild;let i=e.steps.length,o=this.ranges;for(let a=0;a<o.length;a++){let{$from:s,$to:l}=o[a],c=e.mapping.slice(i);e.replaceRange(c.map(s.pos),c.map(l.pos),a?f.empty:t),0==a&<(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:o,$to:a}=r[i],s=e.mapping.slice(n),l=s.map(o.pos),c=s.map(a.pos);i?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),lt(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new tt(e):st(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r>=0;r--){let i=t<0?st(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):st(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new ot(e.node(0))}static atStart(e){return st(e,e,0,0,1)||new ot(e)}static atEnd(e){return st(e,e,e.content.size,e.childCount,-1)||new ot(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Ke[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Ke)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ke[e]=t,t.prototype.jsonID=e,t}getBookmark(){return tt.between(this.$anchor,this.$head).getBookmark()}}Qe.prototype.visible=!0;class Xe{constructor(e,t){this.$from=e,this.$to=t}}let Je=!1;function et(e){Je||e.parent.inlineContent||(Je=!0,i.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class tt extends Qe{constructor(e,t=e){et(e),et(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return Qe.near(n);let r=e.resolve(t.map(this.anchor));return new tt(r.parent.inlineContent?r:n,n)}replace(e,t=f.empty){if(super.replace(e,t),t==f.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof tt&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new nt(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new tt(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=Qe.findFrom(t,n,!0)||Qe.findFrom(t,-n,!0);if(!e)return Qe.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(Qe.findFrom(e,-n,!0)||Qe.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new tt(e,t)}}Qe.jsonID("text",tt);class nt{constructor(e,t){this.anchor=e,this.head=t}map(e){return new nt(e.map(this.anchor),e.map(this.head))}resolve(e){return tt.between(e.resolve(this.anchor),e.resolve(this.head))}}class rt extends Qe{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),i=e.resolve(r);return n?Qe.near(i):new rt(i)}content(){return new f(s.from(this.node),0,0)}eq(e){return e instanceof rt&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new it(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new rt(e.resolve(t.anchor))}static create(e,t){return new rt(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}rt.prototype.visible=!1,Qe.jsonID("node",rt);class it{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new nt(n,n):new it(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&rt.isSelectable(n)?new rt(t):Qe.near(t)}}class ot extends Qe{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=f.empty){if(t==f.empty){e.delete(0,e.doc.content.size);let t=Qe.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new ot(e)}map(e){return new ot(e)}eq(e){return e instanceof ot}getBookmark(){return at}}Qe.jsonID("all",ot);const at={map(){return this},resolve:e=>new ot(e)};function st(e,t,n,r,i,o=!1){if(t.inlineContent)return tt.create(e,n);for(let a=r-(i>0?0:1);i>0?a<t.childCount:a>=0;a+=i){let r=t.child(a);if(r.isAtom){if(!o&&rt.isSelectable(r))return rt.create(e,n-(i<0?r.nodeSize:0))}else{let t=st(e,r,n+i,i<0?r.childCount:0,i,o);if(t)return t}n+=r.nodeSize*i}return null}function lt(e,t,n){let r=e.steps.length-1;if(r<t)return;let i,o=e.steps[r];(o instanceof Ee||o instanceof ke)&&(e.mapping.maps[r].forEach(((e,t,n,r)=>{null==i&&(i=r)})),e.setSelection(Qe.near(e.doc.resolve(i),n)))}class ct extends Ye{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return d.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||d.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.setSelection(Qe.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function ut(e,t){return t&&e?e.bind(t):e}class dt{constructor(e,t,n){this.name=e,this.init=ut(t.init,n),this.apply=ut(t.apply,n)}}const pt=[new dt("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new dt("selection",{init:(e,t)=>e.selection||Qe.atStart(t.doc),apply:e=>e.selection}),new dt("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new dt("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class ft{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=pt.slice(),t&&t.forEach((e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new dt(e.key,e.spec.state,e))}))}}class ht{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let o=0;o<this.config.plugins.length;o++){let a=this.config.plugins[o];if(a.spec.appendTransaction){let s=r?r[o].n:0,l=r?r[o].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,o)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<o?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),i=!0}r&&(r[o]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new ht(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let i=n[r];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new ct(this)}static create(e){let t=new ft(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new ht(t);for(let r=0;r<t.fields.length;r++)n[t.fields[r].name]=t.fields[r].init(e,n);return n}reconfigure(e){let t=new ft(this.schema,e.plugins),n=t.fields,r=new ht(t);for(let t=0;t<n.length;t++){let i=n[t].name;r[i]=this.hasOwnProperty(i)?this[i]:n[t].init(e,r)}return r}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((e=>e.toJSON()))),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let r=new ft(e.schema,e.plugins),i=new ht(r);return r.fields.forEach((r=>{if("doc"==r.name)i.doc=P.fromJSON(e.schema,t.doc);else if("selection"==r.name)i.selection=Qe.fromJSON(i.doc,t.selection);else if("storedMarks"==r.name)t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let o in n){let a=n[o],s=a.spec.state;if(a.key==r.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,o))return void(i[r.name]=s.fromJSON.call(a,e,t[o],i))}i[r.name]=r.init(e,i)}})),i}}function mt(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=mt(i,t,{})),n[r]=i}return n}class gt{constructor(e){this.spec=e,this.props={},e.props&&mt(e.props,this,this.props),this.key=e.key?e.key.key:yt("plugin")}getState(e){return e[this.key]}}const vt=Object.create(null);function yt(e){return e in vt?e+"$"+ ++vt[e]:(vt[e]=0,e+"$")}class bt{constructor(e="key"){this.key=yt(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const wt=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},_t=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let St=null;const xt=function(e,t,n){let r=St||(St=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},Et=function(e,t,n,r){return n&&(Ct(e,t,n,r,-1)||Ct(e,t,n,r,1))},kt=/^(img|br|input|textarea|hr)$/i;function Ct(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Tt(e))){let n=e.parentNode;if(!n||1!=n.nodeType||Ot(e)||kt.test(e.nodeName)||"false"==e.contentEditable)return!1;t=wt(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(i<0?-1:0)]).contentEditable)return!1;t=i<0?Tt(e):0}}}function Tt(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Ot(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const Mt=function(e){return e.focusNode&&Et(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function At(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const Pt="undefined"!=typeof navigator?navigator:null,Lt="undefined"!=typeof document?document:null,Dt=Pt&&Pt.userAgent||"",Rt=/Edge\/(\d+)/.exec(Dt),It=/MSIE \d/.exec(Dt),Nt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Dt),jt=!!(It||Nt||Rt),Bt=It?document.documentMode:Nt?+Nt[1]:Rt?+Rt[1]:0,Ft=!jt&&/gecko\/(\d+)/i.test(Dt);Ft&&(/Firefox\/(\d+)/.exec(Dt)||[0,0])[1];const Ht=!jt&&/Chrome\/(\d+)/.exec(Dt),zt=!!Ht,Vt=Ht?+Ht[1]:0,Ut=!jt&&!!Pt&&/Apple Computer/.test(Pt.vendor),$t=Ut&&(/Mobile\/\w+/.test(Dt)||!!Pt&&Pt.maxTouchPoints>2),Gt=$t||!!Pt&&/Mac/.test(Pt.platform),qt=!!Pt&&/Win/.test(Pt.platform),Wt=/Android \d/.test(Dt),Zt=!!Lt&&"webkitFontSmoothing"in Lt.documentElement.style,Yt=Zt?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Kt(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Qt(e,t){return"number"==typeof e?e:e[t]}function Xt(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function Jt(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;a;a=_t(a)){if(1!=a.nodeType)continue;let e=a,n=e==o.body,s=n?Kt(o):Xt(e),l=0,c=0;if(t.top<s.top+Qt(r,"top")?c=-(s.top-t.top+Qt(i,"top")):t.bottom>s.bottom-Qt(r,"bottom")&&(c=t.bottom-t.top>s.bottom-s.top?t.top+Qt(i,"top")-s.top:t.bottom-s.bottom+Qt(i,"bottom")),t.left<s.left+Qt(r,"left")?l=-(s.left-t.left+Qt(i,"left")):t.right>s.right-Qt(r,"right")&&(l=t.right-s.right+Qt(i,"right")),l||c)if(n)o.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,r=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let i=e.scrollLeft-n,o=e.scrollTop-r;t={left:t.left-i,top:t.top-o,right:t.right-i,bottom:t.bottom-o}}if(n||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function en(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=_t(r));return t}function tn(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:o}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=o&&(r.scrollLeft=o)}}let nn=null;function rn(e,t){let n,r,i,o,a=2e8,s=0,l=t.top,c=t.top;for(let u=e.firstChild,d=0;u;u=u.nextSibling,d++){let e;if(1==u.nodeType)e=u.getClientRects();else{if(3!=u.nodeType)continue;e=xt(u).getClientRects()}for(let p=0;p<e.length;p++){let f=e[p];if(f.top<=l&&f.bottom>=c){l=Math.max(f.bottom,l),c=Math.min(f.top,c);let e=f.left>t.left?f.left-t.left:f.right<t.left?t.left-f.right:0;if(e<a){n=u,a=e,r=e&&3==n.nodeType?{left:f.right<t.left?f.right:f.left,top:t.top}:t,1==u.nodeType&&e&&(s=d+(t.left>=(f.left+f.right)/2?1:0));continue}}else f.top>t.top&&!i&&f.left<=t.left&&f.right>=t.left&&(i=u,o={left:Math.max(f.left,Math.min(f.right,t.left)),top:f.top});!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(s=d+1)}}return!n&&i&&(n=i,r=o,a=0),n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i<n;i++){r.setEnd(e,i+1),r.setStart(e,i);let n=cn(r,1);if(n.top!=n.bottom&&on(t,n))return{node:e,offset:i+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:rn(n,r)}function on(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function an(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let n=e.childNodes[o];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(on(t,i))return an(n,t,i)}}if((o=(o+1)%r)==i)break}return e}function sn(e,t){let n,r=e.dom.ownerDocument,i=0,o=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch(e){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}(r,t.left,t.top);o&&({node:n,offset:i}=o);let a,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!on(t,n))return null;if(s=an(e.dom,t,n),!s)return null}if(Ut)for(let e=s;n&&e;e=_t(e))e.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(Ft&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let e,r=n.childNodes[i];"IMG"==r.nodeName&&(e=r.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&i++}let r;Zt&&i&&1==n.nodeType&&1==(r=n.childNodes[i-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=i&&1==n.nodeType&&"BR"==n.childNodes[i-1].nodeName||(a=function(e,t,n,r){let i=-1;for(let n=t,o=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0);if(!t)return null;if(1==t.dom.nodeType&&(t.node.isBlock&&t.parent&&!o||!t.contentDOM)){let e=t.dom.getBoundingClientRect();if(t.node.isBlock&&t.parent&&!o&&(o=!0,e.left>r.left||e.top>r.top?i=t.posBefore:(e.right<r.left||e.bottom<r.top)&&(i=t.posAfter)),!t.contentDOM&&i<0&&!t.node.isText)return(t.node.isBlock?r.top<(e.top+e.bottom)/2:r.left<(e.left+e.right)/2)?t.posBefore:t.posAfter}n=t.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==a&&(a=function(e,t,n){let{node:r,offset:i}=rn(t,n),o=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();o=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}(e,s,t));let l=e.docView.nearestDesc(s,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function ln(e){return e.top<e.bottom||e.left<e.right}function cn(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(ln(e))return e}return Array.prototype.find.call(n,ln)||e.getBoundingClientRect()}const un=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function dn(e,t,n){let{node:r,offset:i,atom:o}=e.docView.domFromPos(t,n<0?-1:1),a=Zt||Ft;if(3==r.nodeType){if(!a||!un.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let e=i,t=i,o=n<0?1:-1;return n<0&&!i?(t++,o=-1):n>=0&&i==r.nodeValue.length?(e--,o=1):n<0?e--:t++,pn(cn(xt(r,e,t),o),o<0)}{let e=cn(xt(r,i,i),n);if(Ft&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=cn(xt(r,i-1,i-1),-1);if(t.top==e.top){let n=cn(xt(r,i,i+1),-1);if(n.top!=e.top)return pn(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(o||0)).parent.inlineContent){if(null==o&&i&&(n<0||i==Tt(r))){let e=r.childNodes[i-1];if(1==e.nodeType)return fn(e.getBoundingClientRect(),!1)}if(null==o&&i<Tt(r)){let e=r.childNodes[i];if(1==e.nodeType)return fn(e.getBoundingClientRect(),!0)}return fn(r.getBoundingClientRect(),n>=0)}if(null==o&&i&&(n<0||i==Tt(r))){let e=r.childNodes[i-1],t=3==e.nodeType?xt(e,Tt(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return pn(cn(t,1),!1)}if(null==o&&i<Tt(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?xt(e,0,a?0:1):1==e.nodeType?e:null:null;if(t)return pn(cn(t,-1),!0)}return pn(cn(3==r.nodeType?xt(r):r,-n),n>=0)}function pn(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function fn(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function hn(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}const mn=/[\u0590-\u08ac]/;let gn=null,vn=null,yn=!1;class bn{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>wt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i,o=this.getDesc(r);if(o&&(!t||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return o;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],o=t+i.size;if(o>e||i instanceof Cn){r=e-t;break}t=o}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let e;n&&!(e=this.children[n-1]).size&&e instanceof wn&&e.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?wt(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?wt(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let o=n,a=0;;a++){let n=this.children[a],s=o+n.size;if(-1==r&&e<=s){let i=o+n.border;if(e>=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=o;for(let t=a;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=wt(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(s>t||a==this.children.length-1)){t=s;for(let e=a+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=wt(n.dom);break}t+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}o=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),o=Math.max(e,t);for(let a=0,s=0;a<this.children.length;a++){let l=this.children[a],c=s+l.size;if(i>s&&o<c)return l.setSelection(e-s-l.border,t-s-l.border,n,r);s=c}let a=this.domFromPos(e,e?-1:1),s=t==e?a:this.domFromPos(t,t?-1:1),l=n.getSelection(),c=!1;if((Ft||Ut)&&e==t){let{node:e,offset:t}=a;if(3==e.nodeType){if(c=!(!t||"\n"!=e.nodeValue[t-1]),c&&t==e.nodeValue.length)for(let t,n=e;n;n=n.parentNode){if(t=n.nextSibling){"BR"==t.nodeName&&(a=s={node:t.parentNode,offset:wt(t)+1});break}let e=n.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];c=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(Ft&&l.focusNode&&l.focusNode!=s.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(r=!0)}if(!(r||c&&Ut)&&Et(a.node,a.offset,l.anchorNode,l.anchorOffset)&&Et(s.node,s.offset,l.focusNode,l.focusOffset))return;let u=!1;if((l.extend||e==t)&&!c){l.collapse(a.node,a.offset);try{e!=t&&l.extend(s.node,s.offset),u=!0}catch(e){}}if(!u){if(e>t){let e=a;a=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(a.node,a.offset),l.removeAllRanges(),l.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],o=n+i.size;if(n==o?e<=o&&t>=n:e<o&&t>n){let r=n+i.border,a=o-i.border;if(e>=r&&t<=a)return this.dirty=e==n||t==o?2:1,void(e!=r||t!=a||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=o}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class wn extends bn{constructor(e,t,n,r){let i,o=t.type.toDOM;if("function"==typeof o&&(o=o(n,(()=>i?i.parent?i.parent.posBeforeChild(i):void 0:r))),!t.type.spec.raw){if(1!=o.nodeType){let e=document.createElement("span");e.appendChild(o),o=e}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class _n extends bn{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class Sn extends bn{constructor(e,t,n,r){super(e,[],n,r),this.mark=t}static create(e,t,n,r){let i=r.nodeViews[t.type.name],o=i&&i(t,r,n);return o&&o.dom||(o=se.renderSpec(document,t.type.spec.toDOM(t,n))),new Sn(e,t,o.dom,o.contentDOM||o.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=Sn.create(this.parent,this.mark,!0,n),i=this.children,o=this.size;t<o&&(i=Fn(i,t,o,n)),e>0&&(i=Fn(i,0,e,n));for(let e=0;e<i.length;e++)i[e].parent=r;return r.children=i,r}}class xn extends bn{constructor(e,t,n,r,i,o,a,s,l){super(e,[],i,o),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=a}static create(e,t,n,r,i,o){let a,s=i.nodeViews[t.type.name],l=s&&s(t,i,(()=>a?a.parent?a.parent.posBeforeChild(a):void 0:o),n,r),c=l&&l.dom,u=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else c||({dom:c,contentDOM:u}=se.renderSpec(document,t.type.spec.toDOM(t)));u||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let d=c;return c=Rn(c,n,t),l?a=new Tn(e,t,n,r,c,u||null,d,l,i,o+1):t.isText?new kn(e,t,n,r,c,d,i):new xn(e,t,n,r,c,u||null,d,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>s.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&In(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,o=i&&i.pos>-1?i:null,a=i&&i.pos<0,s=new jn(this,o&&o.node,e);!function(e,t,n,r){let i=t.locals(e),o=0;if(0==i.length){for(let n=0;n<e.childCount;n++){let a=e.child(n);r(a,i,t.forChild(o,a),n),o+=a.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let u,d,p,f;for(;a<i.length&&i[a].to==o;){let e=i[a++];e.widget&&(u?(d||(d=[u])).push(e):u=e)}if(u)if(d){d.sort(Bn);for(let e=0;e<d.length;e++)n(d[e],c,!!l)}else n(u,c,!!l);if(l)f=-1,p=l,l=null;else{if(!(c<e.childCount))break;f=c,p=e.child(c++)}for(let e=0;e<s.length;e++)s[e].to<=o&&s.splice(e--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let h=o+p.nodeSize;if(p.isText){let e=h;a<i.length&&i[a].from<e&&(e=i[a].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<h&&(l=p.cut(e-o),p=p.cut(0,e-o),h=e,f=-1)}r(p,p.isInline&&!p.isLeaf?s.filter((e=>!e.inline)):s.slice(),t.forChild(o,p),f),o=h}}(this.node,this.innerDeco,((t,i,o)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!o&&s.syncToMarks(i==this.node.childCount?d.none:this.node.child(i).marks,n,e),s.placeWidget(t,e,r)}),((t,o,l,c)=>{let u;s.syncToMarks(t.marks,n,e),s.findNodeMatch(t,o,l,c)||a&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(u=s.findIndexWithChild(i.node))>-1&&s.updateNodeAt(t,o,l,u,e)||s.updateNextNode(t,o,l,e,c,r)||s.addNode(t,o,l,e,r),r+=t.nodeSize})),s.syncToMarks([],n,e),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||2==this.dirty)&&(o&&this.protectLocalComposition(e,o),On(this.contentDOM,this.children,e),$t&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof tt)||n<t||r>t+this.node.content.size)return null;let i=e.domSelectionRange(),o=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];t=Tt(e=e.childNodes[t-1])}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(i.focusNode,i.focusOffset);if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let e=o.nodeValue,i=function(e,t,n,r){for(let i=0,o=0;i<e.childCount&&o<=r;){let a=e.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let l=a.text;for(;i<e.childCount;){let t=e.child(i++);if(o+=t.nodeSize,!t.isText)break;l+=t.text}if(o>=n){if(o>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?l.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}(this.node.content,e,n-t,r-t);return i<0?null:{node:o,pos:i,text:e}}return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new _n(this,i,t,r);e.input.compositionNodes.push(o),this.children=Fn(this.children,n,n+r.length,e,o)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node)||(this.updateInner(e,t,n,r),0))}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(In(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Ln(this.dom,this.nodeDOM,Pn(this.outerDeco,this.node,t),Pn(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function En(e,t,n,r,i){Rn(r,t,e);let o=new xn(void 0,e,t,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class kn extends xn{constructor(e,t,n,r,i,o,a){super(e,t,n,r,i,null,o,a,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node)||(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,0))}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),i=document.createTextNode(r.text);return new kn(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}}class Cn extends bn{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Tn extends xn{constructor(e,t,n,r,i,o,a,s,l,c){super(e,t,n,r,i,o,a,l,c),this.spec=s}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function On(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o<t.length;o++){let a=t[o],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=Nn(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(a instanceof Sn){let t=r?r.previousSibling:e.lastChild;On(a.contentDOM,a.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=Nn(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const Mn=function(e){e&&(this.nodeName=e)};Mn.prototype=Object.create(null);const An=[new Mn];function Pn(e,t,n){if(0==e.length)return An;let r=n?An[0]:new Mn,i=[r];for(let o=0;o<e.length;o++){let a=e[o].type.attrs;if(a){a.nodeName&&i.push(r=new Mn(a.nodeName));for(let e in a){let o=a[e];null!=o&&(n&&1==i.length&&i.push(r=new Mn(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+o:"style"==e?r.style=(r.style?r.style+";":"")+o:"nodeName"!=e&&(r[e]=o))}}}return i}function Ln(e,t,n,r){if(n==An&&r==An)return t;let i=t;for(let t=0;t<r.length;t++){let o=r[t],a=n[t];if(t){let t;a&&a.nodeName==o.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==o.nodeName||(t=document.createElement(o.nodeName),t.pmIsDeco=!0,t.appendChild(i),a=An[0]),i=t}Dn(i,a||An[0],o)}return i}function Dn(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<r.length;t++)-1==i.indexOf(r[t])&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)-1==r.indexOf(i[t])&&e.classList.add(i[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function Rn(e,t,n){return Ln(e,e,An,Pn(t,n,1!=e.nodeType))}function In(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Nn(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class jn{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,i=e.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof Sn)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let r=0,i=this.stack.length>>1,o=Math.min(i,e.length);for(;r<o&&(r==i-1?this.top:this.stack[r+1<<1]).matchesMark(e[r])&&!1!==e[r].type.spec.spanning;)r++;for(;r<i;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let r=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[i])&&!this.isLocked(n.dom)){r=t;break}}if(r>-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=Sn.create(this.top,e[i],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))o=this.top.children.indexOf(i,this.index);else for(let r=this.index,i=Math.min(this.top.children.length,r+5);r<i;r++){let i=this.top.children[r];if(i.matchesNode(e,t,n)&&!this.preMatch.matched.has(i)){o=r;break}}return!(o<0||(this.destroyBetween(this.index,o),this.index++,0))}updateNodeAt(e,t,n,r,i){let o=this.top.children[r];return 3==o.dirty&&o.dom==o.contentDOM&&(o.dirty=2),!!o.update(e,t,n,i)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,i,o){for(let a=this.index;a<this.top.children.length;a++){let s=this.top.children[a];if(s instanceof xn){let l=this.preMatch.matched.get(s);if(null!=l&&l!=i)return!1;let c,u=s.dom,d=this.isLocked(u)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&In(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(c=this.recreateWrapper(s,e,t,n,r,o)))return this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,o+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,o){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let a=xn.create(this.top,t,n,r,i,o);if(a.contentDOM){a.children=e.children,e.children=[];for(let e of a.children)e.parent=a}return e.destroy(),a}addNode(e,t,n,r,i){let o=xn.create(this.top,e,t,n,r,i);o.contentDOM&&o.updateChildren(r,i+1),this.top.children.splice(this.index++,0,o),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){let r=new wn(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof Sn;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof kn)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Ut||zt)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let r=new Cn(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function Bn(e,t){return e.type.side-t.type.side}function Fn(e,t,n,r,i){let o=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],c=s,u=s+=l.size;c>=n||u<=t?o.push(l):(c<t&&o.push(l.slice(0,t-c,r)),i&&(o.push(i),i=void 0),u>n&&o.push(l.slice(n-c,l.size,r)))}return o}function Hn(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),o=i&&0==i.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s,l,c=r.resolve(a);if(Mt(n)){for(s=c;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&rt.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,i=t==Tt(e);r||i;){if(e==n)return!0;let t=wt(e);if(!(e=e.parentNode))return!1;r=r&&0==t,i=i&&t==Tt(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new rt(a==e?c:r.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(t<0)return null;s=r.resolve(t)}return l||(l=Yn(e,s,c,"pointer"==t||e.state.selection.head<c.pos&&!o?1:-1)),l}function zn(e){return e.editable?e.hasFocus():Qn(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Vn(e,t=!1){let n=e.state.selection;if(Wn(e,n),zn(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&zt){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&Et(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,i="IMG"==r.nodeName;i?n.setEnd(r.parentNode,wt(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&jt&&Bt<=11&&(r.disabled=!0,r.disabled=!1)}(e);else{let r,i,{anchor:o,head:a}=n;!Un||n instanceof tt||(n.$from.parent.inlineContent||(r=$n(e,n.from)),n.empty||n.$from.parent.inlineContent||(i=$n(e,n.to))),e.docView.setSelection(o,a,e.root,t),Un&&(r&&qn(r),i&&qn(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{zn(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Un=Ut||zt&&Vt<63;function $n(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(Ut&&i&&"false"==i.contentEditable)return Gn(i);if(!(i&&"false"!=i.contentEditable||o&&"false"!=o.contentEditable)){if(i)return Gn(i);if(o)return Gn(o)}}function Gn(e){return e.contentEditable="true",Ut&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function qn(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Wn(e,t){if(t instanceof rt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Zn(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Zn(e)}function Zn(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Yn(e,t,n,r){return e.someProp("createSelectionBetween",(r=>r(e,t,n)))||tt.between(t,n,r)}function Kn(e){return!(e.editable&&!e.hasFocus())&&Qn(e)}function Qn(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(e){return!1}}function Xn(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return o&&Qe.findFrom(o,t)}function Jn(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function er(e,t,n){let r=e.state.selection;if(!(r instanceof tt)){if(r instanceof rt&&r.node.isInline)return Jn(e,new tt(t>0?r.$to:r.$from));{let n=Xn(e.state,t);return!!n&&Jn(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let o=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Jn(e,new tt(r.$anchor,o))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=Xn(e.state,t);return!!(n&&n instanceof rt)&&Jn(e,n)}if(!(Gt&&n.indexOf("m")>-1)){let n,i=r.$head,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText)return!1;let a=t<0?i.pos-o.nodeSize:i.pos;return!!(o.isAtom||(n=e.docView.descAt(a))&&!n.contentDOM)&&(rt.isSelectable(o)?Jn(e,new rt(t<0?e.state.doc.resolve(i.pos-o.nodeSize):i)):!!Zt&&Jn(e,new tt(e.state.doc.resolve(t<0?a:a+o.nodeSize))))}}function tr(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function nr(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function rr(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=!1;for(Ft&&1==n.nodeType&&r<tr(n)&&nr(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(nr(e,-1))i=n,o=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(ir(n))break;{let t=n.previousSibling;for(;t&&nr(t,-1);)i=n.parentNode,o=wt(t),t=t.previousSibling;if(t)n=t,r=tr(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?or(e,n,r):i&&or(e,i,o)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=tr(n);for(;;)if(r<a){if(1!=n.nodeType)break;if(!nr(n.childNodes[r],1))break;i=n,o=++r}else{if(ir(n))break;{let t=n.nextSibling;for(;t&&nr(t,1);)i=t.parentNode,o=wt(t)+1,t=t.nextSibling;if(t)n=t,r=0,a=tr(n);else{if(n=n.parentNode,n==e.dom)break;r=a=0}}}i&&or(e,i,o)}(e)}function ir(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function or(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&&t==e.childNodes.length&&!Ot(e);)t=wt(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&&!t&&!Ot(e);)t=wt(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(Mt(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout((()=>{e.state==i&&Vn(e)}),50)}function ar(e,t){let n=e.state.doc.resolve(t);if(!zt&&!qt&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function sr(e,t,n){let r=e.state.selection;if(r instanceof tt&&!r.empty||n.indexOf("s")>-1)return!1;if(Gt&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Xn(e.state,t);if(n&&n instanceof rt)return Jn(e,n)}if(!i.parent.inlineContent){let n=t<0?i:o,a=r instanceof ot?Qe.near(n,t):Qe.findFrom(n,t);return!!a&&Jn(e,a)}return!1}function lr(e,t){if(!(e.state.selection instanceof tt))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let r=e.state.tr;return t<0?r.delete(n.pos-o.nodeSize,n.pos):r.delete(n.pos,n.pos+o.nodeSize),e.dispatch(r),!0}return!1}function cr(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function ur(e,t){e.someProp("transformCopied",(n=>{t=n(t,e)}));let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||se.fromSchema(e.state.schema),s=wr(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c,u=l.firstChild,d=0;for(;u&&1==u.nodeType&&(c=yr[u.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){let t=s.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),d++}u=l.firstChild}return u&&1==u.nodeType&&u.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`),{dom:l,text:e.someProp("clipboardTextSerializer",(n=>n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n")}}function dr(e,t,n,r,i){let o,a,l=i.parent.type.spec.code;if(!n&&!t)return null;let c=t&&(r||l||!n);if(c){if(e.someProp("transformPastedText",(n=>{t=n(t,l||r,e)})),l)return t?new f(s.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):f.empty;let n=e.someProp("clipboardTextParser",(n=>n(t,i,r,e)));if(n)a=n;else{let n=i.marks(),{schema:r}=e.state,a=se.fromSchema(r);o=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=o.appendChild(document.createElement("p"));e&&t.appendChild(a.serializeNode(r.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=>{n=t(n,e)})),o=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=wr().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&yr[i[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join("")),r.innerHTML=e,n)for(let e=0;e<n.length;e++)r=r.querySelector(n[e])||r;return r}(n),Zt&&function(e){let t=e.querySelectorAll(zt?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];1==r.childNodes.length&&" "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(o);let u=o&&o.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let e=+d[3];e>0;e--){let e=o.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;o=e}if(!a){let t=e.someProp("clipboardParser")||e.someProp("domParser")||Q.fromSchema(e.state.schema);a=t.parseSlice(o,{preserveWhitespace:!(!c&&!d),context:i,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||pr.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(d)a=function(e,t){if(!e.size)return e;let n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}let{content:i,openStart:o,openEnd:a}=e;for(let e=n.length-2;e>=0;e-=2){let t=r.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;i=s.from(t.create(n[e+1],i)),o++,a++}return new f(i,o,a)}(vr(a,+d[1],+d[2]),d[4]);else if(a=f.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n).contentMatchAt(t.index(n)),o=[];if(e.forEach((e=>{if(!o)return;let t,n=i.findWrapping(e.type);if(!n)return o=null;if(t=o.length&&r.length&&hr(n,r,e,o[o.length-1],0))o[o.length-1]=t;else{o.length&&(o[o.length-1]=mr(o[o.length-1],r.length));let t=fr(e,n);o.push(t),i=i.matchType(t.type),r=n}})),o)return s.from(o)}return e}(a.content,i),!0),a.openStart||a.openEnd){let e=0,t=0;for(let t=a.content.firstChild;e<a.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=a.content.lastChild;t<a.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);a=vr(a,e,t)}return e.someProp("transformPasted",(t=>{a=t(a,e)})),a}const pr=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function fr(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,s.from(e));return e}function hr(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let o=hr(e,t,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(s.from(fr(n,e,i+1))))}}function mr(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,mr(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(s.empty,!0);return e.copy(n.append(r))}function gr(e,t,n,r,i,o){let a=t<0?e.firstChild:e.lastChild,l=a.content;return e.childCount>1&&(o=0),i<r-1&&(l=gr(l,t,n,r,i+1,o)),i>=n&&(l=t<0?a.contentMatchAt(0).fillBefore(l,o<=i).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(s.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(l))}function vr(e,t,n){return t<e.openStart&&(e=new f(gr(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new f(gr(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const yr={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let br=null;function wr(){return br||(br=document.implementation.createHTMLDocument("title"))}const _r={},Sr={},xr={touchstart:!0,touchmove:!0};class Er{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function kr(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function Cr(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>Tr(e,t))}))}function Tr(e,t){return e.someProp("handleDOMEvents",(n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)}))}function Or(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function Mr(e){return{left:e.clientX,top:e.clientY}}function Ar(e,t,n,r,i){if(-1==r)return!1;let o=e.state.doc.resolve(r);for(let r=o.depth+1;r>0;r--)if(e.someProp(t,(t=>r>o.depth?t(e,n,o.nodeAfter,o.before(r),i,!0):t(e,n,o.node(r),o.before(r),i,!1))))return!0;return!1}function Pr(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function Lr(e,t,n,r){return Ar(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(n=>n(e,t,r)))}function Dr(e,t,n,r){return Ar(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",(n=>n(e,t,r)))||function(e,t,n){if(0!=n.button)return!1;let r=e.state.doc;if(-1==t)return!!r.inlineContent&&(Pr(e,tt.create(r,0,r.content.size),"pointer"),!0);let i=r.resolve(t);for(let t=i.depth+1;t>0;t--){let n=t>i.depth?i.nodeAfter:i.node(t),o=i.before(t);if(n.inlineContent)Pr(e,tt.create(r,o+1,o+1+n.content.size),"pointer");else{if(!rt.isSelectable(n))continue;Pr(e,rt.create(r,o),"pointer")}return!0}}(e,n,r)}function Rr(e){return zr(e)}Sr.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!jr(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!Wt||!zt||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!$t||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||function(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||Gt&&72==n&&"c"==r)return lr(e,-1)||rr(e,-1);if(46==n&&!t.shiftKey||Gt&&68==n&&"c"==r)return lr(e,1)||rr(e,1);if(13==n||27==n)return!0;if(37==n||Gt&&66==n&&"c"==r){let t=37==n?"ltr"==ar(e,e.state.selection.from)?-1:1:-1;return er(e,t,r)||rr(e,t)}if(39==n||Gt&&70==n&&"c"==r){let t=39==n?"ltr"==ar(e,e.state.selection.from)?1:-1:1;return er(e,t,r)||rr(e,t)}return 38==n||Gt&&80==n&&"c"==r?sr(e,-1,r)||rr(e,-1):40==n||Gt&&78==n&&"c"==r?function(e){if(!Ut||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;cr(e,n,"true"),setTimeout((()=>cr(e,n,"false")),20)}return!1}(e)||sr(e,1,r)||rr(e,1):r==(Gt?"m":"c")&&(66==n||73==n||89==n||90==n)}(e,n)?n.preventDefault():kr(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",(t=>t(e,At(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},Sr.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},Sr.keypress=(e,t)=>{let n=t;if(jr(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||Gt&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let r=e.state.selection;if(!(r instanceof tt&&r.$from.sameParent(r.$to))){let t=String.fromCharCode(n.charCode);/[\r\n]/.test(t)||e.someProp("handleTextInput",(n=>n(e,r.$from.pos,r.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const Ir=Gt?"metaKey":"ctrlKey";_r.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Rr(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[Ir]&&("singleClick"==e.input.lastClick.type?o="doubleClick":"doubleClick"==e.input.lastClick.type&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=e.posAtCoords(Mr(n));a&&("singleClick"==o?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Nr(e,a,n,!!r)):("doubleClick"==o?Lr:Dr)(e,a.pos,a.inside,n)?n.preventDefault():kr(e,"pointer"))};class Nr{constructor(e,t,n,r){let i,o;if(this.view=e,this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[Ir],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),o=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,o=n.depth?n.before():0}const a=r?null:n.target,s=a?e.docView.nearestDesc(a,!0):null;this.target=s?s.dom:null;let{selection:l}=e.state;(0==n.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||l instanceof rt&&l.from<=o&&l.to>o)&&(this.mightDrag={node:i,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Ft||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),kr(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>Vn(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Mr(e))),this.updateAllowDefault(e),this.allowDefault||!t?kr(this.view,"pointer"):function(e,t,n,r,i){return Ar(e,"handleClickOn",t,n,r)||e.someProp("handleClick",(n=>n(e,t,r)))||(i?function(e,t){if(-1==t)return!1;let n,r,i=e.state.selection;i instanceof rt&&(n=i.node);let o=e.state.doc.resolve(t);for(let e=o.depth+1;e>0;e--){let t=e>o.depth?o.nodeAfter:o.node(e);if(rt.isSelectable(t)){r=n&&i.$from.depth>0&&e>=i.$from.depth&&o.before(i.$from.depth+1)==i.$from.pos?o.before(i.$from.depth):o.before(e);break}}return null!=r&&(Pr(e,rt.create(e.state.doc,r),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&rt.isSelectable(r))&&(Pr(e,new rt(n),"pointer"),!0)}(e,n))}(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||Ut&&this.mightDrag&&!this.mightDrag.node.isAtom||zt&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Pr(this.view,Qe.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):kr(this.view,"pointer")}move(e){this.updateAllowDefault(e),kr(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function jr(e,t){return!!e.composing||!!(Ut&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}_r.touchstart=e=>{e.input.lastTouch=Date.now(),Rr(e),kr(e,"pointer")},_r.touchmove=e=>{e.input.lastTouch=Date.now(),kr(e,"pointer")},_r.contextmenu=e=>Rr(e);const Br=Wt?5e3:-1;function Fr(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>zr(e)),t))}function Hr(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function zr(e,t=!1){if(!(Wt&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Hr(e),t||e.docView&&e.docView.dirty){let t=Hn(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}Sr.compositionstart=Sr.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),zr(e,!0),e.markCursor=null;else if(zr(e),Ft&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){e.domSelection().collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}Fr(e,Br)},Sr.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionPendingChanges&&Promise.resolve().then((()=>e.domObserver.flush())),e.input.compositionID++,Fr(e,20))};const Vr=jt&&Bt<15||$t&&Yt<604;function Ur(e,t,n,r,i){let o=dr(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,o||f.empty))))return!0;if(!o)return!1;let a=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function $r(e){let t=e.getData("text/html")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}_r.copy=Sr.cut=(e,t)=>{let n=t,r=e.state.selection,i="cut"==n.type;if(r.empty)return;let o=Vr?null:n.clipboardData,a=r.content(),{dom:s,text:l}=ur(e,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},Sr.paste=(e,t)=>{let n=t;if(e.composing&&!Wt)return;let r=Vr?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&Ur(e,$r(r),r.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Ur(e,r.value,null,i,t):Ur(e,r.textContent,r.innerHTML,i,t)}),50)}(e,n)};class Gr{constructor(e,t){this.slice=e,this.move=t}}const qr=Gt?"altKey":"ctrlKey";_r.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(Mr(n));if(o&&o.pos>=i.from&&o.pos<=(i instanceof rt?i.to-1:i.to));else if(r&&r.mightDrag)e.dispatch(e.state.tr.setSelection(rt.create(e.state.doc,r.mightDrag.pos)));else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&e.dispatch(e.state.tr.setSelection(rt.create(e.state.doc,t.posBefore)))}let a=e.state.selection.content(),{dom:s,text:l}=ur(e,a);n.dataTransfer.clearData(),n.dataTransfer.setData(Vr?"Text":"text/html",s.innerHTML),n.dataTransfer.effectAllowed="copyMove",Vr||n.dataTransfer.setData("text/plain",l),e.dragging=new Gr(a,!n[qr])},_r.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},Sr.dragover=Sr.dragenter=(e,t)=>t.preventDefault(),Sr.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(Mr(n));if(!i)return;let o=e.state.doc.resolve(i.pos),a=r&&r.slice;a?e.someProp("transformPasted",(t=>{a=t(a,e)})):a=dr(e,$r(n.dataTransfer),Vr?null:n.dataTransfer.getData("text/html"),!1,o);let s=!(!r||n[qr]);if(e.someProp("handleDrop",(t=>t(e,n,a||f.empty,s))))return void n.preventDefault();if(!a)return;n.preventDefault();let l=a?Ie(e.state.doc,o.pos,a):o.pos;null==l&&(l=o.pos);let c=e.state.tr;s&&c.deleteSelection();let u=c.mapping.map(l),d=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,p=c.doc;if(d?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(p))return;let h=c.doc.resolve(u);if(d&&rt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new rt(h));else{let t=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach(((e,n,r,i)=>t=i)),c.setSelection(Yn(e,h,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))},_r.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Vn(e)}),20))},_r.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},_r.beforeinput=(e,t)=>{if(zt&&Wt&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,At(8,"Backspace")))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let e in Sr)_r[e]=Sr[e];function Wr(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Zr{constructor(e,t){this.toDOM=e,this.spec=t||Jr,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:o}=e.mapResult(t.from+r,this.side<0?-1:1);return o?null:new Qr(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Zr&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Wr(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Yr{constructor(e,t){this.attrs=e,this.spec=t||Jr}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,o=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new Qr(i,o,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Yr&&Wr(this.attrs,e.attrs)&&Wr(this.spec,e.spec)}static is(e){return e.type instanceof Yr}destroy(){}}class Kr{constructor(e,t){this.attrs=e,this.spec=t||Jr}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let o=e.mapResult(t.to+r,-1);return o.deleted||o.pos<=i.pos?null:new Qr(i.pos-n,o.pos-n,this)}valid(e,t){let n,{index:r,offset:i}=e.content.findIndex(t.from);return i==t.from&&!(n=e.child(r)).isText&&i+n.nodeSize==t.to}eq(e){return this==e||e instanceof Kr&&Wr(this.attrs,e.attrs)&&Wr(this.spec,e.spec)}destroy(){}}class Qr{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Qr(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new Qr(e,e,new Zr(t,n))}static inline(e,t,n,r){return new Qr(e,t,new Yr(n,r))}static node(e,t,n,r){return new Qr(e,t,new Kr(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof Yr}get widget(){return this.type instanceof Zr}}const Xr=[],Jr={};class ei{constructor(e,t){this.local=e.length?e:Xr,this.children=t.length?t:Xr}static create(e,t){return t.length?ai(t,e,0,Jr):ti}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,i){for(let o=0;o<this.local.length;o++){let a=this.local[o];a.from<=t&&a.to>=e&&(!i||i(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<t&&this.children[o+1]>e){let a=this.children[o]+1;this.children[o+2].findInner(e-a,t-a,n,r+a,i)}}map(e,t,n){return this==ti||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Jr)}mapInner(e,t,n,r,i){let o;for(let a=0;a<this.local.length;a++){let s=this.local[a].map(e,n,r);s&&s.type.valid(t,s)?(o||(o=[])).push(s):i.onRemove&&i.onRemove(this.local[a].spec)}return this.children.length?function(e,t,n,r,i,o,a){let s=e.slice();for(let e=0,t=o;e<n.maps.length;e++){let r=0;n.maps[e].forEach(((e,n,o,a)=>{let l=a-o-(n-e);for(let a=0;a<s.length;a+=3){let c=s[a+1];if(c<0||e>c+t-r)continue;let u=s[a]+t-r;n>=u?s[a+1]=e<=u?-2:-1:o>=i&&l&&(s[a]+=l,s[a+1]+=l)}r+=l})),t=n.maps[e].map(t,-1)}let l=!1;for(let t=0;t<s.length;t+=3)if(s[t+1]<0){if(-2==s[t+1]){l=!0,s[t+1]=-1;continue}let c=n.map(e[t]+o),u=c-i;if(u<0||u>=r.content.size){l=!0;continue}let d=n.map(e[t+1]+o,-1)-i,{index:p,offset:f}=r.content.findIndex(u),h=r.maybeChild(p);if(h&&f==u&&f+h.nodeSize==d){let r=s[t+2].mapInner(n,h,c+1,e[t]+o+1,a);r!=ti?(s[t]=u,s[t+1]=d,s[t+2]=r):(s[t+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,i,o,a){function s(e,t){for(let o=0;o<e.local.length;o++){let s=e.local[o].map(r,i,t);s?n.push(s):a.onRemove&&a.onRemove(e.local[o].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)-1==e[n+1]&&s(e[n+2],t[n]+o+1);return n}(s,e,t,n,i,o,a),c=ai(l,r,0,a);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new ei(t.sort(si),s)}(this.children,o||[],e,t,n,r,i):o?new ei(o.sort(si),Xr):ti}add(e,t){return t.length?this==ti?ei.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,i=0;e.forEach(((e,o)=>{let a,s=o+n;if(a=ii(t,e,s)){for(r||(r=this.children.slice());i<r.length&&r[i]<o;)i+=3;r[i]==o?r[i+2]=r[i+2].addInner(e,a,s+1):r.splice(i,0,o,o+e.nodeSize,ai(a,e,s+1,Jr)),i+=3}}));let o=ri(i?oi(t):t,-n);for(let t=0;t<o.length;t++)o[t].type.valid(e,o[t])||o.splice(t--,1);return new ei(o.length?this.local.concat(o).sort(si):this.local,r||this.children)}remove(e){return 0==e.length||this==ti?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let r=0;r<n.length;r+=3){let i,o=n[r]+t,a=n[r+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>o&&t.to<a&&(e[n]=null,(i||(i=[])).push(t));if(!i)continue;n==this.children&&(n=this.children.slice());let s=n[r+2].removeInner(i,o+1);s!=ti?n[r+2]=s:(n.splice(r,3),r-=3)}if(r.length)for(let n,i=0;i<e.length;i++)if(n=e[i])for(let e=0;e<r.length;e++)r[e].eq(n,t)&&(r==this.local&&(r=this.local.slice()),r.splice(e--,1));return n==this.children&&r==this.local?this:r.length||n.length?new ei(r,n):ti}forChild(e,t){if(this==ti)return this;if(t.isLeaf)return ei.empty;let n,r;for(let t=0;t<this.children.length;t+=3)if(this.children[t]>=e){this.children[t]==e&&(n=this.children[t+2]);break}let i=e+1,o=i+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<o&&t.to>i&&t.type instanceof Yr){let e=Math.max(i,t.from)-i,n=Math.min(o,t.to)-i;e<n&&(r||(r=[])).push(t.copy(e,n))}}if(r){let e=new ei(r.sort(si),Xr);return n?new ni([e,n]):e}return n||ti}eq(e){if(this==e)return!0;if(!(e instanceof ei)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return li(this.localsInner(e))}localsInner(e){if(this==ti)return Xr;if(e.inlineContent||!this.local.some(Yr.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Yr||t.push(this.local[e]);return t}}ei.empty=new ei([],[]),ei.removeOverlap=li;const ti=ei.empty;class ni{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Jr)));return ni.from(n)}forChild(e,t){if(t.isLeaf)return ei.empty;let n=[];for(let r=0;r<this.members.length;r++){let i=this.members[r].forChild(e,t);i!=ti&&(i instanceof ni?n=n.concat(i.members):n.push(i))}return ni.from(n)}eq(e){if(!(e instanceof ni)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<i.length;e++)t.push(i[e])}else t=i}return t?li(n?t:t.sort(si)):Xr}static from(e){switch(e.length){case 0:return ti;case 1:return e[0];default:return new ni(e.every((e=>e instanceof ei))?e:e.reduce(((e,t)=>e.concat(t instanceof ei?t:t.members)),[]))}}}function ri(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new Qr(i.from+t,i.to+t,i.type))}return n}function ii(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let t,o=0;o<e.length;o++)(t=e[o])&&t.from>n&&t.to<r&&((i||(i=[])).push(t),e[o]=null);return i}function oi(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function ai(e,t,n,r){let i=[],o=!1;t.forEach(((t,a)=>{let s=ii(e,t,a+n);if(s){o=!0;let e=ai(s,t,n+a+1,r);e!=ti&&i.push(a,a+t.nodeSize,e)}}));let a=ri(o?oi(e):e,-n).sort(si);for(let e=0;e<a.length;e++)a[e].type.valid(t,a[e])||(r.onRemove&&r.onRemove(a[e].spec),a.splice(e--,1));return a.length||i.length?new ei(a,i):ti}function si(e,t){return e.from-t.from||e.to-t.to}function li(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let o=t[i];if(o.from!=r.from){o.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,o.from),ci(t,i,r.copy(o.from,r.to)));break}o.to!=r.to&&(t==e&&(t=e.slice()),t[i]=o.copy(o.from,r.to),ci(t,i+1,o.copy(r.to,o.to)))}}return t}function ci(e,t,n){for(;t<e.length&&si(n,e[t])>0;)t++;e.splice(t,0,n)}function ui(e){let t=[];return e.someProp("decorations",(n=>{let r=n(e.state);r&&r!=ti&&t.push(r)})),e.cursorWrapper&&t.push(ei.create(e.state.doc,[e.cursorWrapper.deco])),ni.from(t)}const di={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},pi=jt&&Bt<=11;class fi{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class hi{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new fi,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);jt&&Bt<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),pi&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,di)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Kn(this.view)){if(this.suppressingSelectionUpdates)return Vn(this.view);if(jt&&Bt<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Et(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let t=e.focusNode;t;t=_t(t))n.add(t);for(let r=e.anchorNode;r;r=_t(r))if(n.has(r)){t=r;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Kn(e)&&!this.ignoreSelectionChange(n),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],l);n&&(o=o<0?n.from:Math.min(n.from,o),a=a<0?n.to:Math.max(n.to,a),n.typeOver&&(s=!0))}if(Ft&&l.length>1){let e=l.filter((e=>"BR"==e.nodeName));if(2==e.length){let t=e[0],n=e[1];t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}let c=null;o<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Mt(n)&&(c=Hn(e))&&c.eq(Qe.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Vn(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||r)&&(o>-1&&(e.docView.markDirty(o,a),function(e){if(!mi.has(e)&&(mi.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace))){if(e.requiresGeckoHackNode=Ft,gi)return;i.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),gi=!0}}(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Vn(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++)t.push(e.addedNodes[n]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(jt&&Bt<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:o}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!o||Array.prototype.indexOf.call(e.addedNodes,o)<0)&&(i=o)}let o=r&&r.parentNode==e.target?wt(r)+1:0,a=n.localPosFromDOM(e.target,o,-1),s=i&&i.parentNode==e.target?wt(i):e.target.childNodes.length;return{from:a,to:n.localPosFromDOM(e.target,s,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let mi=new WeakMap,gi=!1;function vi(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(Ut&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||Ut&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const yi=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function bi(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Yn(e,t.resolve(n.anchor),t.resolve(n.head))}function wi(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}class _i{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Er,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Ci),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Ei(this),xi(this),this.nodeViews=ki(this),this.docView=En(this.state.doc,Si(this),ui(this),this.dom,this),this.domObserver=new hi(this,((e,t,n,r)=>function(e,t,n,r,i){let o=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Hn(e,t);if(n&&!e.state.selection.eq(n)){if(zt&&Wt&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(t=>t(e,At(13,"Enter")))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),o&&r.setMeta("composition",o),e.dispatch(r)}return}let a=e.state.doc.resolve(t),l=a.sharedDepth(n);t=a.before(l+1),n=e.state.doc.resolve(n).after(l+1);let c,u,d=e.state.selection,p=function(e,t,n){let r,{node:i,fromOffset:o,toOffset:a,from:s,to:l}=e.docView.parseRange(t,n),c=e.domSelectionRange(),u=c.anchorNode;if(u&&e.dom.contains(1==u.nodeType?u:u.parentNode)&&(r=[{node:u,offset:c.anchorOffset}],Mt(c)||r.push({node:c.focusNode,offset:c.focusOffset})),zt&&8===e.input.lastKeyCode)for(let e=a;e>o;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){a=e;break}if(!n||n.size)break}let d=e.state.doc,p=e.someProp("domParser")||Q.fromSchema(e.state.schema),f=d.resolve(s),h=null,m=p.parse(i,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:o,to:a,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:r,ruleFromNode:vi,context:f});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),h={anchor:e+s,head:t+s}}return{doc:m,sel:h,from:s,to:l}}(e,t,n),f=e.state.doc,h=f.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(c=e.state.selection.to,u="end"):(c=e.state.selection.from,u="start"),e.input.lastKeyCode=null;let m=function(e,t,n,r,i){let o=e.findDiffStart(t,n);if(null==o)return null;let{a:a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);return"end"==i&&(r-=a+Math.max(0,o-Math.min(a,s))-o),a<o&&e.size<t.size?(o-=r<=o&&r>=a?o-r:0,s=o+(s-a),a=o):s<o&&(o-=r<=o&&r>=s?o-r:0,a=o+(a-s),s=o),{start:o,endA:a,endB:s}}(h.content,p.doc.content,p.from,c,u);if(($t&&e.input.lastIOSEnter>Date.now()-225||Wt)&&i.some((e=>1==e.nodeType&&!yi.test(e.nodeName)))&&(!m||m.endA>=m.endB)&&e.someProp("handleKeyDown",(t=>t(e,At(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!m){if(!(r&&d instanceof tt&&!d.empty&&d.$head.sameParent(d.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){let t=bi(e,e.state.doc,p.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);o&&n.setMeta("composition",o),e.dispatch(n)}}return}m={start:d.from,endA:d.to,endB:d.to}}if(zt&&e.cursorWrapper&&p.sel&&p.sel.anchor==e.cursorWrapper.deco.from&&p.sel.head==p.sel.anchor){let e=m.endB-m.start;p.sel={anchor:p.sel.anchor+e,head:p.sel.anchor+e}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&m.start==m.endB&&e.state.selection instanceof tt&&(m.start>e.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?m.start=e.state.selection.from:m.endA<e.state.selection.to&&m.endA>=e.state.selection.to-2&&e.state.selection.to<=p.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),jt&&Bt<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>p.from&&"  "==p.doc.textBetween(m.start-p.from-1,m.start-p.from+1)&&(m.start--,m.endA--,m.endB--);let g,v=p.doc.resolveNoCache(m.start-p.from),y=p.doc.resolveNoCache(m.endB-p.from),b=f.resolve(m.start),w=v.sameParent(y)&&v.parent.inlineContent&&b.end()>=m.endA;if(($t&&e.input.lastIOSEnter>Date.now()-225&&(!w||i.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!w&&v.pos<p.doc.content.size&&!v.sameParent(y)&&(g=Qe.findFrom(p.doc.resolve(v.pos+1),1,!0))&&g.head==y.pos)&&e.someProp("handleKeyDown",(t=>t(e,At(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>m.start&&function(e,t,n,r,i){if(!r.parent.isTextblock||n-t<=i.pos-r.pos||wi(r,!0,!1)<i.pos)return!1;let o=e.resolve(t);if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=e.resolve(wi(o,!0,!0));return!(!a.parent.isTextblock||a.pos>n||wi(a,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(a.parent.content)}(f,m.start,m.endA,v,y)&&e.someProp("handleKeyDown",(t=>t(e,At(8,"Backspace")))))return void(Wt&&zt&&e.domObserver.suppressSelectionUpdates());zt&&Wt&&m.endB==m.start&&(e.input.lastAndroidDelete=Date.now()),Wt&&!w&&v.start()!=y.start()&&0==y.parentOffset&&v.depth==y.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==m.endA&&(m.endB-=2,y=p.doc.resolveNoCache(m.endB-p.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,At(13,"Enter"))}))}),20));let _,S,x,E=m.start,k=m.endA;if(w)if(v.pos==y.pos)jt&&Bt<=11&&0==v.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Vn(e)),20)),_=e.state.tr.delete(E,k),S=f.resolve(m.start).marksAcross(f.resolve(m.endA));else if(m.endA==m.endB&&(x=function(e,t){let n,r,i,o=e.firstChild.marks,a=t.firstChild.marks,l=o,c=a;for(let e=0;e<a.length;e++)l=a[e].removeFromSet(l);for(let e=0;e<o.length;e++)c=o[e].removeFromSet(c);if(1==l.length&&0==c.length)r=l[0],n="add",i=e=>e.mark(r.addToSet(e.marks));else{if(0!=l.length||1!=c.length)return null;r=c[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let u=[];for(let e=0;e<t.childCount;e++)u.push(i(t.child(e)));if(s.from(u).eq(e))return{mark:r,type:n}}(v.parent.content.cut(v.parentOffset,y.parentOffset),b.parent.content.cut(b.parentOffset,m.endA-b.start()))))_=e.state.tr,"add"==x.type?_.addMark(E,k,x.mark):_.removeMark(E,k,x.mark);else if(v.parent.child(v.index()).isText&&v.index()==y.index()-(y.textOffset?0:1)){let t=v.parent.textBetween(v.parentOffset,y.parentOffset);if(e.someProp("handleTextInput",(n=>n(e,E,k,t))))return;_=e.state.tr.insertText(t,E,k)}if(_||(_=e.state.tr.replace(E,k,p.doc.slice(m.start-p.from,m.endB-p.from))),p.sel){let t=bi(e,_.doc,p.sel);t&&!(zt&&Wt&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastAndroidDelete<Date.now()-100)&&(t.head==E||t.head==_.mapping.map(k)-1)||jt&&t.empty&&t.head==E)&&_.setSelection(t)}S&&_.ensureMarks(S),o&&_.setMeta("composition",o),e.dispatch(_.scrollIntoView())}(this,e,t,n,r))),this.domObserver.start(),function(e){for(let t in _r){let n=_r[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!Or(e,t)||Tr(e,t)||!e.editable&&t.type in Sr||n(e,t)},xr[t]?{passive:!0}:void 0)}Ut&&e.dom.addEventListener("input",(()=>null)),Cr(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Cr(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Ci),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){let n=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&(Hr(this),i=!0),this.state=e;let o=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(o||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=ki(this);(function(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,r=!0)}(o||t.handleDOMEvents!=this._props.handleDOMEvents)&&Cr(this),this.editable=Ei(this),xi(this);let a=ui(this),s=Si(this),l=n.plugins==e.plugins||n.doc.eq(e.doc)?e.scrollToSelection>n.scrollToSelection?"to selection":"preserve":"reset",c=r||!this.docView.matchesNode(e.doc,s,a);!c&&e.selection.eq(n.selection)||(i=!0);let u="preserve"==l&&i&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,a=i+1;a<Math.min(innerHeight,r.bottom);a+=5){let r=e.root.elementFromPoint(o,a);if(!r||r==e.dom||!e.dom.contains(r))continue;let s=r.getBoundingClientRect();if(s.top>=i-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:en(e.dom)}}(this);if(i){this.domObserver.stop();let t=c&&(jt||zt)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(n.selection,e.selection);if(c){let n=zt?this.trackWrites=this.domSelectionRange().focusNode:null;!r&&this.docView.update(e.doc,s,a,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=En(e.doc,s,a,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Et(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Vn(this,t):(Wn(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),"reset"==l?this.dom.scrollTop=0:"to selection"==l?this.scrollToSelection():u&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;tn(n,0==r?0:r-t)}(u)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(e=>e(this))));else if(this.state.selection instanceof rt){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&Jt(this,t.getBoundingClientRect(),e)}else Jt(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}someProp(e,t){let n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(let r=0;r<this.directPlugins.length;r++){let i=this.directPlugins[r].props[e];if(null!=i&&(n=t?t(i):i))return n}let i=this.state.plugins;if(i)for(let r=0;r<i.length;r++){let o=i[r].props[e];if(null!=o&&(n=t?t(o):o))return n}}hasFocus(){if(jt){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(nn)return e.focus(nn);let t=en(e);e.focus(null==nn?{get preventScroll(){return nn={preventScroll:!0},!0}}:void 0),nn||(nn=!1,tn(t,0))}(this.dom),Vn(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e;return e||document}updateRoot(){this._root=null}posAtCoords(e){return sn(this,e)}coordsAtPos(e,t=1){return dn(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return function(e,t,n){return gn==t&&vn==n?yn:(gn=t,vn=n,yn="up"==n||"down"==n?function(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return hn(e,t,(()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=dn(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=xt(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.domSelection();return mn.test(r.parent.textContent)&&s.modify?hn(e,t,(()=>{let{focusNode:t,focusOffset:i,anchorNode:o,anchorOffset:a}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),p=u&&!c.contains(1==u.nodeType?u:u.parentNode)||t==u&&i==d;try{s.collapse(o,a),t&&(t!=o||i!=a)&&s.extend&&s.extend(t,i)}catch(e){}return null!=l&&(s.caretBidiLevel=l),p})):"left"==n||"backward"==n?o:a}(e,t,n))}(this,t||this.state,e)}pasteHTML(e,t){return Ur(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ur(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ui(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){Tr(e,t)||!_r[t.type]||!e.editable&&t.type in Sr||_r[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return Ut&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function(e){let t;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}e.dom.addEventListener("beforeinput",n,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",n,!0);let r=t.startContainer,i=t.startOffset,o=t.endContainer,a=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return Et(s.node,s.offset,o,a)&&([r,i,o,a]=[o,a,r,i]),{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:a}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Si(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[Qr.node(0,e.state.doc.content.size,t)]}function xi(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Qr.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Ei(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function ki(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Ci(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Ti={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Oi={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Mi="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Ai="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Pi=0;Pi<10;Pi++)Ti[48+Pi]=Ti[96+Pi]=String(Pi);for(Pi=1;Pi<=24;Pi++)Ti[Pi+111]="F"+Pi;for(Pi=65;Pi<=90;Pi++)Ti[Pi]=String.fromCharCode(Pi+32),Oi[Pi]=String.fromCharCode(Pi);for(var Li in Ti)Oi.hasOwnProperty(Li)||(Oi[Li]=Ti[Li]);const Di="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function Ri(e){let t,n,r,i,o=e.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let e=0;e<o.length-1;e++){let a=o[e];if(/^(cmd|meta|m)$/i.test(a))i=!0;else if(/^a(lt)?$/i.test(a))t=!0;else if(/^(c|ctrl|control)$/i.test(a))n=!0;else if(/^s(hift)?$/i.test(a))r=!0;else{if(!/^mod$/i.test(a))throw new Error("Unrecognized modifier name: "+a);Di?i=!0:n=!0}}return t&&(a="Alt-"+a),n&&(a="Ctrl-"+a),i&&(a="Meta-"+a),r&&(a="Shift-"+a),a}function Ii(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function Ni(e){let t=function(e){let t=Object.create(null);for(let n in e)t[Ri(n)]=e[n];return t}(e);return function(e,n){let r,i=function(e){var t=!(Mi&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Ai&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Oi:Ti)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),o=t[Ii(i,n)];if(o&&o(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){let r=t[Ii(i,n,!1)];if(r&&r(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||i.charCodeAt(0)>127)&&(r=Ti[n.keyCode])&&r!=i){let i=t[Ii(r,n)];if(i&&i(e.state,e.dispatch,e))return!0}}return!1}}const ji=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0),Bi=(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}(e,n);if(!r)return!1;let i=zi(r);if(!i){let n=r.blockRange(),i=n&&Oe(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let o=i.nodeBefore;if(!o.type.spec.isolating&&Ki(e,i,t))return!0;if(0==r.parent.content.size&&(Fi(o,"end")||rt.isSelectable(o))){let n=Ne(e.doc,r.before(),r.after(),f.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(Fi(o,"end")?Qe.findFrom(r.doc.resolve(r.mapping.map(i.pos,-1)),-1):rt.create(r.doc,i.pos-o.nodeSize)),t(r.scrollIntoView())}return!0}}return!(!o.isAtom||i.depth!=r.depth-1||(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),0))};function Fi(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}const Hi=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=zi(r)}let a=o&&o.nodeBefore;return!(!a||!rt.isSelectable(a)||(t&&t(e.tr.setSelection(rt.create(e.doc,o.pos-a.nodeSize)).scrollIntoView()),0))};function zi(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}const Vi=(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}(e,n);if(!r)return!1;let i=$i(r);if(!i)return!1;let o=i.nodeAfter;if(Ki(e,i,t))return!0;if(0==r.parent.content.size&&(Fi(o,"start")||rt.isSelectable(o))){let n=Ne(e.doc,r.before(),r.after(),f.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(Fi(o,"start")?Qe.findFrom(r.doc.resolve(r.mapping.map(i.pos)),1):rt.create(r.doc,r.mapping.map(i.pos))),t(r.scrollIntoView())}return!0}}return!(!o.isAtom||i.depth!=r.depth-1||(t&&t(e.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),0))},Ui=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;o=$i(r)}let a=o&&o.nodeAfter;return!(!a||!rt.isSelectable(a)||(t&&t(e.tr.setSelection(rt.create(e.doc,o.pos)).scrollIntoView()),0))};function $i(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const Gi=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))};function qi(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const Wi=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=qi(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,a.createAndFill());i.setSelection(Qe.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},Zi=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof ot||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=qi(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,a=e.tr.insert(n,o.createAndFill());a.setSelection(tt.create(a.doc,n+1)),t(a.scrollIntoView())}return!0},Yi=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Pe(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Oe(r);return null!=i&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function Ki(e,t,n){let r,i,o=t.nodeBefore,a=t.nodeAfter;if(o.type.spec.isolating||a.type.spec.isolating)return!1;if(function(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,o=t.index();return!(!(r&&i&&r.type.compatibleContent(i.type))||(!r.content.size&&t.parent.canReplace(o-1,o)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!i.isTextblock&&!Le(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let l=t.parent.canReplace(t.index(),t.index()+1);if(l&&(r=(i=o.contentMatchAt(o.childCount)).findWrapping(a.type))&&i.matchType(r[0]||a.type).validEnd){if(n){let i=t.pos+a.nodeSize,l=s.empty;for(let e=r.length-1;e>=0;e--)l=s.from(r[e].create(null,l));l=s.from(o.copy(l));let c=e.tr.step(new ke(t.pos-1,i,t.pos,i,new f(l,1,0),r.length,!0)),u=i+2*r.length;Le(c.doc,u)&&c.join(u),n(c.scrollIntoView())}return!0}let c=Qe.findFrom(t,1),u=c&&c.$from.blockRange(c.$to),d=u&&Oe(u);if(null!=d&&d>=t.depth)return n&&n(e.tr.lift(u,d).scrollIntoView()),!0;if(l&&Fi(a,"start",!0)&&Fi(o,"end")){let r=o,i=[];for(;i.push(r),!r.isTextblock;)r=r.lastChild;let l=a,c=1;for(;!l.isTextblock;l=l.firstChild)c++;if(r.canReplace(r.childCount,r.childCount,l.content)){if(n){let r=s.empty;for(let e=i.length-1;e>=0;e--)r=s.from(i[e].copy(r));n(e.tr.step(new ke(t.pos-i.length,t.pos+a.nodeSize,t.pos+c,t.pos+a.nodeSize-c,new f(r,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Qi(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return!!i.node(o).isTextblock&&(n&&n(t.tr.setSelection(tt.create(t.doc,e<0?i.start(o):i.end(o)))),!0)}}const Xi=Qi(-1),Ji=Qi(1);function eo(e,t=null){return function(n,r){let i=!1;for(let r=0;r<n.selection.ranges.length&&!i;r++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[r];n.doc.nodesBetween(o,a,((r,o)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(o),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}}))}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[r];i.setBlockType(o,a,e,t)}r(i.scrollIntoView())}return!0}}function to(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}let no=to(ji,Bi,Hi),ro=to(ji,Vi,Ui);const io={Enter:to(Gi,Zi,Yi,((e,t)=>{let{$from:n,$to:r}=e.selection;if(e.selection instanceof rt&&e.selection.node.isBlock)return!(!n.parentOffset||!Pe(e.doc,n.pos)||(t&&t(e.tr.split(n.pos).scrollIntoView()),0));if(!n.parent.isBlock)return!1;if(t){let i=r.parentOffset==r.parent.content.size,o=e.tr;(e.selection instanceof tt||e.selection instanceof ot)&&o.deleteSelection();let a=0==n.depth?null:qi(n.node(-1).contentMatchAt(n.indexAfter(-1))),s=i&&a?[{type:a}]:void 0,l=Pe(o.doc,o.mapping.map(n.pos),1,s);if(s||l||!Pe(o.doc,o.mapping.map(n.pos),1,a?[{type:a}]:void 0)||(a&&(s=[{type:a}]),l=!0),l&&(o.split(o.mapping.map(n.pos),1,s),!i&&!n.parentOffset&&n.parent.type!=a)){let e=o.mapping.map(n.before()),t=o.doc.resolve(e);a&&n.node(-1).canReplaceWith(t.index(),t.index()+1,a)&&o.setNodeMarkup(o.mapping.map(n.before()),a)}t(o.scrollIntoView())}return!0})),"Mod-Enter":Wi,Backspace:no,"Mod-Backspace":no,"Shift-Backspace":no,Delete:ro,"Mod-Delete":ro,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new ot(e.doc))),!0)},oo={"Ctrl-h":io.Backspace,"Alt-Backspace":io["Mod-Backspace"],"Ctrl-d":io.Delete,"Ctrl-Alt-Backspace":io["Mod-Delete"],"Alt-Delete":io["Mod-Delete"],"Alt-d":io["Mod-Delete"],"Ctrl-a":Xi,"Ctrl-e":Ji};for(let e in io)oo[e]=io[e];function ao(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:i}=n,{storedMarks:o}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),filterTransaction:t.filterTransaction,plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return o},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,o=n.storedMarks,n}}}"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform();class so{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,o=this.buildProps(i);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(o);return i.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(i),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:r,state:i}=this,{view:o}=r,a=[],s=!!e,l=e||i.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const r=this.buildProps(l,t),i=n(...e)(r);return a.push(i),c}]))),run:()=>(s||!t||l.getMeta("preventDispatch")||this.hasCustomState||o.dispatch(l),a.every((e=>!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,r=e||n.tr,i=this.buildProps(r,!1),o=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})])));return{...o,chain:()=>this.createChain(r,!1)}}buildProps(e,t=!0){const{rawCommands:n,editor:r,state:i}=this,{view:o}=r,a={tr:e,editor:r,view:o,state:ao({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(a)])))}};return a}}class lo{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&&n.forEach((e=>e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter((e=>e!==t)):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}function co(e,t,n){return void 0===e.config[t]&&e.parent?co(e.parent,t,n):"function"==typeof e.config[t]?e.config[t].bind({...n,parent:e.parent?co(e.parent,t,n):null}):e.config[t]}function uo(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function po(e){const t=[],{nodeExtensions:n,markExtensions:r}=uo(e),i=[...n,...r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=co(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage});n&&n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,r])=>{t.push({type:n,name:e,attribute:{...o,...r}})}))}))}))})),i.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},r=co(e,"addAttributes",n);if(!r)return;const i=r();Object.entries(i).forEach((([n,r])=>{const i={...o,...r};"function"==typeof(null==i?void 0:i.default)&&(i.default=i.default()),(null==i?void 0:i.isRequired)&&void 0===(null==i?void 0:i.default)&&delete i.default,t.push({type:e.name,name:n,attribute:i})}))})),t}function fo(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function ho(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{if(n[e])if("class"===e){const r=t?t.split(" "):[],i=n[e]?n[e].split(" "):[],o=r.filter((e=>!i.includes(e)));n[e]=[...i,...o].join(" ")}else n[e]="style"===e?[n[e],t].join("; "):t;else n[e]=t})),n}),{})}function mo(e,t){return t.filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>ho(e,t)),{})}function go(e){return"function"==typeof e}function vo(e,t=void 0,...n){return go(e)?t?e.bind(t)(...n):e(...n):e}function yo(e,t){return e.style?e:{...e,getAttrs:n=>{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;const i=t.reduce(((e,t)=>{const r=t.attribute.parseHTML?t.attribute.parseHTML(n):function(e){return"string"!=typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}(n.getAttribute(t.name));return null==r?e:{...e,[t.name]:r}}),{});return{...r,...i}}}}function bo(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>("attrs"!==e||!function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&null!=t)))}function wo(e,t){return t.nodes[e]||t.marks[e]||null}function _o(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}const So=(e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,((e,t,i,o)=>{var a,s;const l=(null===(s=(a=e.type.spec).toText)||void 0===s?void 0:s.call(a,{node:e,pos:t,parent:i,index:o}))||e.textContent||"%leaf%";n+=l.slice(0,Math.max(0,r-t))})),n};function xo(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class Eo{constructor(e){this.find=e.find,this.handler=e.handler}}const ko=(e,t)=>{if(xo(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||i.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function Co(e){var t;const{editor:n,from:r,to:i,text:o,rules:a,plugin:s}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=>e.type.spec.code))))return!1;let u=!1;const d=So(c)+o;return a.forEach((e=>{if(u)return;const t=ko(d,e.find);if(!t)return;const a=l.state.tr,c=ao({state:l.state,transaction:a}),p={from:r-(t[0].length-o.length),to:i},{commands:f,chain:h,can:m}=new so({editor:n,state:c});null!==e.handler({state:c,range:p,match:t,commands:f,chain:h,can:m})&&a.steps.length&&(a.setMeta(s,{transform:a,from:r,to:i,text:o}),l.dispatch(a),u=!0)})),u}function To(e){const{editor:t,rules:n}=e,r=new gt({state:{init:()=>null,apply(e,t){return e.getMeta(r)||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(e,i,o,a)=>Co({editor:t,from:i,to:o,text:a,rules:n,plugin:r}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:i}=e.state.selection;i&&Co({editor:t,from:i.pos,to:i.pos,text:"",rules:n,plugin:r})})),!1)},handleKeyDown(e,i){if("Enter"!==i.key)return!1;const{$cursor:o}=e.state.selection;return!!o&&Co({editor:t,from:o.pos,to:o.pos,text:"\n",rules:n,plugin:r})}},isInputRules:!0});return r}class Oo{constructor(e){this.find=e.find,this.handler=e.handler}}function Mo(e){const{editor:t,rules:n}=e;let r=null,o=!1,a=!1,s=new ClipboardEvent("paste"),l=new DragEvent("drop");const c=n.map((e=>new gt({view(e){const t=t=>{var n;r=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:(e,t)=>(a=r===e.dom.parentElement,l=t,!1),paste:(e,t)=>{var n;const r=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return s=t,o=!!(null==r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(n,r,c)=>{const u=n[0],d="paste"===u.getMeta("uiEvent")&&!o,p="drop"===u.getMeta("uiEvent")&&!a;if(!d&&!p)return;const f=r.doc.content.findDiffStart(c.doc.content),h=r.doc.content.findDiffEnd(c.doc.content);if("number"!=typeof f||!h||f===h.b)return;const m=c.tr,g=ao({state:c,transaction:m}),v=function(e){const{editor:t,state:n,from:r,to:o,rule:a,pasteEvent:s,dropEvent:l}=e,{commands:c,chain:u,can:d}=new so({editor:t,state:n}),p=[];return n.doc.nodesBetween(r,o,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const f=Math.max(r,t),h=Math.min(o,t+e.content.size);((e,t)=>{if(xo(t))return[...e.matchAll(t)];const n=t(e);return n?n.map((t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||i.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]})(e.textBetween(f-t,h-t,void 0,""),a.find).forEach((e=>{if(void 0===e.index)return;const t=f+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},o=a.handler({state:n,range:i,match:e,commands:c,chain:u,can:d,pasteEvent:s,dropEvent:l});p.push(o)}))})),p.every((e=>null!==e))}({editor:t,state:g,from:Math.max(f-1,0),to:h.b-1,rule:e,pasteEvent:s,dropEvent:l});return v&&m.steps.length?(l=new DragEvent("drop"),s=new ClipboardEvent("paste"),m):void 0}})));return c}class Ao{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Ao.resolve(e),this.schema=function(e,t){var n;const r=po(e),{nodeExtensions:i,markExtensions:o}=uo(e),a=null===(n=i.find((e=>co(e,"topNode"))))||void 0===n?void 0:n.name,s=Object.fromEntries(i.map((n=>{const i=r.filter((e=>e.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:t},a=bo({...e.reduce(((e,t)=>{const r=co(t,"extendNodeSchema",o);return{...e,...r?r(n):{}}}),{}),content:vo(co(n,"content",o)),marks:vo(co(n,"marks",o)),group:vo(co(n,"group",o)),inline:vo(co(n,"inline",o)),atom:vo(co(n,"atom",o)),selectable:vo(co(n,"selectable",o)),draggable:vo(co(n,"draggable",o)),code:vo(co(n,"code",o)),defining:vo(co(n,"defining",o)),isolating:vo(co(n,"isolating",o)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=vo(co(n,"parseHTML",o));s&&(a.parseDOM=s.map((e=>yo(e,i))));const l=co(n,"renderHTML",o);l&&(a.toDOM=e=>l({node:e,HTMLAttributes:mo(e,i)}));const c=co(n,"renderText",o);return c&&(a.toText=c),[n.name,a]}))),l=Object.fromEntries(o.map((n=>{const i=r.filter((e=>e.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:t},a=bo({...e.reduce(((e,t)=>{const r=co(t,"extendMarkSchema",o);return{...e,...r?r(n):{}}}),{}),inclusive:vo(co(n,"inclusive",o)),excludes:vo(co(n,"excludes",o)),group:vo(co(n,"group",o)),spanning:vo(co(n,"spanning",o)),code:vo(co(n,"code",o)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=vo(co(n,"parseHTML",o));s&&(a.parseDOM=s.map((e=>yo(e,i))));const l=co(n,"renderHTML",o);return l&&(a.toDOM=e=>l({mark:e,HTMLAttributes:mo(e,i)})),[n.name,a]})));return new Y({topNode:a,nodes:s,marks:l})}(this.extensions,t),this.extensions.forEach((e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:wo(e.name,this.schema)};"mark"===e.type&&(null===(t=vo(co(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name);const r=co(e,"onBeforeCreate",n);r&&this.editor.on("beforeCreate",r);const i=co(e,"onCreate",n);i&&this.editor.on("create",i);const o=co(e,"onUpdate",n);o&&this.editor.on("update",o);const a=co(e,"onSelectionUpdate",n);a&&this.editor.on("selectionUpdate",a);const s=co(e,"onTransaction",n);s&&this.editor.on("transaction",s);const l=co(e,"onFocus",n);l&&this.editor.on("focus",l);const c=co(e,"onBlur",n);c&&this.editor.on("blur",c);const u=co(e,"onDestroy",n);u&&this.editor.on("destroy",u)}))}static resolve(e){const t=Ao.sort(Ao.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return[...new Set(t)]}(t.map((e=>e.name)));return n.length&&i.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=co(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=co(e,"priority")||100,r=co(t,"priority")||100;return n>r?-1:n<r?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=co(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:wo(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=Ao.sort([...this.extensions].reverse()),n=[],r=[],i=t.map((t=>{const i={name:t.name,options:t.options,storage:t.storage,editor:e,type:wo(t.name,this.schema)},o=[],a=co(t,"addKeyboardShortcuts",i);let s={};if("mark"===t.type&&t.config.exitable&&(s.ArrowRight=()=>_a.handleExit({editor:e,mark:t})),a){const t=Object.fromEntries(Object.entries(a()).map((([t,n])=>[t,()=>n({editor:e})])));s={...s,...t}}const l=new gt({props:{handleKeyDown:Ni(s)}});o.push(l);const c=co(t,"addInputRules",i);_o(t,e.options.enableInputRules)&&c&&n.push(...c());const u=co(t,"addPasteRules",i);_o(t,e.options.enablePasteRules)&&u&&r.push(...u());const d=co(t,"addProseMirrorPlugins",i);if(d){const e=d();o.push(...e)}return o})).flat();return[To({editor:e,rules:n}),...Mo({editor:e,rules:r}),...i]}get attributes(){return po(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=uo(this.extensions);return Object.fromEntries(t.filter((e=>!!co(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:fo(t.name,this.schema)},i=co(t,"addNodeView",r);return i?[t.name,(r,o,a,s)=>{const l=mo(r,n);return i()({editor:e,node:r,getPos:a,decorations:s,HTMLAttributes:l,extension:t})}]:[]})))}}function Po(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function Lo(e,t){const n={...e};return Po(e)&&Po(t)&&Object.keys(t).forEach((r=>{Po(t[r])?r in e?n[r]=Lo(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})})),n}class Do{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=vo(co(this,"addOptions",{name:this.name}))),this.storage=vo(co(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Do(e)}configure(e={}){const t=this.extend();return t.options=Lo(this.options,e),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Do(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=vo(co(t,"addOptions",{name:t.name})),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}}function Ro(e,t,n){const{from:r,to:i}=t,{blockSeparator:o="\n\n",textSerializers:a={}}=n||{};let s="",l=!0;return e.nodesBetween(r,i,((e,n,c,u)=>{var d;const p=null==a?void 0:a[e.type.name];p?(e.isBlock&&!l&&(s+=o,l=!0),c&&(s+=p({node:e,pos:n,parent:c,index:u,range:t}))):e.isText?(s+=null===(d=null==e?void 0:e.text)||void 0===d?void 0:d.slice(Math.max(r,n)-n,i-n),l=!1):e.isBlock&&!l&&(s+=o,l=!0)})),s}function Io(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const No=Do.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new gt({key:new bt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,{ranges:o}=i,a=Math.min(...o.map((e=>e.$from.pos))),s=Math.max(...o.map((e=>e.$to.pos)));return Ro(r,{from:a,to:s},{textSerializers:Io(n)})}}})]}});function jo(e,t,n={strict:!0}){const r=Object.keys(t);return!r.length||r.every((r=>n.strict?t[r]===e[r]:xo(t[r])?t[r].test(e[r]):t[r]===e[r]))}function Bo(e,t,n={}){return e.find((e=>e.type===t&&jo(e.attrs,n)))}function Fo(e,t,n={}){return!!Bo(e,t,n)}function Ho(e,t,n={}){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(e.parentOffset===r.offset&&0!==r.offset&&(r=e.parent.childBefore(e.parentOffset)),!r.node)return;const i=Bo([...r.node.marks],t,n);if(!i)return;let o=r.index,a=e.start()+r.offset,s=o+1,l=a+r.node.nodeSize;for(Bo([...r.node.marks],t,n);o>0&&i.isInSet(e.parent.child(o-1).marks);)o-=1,a-=e.parent.child(o).nodeSize;for(;s<e.parent.childCount&&Fo([...e.parent.child(s).marks],t,n);)l+=e.parent.child(s).nodeSize,s+=1;return{from:a,to:l}}function zo(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function Vo(e){return e instanceof tt}function Uo(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function $o(e,t=null){if(!t)return null;const n=Qe.atStart(e),r=Qe.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return r;const i=n.from,o=r.to;return"all"===t?tt.create(e,Uo(0,i,o),Uo(e.content.size,i,o)):tt.create(e,Uo(t,i,o),Uo(t,i,o))}function Go(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function qo(e){const t=`<body>${e}</body>`;return(new window.DOMParser).parseFromString(t,"text/html").body}function Wo(e,t,n){if(n={slice:!0,parseOptions:{},...n},"object"==typeof e&&null!==e)try{return Array.isArray(e)&&e.length>0?s.fromArray(e.map((e=>t.nodeFromJSON(e)))):t.nodeFromJSON(e)}catch(r){return i.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",r),Wo("",t,n)}if("string"==typeof e){const r=Q.fromSchema(t);return n.slice?r.parseSlice(qo(e),n.parseOptions).content:r.parse(qo(e),n.parseOptions)}return Wo("",t,n)}function Zo(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Yo(e,t,n={}){const{from:r,to:i,empty:o}=e.selection,a=t?fo(t,e.schema):null,s=[];e.doc.nodesBetween(r,i,((e,t)=>{if(e.isText)return;const n=Math.max(r,t),o=Math.min(i,t+e.nodeSize);s.push({node:e,from:n,to:o})}));const l=i-r,c=s.filter((e=>!a||a.name===e.node.type.name)).filter((e=>jo(e.node.attrs,n,{strict:!1})));return o?!!c.length:c.reduce(((e,t)=>e+t.to-t.from),0)>=l}function Ko(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Qo(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,r)=>(n.includes(r)||(t[r]=e[r]),t)),{})}function Xo(e,t,n={}){return Wo(e,t,{slice:!1,parseOptions:n})}function Jo(e,t){const n=zo(t,e.schema),{from:r,to:i,empty:o}=e.selection,a=[];o?(e.storedMarks&&a.push(...e.storedMarks),a.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,i,(e=>{a.push(...e.marks)}));const s=a.find((e=>e.type.name===n.name));return s?{...s.attrs}:{}}function ea(e,t){for(let n=e.depth;n>0;n-=1){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function ta(e){return t=>ea(t.$from,e)}function na(e,t){const n=Ko("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=fo(t,e.schema),{from:r,to:i}=e.selection,o=[];e.doc.nodesBetween(r,i,(e=>{o.push(e)}));const a=o.reverse().find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}(e,t):"mark"===n?Jo(e,t):{}}function ra(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach((t=>{const i=Ho(n.resolve(e-1),t.type);i&&r.push({mark:t,...i})})):n.nodesBetween(e,t,((e,t)=>{r.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),r}function ia(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const r=e.find((e=>e.type===t&&e.name===n));return!!r&&r.attribute.keepOnSplit})))}function oa(e,t,n={}){const{empty:r,ranges:i}=e.selection,o=t?zo(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!o||o.name===e.type.name)).find((e=>jo(e.attrs,n,{strict:!1})));let a=0;const s=[];if(i.forEach((({$from:t,$to:n})=>{const r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(r,t),o=Math.min(i,t+e.nodeSize);a+=o-n,s.push(...e.marks.map((e=>({mark:e,from:n,to:o}))))}))})),0===a)return!1;const l=s.filter((e=>!o||o.name===e.mark.type.name)).filter((e=>jo(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),c=s.filter((e=>!o||e.mark.type!==o&&e.mark.type.excludes(o))).reduce(((e,t)=>e+t.to-t.from),0);return(l>0?l+c:l)>=a}function aa(e,t){const{nodeExtensions:n}=uo(t),r=n.find((t=>t.name===e));if(!r)return!1;const i=vo(co(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"==typeof i&&i.split(" ").includes("list")}function sa(e,t,n){const r=e.state.doc.content.size,i=Uo(t,0,r),o=Uo(n,0,r),a=e.coordsAtPos(i),s=e.coordsAtPos(o,-1),l=Math.min(a.top,s.top),c=Math.max(a.bottom,s.bottom),u=Math.min(a.left,s.left),d=Math.max(a.right,s.right),p={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...p,toJSON:()=>p}}function la(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(r)}}const ca=(e,t)=>{const n=ta((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const i=e.doc.nodeAt(r);return n.node.type!==(null==i?void 0:i.type)||!Le(e.doc,n.pos)||(e.join(n.pos),!0)},ua=(e,t)=>{const n=ta((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const i=e.doc.nodeAt(r);return n.node.type!==(null==i?void 0:i.type)||!Le(e.doc,r)||(e.join(r),!0)};var da=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:i}=r;return!n||(i.forEach((({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,((e,n)=>{if(e.type.isText)return;const{doc:r,mapping:i}=t,o=r.resolve(i.map(n)),a=r.resolve(i.map(n+e.nodeSize)),s=o.blockRange(a);if(!s)return;const l=Oe(s);if(e.type.isTextblock){const{defaultType:e}=o.parent.contentMatchAt(o.index());t.setNodeMarkup(s.start,e)}(l||0===l)&&t.lift(s,l)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>Zi(e,t),cut:(e,t)=>({editor:n,tr:r})=>{const{state:i}=n,o=i.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);const a=r.mapping.map(t);return r.insert(a,o.content),r.setSelection(new tt(r.doc.resolve(a-1))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const i=e.selection.$anchor;for(let n=i.depth;n>0;n-=1)if(i.node(n).type===r.type){if(t){const t=i.before(n),r=i.after(n);e.delete(t,r).scrollIntoView()}return!0}return!1},deleteNode:e=>({tr:t,state:n,dispatch:r})=>{const i=fo(e,n.schema),o=t.selection.$anchor;for(let e=o.depth;e>0;e-=1)if(o.node(e).type===i){if(r){const n=o.before(e),r=o.after(e);t.delete(n,r).scrollIntoView()}return!0}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:r,to:i}=e;return n&&t.delete(r,i),!0},deleteSelection:()=>({state:e,dispatch:t})=>ji(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>Wi(e,t),extendMarkRange:(e,t={})=>({tr:n,state:r,dispatch:i})=>{const o=zo(e,r.schema),{doc:a,selection:s}=n,{$from:l,from:c,to:u}=s;if(i){const e=Ho(l,o,t);if(e&&e.from<=c&&e.to>=u){const t=tt.create(a,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"==typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:o})=>{t={scrollIntoView:!0,...t};const a=()=>{Go()&&r.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(r.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())}))};if(r.hasFocus()&&null===e||!1===e)return!0;if(o&&null===e&&!Vo(n.state.selection))return a(),!0;const s=$o(i.doc,e)||n.state.selection,l=n.state.selection.eq(s);return o&&(l||i.setSelection(s),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),a()),!0},forEach:(e,t)=>n=>e.every(((e,r)=>t(e,{...n,index:r}))),insertContent:(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:r,dispatch:i,editor:o})=>{if(i){n={parseOptions:{},updateSelection:!0,...n};const i=Wo(t,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions}});if("<>"===i.toString())return!0;let{from:a,to:s}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},l=!0,c=!0;if((i.toString().startsWith("<")?i:[i]).forEach((e=>{e.check(),l=!!l&&e.isText&&0===e.marks.length,c=!!c&&e.isBlock})),a===s&&c){const{parent:e}=r.doc.resolve(a);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(a-=1,s+=1)}l?Array.isArray(t)?r.insertText(t.map((e=>e.text||"")).join(""),a,s):"object"==typeof t&&t&&t.text?r.insertText(t.text,a,s):r.insertText(t,a,s):r.replaceWith(a,s,i),n.updateSelection&&function(e,t,n){const r=e.steps.length-1;if(r<t)return;const i=e.steps[r];if(!(i instanceof Ee||i instanceof ke))return;const o=e.mapping.maps[r];let a=0;o.forEach(((e,t,n,r)=>{0===a&&(a=r)})),e.setSelection(Qe.near(e.doc.resolve(a),-1))}(r,r.steps.length-1)}return!0},joinUp:()=>({state:e,dispatch:t})=>((e,t)=>{let n,r=e.selection,i=r instanceof rt;if(i){if(r.node.isTextblock||!Le(e.doc,r.from))return!1;n=r.from}else if(n=Re(e.doc,r.from,-1),null==n)return!1;if(t){let r=e.tr.join(n);i&&r.setSelection(rt.create(r.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(r.scrollIntoView())}return!0})(e,t),joinDown:()=>({state:e,dispatch:t})=>((e,t)=>{let n,r=e.selection;if(r instanceof rt){if(r.node.isTextblock||!Le(e.doc,r.to))return!1;n=r.to}else if(n=Re(e.doc,r.to,1),null==n)return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinBackward:()=>({state:e,dispatch:t})=>Bi(e,t),joinForward:()=>({state:e,dispatch:t})=>Vi(e,t),joinItemBackward:()=>({tr:e,state:t,dispatch:n})=>{try{const r=Re(t.doc,t.selection.$from.pos,-1);return null!=r&&(e.join(r,2),n&&n(e),!0)}catch{return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=Re(e.doc,e.selection.$from.pos,1);return null!=r&&(n.join(r,2),t&&t(n),!0)}catch(e){return!1}},keyboardShortcut:e=>({editor:t,view:n,tr:r,dispatch:i})=>{const o=function(e){const t=e.split(/-(?!$)/);let n,r,i,o,a=t[t.length-1];"Space"===a&&(a=" ");for(let e=0;e<t.length-1;e+=1){const a=t[e];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else if(/^s(hift)?$/i.test(a))i=!0;else{if(!/^mod$/i.test(a))throw new Error(`Unrecognized modifier name: ${a}`);Go()||Zo()?o=!0:r=!0}}return n&&(a=`Alt-${a}`),r&&(a=`Ctrl-${a}`),o&&(a=`Meta-${a}`),i&&(a=`Shift-${a}`),a}(e).split(/-(?!$)/),a=o.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),s=new KeyboardEvent("keydown",{key:"Space"===a?" ":a,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,s)))}));return null==l||l.steps.forEach((e=>{const t=e.map(r.mapping);t&&i&&r.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:r})=>!!Yo(n,fo(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),o=i&&Oe(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)})(n,r),liftEmptyBlock:()=>({state:e,dispatch:t})=>Yi(e,t),liftListItem:e=>({state:t,dispatch:n})=>function(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==e));return!!o&&(!n||(r.node(o.depth-1).type==e?function(e,t,n,r){let i=e.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new ke(o-1,a,o,a,new f(s.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new M(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const l=Oe(r);if(null==l)return!1;i.lift(r,l);let c=i.mapping.map(o,-1)-1;return Le(i.doc,c)&&i.join(c),t(i.scrollIntoView()),!0}(t,n,e,o):function(e,t,n){let r=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,o=n.startIndex;t>o;t--)e-=i.child(t).nodeSize,r.delete(e-1,e+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let l=0==n.startIndex,c=n.endIndex==i.childCount,u=o.node(-1),d=o.index(-1);if(!u.canReplace(d+(l?0:1),d+1,a.content.append(c?s.empty:s.from(i))))return!1;let p=o.pos,h=p+a.nodeSize;return r.step(new ke(p-(l?1:0),h+(c?1:0),p+1,h-1,new f((l?s.empty:s.from(i.copy(s.empty))).append(c?s.empty:s.from(i.copy(s.empty))),l?0:1,c?0:1),l?0:1)),t(r.scrollIntoView()),!0}(t,n,o)))}}(fo(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>Gi(e,t),resetAttributes:(e,t)=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=Ko("string"==typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(o=fo(e,r.schema)),"mark"===s&&(a=zo(e,r.schema)),i&&n.selection.ranges.forEach((e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,r)=>{o&&o===e.type&&n.setNodeMarkup(r,void 0,Qo(e.attrs,t)),a&&e.marks.length&&e.marks.forEach((i=>{a===i.type&&n.addMark(r,r+e.nodeSize,a.create(Qo(i.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=>({state:e,dispatch:t})=>Hi(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>Ui(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:r,to:i}=e.selection,o=r.sharedDepth(i);return 0!=o&&(n=r.before(o),t&&t(e.tr.setSelection(rt.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>Ji(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>Xi(e,t),setContent:(e,t=!1,n={})=>({tr:r,editor:i,dispatch:o})=>{const{doc:a}=r,s=Xo(e,i.schema,n);return o&&r.replaceWith(0,a.content.size,s).setMeta("preventUpdate",!t),!0},setMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{const{selection:o}=n,{empty:a,ranges:s}=o,l=zo(e,r.schema);if(i)if(a){const e=Jo(r,l);n.addStoredMark(l.create({...e,...t}))}else s.forEach((e=>{const i=e.$from.pos,o=e.$to.pos;r.doc.nodesBetween(i,o,((e,r)=>{const a=Math.max(r,i),s=Math.min(r+e.nodeSize,o);e.marks.find((e=>e.type===l))?e.marks.forEach((e=>{l===e.type&&n.addMark(a,s,l.create({...e.attrs,...t}))})):n.addMark(a,s,l.create(t))}))}));return function(e,t,n){var r;const{selection:i}=t;let o=null;if(Vo(i)&&(o=i.$cursor),o){const t=null!==(r=e.storedMarks)&&void 0!==r?r:o.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:a}=i;return a.some((({$from:t,$to:r})=>{let i=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,((e,t,r)=>{if(i)return!1;if(e.isInline){const t=!r||r.type.allowsMarkType(n),o=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));i=t&&o}return!i})),i}))}(r,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:r,chain:o})=>{const a=fo(e,n.schema);return a.isTextblock?o().command((({commands:e})=>!!eo(a,t)(n)||e.clearNodes())).command((({state:e})=>eo(a,t)(e,r))).run():(i.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,r=Uo(e,0,n.content.size),i=rt.create(n,r);t.setSelection(i)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:r,to:i}="number"==typeof e?{from:e,to:e}:e,o=tt.atStart(n).from,a=tt.atEnd(n).to,s=Uo(r,o,a),l=Uo(i,o,a),c=tt.create(n,s,l);t.setSelection(c)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const r=fo(e,t.schema);return(i=r,function(e,t){let{$from:n,$to:r}=e.selection,o=n.blockRange(r,(e=>e.childCount>0&&e.firstChild.type==i));if(!o)return!1;let a=o.startIndex;if(0==a)return!1;let l=o.parent,c=l.child(a-1);if(c.type!=i)return!1;if(t){let n=c.lastChild&&c.lastChild.type==l.type,r=s.from(n?i.create():null),a=new f(s.from(i.create(null,s.from(l.type.create(null,r)))),n?3:1,0),u=o.start,d=o.end;t(e.tr.step(new ke(u-(n?3:1),d,u,d,a,1,!0)).scrollIntoView())}return!0})(t,n);var i},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:i})=>{const{selection:o,doc:a}=t,{$from:s,$to:l}=o,c=ia(i.extensionManager.attributes,s.node().type.name,s.node().attrs);if(o instanceof rt&&o.node.isBlock)return!(!s.parentOffset||!Pe(a,s.pos)||(r&&(e&&la(n,i.extensionManager.splittableMarks),t.split(s.pos).scrollIntoView()),0));if(!s.parent.isBlock)return!1;if(r){const r=l.parentOffset===l.parent.content.size;o instanceof tt&&t.deleteSelection();const a=0===s.depth?void 0:function(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(s.node(-1).contentMatchAt(s.indexAfter(-1)));let u=r&&a?[{type:a,attrs:c}]:void 0,d=Pe(t.doc,t.mapping.map(s.pos),1,u);if(u||d||!Pe(t.doc,t.mapping.map(s.pos),1,a?[{type:a}]:void 0)||(d=!0,u=a?[{type:a,attrs:c}]:void 0),d&&(t.split(t.mapping.map(s.pos),1,u),a&&!r&&!s.parentOffset&&s.parent.type!==a)){const e=t.mapping.map(s.before()),n=t.doc.resolve(e);s.node(-1).canReplaceWith(n.index(),n.index()+1,a)&&t.setNodeMarkup(t.mapping.map(s.before()),a)}e&&la(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return!0},splitListItem:e=>({tr:t,state:n,dispatch:r,editor:i})=>{var o;const a=fo(e,n.schema),{$from:l,$to:c}=n.selection,u=n.selection.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(c))return!1;const d=l.node(-1);if(d.type!==a)return!1;const p=i.extensionManager.attributes;if(0===l.parent.content.size&&l.node(-1).childCount===l.indexAfter(-1)){if(2===l.depth||l.node(-3).type!==a||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let e=s.empty;const n=l.index(-1)?1:l.index(-2)?2:3;for(let t=l.depth-n;t>=l.depth-3;t-=1)e=s.from(l.node(t).copy(e));const r=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,i=ia(p,l.node().type.name,l.node().attrs),c=(null===(o=a.contentMatch.defaultType)||void 0===o?void 0:o.createAndFill(i))||void 0;e=e.append(s.from(a.createAndFill(null,c)||void 0));const u=l.before(l.depth-(n-1));t.replace(u,l.after(-r),new f(e,4-n,0));let d=-1;t.doc.nodesBetween(u,t.doc.content.size,((e,t)=>{if(d>-1)return!1;e.isTextblock&&0===e.content.size&&(d=t+1)})),d>-1&&t.setSelection(tt.near(t.doc.resolve(d))),t.scrollIntoView()}return!0}const h=c.pos===l.end()?d.contentMatchAt(0).defaultType:null,m=ia(p,d.type.name,d.attrs),g=ia(p,l.node().type.name,l.node().attrs);t.delete(l.pos,c.pos);const v=h?[{type:a,attrs:m},{type:h,attrs:g}]:[{type:a,attrs:m}];if(!Pe(t.doc,l.pos,2))return!1;if(r){const{selection:e,storedMarks:o}=n,{splittableMarks:a}=i.extensionManager,s=o||e.$to.parentOffset&&e.$from.marks();if(t.split(l.pos,2,v).scrollIntoView(),!s||!r)return!0;const c=s.filter((e=>a.includes(e.type.name)));t.ensureMarks(c)}return!0},toggleList:(e,t,n,r={})=>({editor:i,tr:o,state:a,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:p}=i.extensionManager,f=fo(e,a.schema),h=fo(t,a.schema),{selection:m,storedMarks:g}=a,{$from:v,$to:y}=m,b=v.blockRange(y),w=g||m.$to.parentOffset&&m.$from.marks();if(!b)return!1;const _=ta((e=>aa(e.type.name,d)))(m);if(b.depth>=1&&_&&b.depth-_.depth<=1){if(_.node.type===f)return c.liftListItem(h);if(aa(_.node.type.name,d)&&f.validContent(_.node.content)&&s)return l().command((()=>(o.setNodeMarkup(_.pos,f),!0))).command((()=>ca(o,f))).command((()=>ua(o,f))).run()}return n&&w&&s?l().command((()=>{const e=u().wrapInList(f,r),t=w.filter((e=>p.includes(e.type.name)));return o.ensureMarks(t),!!e||c.clearNodes()})).wrapInList(f,r).command((()=>ca(o,f))).command((()=>ua(o,f))).run():l().command((()=>!!u().wrapInList(f,r)||c.clearNodes())).wrapInList(f,r).command((()=>ca(o,f))).command((()=>ua(o,f))).run()},toggleMark:(e,t={},n={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:o=!1}=n,a=zo(e,r.schema);return oa(r,a,t)?i.unsetMark(a,{extendEmptyMarkRange:o}):i.setMark(a,t)},toggleNode:(e,t,n={})=>({state:r,commands:i})=>{const o=fo(e,r.schema),a=fo(t,r.schema);return Yo(r,o,n)?i.setNode(a):i.setNode(o,n)},toggleWrap:(e,t={})=>({state:n,commands:r})=>{const i=fo(e,n.schema);return Yo(n,i,t)?r.lift(i):r.wrapIn(i,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const i=n[r];let o;if(i.spec.isInputRules&&(o=i.getState(e))){if(t){const t=e.tr,n=o.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(o.text){const n=t.doc.resolve(o.from).marks();t.replaceWith(o.from,o.to,e.schema.text(o.text,n))}else t.delete(o.from,o.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:i}=n;return r||t&&i.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{var o;const{extendEmptyMarkRange:a=!1}=t,{selection:s}=n,l=zo(e,r.schema),{$from:c,empty:u,ranges:d}=s;if(!i)return!0;if(u&&a){let{from:e,to:t}=s;const r=null===(o=c.marks().find((e=>e.type===l)))||void 0===o?void 0:o.attrs,i=Ho(c,l,r);i&&(e=i.from,t=i.to),n.removeMark(e,t,l)}else d.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:r,dispatch:i})=>{let o=null,a=null;const s=Ko("string"==typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(o=fo(e,r.schema)),"mark"===s&&(a=zo(e,r.schema)),i&&n.selection.ranges.forEach((e=>{const i=e.$from.pos,s=e.$to.pos;r.doc.nodesBetween(i,s,((e,r)=>{o&&o===e.type&&n.setNodeMarkup(r,void 0,{...e.attrs,...t}),a&&e.marks.length&&e.marks.forEach((o=>{if(a===o.type){const l=Math.max(r,i),c=Math.min(r+e.nodeSize,s);n.addMark(l,c,a.create({...o.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:r})=>function(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&Me(a,e,t);return!!s&&(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0)}}(fo(e,n.schema),t)(n,r),wrapInList:(e,t={})=>({state:n,dispatch:r})=>function(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),l=!1,c=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(e)&&0==a.startIndex){if(0==i.index(a.depth-1))return!1;let e=n.doc.resolve(a.start-2);c=new M(e,e,a.depth),a.endIndex<a.parent.childCount&&(a=new M(i,n.doc.resolve(o.end(a.depth)),a.depth)),l=!0}let u=Me(c,e,t,a);return!!u&&(r&&r(function(e,t,n,r,i){let o=s.empty;for(let e=n.length-1;e>=0;e--)o=s.from(n[e].type.create(n[e].attrs,o));e.step(new ke(t.start-(r?2:0),t.end,t.start,t.end,new f(o,0,0),n.length,!0));let a=0;for(let e=0;e<n.length;e++)n[e].type==i&&(a=e+1);let l=n.length-a,c=t.start+n.length-(r?2:0),u=t.parent;for(let n=t.startIndex,r=t.endIndex,i=!0;n<r;n++,i=!1)!i&&Pe(e.doc,c,l)&&(e.split(c,l),c+=2*l),c+=u.child(n).nodeSize;return e}(n.tr,a,u,l,e).scrollIntoView()),!0)}}(fo(e,n.schema),t)(n,r)});const pa=Do.create({name:"commands",addCommands:()=>({...da})}),fa=Do.create({name:"editable",addProseMirrorPlugins(){return[new gt({key:new bt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),ha=Do.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new gt({key:new bt("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),ma=Do.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:r}=t,{empty:i,$anchor:o}=n,{pos:a,parent:s}=o,l=o.parent.isTextblock?t.doc.resolve(a-1):o,c=l.parent.type.spec.isolating,u=o.pos-o.parentOffset,d=c&&1===l.parent.childCount?u===o.pos:Qe.atStart(r).from===a;return!(!(i&&d&&s.type.isTextblock)||s.textContent.length)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Go()||Zo()?i:r},addProseMirrorPlugins(){return[new gt({key:new bt("clearDocument"),appendTransaction:(e,t,n)=>{if(!e.some((e=>e.docChanged))||t.doc.eq(n.doc))return;const{empty:r,from:i,to:o}=t.selection,a=Qe.atStart(t.doc).from,s=Qe.atEnd(t.doc).to;if(r||i!==a||o!==s)return;if(0!==n.doc.textBetween(0,n.doc.content.size," "," ").length)return;const l=n.tr,c=ao({state:n,transaction:l}),{commands:u}=new so({editor:this.editor,state:c});return u.clearNodes(),l.steps.length?l:void 0}})]}}),ga=Do.create({name:"tabindex",addProseMirrorPlugins(){return[new gt({key:new bt("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var va=Object.freeze({__proto__:null,ClipboardTextSerializer:No,Commands:pa,Editable:fa,FocusEvents:ha,Keymap:ma,Tabindex:ga});class ya extends lo{constructor(e={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(e,t,n){const r=document.querySelector("style[data-tiptap-style]");if(null!==r)return r;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML='.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',document.getElementsByTagName("head")[0].appendChild(i),i}(0,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=go(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});this.view.updateState(r)}unregisterPlugin(e){if(this.isDestroyed)return;const t="string"==typeof e?`${e}$`:e.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((e=>!e.key.startsWith(t)))});this.view.updateState(n)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values(va):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new Ao(e,this)}createCommandManager(){this.commandManager=new so({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=Xo(this.options.content,this.schema,this.options.parseOptions),t=$o(e,this.options.autofocus);this.view=new _i(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:ht.create({doc:e,selection:t||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass(),this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const r=e.getMeta("focus"),i=e.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return na(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,r="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Yo(e,null,n)||oa(e,null,n);const r=Ko(t,e.schema);return"node"===r?Yo(e,t,n):"mark"===r&&oa(e,t,n)}(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function(e,t){const n=se.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return function(e,t){return Ro(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...Io(this.schema),...n}})}get isEmpty(){return function(e){var t;const n=null===(t=e.type.createAndFill())||void 0===t?void 0:t.toJSON(),r=e.toJSON();return JSON.stringify(n)===JSON.stringify(r)}(this.state.doc)}getCharacterCount(){return i.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}}function ba(e){return new Eo({find:e.find,handler:({state:t,range:n,match:r})=>{const i=vo(e.getAttributes,void 0,r);if(!1===i||null===i)return null;const{tr:o}=t,a=r[r.length-1],s=r[0];if(a){const r=s.search(/\S/),l=n.from+s.indexOf(a),c=l+a.length;if(ra(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>l)).length)return null;c<n.to&&o.delete(c,n.to),l>n.from&&o.delete(n.from+r,l);const u=n.from+r+a.length;o.addMark(n.from+r,u,e.type.create(i||{})),o.removeStoredMark(e.type)}}})}function wa(e){return new Eo({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{const o=vo(e.getAttributes,void 0,r)||{},a=t.tr.delete(n.from,n.to),s=a.doc.resolve(n.from).blockRange(),l=s&&Me(s,e.type,o);if(!l)return null;if(a.wrap(s,l),e.keepMarks&&e.editor){const{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,o=r||n.$to.parentOffset&&n.$from.marks();if(o){const e=o.filter((e=>i.includes(e.type.name)));a.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";i().updateAttributes(t,o).run()}const c=a.doc.resolve(n.from-1).nodeBefore;c&&c.type===e.type&&Le(a.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,c))&&a.join(n.from-1)}})}class _a{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=vo(co(this,"addOptions",{name:this.name}))),this.storage=vo(co(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new _a(e)}configure(e={}){const t=this.extend();return t.options=Lo(this.options,e),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new _a(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=vo(co(t,"addOptions",{name:t.name})),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const i=r.marks();if(!i.find((e=>(null==e?void 0:e.type.name)===t.name)))return!1;const o=i.find((e=>(null==e?void 0:e.type.name)===t.name));return o&&n.removeStoredMark(o),n.insertText(" ",r.pos),e.view.dispatch(n),!0}return!1}}class Sa{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=vo(co(this,"addOptions",{name:this.name}))),this.storage=vo(co(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Sa(e)}configure(e={}){const t=this.extend();return t.options=Lo(this.options,e),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Sa(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&i.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=vo(co(t,"addOptions",{name:t.name})),t.storage=vo(co(t,"addStorage",{name:t.name,options:t.options})),t}}class xa{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,r,i,o,a,s;const{view:l}=this.editor,c=e.target,u=3===c.nodeType?null===(t=c.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):c.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(c))||!u)return;let d=0,p=0;if(this.dom!==u){const t=this.dom.getBoundingClientRect(),n=u.getBoundingClientRect(),s=null!==(r=e.offsetX)&&void 0!==r?r:null===(i=e.nativeEvent)||void 0===i?void 0:i.offsetX,l=null!==(o=e.offsetY)&&void 0!==o?o:null===(a=e.nativeEvent)||void 0===a?void 0:a.offsetY;d=n.x-t.x+s,p=n.y-t.y+l}null===(s=e.dataTransfer)||void 0===s||s.setDragImage(this.dom,d,p);const f=rt.create(l.state.doc,this.getPos()),h=l.state.tr.setSelection(f);l.dispatch(h)}stopEvent(e){var t;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!this.dom.contains(n)||(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n)))return!1;const r=e.type.startsWith("drag"),i="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!i&&!r)return!0;const{isEditable:o}=this.editor,{isDragging:a}=this,s=!!this.node.type.spec.draggable,l=rt.isSelectable(this.node),c="copy"===e.type,u="paste"===e.type,d="cut"===e.type,p="mousedown"===e.type;if(!s&&l&&r&&e.preventDefault(),s&&r&&!a)return e.preventDefault(),!1;if(s&&o&&!a&&p){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("drop",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("mouseup",(()=>{this.isDragging=!1}),{once:!0}))}return!(a||i||c||u||d||p&&l)}ignoreMutation(e){return!this.dom||!this.contentDOM||("function"==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:e}):!(!this.node.isLeaf&&!this.node.isAtom&&("selection"===e.type||this.dom.contains(e.target)&&"childList"===e.type&&(Go()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&this.editor.isFocused&&[...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every((e=>e.isContentEditable))||(this.contentDOM!==e.target||"attributes"!==e.type)&&this.contentDOM.contains(e.target))))}updateAttributes(e){this.editor.commands.command((({tr:t})=>{const n=this.getPos();return t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0}))}deleteNode(){const e=this.getPos(),t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}function Ea(e){return new Oo({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{const o=vo(e.getAttributes,void 0,r,i);if(!1===o||null===o)return null;const{tr:a}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const r=l.search(/\S/),i=n.from+l.indexOf(s),u=i+s.length;if(ra(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>i)).length)return null;u<n.to&&a.delete(u,n.to),i>n.from&&a.delete(n.from+r,i),c=n.from+r+s.length,a.addMark(n.from+r,c,e.type.create(o||{})),a.removeStoredMark(e.type)}}})}function ka(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ca(e){return e instanceof ka(e).Element||e instanceof Element}function Ta(e){return e instanceof ka(e).HTMLElement||e instanceof HTMLElement}function Oa(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ka(e).ShadowRoot||e instanceof ShadowRoot)}var Ma=Math.max,Aa=Math.min,Pa=Math.round;function La(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Da(){return!/^((?!chrome|android).)*safari/i.test(La())}function Ra(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ta(e)&&(i=e.offsetWidth>0&&Pa(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Pa(r.height)/e.offsetHeight||1);var a=(Ca(e)?ka(e):window).visualViewport,s=!Da()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,u=r.width/i,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Ia(e){var t=ka(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Na(e){return e?(e.nodeName||"").toLowerCase():null}function ja(e){return((Ca(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ba(e){return Ra(ja(e)).left+Ia(e).scrollLeft}function Fa(e){return ka(e).getComputedStyle(e)}function Ha(e){var t=Fa(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function za(e,t,n){void 0===n&&(n=!1);var r,i,o=Ta(t),a=Ta(t)&&function(e){var t=e.getBoundingClientRect(),n=Pa(t.width)/e.offsetWidth||1,r=Pa(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=ja(t),l=Ra(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Na(t)||Ha(s))&&(c=(r=t)!==ka(r)&&Ta(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Ia(r)),Ta(t)?((u=Ra(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Ba(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Va(e){var t=Ra(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ua(e){return"html"===Na(e)?e:e.assignedSlot||e.parentNode||(Oa(e)?e.host:null)||ja(e)}function $a(e){return["html","body","#document"].indexOf(Na(e))>=0?e.ownerDocument.body:Ta(e)&&Ha(e)?e:$a(Ua(e))}function Ga(e,t){var n;void 0===t&&(t=[]);var r=$a(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=ka(r),a=i?[o].concat(o.visualViewport||[],Ha(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Ga(Ua(a)))}function qa(e){return["table","td","th"].indexOf(Na(e))>=0}function Wa(e){return Ta(e)&&"fixed"!==Fa(e).position?e.offsetParent:null}function Za(e){for(var t=ka(e),n=Wa(e);n&&qa(n)&&"static"===Fa(n).position;)n=Wa(n);return n&&("html"===Na(n)||"body"===Na(n)&&"static"===Fa(n).position)?t:n||function(e){var t=/firefox/i.test(La());if(/Trident/i.test(La())&&Ta(e)&&"fixed"===Fa(e).position)return null;var n=Ua(e);for(Oa(n)&&(n=n.host);Ta(n)&&["html","body"].indexOf(Na(n))<0;){var r=Fa(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ya="top",Ka="bottom",Qa="right",Xa="left",Ja="auto",es=[Ya,Ka,Qa,Xa],ts="start",ns="end",rs="viewport",is="popper",as=es.reduce((function(e,t){return e.concat([t+"-"+ts,t+"-"+ns])}),[]),ss=[].concat(es,[Ja]).reduce((function(e,t){return e.concat([t,t+"-"+ts,t+"-"+ns])}),[]),ls=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function cs(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var us={placement:"bottom",modifiers:[],strategy:"absolute"};function ds(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}var ps={passive:!0};const fs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=ka(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ps)})),s&&l.addEventListener("resize",n.update,ps),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ps)})),s&&l.removeEventListener("resize",n.update,ps)}},data:{}};function hs(e){return e.split("-")[0]}function ms(e){return e.split("-")[1]}function gs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vs(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?hs(i):null,a=i?ms(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Ya:t={x:s,y:n.y-r.height};break;case Ka:t={x:s,y:n.y+n.height};break;case Qa:t={x:n.x+n.width,y:l};break;case Xa:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?gs(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ts:t[c]=t[c]-(n[u]/2-r[u]/2);break;case ns:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ys={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bs(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Xa,w=Ya,_=window;if(c){var S=Za(n),x="clientHeight",E="clientWidth";S===ka(n)&&"static"!==Fa(S=ja(n)).position&&"absolute"===s&&(x="scrollHeight",E="scrollWidth"),(i===Ya||(i===Xa||i===Qa)&&o===ns)&&(w=Ka,m-=(d&&S===_&&_.visualViewport?_.visualViewport.height:S[x])-r.height,m*=l?1:-1),i!==Xa&&(i!==Ya&&i!==Ka||o!==ns)||(b=Qa,f-=(d&&S===_&&_.visualViewport?_.visualViewport.width:S[E])-r.width,f*=l?1:-1)}var k,C=Object.assign({position:s},c&&ys),T=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Pa(n*i)/i||0,y:Pa(r*i)/i||0}}({x:f,y:m},ka(n)):{x:f,y:m};return f=T.x,m=T.y,l?Object.assign({},C,((k={})[w]=y?"0":"",k[b]=v?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}const ws={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:hs(t.placement),variation:ms(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,bs(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,bs(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},_s={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];Ta(i)&&Na(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ta(r)&&Na(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Ss={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=ss.reduce((function(e,n){return e[n]=function(e,t,n){var r=hs(e),i=[Xa,Ya].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Xa,Qa].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var xs={left:"right",right:"left",bottom:"top",top:"bottom"};function Es(e){return e.replace(/left|right|bottom|top/g,(function(e){return xs[e]}))}var ks={start:"end",end:"start"};function Cs(e){return e.replace(/start|end/g,(function(e){return ks[e]}))}function Ts(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Oa(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Os(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ms(e,t,n){return t===rs?Os(function(e,t){var n=ka(e),r=ja(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Da();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Ba(e),y:l}}(e,n)):Ca(t)?function(e,t){var n=Ra(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Os(function(e){var t,n=ja(e),r=Ia(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Ma(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ma(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Ba(e),l=-r.scrollTop;return"rtl"===Fa(i||n).direction&&(s+=Ma(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(ja(e)))}function As(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ps(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ls(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?rs:c,d=n.elementContext,p=void 0===d?is:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=As("number"!=typeof g?g:Ps(g,es)),y=p===is?"reference":is,b=e.rects.popper,w=e.elements[h?y:p],_=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=Ga(Ua(e)),n=["absolute","fixed"].indexOf(Fa(e).position)>=0&&Ta(e)?Za(e):e;return Ca(n)?t.filter((function(e){return Ca(e)&&Ts(e,n)&&"body"!==Na(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=Ms(e,n,r);return t.top=Ma(i.top,t.top),t.right=Aa(i.right,t.right),t.bottom=Aa(i.bottom,t.bottom),t.left=Ma(i.left,t.left),t}),Ms(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Ca(w)?w:w.contextElement||ja(e.elements.popper),l,u,a),S=Ra(e.elements.reference),x=vs({reference:S,element:b,strategy:"absolute",placement:i}),E=Os(Object.assign({},b,x)),k=p===is?E:S,C={top:_.top-k.top+v.top,bottom:k.bottom-_.bottom+v.bottom,left:_.left-k.left+v.left,right:k.right-_.right+v.right},T=e.modifiersData.offset;if(p===is&&T){var O=T[i];Object.keys(C).forEach((function(e){var t=[Qa,Ka].indexOf(e)>=0?1:-1,n=[Ya,Ka].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}const Ds={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=hs(g),y=l||(v!==g&&h?function(e){if(hs(e)===Ja)return[];var t=Es(e);return[Cs(e),t,Cs(t)]}(g):[Es(g)]),b=[g].concat(y).reduce((function(e,n){return e.concat(hs(n)===Ja?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ss:l,u=ms(r),d=u?s?as:as.filter((function(e){return ms(e)===u})):es,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Ls(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[hs(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,S=new Map,x=!0,E=b[0],k=0;k<b.length;k++){var C=b[k],T=hs(C),O=ms(C)===ts,M=[Ya,Ka].indexOf(T)>=0,A=M?"width":"height",P=Ls(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),L=M?O?Qa:Xa:O?Ka:Ya;w[A]>_[A]&&(L=Es(L));var D=Es(L),R=[];if(o&&R.push(P[T]<=0),s&&R.push(P[L]<=0,P[D]<=0),R.every((function(e){return e}))){E=C,x=!1;break}S.set(C,R)}if(x)for(var I=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},N=h?3:1;N>0&&"break"!==I(N);N--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Rs(e,t,n){return Ma(e,Aa(t,n))}const Is={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Ls(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=hs(t.placement),y=ms(t.placement),b=!y,w=gs(v),_="x"===w?"y":"x",S=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(o){var M,A="y"===w?Ya:Xa,P="y"===w?Ka:Qa,L="y"===w?"height":"width",D=S[w],R=D+g[A],I=D-g[P],N=f?-E[L]/2:0,j=y===ts?x[L]:E[L],B=y===ts?-E[L]:-x[L],F=t.elements.arrow,H=f&&F?Va(F):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=z[A],U=z[P],$=Rs(0,x[L],H[L]),G=b?x[L]/2-N-$-V-C.mainAxis:j-$-V-C.mainAxis,q=b?-x[L]/2+N+$+U+C.mainAxis:B+$+U+C.mainAxis,W=t.elements.arrow&&Za(t.elements.arrow),Z=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,Y=null!=(M=null==T?void 0:T[w])?M:0,K=D+q-Y,Q=Rs(f?Aa(R,D+G-Y-Z):R,D,f?Ma(I,K):I);S[w]=Q,O[w]=Q-D}if(s){var X,J="x"===w?Ya:Xa,ee="x"===w?Ka:Qa,te=S[_],ne="y"===_?"height":"width",re=te+g[J],ie=te-g[ee],oe=-1!==[Ya,Xa].indexOf(v),ae=null!=(X=null==T?void 0:T[_])?X:0,se=oe?re:te-x[ne]-E[ne]-ae+C.altAxis,le=oe?te+x[ne]+E[ne]-ae-C.altAxis:ie,ce=f&&oe?function(e,t,n){var r=Rs(e,t,n);return r>n?n:r}(se,te,le):Rs(f?se:re,te,f?le:ie);S[_]=ce,O[_]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},Ns={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=hs(n.placement),l=gs(s),c=[Xa,Qa].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return As("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ps(e,es))}(i.padding,n),d=Va(o),p="y"===l?Ya:Xa,f="y"===l?Ka:Qa,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=Za(o),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[p],w=v-d[c]-u[f],_=v/2-d[c]/2+y,S=Rs(b,_,w),x=l;n.modifiersData[r]=((t={})[x]=S,t.centerOffset=S-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ts(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function js(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Bs(e){return[Ya,Qa,Ka,Xa].some((function(t){return e[t]>=0}))}var Fs=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?us:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},us,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:Ca(e)?Ga(e):e.contextElement?Ga(e.contextElement):[],popper:Ga(t)};var a=function(e){var t=cs(e);return ls.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ds(t,n)){s.rects={reference:za(t,Za(n),"fixed"===s.options.strategy),popper:Va(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,l=void 0===a?{}:a,d=i.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){d(),c=!0}};if(!ds(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}({defaultModifiers:[fs,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=vs({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ws,_s,Ss,Ds,Is,Ns,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Ls(t,{elementContext:"reference"}),s=Ls(t,{altBoundary:!0}),l=js(a,r),c=js(s,i,o),u=Bs(l),d=Bs(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Hs="tippy-content",zs="tippy-backdrop",Vs="tippy-arrow",Us="tippy-svg-arrow",$s={passive:!0,capture:!0},Gs=function(){return document.body};function qs(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ws(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Zs(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ys(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ks(e){return[].concat(e)}function Qs(e,t){-1===e.indexOf(t)&&e.push(t)}function Xs(e){return[].slice.call(e)}function Js(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function el(){return document.createElement("div")}function tl(e){return["Element","Fragment"].some((function(t){return Ws(e,t)}))}function nl(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function rl(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function il(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function ol(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var al={isTouch:!1},sl=0;function ll(){al.isTouch||(al.isTouch=!0,window.performance&&document.addEventListener("mousemove",cl))}function cl(){var e=performance.now();e-sl<20&&(al.isTouch=!1,document.removeEventListener("mousemove",cl)),sl=e}function ul(){var e=document.activeElement;if(function(e){return!(!e||!e._tippy||e._tippy.reference!==e)}(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var dl=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),pl=Object.assign({appendTo:Gs,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),fl=Object.keys(pl);function hl(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=pl[i])?r:o),t}),{});return Object.assign({},e,t)}function ml(e,t){var n=Object.assign({},t,{content:Zs(t.content,[e])},t.ignoreAttributes?{}:function(e,t){var n=(t?Object.keys(hl(Object.assign({},pl,{plugins:t}))):fl).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{});return n}(e,t.plugins));return n.aria=Object.assign({},pl.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var gl=function(){return"innerHTML"};function vl(e,t){e[gl()]=t}function yl(e){var t=el();return!0===e?t.className=Vs:(t.className=Us,tl(e)?t.appendChild(e):vl(t,e)),t}function bl(e,t){tl(t.content)?(vl(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?vl(e,t.content):e.textContent=t.content)}function wl(e){var t=e.firstElementChild,n=Xs(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Hs)})),arrow:n.find((function(e){return e.classList.contains(Vs)||e.classList.contains(Us)})),backdrop:n.find((function(e){return e.classList.contains(zs)}))}}function _l(e){var t=el(),n=el();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=el();function i(n,r){var i=wl(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||bl(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(yl(r.arrow))):o.appendChild(yl(r.arrow)):s&&o.removeChild(s)}return r.className=Hs,r.setAttribute("data-state","hidden"),bl(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}_l.$$tippy=!0;var Sl=1,xl=[],El=[];function kl(e,t){var n,r,i,o,a,s,l,c,u=ml(e,Object.assign({},pl,hl(Js(t)))),d=!1,p=!1,f=!1,h=!1,m=[],g=Ys(W,u.interactiveDebounce),v=Sl++,y=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:v,reference:e,popper:el(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),G();var n=b.props,r=ml(e,Object.assign({},n,Js(t),{ignoreAttributes:!0}));b.props=r,$(),n.interactiveDebounce!==r.interactiveDebounce&&(N(),g=Ys(W,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Ks(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),I(),L(),S&&S(n,r),b.popperInstance&&(Q(),J().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=al.isTouch&&!b.props.touch,i=qs(b.props.duration,0,pl.duration);if(!(e||t||n||r||O().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,T()&&(_.style.visibility="visible"),L(),H(),b.state.isMounted||(_.style.transition="none"),T()){var o=A();nl([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,_.offsetHeight,_.style.transition=b.props.moveTransition,T()&&b.props.animation){var t=A(),n=t.box,r=t.content;nl([n,r],i),rl([n,r],"visible")}R(),I(),Qs(El,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&T()&&function(e,t){V(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(i)}},function(){var e,t=b.props.appendTo,n=O();(e=b.props.interactive&&t===Gs||"parent"===t?n.parentNode:Zs(t,[n])).contains(_)||e.appendChild(_),b.state.isMounted=!0,Q()}()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=qs(b.props.duration,1,pl.duration);if(!(e||t||n)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,T()&&(_.style.visibility="hidden"),N(),z(),L(!0),T()){var i=A(),o=i.box,a=i.content;b.props.animation&&(nl([o,a],r),rl([o,a],"hidden"))}R(),I(),b.props.animation?T()&&function(e,t){V(e,(function(){!b.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){M().addEventListener("mousemove",g),Qs(xl,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(X(),J().forEach((function(e){e._tippy.unmount()})),_.parentNode&&_.parentNode.removeChild(_),El=El.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),G(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}};if(!u.render)return b;var w=u.render(b),_=w.popper,S=w.onUpdate;_.setAttribute("data-tippy-root",""),_.id="tippy-"+b.id,b.popper=_,e._tippy=b,_._tippy=b;var x=y.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded");return $(),I(),L(),D("onCreate",[b]),u.showOnCreate&&ee(),_.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),_.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",g)})),b;function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===k()[0]}function T(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function O(){return l||e}function M(){var e=O().parentNode;return e?function(e){var t,n=Ks(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}(e):document}function A(){return wl(_)}function P(e){return b.state.isMounted&&!b.state.isVisible||al.isTouch||o&&"focus"===o.type?0:qs(b.props.delay,e?0:1,pl.delay)}function L(e){void 0===e&&(e=!1),_.style.pointerEvents=b.props.interactive&&!e?"":"none",_.style.zIndex=""+b.props.zIndex}function D(e,t,n){var r;void 0===n&&(n=!0),x.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function R(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=_.id;Ks(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function I(){!E&&b.props.aria.expanded&&Ks(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===O()?"true":"false"):e.removeAttribute("aria-expanded")}))}function N(){M().removeEventListener("mousemove",g),xl=xl.filter((function(e){return e!==g}))}function j(t){if(!al.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!ol(_,n)){if(Ks(b.props.triggerTarget||e).some((function(e){return ol(e,n)}))){if(al.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||z())}}}function B(){f=!0}function F(){f=!1}function H(){var e=M();e.addEventListener("mousedown",j,!0),e.addEventListener("touchend",j,$s),e.addEventListener("touchstart",F,$s),e.addEventListener("touchmove",B,$s)}function z(){var e=M();e.removeEventListener("mousedown",j,!0),e.removeEventListener("touchend",j,$s),e.removeEventListener("touchstart",F,$s),e.removeEventListener("touchmove",B,$s)}function V(e,t){var n=A().box;function r(e){e.target===n&&(il(n,"remove",r),t())}if(0===e)return t();il(n,"remove",a),il(n,"add",r),a=r}function U(t,n,r){void 0===r&&(r=!1),Ks(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function $(){var e;C()&&(U("touchstart",q,{passive:!0}),U("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,q),e){case"mouseenter":U("mouseleave",Z);break;case"focus":U(dl?"focusout":"blur",Y);break;case"focusin":U("focusout",Y)}}))}function G(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),m=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,I(),!b.state.isVisible&&function(e){return Ws(e,"MouseEvent")}(e)&&xl.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function W(e){var t=e.target,n=O().contains(t)||_.contains(t);if("mousemove"!==e.type||!n){var r=J().concat(_).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=function(e){return e.split("-")[0]}(i.placement),s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-r+l>o,f=r-t.bottom-c>o,h=t.left-n+u>o,m=n-t.right-d>o;return p||f||h||m}))})(r,e)&&(N(),te(e))}}function Z(e){K(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==O()||b.props.interactive&&e.relatedTarget&&_.contains(e.relatedTarget)||te(e)}function K(e){return!!al.isTouch&&C()!==e.type.indexOf("touch")>=0}function Q(){X();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,l=T()?wl(_).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||O()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(T()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];T()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Fs(c,_,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function X(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return Xs(_.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),H();var t=P(!0),r=k(),i=r[0],o=r[1];al.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=P(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else z()}}function Cl(e,t){void 0===t&&(t={});var n=pl.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",ll,$s),window.addEventListener("blur",ul);var r=Object.assign({},t,{plugins:n}),i=function(e){return tl(e)?[e]:function(e){return Ws(e,"NodeList")}(e)?Xs(e):Array.isArray(e)?e:Xs(document.querySelectorAll(e))}(e).reduce((function(e,t){var n=t&&kl(t,r);return n&&e.push(n),e}),[]);return tl(e)?i[0]:i}Cl.defaultProps=pl,Cl.setDefaultProps=function(e){Object.keys(e).forEach((function(t){pl[t]=e[t]}))},Cl.currentInput=al,Object.assign({},_s,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Cl.setDefaultProps({render:_l});const Tl=Cl;class Ol{constructor({editor:e,element:t,view:n,tippyOptions:r={},updateDelay:i=250,shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:r})=>{const{doc:i,selection:o}=t,{empty:a}=o,s=!i.textBetween(n,r).length&&Vo(t.selection),l=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!l||a||s||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=>{const n=!(null==t?void 0:t.selection.eq(e.state.selection)),r=!(null==t?void 0:t.doc.eq(e.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=>{this.updateHandler(e,n,r,t)}),this.updateDelay))},this.updateHandler=(e,t,n,r)=>{var i,o,a;const{state:s,composing:l}=e,{selection:c}=s;if(l||!t&&!n)return;this.createTooltip();const{ranges:u}=c,d=Math.min(...u.map((e=>e.$from.pos))),p=Math.max(...u.map((e=>e.$to.pos)));(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:e,state:s,oldState:r,from:d,to:p}))?(null===(o=this.tippy)||void 0===o||o.setProps({getReferenceClientRect:(null===(a=this.tippyOptions)||void 0===a?void 0:a.getReferenceClientRect)||(()=>{if(s.selection instanceof rt){let t=e.nodeDOM(d);const n=t.dataset.nodeViewWrapper?t:t.querySelector("[data-node-view-wrapper]");if(n&&(t=n.firstChild),t)return t.getBoundingClientRect()}return sa(e,d,p)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=i,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=Tl(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:n}=e,r=n.selection.$from.pos!==n.selection.$to.pos;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(e,t);const i=!(null==t?void 0:t.selection.eq(e.state.selection)),o=!(null==t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,i,o,t)}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Ml=e=>new gt({key:"string"==typeof e.pluginKey?new bt(e.pluginKey):e.pluginKey,view:t=>new Ol({view:t,...e})});Do.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[Ml({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});var Al=o(8156),Pl=o.n(Al),Ll=o(7111),Dl=o.n(Ll);class Rl{constructor({editor:e,element:t,view:n,tippyOptions:r={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=>{const{selection:n}=t,{$anchor:r,empty:i}=n,o=1===r.depth,a=r.parent.isTextblock&&!r.parent.type.spec.code&&!r.parent.textContent;return!!(e.hasFocus()&&i&&o&&a&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.editor=e,this.element=t,this.view=n,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=Tl(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var n,r,i;const{state:o}=e,{doc:a,selection:s}=o,{from:l,to:c}=s;t&&t.doc.eq(a)&&t.selection.eq(s)||(this.createTooltip(),(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:o,oldState:t}))?(null===(r=this.tippy)||void 0===r||r.setProps({getReferenceClientRect:(null===(i=this.tippyOptions)||void 0===i?void 0:i.getReferenceClientRect)||(()=>sa(e,l,c))}),this.show()):this.hide())}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Il=e=>new gt({key:"string"==typeof e.pluginKey?new bt(e.pluginKey):e.pluginKey,view:t=>new Rl({view:t,...e})}),Nl=(Do.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[Il({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),({renderers:e})=>Al.createElement(Al.Fragment,null,Object.entries(e).map((([e,t])=>Ll.createPortal(t.reactElement,t.element,e)))));class jl extends Al.Component{constructor(e){super(e),this.editorContentRef=Al.createRef(),this.initialized=!1,this.state={renderers:{}}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const{editor:e}=this.props;if(e&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=this,e.createNodeViews(),this.initialized=!0}}maybeFlushSync(e){this.initialized?(0,Ll.flushSync)(e):e()}setRenderer(e,t){this.maybeFlushSync((()=>{this.setState((({renderers:n})=>({renderers:{...n,[e]:t}})))}))}removeRenderer(e){this.maybeFlushSync((()=>{this.setState((({renderers:t})=>{const n={...t};return delete n[e],{renderers:n}}))}))}componentWillUnmount(){const{editor:e}=this.props;if(!e)return;if(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null,!e.options.element.firstChild)return;const t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){const{editor:e,...t}=this.props;return Al.createElement(Al.Fragment,null,Al.createElement("div",{ref:this.editorContentRef,...t}),Al.createElement(Nl,{renderers:this.state.renderers}))}}const Bl=Al.memo((e=>{const t=Al.useMemo((()=>Math.floor(4294967295*Math.random()).toString()),[e.editor]);return Al.createElement(jl,{key:t,...e})}));class Fl extends ya{constructor(){super(...arguments),this.contentComponent=null}}const Hl=(0,Al.createContext)({editor:null}),zl=(Hl.Consumer,()=>(0,Al.useContext)(Hl)),Vl=e=>{const[t,n]=(0,Al.useState)(null),{editor:r}=zl();return(0,Al.useEffect)((()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null==r?void 0:r.isDestroyed))return;const{pluginKey:o="bubbleMenu",editor:a,tippyOptions:s={},updateDelay:l,shouldShow:c=null}=e,u=a||r;if(!u)return void i.warn("BubbleMenu component is not rendered inside of an editor component or does not have editor prop.");const d=Ml({updateDelay:l,editor:u,element:t,pluginKey:o,shouldShow:c,tippyOptions:s});return u.registerPlugin(d),()=>u.unregisterPlugin(o)}),[e.editor,r,t]),Al.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},Ul=e=>{const[t,n]=(0,Al.useState)(null),{editor:r}=zl();return(0,Al.useEffect)((()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null==r?void 0:r.isDestroyed))return;const{pluginKey:o="floatingMenu",editor:a,tippyOptions:s={},shouldShow:l=null}=e,c=a||r;if(!c)return void i.warn("FloatingMenu component is not rendered inside of an editor component or does not have editor prop.");const u=Il({pluginKey:o,editor:c,element:t,tippyOptions:s,shouldShow:l});return c.registerPlugin(u),()=>c.unregisterPlugin(o)}),[e.editor,r,t]),Al.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},$l=(0,Al.createContext)({onDragStart:void 0}),Gl=()=>(0,Al.useContext)($l),ql=e=>{const t=e.as||"div",{nodeViewContentRef:n}=Gl();return Al.createElement(t,{...e,ref:n,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},Wl=Al.forwardRef(((e,t)=>{const{onDragStart:n}=Gl(),r=e.as||"div";return Al.createElement(r,{...e,ref:t,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})}));class Zl{constructor(e,{editor:t,props:n={},as:r="div",className:i="",attrs:o}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add("react-renderer"),i&&this.element.classList.add(...i.split(" ")),o&&Object.keys(o).forEach((e=>{this.element.setAttribute(e,o[e])})),this.render()}render(){var e,t;const n=this.component,r=this.props;(function(e){return!("function"!=typeof e||!e.prototype||!e.prototype.isReactComponent)}(n)||function(e){var t;return!("object"!=typeof e||"Symbol(react.forward_ref)"!==(null===(t=e.$$typeof)||void 0===t?void 0:t.toString()))}(n))&&(r.ref=e=>{this.ref=e}),this.reactElement=Al.createElement(n,{...r}),null===(t=null===(e=this.editor)||void 0===e?void 0:e.contentComponent)||void 0===t||t.setRenderer(this.id,this)}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){var e,t;null===(t=null===(e=this.editor)||void 0===e?void 0:e.contentComponent)||void 0===t||t.removeRenderer(this.id)}}class Yl extends xa{mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const t=e=>{const t=this.component,n=this.onDragStart.bind(this);return Al.createElement(Al.Fragment,null,Al.createElement($l.Provider,{value:{onDragStart:n,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}}},Al.createElement(t,{...e})))};t.displayName="ReactNodeView",this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let n=this.node.isInline?"span":"div";this.options.as&&(n=this.options.as);const{className:r=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new Zl(t,{editor:this.editor,props:e,as:n,className:`node-${this.node.type.name} ${r}`.trim(),attrs:this.options.attrs})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){const{from:e,to:t}=this.editor.state.selection;e<=this.getPos()&&t>=this.getPos()+this.node.nodeSize?this.selectNode():this.deselectNode()}update(e,t){const n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){const r=this.node,i=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:r,oldDecorations:i,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}function Kl(e,t){return n=>n.editor.contentComponent?new Yl(e,n,t):{}}function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ql.apply(this,arguments)}function Xl(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Jl(e){return Jl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jl(e)}function ec(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Jl(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Jl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Jl(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const nc=class{constructor(e){var{container:t,content:n,tippyOptions:r={}}=e;ec(this,"preventHide",!1),ec(this,"mousedownHandler",(()=>{this.preventHide=!0})),ec(this,"blurHandler",(e=>{var t,{event:n}=e;this.preventHide?this.preventHide=!1:null!=n&&n.relatedTarget&&null!==(t=this.content.parentNode)&&void 0!==t&&t.contains(n.relatedTarget)||this.hide()})),ec(this,"tippyBlurHandler",(e=>{this.blurHandler({event:e})})),this.container=t,this.content=n,this.content.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.tippyOptions=r,this.content.remove(),this.content.style.display="",this.createTooltip()}createTooltip(){this.tippy||(this.tippy=Tl(this.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({duration:100,getReferenceClientRect:null,content:this.content,interactive:!0,trigger:"manually",placement:"left-start",hideOnClick:"toggle"},this.tippyOptions)),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}update(){var e;null===(e=this.tippy)||void 0===e||null===(e=e.popperInstance)||void 0===e||e.update()}destroy(){var e,t;null!==(e=this.tippy)&&void 0!==e&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.content.removeEventListener("mousedown",this.mousedownHandler,{capture:!0})}};function rc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ic(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rc(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oc={display:"none"};const ac=e=>{var{children:t,container:n,visible:r,className:i,tippyOptions:o={}}=e,a=(0,Al.useRef)(null),s=(0,Al.useRef)();return(0,Al.useEffect)((()=>{if(n&&a.current)return s.current=new nc({container:n,content:a.current,tippyOptions:ic({},o)}),()=>{var e;null===(e=s.current)||void 0===e||e.destroy()}}),[n,a.current]),(0,Al.useEffect)((()=>{var e,t,n;null===(e=s.current)||void 0===e||e.update(),r?null===(t=s.current)||void 0===t||t.show():null===(n=s.current)||void 0===n||n.hide()}),[r,t]),Pl().createElement("div",{className:i,ref:a,style:oc},t)};var sc;function lc(){return lc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lc.apply(this,arguments)}var cc,uc,dc=function(e){return Al.createElement("svg",lc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),sc||(sc=Al.createElement("path",{fill:"inherit",d:"M12.738 5.16a.7.7 0 0 1 .1.993L8.77 11.07a1 1 0 0 1-1.54 0L3.16 6.153a.7.7 0 0 1 .101-.993.72.72 0 0 1 1.005.099L8 9.769l3.733-4.51a.72.72 0 0 1 1.005-.1Z"})))};function pc(){return pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pc.apply(this,arguments)}var fc,hc=function(e){return Al.createElement("svg",pc({xmlns:"http://www.w3.org/2000/svg",width:23,height:51,fill:"none"},e),cc||(cc=Al.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7,d:"m4 4 15 21.5L4 47"})),uc||(uc=Al.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7,d:"m4 4 15 21.5L4 47"})))};function mc(){return mc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mc.apply(this,arguments)}var gc,vc=function(e){return Al.createElement("svg",mc({xmlns:"http://www.w3.org/2000/svg",width:11,height:20,fill:"none",stroke:"currentColor"},e),fc||(fc=Al.createElement("path",{stroke:"inherit",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M1.515 1.515 10 10l-8.485 8.485"})))};function yc(){return yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yc.apply(this,arguments)}var bc,wc=function(e){return Al.createElement("svg",yc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),gc||(gc=Al.createElement("path",{fill:"inherit",d:"M12.167 7c.46 0 .833.448.833 1s-.373 1-.833 1H3.833C3.373 9 3 8.552 3 8s.373-1 .833-1h8.334ZM7.167 11c.46 0 .833.448.833 1s-.373 1-.833 1H3.833C3.373 13 3 12.552 3 12s.373-1 .833-1h3.334ZM12.167 3c.46 0 .833.448.833 1s-.373 1-.833 1H3.833C3.373 5 3 4.552 3 4s.373-1 .833-1h8.334Z"})))};function _c(){return _c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_c.apply(this,arguments)}var Sc,xc=function(e){return Al.createElement("svg",_c({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),bc||(bc=Al.createElement("path",{fill:"inherit",d:"M5 13a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3.152c.763 0 1.4.109 1.909.327.51.218.893.521 1.15.908.256.384.384.827.384 1.328 0 .391-.081.735-.243 1.03a2.049 2.049 0 0 1-.668.723 2.775 2.775 0 0 1-.919.386.056.056 0 0 0-.043.055c0 .03.023.053.053.055a2.383 2.383 0 0 1 1.9 1.155c.217.355.325.778.325 1.27 0 .53-.137 1.004-.41 1.42-.27.414-.67.74-1.2.982-.53.24-1.183.361-1.96.361H5Zm1-1.729h1.98c.61 0 1.056-.112 1.336-.336.28-.228.42-.531.42-.909 0-.276-.068-.52-.207-.732a1.396 1.396 0 0 0-.592-.498 2.093 2.093 0 0 0-.907-.18H6v2.655Zm0-4.086h1.818c.3 0 .567-.05.8-.152.236-.104.422-.25.557-.44.138-.188.207-.414.207-.678a1.08 1.08 0 0 0-.4-.874c-.263-.221-.638-.332-1.124-.332H6v2.476Z"})))};function Ec(){return Ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ec.apply(this,arguments)}var kc,Cc=function(e){return Al.createElement("svg",Ec({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Sc||(Sc=Al.createElement("path",{fill:"inherit",d:"M13 7.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM13 11.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM13 3.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM3 3.5c.46 0 1 .449 1 1.001 0 .552-.54.999-1 .999-.46 0-1-.448-1-1s.54-1 1-1ZM3 7.5c.46 0 1 .449 1 1.001 0 .552-.54.999-1 .999-.46 0-1-.448-1-1s.54-1 1-1ZM3 11.5c.46 0 1 .449 1 1.001 0 .552-.54.999-1 .999-.46 0-1-.448-1-1s.54-1 1-1Z"})))};function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tc.apply(this,arguments)}var Oc,Mc=function(e){return Al.createElement("svg",Tc({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),kc||(kc=Al.createElement("path",{fill:"inherit",d:"M12.782 4.721a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 0 1-1.06 0l-2.502-2.5A.75.75 0 0 1 4.28 8.22l1.971 1.97 5.47-5.469a.75.75 0 0 1 1.06 0Z"})))};function Ac(){return Ac=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ac.apply(this,arguments)}var Pc,Lc=function(e){return Al.createElement("svg",Ac({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Oc||(Oc=Al.createElement("path",{fill:"inherit",d:"M12.5 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM8 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM3.5 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z"})))};function Dc(){return Dc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dc.apply(this,arguments)}var Rc,Ic=function(e){return Al.createElement("svg",Dc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Pc||(Pc=Al.createElement("path",{fill:"inherit",d:"M7 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7.023 7.852a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7.001 12.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM12 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM12 7.852a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM12 12.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})))};function Nc(){return Nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nc.apply(this,arguments)}var jc,Bc=function(e){return Al.createElement("svg",Nc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Rc||(Rc=Al.createElement("path",{fill:"inherit",d:"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"})))};function Fc(){return Fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fc.apply(this,arguments)}var Hc,zc=function(e){return Al.createElement("svg",Fc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),jc||(jc=Al.createElement("path",{fill:"inherit",d:"M8.625 3.577C8.625 3.258 8.345 3 8 3s-.625.258-.625.577v5.146l-1.85-1.708a.662.662 0 0 0-.884 0 .546.546 0 0 0 0 .816l2.917 2.692a.652.652 0 0 0 .442.17c.166 0 .325-.061.442-.17l2.917-2.692a.546.546 0 0 0 0-.816.662.662 0 0 0-.884 0l-1.85 1.708V3.577ZM3.625 11.846c-.345 0-.625.258-.625.577 0 .319.28.577.625.577h8.75c.345 0 .625-.258.625-.577 0-.319-.28-.577-.625-.577h-8.75Z"})))};function Vc(){return Vc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vc.apply(this,arguments)}var Uc,$c,Gc,qc,Wc,Zc,Yc,Kc=function(e){return Al.createElement("svg",Vc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Hc||(Hc=Al.createElement("path",{fill:"inherit",d:"M8.833 3c.46 0 .834.448.834 1s-.373 1-.834 1h-5C3.373 5 3 4.552 3 4s.373-1 .833-1h5ZM12.167 7c.46 0 .833.448.833 1s-.373 1-.833 1H3.833C3.373 9 3 8.552 3 8s.373-1 .833-1h8.334ZM7.167 11c.46 0 .833.448.833 1s-.373 1-.833 1H3.833C3.373 13 3 12.552 3 12s.373-1 .833-1h3.334Z"})))};function Qc(){return Qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qc.apply(this,arguments)}var Xc,Jc=function(e){return Al.createElement("svg",Qc({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Uc||(Uc=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M11 5H5v6h6V5ZM5 4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"})),$c||($c=Al.createElement("path",{fill:"inherit",d:"M8.56 9.92c.39 0 .62-.42.42-.75L7.61 6.94a.496.496 0 0 0-.84 0L5.4 9.17c-.2.33.03.75.42.75h2.74Z"})),Gc||(Gc=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M8.56 9.92c.39 0 .62-.42.42-.75L7.61 6.94a.496.496 0 0 0-.84 0L5.4 9.17c-.2.33.03.75.42.75h2.74Z",clipRule:"evenodd"})),Al.createElement("mask",{id:"gallery_svg__a",width:"100%",height:"100%",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},qc||(qc=Al.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M0 1a1 1 0 0 1 1-1h15v16H0V1Zm9.194 8.04a.741.741 0 0 1-.634 1.13H5.82a.741.741 0 0 1-.634-1.13h.001l1.37-2.23a.746.746 0 0 1 1.266 0l1.37 2.23Z",clipRule:"evenodd"}))),Wc||(Wc=Al.createElement("g",{mask:"url(#gallery_svg__a)"},Al.createElement("path",{fill:"inherit",d:"M10.16 9.29c.39 0 .62-.42.42-.75L9.21 6.31a.496.496 0 0 0-.84 0L7 8.54c-.2.33.03.75.42.75h2.74Z"}))),Al.createElement("mask",{id:"gallery_svg__b",width:"100%",height:"100%",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Zc||(Zc=Al.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M0 0v16h16V0H0Zm5 3.5h6A1.5 1.5 0 0 1 12.5 5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5A1.5 1.5 0 0 1 5 3.5Z",clipRule:"evenodd"}))),Yc||(Yc=Al.createElement("g",{fill:"inherit",fillRule:"evenodd",clipRule:"evenodd",mask:"url(#gallery_svg__b)"},Al.createElement("path",{d:"M5.5 6.75h-3a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h3a.25.25 0 0 0 .25-.25V7a.25.25 0 0 0-.25-.25ZM2.5 6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-3ZM13.5 6.75h-3a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h3a.25.25 0 0 0 .25-.25V7a.25.25 0 0 0-.25-.25Zm-3-.75a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-3Z"}))))};function eu(){return eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eu.apply(this,arguments)}var tu,nu=function(e){return Al.createElement("svg",eu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Xc||(Xc=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M8 4H6.286C3.07 4 2 6.526 2 9.053 2 10.526 2.429 12 3.714 12c.561 0 .878-.441 1.234-.938.46-.642.987-1.378 2.195-1.378h1.714c1.208 0 1.735.736 2.195 1.378.356.497.673.938 1.234.938C13.57 12 14 10.526 14 9.053 14 6.526 12.929 4 9.714 4H8Zm1.714 3.368c0-.232.192-.42.429-.42h1.714c.237 0 .429.188.429.42a.425.425 0 0 1-.429.421h-1.714a.425.425 0 0 1-.429-.42Zm-5.143-.842c0-.232.192-.42.429-.42s.429.188.429.42v.421h.428c.237 0 .429.189.429.421a.425.425 0 0 1-.429.421H5.43v.422A.425.425 0 0 1 5 8.63a.425.425 0 0 1-.429-.42v-.422h-.428a.425.425 0 0 1-.429-.42c0-.233.192-.422.429-.422h.428v-.42Z",clipRule:"evenodd"})))};function ru(){return ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ru.apply(this,arguments)}var iu,ou=function(e){return Al.createElement("svg",ru({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),tu||(tu=Al.createElement("path",{fill:"inherit",d:"M1.5 4.75a.75.75 0 0 1 1.5 0V7h3V4.75a.75.75 0 1 1 1.5 0v6.5a.75.75 0 0 1-1.5 0V8.5H3v2.75a.75.75 0 1 1-1.5 0v-6.5ZM9.41 12a.828.828 0 0 1-.548-1.45l2.675-2.353c.25-.232.462-.44.632-.625a2.37 2.37 0 0 0 .393-.543c.09-.18.134-.374.134-.582 0-.231-.056-.43-.166-.597-.111-.17-.262-.3-.454-.39a1.485 1.485 0 0 0-.653-.138c-.254 0-.476.049-.665.146-.19.098-.335.238-.438.42-.183.326-.457.652-.83.652h-.157c-.46 0-.853-.383-.712-.821a2.2 2.2 0 0 1 .248-.524c.246-.38.59-.675 1.034-.883.443-.208.954-.312 1.532-.312.595 0 1.112.1 1.553.3.443.198.788.473 1.034.825s.368.756.368 1.21c0 .298-.062.592-.186.883-.122.29-.34.612-.653.967-.313.352-.755.775-1.325 1.268l-1.213 1.129v.054h2.805a.682.682 0 0 1 0 1.364H9.409Z"})))};function au(){return au=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},au.apply(this,arguments)}var su,lu=function(e){return Al.createElement("svg",au({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),iu||(iu=Al.createElement("path",{fill:"inherit",d:"M1.5 4.75a.75.75 0 0 1 1.5 0V7h3V4.75a.75.75 0 1 1 1.5 0v6.5a.75.75 0 0 1-1.5 0V8.5H3v2.75a.75.75 0 1 1-1.5 0v-6.5ZM11.479 12c-.573 0-1.082-.098-1.53-.293a2.606 2.606 0 0 1-1.054-.814 2.015 2.015 0 0 1-.213-.361c-.197-.433.208-.84.683-.84h.262c.305 0 .542.263.732.502.118.142.274.252.468.33.194.08.413.119.656.119a1.6 1.6 0 0 0 .67-.134 1.1 1.1 0 0 0 .457-.368.925.925 0 0 0 .165-.544.906.906 0 0 0-.177-.551 1.126 1.126 0 0 0-.498-.38 1.953 1.953 0 0 0-.767-.137h-.732v-1.21h.732c.25 0 .472-.043.663-.129.195-.086.345-.205.453-.357a.923.923 0 0 0 .16-.54.934.934 0 0 0-.533-.863 1.28 1.28 0 0 0-.582-.126c-.225 0-.43.04-.617.122a1.078 1.078 0 0 0-.449.338c-.188.247-.426.517-.736.517h-.217c-.45 0-.83-.382-.654-.796.059-.137.133-.267.223-.39a2.51 2.51 0 0 1 1.012-.802A3.438 3.438 0 0 1 11.502 4c.542 0 1.016.098 1.422.293.407.195.722.459.947.79.228.33.34.7.338 1.11.002.437-.135.8-.41 1.092-.274.292-.63.477-1.07.555v.061c.577.074 1.017.273 1.319.597.304.322.454.725.452 1.21a1.89 1.89 0 0 1-.387 1.182c-.258.345-.615.616-1.07.813-.455.198-.976.297-1.564.297Z"})))};function cu(){return cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cu.apply(this,arguments)}var uu,du,pu,fu,hu=function(e){return Al.createElement("svg",cu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),su||(su=Al.createElement("path",{fill:"inherit",d:"M4 4.25C4 3.56 4.264 3 5 3s1 .56 1 1.25V7h4V4.25c0-.69.264-1.25 1-1.25s1 .56 1 1.25v7.5c0 .69-.264 1.25-1 1.25s-1-.56-1-1.25V8.625H6v3.125C6 12.44 5.736 13 5 13s-1-.56-1-1.25v-7.5Z"})))};function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mu.apply(this,arguments)}var gu,vu=function(e){return Al.createElement("svg",mu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),uu||(uu=Al.createElement("path",{fill:"inherit",d:"M8.56 9.92c.39 0 .62-.42.42-.75L7.61 6.94a.496.496 0 0 0-.84 0L5.4 9.17c-.2.33.03.75.42.75h2.74Z"})),du||(du=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M4 12h8V4H4v8ZM3 4v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Z",clipRule:"evenodd"})),Al.createElement("mask",{id:"image_svg__a",width:"100%",height:"100%",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},pu||(pu=Al.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M0 1a1 1 0 0 1 1-1h15v16H0V1Zm9.194 8.04a.741.741 0 0 1-.634 1.13H5.82a.741.741 0 0 1-.634-1.13h.001l1.37-2.23a.746.746 0 0 1 1.266 0l1.37 2.23Z",clipRule:"evenodd"}))),fu||(fu=Al.createElement("g",{mask:"url(#image_svg__a)"},Al.createElement("path",{fill:"inherit",d:"M10.16 9.29c.39 0 .62-.42.42-.75L9.21 6.31a.496.496 0 0 0-.84 0L7 8.54c-.2.33.03.75.42.75h2.74Z"}))))};function yu(){return yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yu.apply(this,arguments)}var bu,wu,_u=function(e){return Al.createElement("svg",yu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),gu||(gu=Al.createElement("path",{fill:"inherit",d:"M4 12.45c0-.292.23-.528.52-.568a1.73 1.73 0 0 0 .464-.115c.278-.123.507-.381.686-.773L8.164 5.39c.093-.227.156-.386.189-.477a.841.841 0 0 0 .05-.278c0-.202-.107-.34-.319-.415a2.57 2.57 0 0 0-.598-.114.572.572 0 0 1-.525-.56c0-.301.245-.546.547-.546h3.933c.309 0 .559.25.559.559 0 .29-.223.527-.51.572-.27.041-.47.094-.603.157-.199.095-.384.334-.557.718L7.836 10.61c-.086.198-.149.361-.189.49a1.27 1.27 0 0 0-.05.29c0 .206.116.344.348.414.138.04.312.072.522.093.29.03.524.262.527.554a.543.543 0 0 1-.543.549H4.55a.55.55 0 0 1-.55-.55Z"})))};function Su(){return Su=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Su.apply(this,arguments)}var xu,Eu=function(e){return Al.createElement("svg",Su({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 319.949 319.949"},e),bu||(bu=Al.createElement("path",{fill:"inherit",d:"M261.891 319.945a10.003 10.003 0 0 1-6.97-2.828l-2.515-2.444-22.722.657c-8.579.197-15.594-6.484-15.832-15.109l-.34-12.18-11.554.334c-.145.004-.295.006-.446.006-8.395 0-15.153-6.641-15.385-15.119l-.337-12.174-11.555.334c-.154.004-.295.006-.437.006-8.4 0-15.162-6.642-15.395-15.121l-.677-24.32c-2.093-2.127-5.762-5.599-9.706-9.23a25.906 25.906 0 0 1-12.896 3.461c-6.772 0-13.196-2.62-18.086-7.377a9.986 9.986 0 0 1-.575-.607 75.788 75.788 0 0 1-1.538-1.828c-3.937.455-7.903.685-11.859.685-27.553 0-53.453-10.775-72.931-30.343-40.182-40.362-40.182-106.036 0-146.399C49.615 10.78 75.517.004 103.071.004s53.455 10.776 72.934 30.344c23.722 23.828 34.284 57.301 28.743 90.367 2.623 4.08 4.098 8.83 4.234 13.808.117 4.269-.747 8.412-2.491 12.158l109.77 110.439a10.003 10.003 0 0 1 2.903 6.771l.774 27.738c.401 14.682-10.999 26.963-25.415 27.383l-32.346.93c-.095.002-.191.003-.286.003zm-5.547-25.391c2.599 0 5.101 1.013 6.97 2.829l2.515 2.444 28.117-.809c3.407-.099 6.102-3.167 6.001-6.838l-.664-23.772-111.407-112.085a10.014 10.014 0 0 1-2.799-5.579l-.383-2.574a10.002 10.002 0 0 1 2.529-8.238c1.189-1.294 1.817-3.021 1.767-4.86-.049-1.788-.752-3.446-1.978-4.669a9.998 9.998 0 0 1-2.719-9.178c5.987-27.927-2.41-56.624-22.463-76.768-15.697-15.769-36.565-24.453-58.76-24.453s-43.061 8.684-58.76 24.453c-32.437 32.582-32.437 85.598 0 118.179 15.697 15.77 36.563 24.453 58.757 24.453 5.311 0 10.642-.513 15.848-1.522a9.993 9.993 0 0 1 10.749 5.148c.576 1.092.369 4.093 5.202 4.926 1.617.279 3.435-.101 4.591-1.331l1.295-1.469a9.996 9.996 0 0 1 6.912-3.369 9.994 9.994 0 0 1 7.261 2.533c.2.18 4.968 4.451 9.827 8.99 10.646 9.945 12.744 12.306 12.874 17.028l.647 23.272 16.947-.49a9.935 9.935 0 0 1 7.157 2.728 9.996 9.996 0 0 1 3.128 6.992l.491 17.724 16.943-.49a9.917 9.917 0 0 1 7.156 2.728 9.995 9.995 0 0 1 3.129 6.989l.495 17.729 22.334-.646c.098-.004.195-.005.291-.005z"})),wu||(wu=Al.createElement("path",{fill:"inherit",d:"M84.895 120.428c-9.363 0-18.163-3.659-24.779-10.305-13.631-13.695-13.63-35.974 0-49.664 6.616-6.646 15.418-10.308 24.782-10.308s18.166 3.661 24.782 10.309c13.629 13.69 13.627 35.968-.003 49.659-6.615 6.647-15.416 10.309-24.782 10.309zm.003-50.276A14.87 14.87 0 0 0 74.29 74.57c-5.885 5.911-5.885 15.53.001 21.443a14.867 14.867 0 0 0 10.604 4.415c4.005 0 7.771-1.569 10.607-4.418 5.886-5.913 5.887-15.53.004-21.44a14.87 14.87 0 0 0-10.608-4.418zM271.669 282.908a9.965 9.965 0 0 1-7.087-2.945l-88.698-89.1c-3.896-3.914-3.882-10.245.032-14.142 3.912-3.895 10.245-3.884 14.142.032l88.698 89.1c3.896 3.914 3.882 10.245-.032 14.142a9.97 9.97 0 0 1-7.055 2.913z"})))};function ku(){return ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ku.apply(this,arguments)}var Cu,Tu=function(e){return Al.createElement("svg",ku({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),xu||(xu=Al.createElement("path",{fill:"inherit",d:"M7.458 7.93a.701.701 0 1 1-1.25.637 2.806 2.806 0 0 1 .516-3.258l1.488-1.487a2.805 2.805 0 0 1 3.966 3.966.701.701 0 0 1-.991-.992 1.402 1.402 0 1 0-1.983-1.983L7.716 6.301a1.403 1.403 0 0 0-.258 1.629Zm1.084.14a.701.701 0 1 1 1.25-.637 2.806 2.806 0 0 1-.516 3.258l-1.488 1.487a2.805 2.805 0 0 1-3.966-3.966.701.701 0 1 1 .991.992 1.402 1.402 0 1 0 1.983 1.983l1.488-1.488a1.403 1.403 0 0 0 .258-1.629Z"})))};function Ou(){return Ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ou.apply(this,arguments)}var Mu,Au=function(e){return Al.createElement("svg",Ou({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Cu||(Cu=Al.createElement("path",{fill:"inherit",d:"M13 7.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM13 11.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM13 3.499c.46 0 1 .448 1 1s-.54 1-1 1H6c-.46 0-1-.448-1-1s.54-1 1-1h7ZM3.33 13.539c-.23 0-.433-.04-.611-.118a1.02 1.02 0 0 1-.418-.328.815.815 0 0 1-.059-.094c-.105-.195.086-.386.308-.386h.231c.09 0 .16.078.213.15.034.044.08.078.14.103a.518.518 0 0 0 .201.036.46.46 0 0 0 .193-.038.317.317 0 0 0 .131-.11.27.27 0 0 0 .046-.158.234.234 0 0 0-.054-.157.352.352 0 0 0-.152-.106.618.618 0 0 0-.226-.039h-.296v-.545h.296a.522.522 0 0 0 .207-.038.325.325 0 0 0 .14-.107.246.246 0 0 0 .05-.156.261.261 0 0 0-.04-.15.288.288 0 0 0-.12-.103.465.465 0 0 0-.368.001.322.322 0 0 0-.132.107c-.053.075-.124.156-.216.156h-.208c-.21 0-.391-.18-.297-.369a.786.786 0 0 1 .062-.102.984.984 0 0 1 .4-.321c.17-.078.365-.117.584-.117.215 0 .405.037.57.11a.928.928 0 0 1 .388.3c.093.128.14.273.139.437a.51.51 0 0 1-.168.4.73.73 0 0 1-.429.185v.023c.235.025.412.097.53.216a.59.59 0 0 1 .175.443c0 .17-.05.321-.154.453a1.011 1.011 0 0 1-.427.31 1.644 1.644 0 0 1-.63.112ZM2.58 9.499a.386.386 0 0 1-.247-.684l.945-.782c.072-.06.134-.115.185-.167a.636.636 0 0 0 .12-.164.405.405 0 0 0 .042-.186.363.363 0 0 0-.048-.192.313.313 0 0 0-.131-.122.41.41 0 0 0-.193-.044.41.41 0 0 0-.193.044.306.306 0 0 0-.128.13c-.056.104-.142.207-.26.207h-.16c-.208 0-.386-.174-.316-.368a.9.9 0 0 1 .467-.501c.168-.08.364-.12.59-.12.233 0 .434.038.605.112a.899.899 0 0 1 .396.313.858.858 0 0 1 .071.807c-.046.11-.13.231-.25.365a5.11 5.11 0 0 1-.513.477l-.272.227v.017h.82a.315.315 0 0 1 0 .631H2.58ZM3.052 2.59c.313 0 .567.254.567.568v1.946a.395.395 0 0 1-.79 0V3.317h-.016l-.2.12a.288.288 0 0 1-.299-.494l.442-.27a.568.568 0 0 1 .296-.083Z"})))};function Pu(){return Pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pu.apply(this,arguments)}var Lu,Du=function(e){return Al.createElement("svg",Pu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Mu||(Mu=Al.createElement("path",{fill:"inherit",d:"M12.024 7.13c.635.385.635 1.354 0 1.738l-6.612 3.997c-.63.38-1.412-.1-1.412-.868V4c0-.767.783-1.249 1.412-.868l6.612 3.998Z"})))};function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ru.apply(this,arguments)}var Iu,Nu=function(e){return Al.createElement("svg",Ru({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Lu||(Lu=Al.createElement("path",{fill:"currentColor",d:"M10.55 5.25v2.26c-1.177 0-2.273.38-3.287 1.14-1.014.758-1.521 1.666-1.521 2.72 0 .628.25.942.751.942.113 0 .338-.044.676-.132a4.21 4.21 0 0 1 .845-.113c.689 0 1.337.28 1.944.838.607.56.91 1.328.91 2.308 0 .954-.312 1.773-.938 2.457-.626.685-1.484 1.027-2.573 1.027-1.302 0-2.354-.493-3.155-1.479C3.4 16.233 3 14.861 3 13.103c0-2.423.736-4.322 2.207-5.697 1.47-1.374 3.252-2.093 5.343-2.156Zm10.31 0v2.26c-1.114 0-2.194.373-3.24 1.12-1.045.747-1.568 1.66-1.568 2.74 0 .628.25.942.751.942.113 0 .338-.044.676-.132.351-.075.633-.113.846-.113.726 0 1.383.29 1.971.866.589.578.883 1.338.883 2.28 0 .954-.313 1.773-.94 2.457-.625.685-1.483 1.027-2.572 1.027-1.302 0-2.354-.493-3.155-1.479-.8-.985-1.202-2.357-1.202-4.115 0-2.423.736-4.322 2.207-5.697 1.471-1.374 3.252-2.093 5.343-2.156Z"})))};function ju(){return ju=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ju.apply(this,arguments)}var Bu,Fu=function(e){return Al.createElement("svg",ju({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Iu||(Iu=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M5.491 7.926c.14.012.274.036.404.07a2.1 2.1 0 0 1 .974.575c.428.441.631 1 .631 1.637 0 .645-.218 1.207-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.796l-.008-.008C2.72 11.145 2.5 10.39 2.5 9.508c0-.954.263-1.887.772-2.793l.003-.007A5.588 5.588 0 0 1 5.512 4.56a.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.676 4.9 4.9 0 0 0-.129.095 3.755 3.755 0 0 0-.976 1.08 3.133 3.133 0 0 0-.176.357c.036.001.072.004.108.007Zm-1.53 3.085c.316.324.709.489 1.216.489.409 0 .715-.126.957-.362.24-.233.366-.53.366-.93 0-.409-.123-.708-.348-.94-.224-.23-.508-.352-.894-.352h-.027a.842.842 0 0 0-.336.067.5.5 0 0 1-.7-.542 4.32 4.32 0 0 1 .165-.645c.245-.717.674-1.338 1.27-1.863a.12.12 0 0 0 .022-.155.116.116 0 0 0-.164-.033 4.567 4.567 0 0 0-1.347 1.463c-.433.774-.641 1.538-.641 2.3 0 .72.178 1.196.461 1.504ZM9.232 11.696C8.72 11.145 8.5 10.39 8.5 9.508c0-.954.263-1.887.772-2.793l.003-.007a5.606 5.606 0 0 1 2.237-2.149.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.676c-.615.439-1.037.948-1.281 1.532.578.026 1.085.24 1.486.653.428.44.631 1 .631 1.636 0 .645-.218 1.207-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.796l-.008-.008Z",clipRule:"evenodd"})))};function Hu(){return Hu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hu.apply(this,arguments)}var zu,Vu=function(e){return Al.createElement("svg",Hu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Bu||(Bu=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M3.232 11.696C2.72 11.145 2.5 10.39 2.5 9.508c0-.954.263-1.887.772-2.793l.003-.007A5.606 5.606 0 0 1 5.512 4.56a.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.676c-.616.439-1.037.948-1.281 1.532.578.026 1.085.24 1.486.653.428.44.631 1 .631 1.636 0 .645-.218 1.207-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.796l-.008-.008ZM11.491 7.926c.14.012.274.035.404.07a2.1 2.1 0 0 1 .974.575c.428.44.631 1 .631 1.636 0 .645-.218 1.208-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.795l-.008-.008c-.512-.551-.732-1.307-.732-2.189 0-.954.263-1.887.772-2.792l.003-.007a5.588 5.588 0 0 1 2.237-2.15.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.677 4.892 4.892 0 0 0-.129.095 3.756 3.756 0 0 0-.976 1.08 3.15 3.15 0 0 0-.176.356c.036.002.072.004.108.008Zm-1.53 3.085c.316.324.709.489 1.216.489.409 0 .715-.127.957-.363.24-.233.366-.529.366-.93 0-.408-.123-.708-.348-.94-.224-.23-.508-.352-.893-.352h-.028a.842.842 0 0 0-.336.067.5.5 0 0 1-.7-.542 4.32 4.32 0 0 1 .165-.644c.245-.717.674-1.338 1.27-1.864a.12.12 0 0 0 .022-.154.116.116 0 0 0-.164-.034 4.567 4.567 0 0 0-1.346 1.464c-.434.773-.642 1.538-.642 2.3 0 .72.178 1.196.461 1.503Z",clipRule:"evenodd"})))};function Uu(){return Uu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uu.apply(this,arguments)}var $u,Gu,qu,Wu=function(e){return Al.createElement("svg",Uu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),zu||(zu=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M3.232 11.696C2.72 11.145 2.5 10.39 2.5 9.508c0-.954.263-1.887.772-2.793l.003-.007A5.606 5.606 0 0 1 5.512 4.56a.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.676c-.616.439-1.037.948-1.281 1.532.578.026 1.085.24 1.486.653.428.44.631 1 .631 1.636 0 .645-.218 1.207-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.796l-.008-.008ZM9.232 11.696C8.72 11.145 8.5 10.39 8.5 9.508c0-.954.263-1.887.772-2.793l.003-.007a5.606 5.606 0 0 1 2.237-2.149.5.5 0 0 1 .658.172l.626.98a.5.5 0 0 1-.132.676c-.615.439-1.037.948-1.281 1.532.578.026 1.085.24 1.486.653.428.44.631 1 .631 1.636 0 .645-.218 1.207-.668 1.646-.447.436-1.012.646-1.655.646-.761 0-1.42-.263-1.937-.796l-.008-.008Z",clipRule:"evenodd"})))};function Zu(){return Zu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zu.apply(this,arguments)}var Yu,Ku,Qu,Xu,Ju=function(e){return Al.createElement("svg",Zu({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),$u||($u=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 1A5 5 0 1 0 8 3a5 5 0 0 0 0 10Z",clipRule:"evenodd"})),Gu||(Gu=Al.createElement("path",{fill:"inherit",d:"M10.5 8a.5.5 0 0 1-.5.5H6a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5Z"})),qu||(qu=Al.createElement("path",{fill:"inherit",d:"M8 10.5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5Z"})))};function ed(){return ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ed.apply(this,arguments)}var td,nd,rd,id=function(e){return Al.createElement("svg",ed({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Yu||(Yu=Al.createElement("path",{fill:"inherit",d:"M15 8a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h4.5A.75.75 0 0 1 15 8Z"})),Ku||(Ku=Al.createElement("path",{fill:"inherit",d:"M12 5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 12 5Z"})),Al.createElement("mask",{id:"table_column_add_svg__a",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Qu||(Qu=Al.createElement("path",{fill:"#FFF",d:"M0 0v16h16V8a1.75 1.75 0 0 1-1.75 1.75h-.5v.5a1.75 1.75 0 1 1-3.5 0v-.5h-.5a1.75 1.75 0 1 1 0-3.5h.5v-.5a1.75 1.75 0 1 1 3.5 0v.5h.5c.966 0 1.75.784 1.75 1.75V0H0Z"}))),Xu||(Xu=Al.createElement("g",{fill:"inherit",mask:"url(#table_column_add_svg__a)"},Al.createElement("path",{d:"M6 3a1 1 0 0 1 0 2H3a1 1 0 1 1 0-2h3ZM13 7a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h10ZM6 11a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h3ZM13 11a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3ZM13 3a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3Z"}))))};function od(){return od=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},od.apply(this,arguments)}var ad,sd,ld,cd,ud=function(e){return Al.createElement("svg",od({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),td||(td=Al.createElement("path",{fill:"inherit",d:"M15 8a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h4.5A.75.75 0 0 1 15 8Z"})),Al.createElement("mask",{id:"table_column_remove_svg__a",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},nd||(nd=Al.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M0 0v16h16V0H0Zm16 8a1.75 1.75 0 0 0-1.75-1.75h-4.5a1.75 1.75 0 1 0 0 3.5h4.5A1.75 1.75 0 0 0 16 8Z",clipRule:"evenodd"}))),rd||(rd=Al.createElement("g",{fill:"inherit",mask:"url(#table_column_remove_svg__a)"},Al.createElement("path",{d:"M6 3a1 1 0 0 1 0 2H3a1 1 0 1 1 0-2h3ZM13 7a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h10ZM6 11a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h3ZM13 11a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3ZM13 3a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3Z"}))))};function dd(){return dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dd.apply(this,arguments)}var pd,fd,hd,md=function(e){return Al.createElement("svg",dd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),ad||(ad=Al.createElement("path",{fill:"inherit",d:"M11 11a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h4.5A.75.75 0 0 1 11 11Z"})),sd||(sd=Al.createElement("path",{fill:"inherit",d:"M8 8a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 8 8Z"})),Al.createElement("mask",{id:"table_row_add_svg__a",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},ld||(ld=Al.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M0 0v16h16V0H0Zm6.25 12.75h-.5a1.75 1.75 0 1 1 0-3.5h.5v-.5a1.75 1.75 0 1 1 3.5 0v.5h.5a1.75 1.75 0 1 1 0 3.5h-.5v.5a1.75 1.75 0 1 1-3.5 0v-.5Z",clipRule:"evenodd"}))),cd||(cd=Al.createElement("g",{fill:"inherit",mask:"url(#table_row_add_svg__a)"},Al.createElement("path",{d:"M6 7a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2h3ZM12.866 3a1 1 0 1 1 0 2h-10a1 1 0 1 1 0-2h10ZM6 11a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h3ZM13 11a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3ZM13 7a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3Z"}))))};function gd(){return gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gd.apply(this,arguments)}var vd,yd=function(e){return Al.createElement("svg",gd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),pd||(pd=Al.createElement("path",{fill:"inherit",d:"M11 11a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h4.5A.75.75 0 0 1 11 11Z"})),Al.createElement("mask",{id:"table_row_remove_svg__a",x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},fd||(fd=Al.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M0 0v16h16V0H0Zm10.25 12.75h-4.5a1.75 1.75 0 1 1 0-3.5h4.5a1.75 1.75 0 1 1 0 3.5Z",clipRule:"evenodd"}))),hd||(hd=Al.createElement("g",{fill:"inherit",mask:"url(#table_row_remove_svg__a)"},Al.createElement("path",{d:"M6 7a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2h3ZM13 3a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h10ZM6 11a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2h3ZM13 11a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3ZM13 7a1 1 0 1 1 0 2h-3a1 1 0 0 1 0-2h3Z"}))))};function bd(){return bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bd.apply(this,arguments)}var wd,_d=function(e){return Al.createElement("svg",bd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),vd||(vd=Al.createElement("path",{fill:"inherit",d:"M6 7a1 1 0 1 1 0 2H3a1 1 0 0 1 0-2h3ZM12.866 3a1 1 0 1 1 0 2h-10a1 1 0 1 1 0-2h10ZM13 7a1 1 0 1 1 0 2h-3a1 1 0 0 1 0-2h3ZM12.866 11a1 1 0 1 1 0 2h-10a1 1 0 1 1 0-2h10Z"})))};function Sd(){return Sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sd.apply(this,arguments)}var xd,Ed=function(e){return Al.createElement("svg",Sd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),wd||(wd=Al.createElement("path",{fill:"inherit",d:"M3.872 4.743a.872.872 0 0 1 0-1.743h8.256a.872.872 0 1 1 0 1.743H9V12a1 1 0 1 1-2 0V4.743H3.872Z"})))};function kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kd.apply(this,arguments)}var Cd,Td=function(e){return Al.createElement("svg",kd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),xd||(xd=Al.createElement("path",{fill:"inherit",d:"M2.805 11.494a.759.759 0 1 1-1.427-.516l2.257-6.096a1.352 1.352 0 0 1 2.535 0l2.26 6.096a.759.759 0 1 1-1.427.516L4.948 5.672a.046.046 0 0 0-.088 0l-2.054 5.822Zm-.125-2.63h4.437v1.163H2.68V8.863ZM11.681 12c-.191 0-.45-.019-.667-.038a1.54 1.54 0 0 1-.782-.282c-.153-.113-.316-.25-.4-.371-.184-.269-.275-.6-.275-.993 0-.338.065-.618.197-.84.131-.22.31-.398.538-.53.227-.133.483-.234.768-.301.288-.07.585-.122.892-.153.37-.036.67-.069.9-.097.23-.032.396-.079.5-.141a.328.328 0 0 0 .16-.3V7.93c0-.295-.091-.522-.274-.684-.184-.161-.448-.242-.793-.242-.365 0-.654.075-.867.226-.097.07-.18.145-.248.226-.135.161-.328.29-.536.262-.542-.074-.899-.643-.513-1.03l.023-.024c.252-.247.56-.432.925-.555a3.702 3.702 0 0 1 1.207-.187c.304 0 .607.034.908.101.302.068.577.18.826.336.25.154.45.364.6.63.153.265.23.597.23.995V12h-1.43v-.824h-.049a1.74 1.74 0 0 1-.382.469c-.29.257-.93.353-1.318.355h-.14Zm.373-.918c.299 0 .558-.056.777-.168a1.28 1.28 0 0 0 .505-.453c.12-.188.18-.392.18-.613V9.14a.717.717 0 0 1-.237.101 3.52 3.52 0 0 1-.37.082c-.137.024-.273.044-.407.063l-.349.047c-.222.028-.42.075-.596.14a.992.992 0 0 0-.415.274.647.647 0 0 0-.152.445c0 .26.1.457.3.59.2.133.455.199.764.199Z"})))};function Od(){return Od=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Od.apply(this,arguments)}var Md,Ad,Pd=function(e){return Al.createElement("svg",Od({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),Cd||(Cd=Al.createElement("path",{fill:"inherit",d:"M13.684 2.316a1.08 1.08 0 0 1 0 1.528L9.528 8l4.156 4.156c.386.387.418.994.096 1.417l-.096.11a1.08 1.08 0 0 1-1.528 0L8 9.529l-4.156 4.156a1.08 1.08 0 0 1-1.528-1.528L6.472 8 2.316 3.844a1.08 1.08 0 0 1-.096-1.417l.096-.11a1.08 1.08 0 0 1 1.528 0L8 6.471l4.156-4.156a1.08 1.08 0 0 1 1.528 0Z"})))};function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ld.apply(this,arguments)}var Dd,Rd,Id=function(e){return Al.createElement("svg",Ld({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 68 48"},e),Md||(Md=Al.createElement("path",{fill:"inherit",d:"M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z"})),Ad||(Ad=Al.createElement("path",{fill:"#fff",d:"M45 24 27 14v20"})))};function Nd(){return Nd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nd.apply(this,arguments)}var jd=function(e){return Al.createElement("svg",Nd({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 87 115"},e),Dd||(Dd=Al.createElement("path",{fill:"inherit",fillRule:"evenodd",d:"M83.99 10.81c6.09 10.43 2.63 23.85-7.73 29.98l-7.21 4.27 5.12 2.32c7.41 3.36 12.35 10.61 12.79 18.79.44 8.17-3.69 15.92-10.7 20.07l-43.5 25.73C22.41 118.1 9.08 114.61 3 104.18-3.08 93.75.37 80.33 10.73 74.2l7.21-4.27-5.12-2.32C5.41 64.25.47 57 .03 48.82c-.43-8.17 3.69-15.92 10.7-20.07l43.5-25.73C64.58-3.1 77.91.38 83.99 10.81Z",clipRule:"evenodd"})),Rd||(Rd=Al.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M33 74V41l28 16.5L33 74Z",clipRule:"evenodd"})))},Bd=o(4184),Fd=o.n(Bd),Hd=o(3379),zd=o.n(Hd),Vd=o(7795),Ud=o.n(Vd),$d=o(569),Gd=o.n($d),qd=o(3565),Wd=o.n(qd),Zd=o(9216),Yd=o.n(Zd),Kd=o(4589),Qd=o.n(Kd),Xd=o(9835),Jd={};Jd.styleTagTransform=Qd(),Jd.setAttributes=Wd(),Jd.insert=Gd().bind(null,"head"),Jd.domAPI=Ud(),Jd.insertStyleElement=Yd(),zd()(Xd.Z,Jd);const ep=Xd.Z&&Xd.Z.locals?Xd.Z.locals:void 0,tp=e=>{var{children:t,className:n,display:r="block",size:i="md"}=e;return Pl().createElement("div",{className:Fd()(ep.root,n,ep["display_".concat(r)],ep["size_".concat(i)])},t)};var np=o(1453),rp={};rp.styleTagTransform=Qd(),rp.setAttributes=Wd(),rp.insert=Gd().bind(null,"head"),rp.domAPI=Ud(),rp.insertStyleElement=Yd(),zd()(np.Z,rp);const ip=np.Z&&np.Z.locals?np.Z.locals:void 0;var op=["children","className","variant","color","size","radius","state","compact","leftIcon","rightIcon","onClick"],ap=(0,Al.forwardRef)(((e,t)=>{var{children:n,className:r,variant:i="filled",color:o="gray",size:a="md",radius:s="sm",state:l,compact:c,leftIcon:u,rightIcon:d,onClick:p}=e,f=Xl(e,op);return Pl().createElement("button",Ql({},f,{ref:t,className:Fd()(r,ip.button,ip["variant_".concat(i)],ip["color_".concat(o)],ip["size_".concat(a)],ip["state_".concat(l)],ip["radius_".concat(s)],{[ip.compact]:c}),onClick:p,"data-button":""}),u&&Pl().createElement("span",{className:ip.icon},u),n&&Pl().createElement("span",{className:ip.content},n),d&&Pl().createElement("span",{className:ip.icon},d))}));ap.Group=e=>{var{children:t,variant:n="outline",radius:r="md"}=e;return Pl().createElement("div",{className:Fd()(ip.group,ip["variant_".concat(n)],ip["radius_".concat(r)])},t)},ap.Divider=()=>Pl().createElement("div",{className:ip.divider});const sp=ap,lp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,Al.useCallback)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>((e,t)=>{"function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)})(t,e)))}}(...t),t)};var cp=["onChange","children","multiple","accept","name","form","resetRef","disabled","capture","inputProps"];function up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const dp=(0,Al.forwardRef)(((e,t)=>{var{onChange:n,children:r,multiple:i=!1,accept:o,name:a,form:s,resetRef:l,disabled:c,capture:u,inputProps:d}=e,p=Xl(e,cp),f=(0,Al.useRef)(),h=()=>{f.current.value=""};return(0,Al.useImperativeHandle)(l,(()=>h)),Pl().createElement(Pl().Fragment,null,r(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?up(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onClick:()=>{var e;c||null===(e=f.current)||void 0===e||e.click()}},p)),Pl().createElement("input",Ql({style:{display:"none"},type:"file",accept:o,multiple:i,onChange:e=>{var t,r;n(i?Array.from((null===(t=e.currentTarget)||void 0===t?void 0:t.files)||[]):(null===(r=e.currentTarget)||void 0===r||null===(r=r.files)||void 0===r?void 0:r[0])||null)},ref:lp(t,f),name:a,form:s,capture:u},d)))}));var pp=o(1190),fp={};fp.styleTagTransform=Qd(),fp.setAttributes=Wd(),fp.insert=Gd().bind(null,"head"),fp.domAPI=Ud(),fp.insertStyleElement=Yd(),zd()(pp.Z,fp);const hp=pp.Z&&pp.Z.locals?pp.Z.locals:void 0;var mp=["value","size","radius","prefix","postfix"];const gp=(0,Al.forwardRef)(((e,t)=>{var{value:n,size:r="md",radius:i="md",prefix:o,postfix:a}=e,s=Xl(e,mp),l=(()=>{var[e]=(0,Al.useState)((()=>"wisy-component-".concat(Math.random().toString(16).slice(2))));return e})();return Pl().createElement("label",{htmlFor:l,className:Fd()(hp.root,hp["radius_".concat(i)],hp["size_".concat(r)])},o&&Pl().createElement("span",{className:hp.prefix},o),Pl().createElement("input",Ql({id:l,ref:t,className:Fd()(hp.input,{[hp.with_prefix]:o,[hp.with_postfix]:a}),value:n},s)),a&&Pl().createElement("span",{className:hp.postfix},a))}));function vp(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var yp="undefined"!=typeof window&&"undefined"!=typeof document;function bp(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function wp(){return yp&&document.createElement("div")}function _p(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!_p(e[n],t[n]))return!1}return!0}return!1}function Sp(e){var t=[];return e.forEach((function(e){t.find((function(t){return _p(e,t)}))||t.push(e)})),t}var xp=yp?Al.useLayoutEffect:Al.useEffect;function Ep(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var kp={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Ep(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Ep(t,"remove",e.props.className)},onAfterUpdate:r}}};const Cp=function(e,t){return(0,Al.forwardRef)((function(n,r){var i=n.children,o=vp(n,["children"]);return Pl().createElement(e,Object.assign({},t,o),i?(0,Al.cloneElement)(i,{ref:function(e){bp(r,e),bp(i.ref,e)}}):null)}))}(function(e){return function(t){var n=t.children,r=t.content,i=t.visible,o=t.singleton,a=t.render,s=t.reference,l=t.disabled,c=void 0!==l&&l,u=t.ignoreAttributes,d=void 0===u||u,p=(t.__source,t.__self,vp(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),f=void 0!==i,h=void 0!==o,m=(0,Al.useState)(!1),g=m[0],v=m[1],y=(0,Al.useState)({}),b=y[0],w=y[1],_=(0,Al.useState)(),S=_[0],x=_[1],E=function(e){var t=(0,Al.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}((function(){return{container:wp(),renders:1}})),k=Object.assign({ignoreAttributes:d},p,{content:E.container});f&&(k.trigger="manual",k.hideOnClick=!1),h&&(c=!0);var C=k,T=k.plugins||[];a&&(C=Object.assign({},k,{plugins:h&&null!=o.data?[].concat(T,[{fn:function(){return{onTrigger:function(e,t){var n=o.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,x(n.content)}}}}]):T,render:function(){return{popper:E.container}}}));var O=[s].concat(n?[n.type]:[]);return xp((function(){var t=s;s&&s.hasOwnProperty("current")&&(t=s.current);var n=e(t||E.ref||wp(),Object.assign({},C,{plugins:[kp].concat(k.plugins||[])}));return E.instance=n,c&&n.disable(),i&&n.show(),h&&o.hook({instance:n,content:r,props:C,setSingletonContent:x}),v(!0),function(){n.destroy(),null==o||o.cleanup(n)}}),O),xp((function(){var e;if(1!==E.renders){var t=E.instance;t.setProps(function(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:Sp([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}(t.props,C)),null==(e=t.popperInstance)||e.forceUpdate(),c?t.disable():t.enable(),f&&(i?t.show():t.hide()),h&&o.hook({instance:t,content:r,props:C,setSingletonContent:x})}else E.renders++})),xp((function(){var e;if(a){var t=E.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;b.placement===n.placement&&b.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&b.escaped===(null==r?void 0:r.hasPopperEscaped)||w({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[b.placement,b.referenceHidden,b.escaped].concat(O)),Pl().createElement(Pl().Fragment,null,n?(0,Al.cloneElement)(n,{ref:function(e){E.ref=e,bp(n.ref,e)}}):null,g&&(0,Ll.createPortal)(a?a(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(b),S,E.instance):r,E.container))}}(Tl));var Tp=e=>"string"==typeof e,Op=e=>"object"==typeof e&&null!==e,Mp=o(8512),Ap={};Ap.styleTagTransform=Qd(),Ap.setAttributes=Wd(),Ap.insert=Gd().bind(null,"head"),Ap.domAPI=Ud(),Ap.insertStyleElement=Yd(),zd()(Mp.Z,Ap);const Pp=Mp.Z&&Mp.Z.locals?Mp.Z.locals:void 0;var Lp=e=>{var{children:t}=e;return Pl().createElement("div",{className:Pp.menu},t)};Lp.displayName="MenuDropdown";const Dp=Lp;var Rp=(0,Al.forwardRef)(((e,t)=>{var{children:n}=e;return(0,Al.cloneElement)(n,{ref:t})}));Rp.displayName="MenuTrigger";var Ip=["children"],Np=e=>{var{children:t}=e,n=Xl(e,Ip),r=t[0],i=t[1];if("MenuTrigger"!==(Op(r.type)?r.type.displayName:""))throw new Error("Menu.Trigger should be used as first component of Menu component");return Pl().createElement(Cp,Ql({content:i,trigger:"click",interactive:!0,placement:"bottom",hideOnClick:!0},n),r)};Np.Trigger=Rp,Np.Dropdown=Dp,Np.Divider=()=>Pl().createElement("div",{className:Pp.divider});const jp=Np,Bp=()=>{};function Fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fp(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zp={setConfig:Bp},Vp=(0,Al.createContext)(zp),Up=e=>{var{children:t,initialConfig:n}=e,[r,i]=(0,Al.useState)(n),o=e=>{i(e)},a=(0,Al.useMemo)((()=>Hp(Hp({},r),{},{setConfig:o})),[r]);return Pl().createElement(Vp.Provider,{value:a},t)},$p=()=>{var e=(0,Al.useContext)(Vp);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e};const Gp=e=>{var{children:t,containerSelector:n}=e,r=n?document.querySelector(n):null;return Dl().createPortal(t,r||document.body)};var qp=o(5049),Wp={};Wp.styleTagTransform=Qd(),Wp.setAttributes=Wd(),Wp.insert=Gd().bind(null,"head"),Wp.domAPI=Ud(),Wp.insertStyleElement=Yd(),zd()(qp.Z,Wp);const Zp=qp.Z&&qp.Z.locals?qp.Z.locals:void 0,Yp=e=>{var{children:t,onClose:n}=e,{modalRootSelector:r}=$p();return(0,Al.useEffect)((()=>(document.body.classList.add(Zp.bodyOverflow),()=>{document.body.classList.remove(Zp.bodyOverflow)})),[]),Pl().createElement(Gp,{containerSelector:r},Pl().createElement("div",{className:Zp.root},Pl().createElement("button",{type:"button",className:Zp.backdrop,onClick:()=>{n&&n()},"aria-label":"Close modal"}),Pl().createElement("div",{className:Zp.content},t)))},Kp=e=>{var{container:t,visible:n,onDelete:r,draggable:i}=e;return Pl().createElement(ac,{visible:n,container:t},Pl().createElement(sp.Group,{variant:"filled"},r&&Pl().createElement(sp,{onClick:r,size:"sm",radius:"sm",variant:"subtle",color:"red",leftIcon:Pl().createElement(Pd,null)}),i&&Pl().createElement(sp,{draggable:"true","data-drag-handle":"",variant:"subtle",size:"sm",radius:"sm",leftIcon:Pl().createElement(Ic,null)})))};var Qp=["children","selected","draggable","onNodeDelete","className","editable","asComponent"];const Xp=e=>{var{children:t,selected:n,draggable:r,onNodeDelete:o,className:a,editable:s=!1,asComponent:l=Wl}=e,c=Xl(e,Qp),u=(0,Al.useRef)(null),[d,p]=(0,Al.useState)(!1),f=(0,Al.useRef)([]);(0,Al.useEffect)((()=>{if(u.current instanceof HTMLElement){var e=u.current.removeChild;u.current.removeChild=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var[o]=n;return o.parentNode!==this?(i&&i.warn("Cannot remove a child from a different parent",o,this),o):e.apply(this,n)}}}),[u.current]);var h=(0,Al.useCallback)((()=>{f.current.length>0&&(f.current.forEach((e=>{clearTimeout(e)})),f.current=[]),p(!0)}),[]),m=(0,Al.useCallback)((()=>{var e=setTimeout((()=>{p(!1)}),200);f.current.push(e)}),[]),g=n||d;return Pl().createElement(l,Ql({className:a,onMouseEnter:h,onMouseLeave:m,ref:u},c),s&&Pl().createElement(Kp,{container:u.current,draggable:r,onDelete:o,visible:g}),t)};var Jp=o(6894),ef={};ef.styleTagTransform=Qd(),ef.setAttributes=Wd(),ef.insert=Gd().bind(null,"head"),ef.domAPI=Ud(),ef.insertStyleElement=Yd(),zd()(Jp.Z,ef);const tf=Jp.Z&&Jp.Z.locals?Jp.Z.locals:void 0;var nf=["Enter","NumpadEnter"];const rf=e=>{var{children:t,className:n,value:r,onReset:i,placeholder:o,onChange:a,onSubmit:s}=e,l=r&&i;return Pl().createElement(tp,{display:"flexColumn",className:Fd()(n,tf.root)},Pl().createElement(gp,{autoFocus:!0,onKeyUp:e=>{nf.includes(e.code)&&s&&s(r)},placeholder:o,size:"lg",onChange:a,value:r,postfix:l&&Pl().createElement(sp,{variant:"subtle",onClick:i,leftIcon:Pl().createElement(Pd,null)})}),t)};function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function af(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?of(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sf={isEditable:!1,setOptions:Bp},lf=(0,Al.createContext)(sf),cf=e=>{var{children:t,initialOptions:n}=e,[r,i]=(0,Al.useState)(n),o=e=>{i(e)},a=(0,Al.useMemo)((()=>af(af({},r),{},{setOptions:o})),[r]);return Pl().createElement(lf.Provider,{value:a},t)},uf=()=>{var e=(0,Al.useContext)(lf);if(!e)throw new Error("useOptionsState must be used within a OptionsProvider");return e};const df=Sa.create({name:"doc",topNode:!0,content:"block+"});function pf(e={}){return new gt({view:t=>new ff(t,e)})}class ff{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=t.width)&&void 0!==n?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map((t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}}))}destroy(){this.handlers.forEach((({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t)))}update(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent;if(n){let n=t.nodeBefore,r=t.nodeAfter;if(n||r){let t=this.editorView.nodeDOM(this.cursorPos-(n?n.nodeSize:0));if(t){let i=t.getBoundingClientRect(),o=n?i.bottom:i.top;n&&r&&(o=(o+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),e={left:i.left,right:i.right,top:o-this.width/2,bottom:o+this.width/2}}}}if(!e){let t=this.editorView.coordsAtPos(this.cursorPos);e={left:t.left-this.width/2,right:t.left+this.width/2,top:t.top,bottom:t.bottom}}let r,i,o=this.editorView.dom.offsetParent;if(this.element||(this.element=o.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),!o||o==document.body&&"static"==getComputedStyle(o).position)r=-pageXOffset,i=-pageYOffset;else{let e=o.getBoundingClientRect();r=e.left-o.scrollLeft,i=e.top-o.scrollTop}this.element.style.left=e.left-r+"px",this.element.style.top=e.top-i+"px",this.element.style.width=e.right-e.left+"px",this.element.style.height=e.bottom-e.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout((()=>this.setCursor(null)),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,i="function"==typeof r?r(this.editorView,t,e):r;if(t&&!i){let e=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let t=Ie(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&&(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const hf=Do.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[pf(this.options)]}});class mf extends Qe{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return mf.valid(n)?new mf(n):Qe.near(n)}content(){return f.empty}eq(e){return e instanceof mf&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new mf(e.resolve(t.pos))}getBookmark(){return new gf(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(0!=n)for(let e=r.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n!=r.childCount)for(let e=r.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&mf.valid(e))return e;let r=e.pos,i=null;for(let n=e.depth;;n--){let o=e.node(n);if(t>0?e.indexAfter(n)<o.childCount:e.index(n)>0){i=o.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;r+=t;let a=e.doc.resolve(r);if(mf.valid(a))return a}for(;;){let o=t>0?i.firstChild:i.lastChild;if(!o){if(i.isAtom&&!i.isText&&!rt.isSelectable(i)){e=e.doc.resolve(r+i.nodeSize*t),n=!1;continue e}break}i=o,r+=t;let a=e.doc.resolve(r);if(mf.valid(a))return a}return null}}}mf.prototype.visible=!1,mf.findFrom=mf.findGapCursorFrom,Qe.jsonID("gapcursor",mf);class gf{constructor(e){this.pos=e}map(e){return new gf(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return mf.valid(t)?new mf(t):Qe.near(t)}}const vf=Ni({ArrowLeft:yf("horiz",-1),ArrowRight:yf("horiz",1),ArrowUp:yf("vert",-1),ArrowDown:yf("vert",1)});function yf(e,t){const n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,r,i){let o=e.selection,a=t>0?o.$to:o.$from,s=o.empty;if(o instanceof tt){if(!i.endOfTextblock(n)||0==a.depth)return!1;s=!1,a=e.doc.resolve(t>0?a.after():a.before())}let l=mf.findGapCursorFrom(a,t,s);return!!l&&(r&&r(e.tr.setSelection(new mf(l))),!0)}}function bf(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!mf.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return!(i&&i.inside>-1&&rt.isSelectable(e.state.doc.nodeAt(i.inside))||(e.dispatch(e.state.tr.setSelection(new mf(r))),0))}function wf(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof mf))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=s.empty;for(let e=r.length-1;e>=0;e--)i=s.from(r[e].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new f(i,0,0));return o.setSelection(tt.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function _f(e){if(!(e.selection instanceof mf))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",ei.create(e.doc,[Qr.widget(e.selection.head,t,{key:"gapcursor"})])}const Sf=Do.create({name:"gapCursor",addProseMirrorPlugins:()=>[new gt({props:{decorations:_f,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&mf.valid(n)?new mf(n):null,handleClick:bf,handleKeyDown:vf,handleDOMEvents:{beforeinput:wf}}})],extendNodeSchema(e){var t;return{allowGapCursor:null!==(t=vo(co(e,"allowGapCursor",{name:e.name,options:e.options,storage:e.storage})))&&void 0!==t?t:null}}}),xf=Sa.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",ho(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command((()=>{const{selection:e,storedMarks:i}=n;if(e.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:a}=r.extensionManager,s=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command((({tr:e,dispatch:t})=>{if(t&&s&&o){const t=s.filter((e=>a.includes(e.type.name)));e.ensureMarks(t)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});var Ef=200,kf=function(){};kf.prototype.append=function(e){return e.length?(e=kf.from(e),!this.length&&e||e.length<Ef&&this.leafAppend(e)||this.length<Ef&&e.leafPrepend(this)||this.appendInner(e)):this},kf.prototype.prepend=function(e){return e.length?kf.from(e).append(this):this},kf.prototype.appendInner=function(e){return new Tf(this,e)},kf.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?kf.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},kf.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},kf.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},kf.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},kf.from=function(e){return e instanceof kf?e:e&&e.length?new Cf(e):kf.empty};var Cf=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(!1===e(this.values[i],r+i))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(!1===e(this.values[i],r+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=Ef)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=Ef)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(kf);kf.empty=new Cf([]);var Tf=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;return!(t<i&&!1===this.left.forEachInner(e,t,Math.min(n,i),r))&&!(n>i&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i))&&void 0},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;return!(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i))&&!(n<i&&!1===this.left.forEachInvertedInner(e,Math.min(t,i),n,r))&&void 0},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(kf);const Of=kf;class Mf{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}t&&(n=this.remapping(i,this.items.length),r=n.maps.length);let o,a,s=e.tr,l=[],c=[];return this.items.forEach(((e,t)=>{if(!e.step)return n||(n=this.remapping(i,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new Af(e.map));let t,i=e.step.map(n.slice(r));i&&s.maybeStep(i).doc&&(t=s.mapping.maps[s.mapping.maps.length-1],l.push(new Af(t,void 0,void 0,l.length+c.length))),r--,t&&n.appendMap(t,r)}else s.maybeStep(e.step);return e.selection?(o=n?e.selection.map(n.slice(r)):e.selection,a=new Mf(this.items.slice(0,i).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:a,transform:s,selection:o}}addTransform(e,t,n,r){let i=[],o=this.eventCount,a=this.items,s=!r&&a.length?a.get(a.length-1):null;for(let n=0;n<e.steps.length;n++){let l,c=e.steps[n].invert(e.docs[n]),u=new Af(e.mapping.maps[n],c,t);(l=s&&s.merge(u))&&(u=l,n?i.pop():a=a.slice(0,a.length-1)),i.push(u),t&&(o++,t=void 0),r||(s=u)}let l=o-n.depth;return l>Lf&&(a=function(e,t){let n;return e.forEach(((e,r)=>{if(e.selection&&0==t--)return n=r,!1})),e.slice(n)}(a,l),o-=l),new Mf(a.append(i),o)}remapping(e,t){let n=new me;return this.items.forEach(((t,r)=>{let i=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)}),e,t),n}addMaps(e){return 0==this.eventCount?this:new Mf(this.items.append(e.map((e=>new Af(e)))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),i=e.mapping,o=e.steps.length,a=this.eventCount;this.items.forEach((e=>{e.selection&&a--}),r);let s=t;this.items.forEach((t=>{let r=i.getMirror(--s);if(null==r)return;o=Math.min(o,r);let l=i.maps[r];if(t.step){let o=e.steps[r].invert(e.docs[r]),c=t.selection&&t.selection.map(i.slice(s+1,r));c&&a++,n.push(new Af(l,o,c))}else n.push(new Af(l))}),r);let l=[];for(let e=t;e<o;e++)l.push(new Af(i.maps[e]));let c=this.items.slice(0,r).append(l).append(n),u=new Mf(c,a);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach((t=>{t.step||e++})),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],i=0;return this.items.forEach(((o,a)=>{if(a>=e)r.push(o),o.selection&&i++;else if(o.step){let e=o.step.map(t.slice(n)),a=e&&e.getMap();if(n--,a&&t.appendMap(a,n),e){let s=o.selection&&o.selection.map(t.slice(n));s&&i++;let l,c=new Af(a.invert(),e,s),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else o.map&&n--}),this.items.length,0),new Mf(Of.from(r.reverse()),i)}}Mf.empty=new Mf(Of.empty,0);class Af{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new Af(t.getMap().invert(),t,this.selection)}}}class Pf{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}}const Lf=20;function Df(e){let t=[];return e.forEach(((e,n,r,i)=>t.push(r,i))),t}function Rf(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),o=t.map(e[r+1],-1);i<=o&&n.push(i,o)}return n}function If(e,t,n,r){let i=Bf(t),o=Ff.get(t).spec.config,a=(r?e.undone:e.done).popEvent(t,i);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),o,i),c=new Pf(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(Ff,{redo:r,historyState:c}).scrollIntoView())}let Nf=!1,jf=null;function Bf(e){let t=e.plugins;if(jf!=t){Nf=!1,jf=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){Nf=!0;break}}return Nf}const Ff=new bt("history"),Hf=new bt("closeHistory");function zf(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new gt({key:Ff,state:{init:()=>new Pf(Mf.empty,Mf.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let i,o=n.getMeta(Ff);if(o)return o.historyState;n.getMeta(Hf)&&(e=new Pf(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(a&&a.getMeta(Ff))return a.getMeta(Ff).redo?new Pf(e.done.addTransform(n,void 0,r,Bf(t)),e.undone,Df(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new Pf(e.done,e.undone.addTransform(n,void 0,r,Bf(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(i=n.getMeta("rebased"))?new Pf(e.done.rebased(n,i),e.undone.rebased(n,i),Rf(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Pf(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Rf(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let i=n.getMeta("composition"),o=0==e.prevTime||!a&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach(((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)})),n}(n,e.prevRanges)),s=a?Rf(e.prevRanges,n.mapping):Df(n.mapping.maps[n.steps.length-1]);return new Pf(e.done.addTransform(n,o?t.selection.getBookmark():void 0,r,Bf(t)),Mf.empty,s,n.time,null==i?e.prevComposition:i)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?Vf:"historyRedo"==n?Uf:null;return!!r&&(t.preventDefault(),r(e.state,e.dispatch))}}}})}const Vf=(e,t)=>{let n=Ff.getState(e);return!(!n||0==n.done.eventCount||(t&&If(n,e,t,!1),0))},Uf=(e,t)=>{let n=Ff.getState(e);return!(!n||0==n.undone.eventCount||(t&&If(n,e,t,!0),0))},$f=Do.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>Vf(e,t),redo:()=>({state:e,dispatch:t})=>Uf(e,t)}),addProseMirrorPlugins(){return[zf(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-Z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-Y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Shift-Mod-Z":()=>this.editor.commands.redo(),"Mod-Ñ":()=>this.editor.commands.undo(),"Shift-Mod-Ñ":()=>this.editor.commands.redo()}}}),Gf=Sa.create({name:"text",group:"inline"}),qf=function(e){var{excludeNodes:t=[]}=e;return function(e){var{editor:n,view:r,state:i,from:o,to:a}=e,{doc:s,selection:l}=i,{empty:c}=l,u=!s.textBetween(o,a).length&&Vo(i.selection),d=this.element.contains(document.activeElement);return!(!r.hasFocus()&&!d||c||u||!n.isEditable)&&!!t.every((e=>!n.isActive(e)))&&(n.isActive("paragraph")||n.isActive("heading"))}};var Wf={duration:100,maxWidth:"none"};const Zf=e=>{var{extensions:t=[],editor:n,children:r}=e,i=(0,Al.useMemo)((()=>t.reduce(((e,t)=>{var n;return!1===(null==t||null===(n=t.extendedConfig)||void 0===n||null===(n=n.bubbleMenu)||void 0===n?void 0:n.shouldShow)&&e.push(t.name),e}),[])),[]);return Pl().createElement(Vl,{shouldShow:qf({excludeNodes:i}),editor:n,tippyOptions:Wf},Pl().createElement(sp.Group,null,r,Pl().createElement(sp.Divider,null),t.map((e=>{var t,r=(null==e||null===(t=e.extendedConfig)||void 0===t||null===(t=t.bubbleMenu)||void 0===t?void 0:t.render)||[];return Array.isArray(r)?Pl().createElement(Al.Fragment,{key:e.name},r.map((t=>Pl().createElement(t,{key:"".concat(e.name,"_").concat(t.name),editor:n})))):Pl().createElement(r,{key:e.name,editor:n})}))))};var Yf={placement:"left",duration:100,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}};const Kf=e=>{var{extensions:t=[],editor:n}=e;return Pl().createElement(Ul,{editor:n,tippyOptions:Yf},Pl().createElement(jp,null,Pl().createElement(jp.Trigger,null,Pl().createElement(sp,{variant:"subtle",size:"lg",radius:"xl",leftIcon:Pl().createElement(Ju,null),compact:!0})),Pl().createElement(jp.Dropdown,null,t.map((e=>{var t,r=(null==e||null===(t=e.extendedConfig)||void 0===t||null===(t=t.floatingMenu)||void 0===t?void 0:t.render)||[];return Array.isArray(r)?Pl().createElement(Al.Fragment,{key:e.name},r.map((t=>Pl().createElement(t,{key:"".concat(e.name,"_").concat(t.name),editor:n})))):Pl().createElement(r,{key:e.name,editor:n})})))))},Qf=e=>{var{extensions:t=[],nodeType:n,editor:r}=e;return n&&r?Pl().createElement(Pl().Fragment,null,t.map((e=>{var t,i=null==e||null===(t=e.extendedConfig)||void 0===t||null===(t=t.nodeMenu)||void 0===t?void 0:t.render;return e.name===n.name&&i?Pl().createElement(i,{key:e.name,editor:r}):null}))):null};function Xf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xf(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}class eh{constructor(e){var{editor:t,element:n,view:r,tippyOptions:i={},updateDelay:o=0,shouldShow:a,onNodeChanged:s}=e;ec(this,"preventHide",!1),ec(this,"shouldShow",(e=>{var{view:t}=e,n=this.element.contains(document.activeElement);return!(!t.hasFocus()&&!n||!this.editor.isEditable)})),ec(this,"mousedownHandler",(()=>{this.preventHide=!0})),ec(this,"dragstartHandler",(()=>{this.hide()})),ec(this,"focusHandler",(()=>{setTimeout((()=>this.update(this.editor.view)))})),ec(this,"blurHandler",(e=>{var t,{event:n}=e;this.preventHide?this.preventHide=!1:null!=n&&n.relatedTarget&&null!==(t=this.element.parentNode)&&void 0!==t&&t.contains(n.relatedTarget)||this.hide()})),ec(this,"tippyBlurHandler",(e=>{this.blurHandler({event:e})})),ec(this,"handleDebouncedUpdate",((e,t)=>{var n=!(null!=t&&t.selection.eq(e.state.selection)),r=!(null!=t&&t.doc.eq(e.state.doc)),i=!this.checkSameNode(e.state,t);(n||r||i)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=>{this.updateHandler(e,n,r,i)}),this.updateDelay))})),ec(this,"updateHandler",((e,t,n,r,i)=>{var o,a,s,{state:l,composing:c}=e,{selection:u}=l;if(!c&&(t||n)&&r){this.createTooltip();var{ranges:d}=u,p=Math.min(...d.map((e=>e.$from.pos))),f=Math.max(...d.map((e=>e.$to.pos)));if(null===(o=this.shouldShow)||void 0===o?void 0:o.call(this,{view:e,state:l,oldState:i})){var h=l.selection.$from.start(1)-1,m=l.selection.$from.doc.nodeAt(h);this.onNodeChanged&&this.onNodeChanged((null==m?void 0:m.type)||null),null===(a=this.tippy)||void 0===a||a.setProps({getReferenceClientRect:(null===(s=this.tippyOptions)||void 0===s?void 0:s.getReferenceClientRect)||(()=>{var t=e.nodeDOM(h);return t?t.getBoundingClientRect():sa(e,p,f)})}),this.show()}else this.hide()}})),this.editor=t,this.element=n,this.view=r,this.updateDelay=o,this.onNodeChanged=s,a&&(this.shouldShow=a),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){var{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=Tl(e,Jf({duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle"},this.tippyOptions)),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}checkSameNode(e,t){var n=e.selection.$from.start(1)-1,r=e.selection.$from.doc.nodeAt(n),i=null,o=null;return t&&(i=t.selection.$from.start(1)-1,o=t.selection.$from.doc.nodeAt(i)),!(!r||!o||o.type.name!==r.type.name||n!==i)}update(e,t){if(this.updateDelay>0)this.handleDebouncedUpdate(e,t);else{var n=!(null!=t&&t.selection.eq(e.state.selection)),r=!(null!=t&&t.doc.eq(e.state.doc)),i=!this.checkSameNode(e.state,t);this.updateHandler(e,n,r,i,t)}}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;null!==(e=this.tippy)&&void 0!==e&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}var th={visibility:"hidden"};const nh=e=>{var{className:t,editor:n,pluginKey:r="nodeMenu",tippyOptions:o={},updateDelay:a,shouldShow:s=null,content:l,extensions:c=[]}=e,[u,d]=(0,Al.useState)(null),[p,f]=(0,Al.useState)(null),{editor:h}=zl(),m=e=>{f(e)};return(0,Al.useEffect)((()=>{if(u&&!(null!=n&&n.isDestroyed||null!=h&&h.isDestroyed)){var e=n||h;if(e){var t=(e=>new gt({key:"string"==typeof e.pluginKey?new bt(e.pluginKey):e.pluginKey,view:t=>new eh(Jf({view:t},e))}))({updateDelay:a,editor:e,element:u,pluginKey:r,shouldShow:s,tippyOptions:o,onNodeChanged:m});return e.registerPlugin(t),()=>e.unregisterPlugin(r)}i.warn("NodeMenu component is not rendered inside of an editor component or does not have editor prop.")}}),[n,h,u]),Pl().createElement("div",{ref:d,className:t,style:th},Pl().createElement(l,{extensions:c,nodeType:p,editor:n}))};var rh={placement:"top-start",duration:100};const ih=e=>{var{editor:t,extensions:n=[]}=e;return Pl().createElement(nh,{editor:t,tippyOptions:rh,content:Qf,extensions:n})},oh=e=>{var{editor:t,extensions:n=[]}=e;return Pl().createElement(jp,null,Pl().createElement(jp.Trigger,null,Pl().createElement(sp,{variant:"subtle",leftIcon:Pl().createElement(Td,null),rightIcon:Pl().createElement(dc,{width:"12px"})})),Pl().createElement(jp.Dropdown,null,n.map((e=>{var n,r=(null==e||null===(n=e.extendedConfig)||void 0===n||null===(n=n.typeMenu)||void 0===n?void 0:n.render)||[];return Array.isArray(r)?Pl().createElement(Al.Fragment,{key:e.name},r.map((n=>Pl().createElement(n,{key:"".concat(e.name,"_").concat(n.name),editor:t})))):Pl().createElement(r,{key:e.name,editor:t})}))))};var ah=["from","to"];function sh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const lh=(e,t,n,r)=>{var i=t+1;if(!r[i])return null;var{from:o,to:a}=r[t],s=a-o-e.length+n,l=r[i],{from:c,to:u}=l,d=Xl(l,ah);return r[i]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sh(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({to:u-s,from:c-s},d),[s,r]};var ch=Do.create({name:"searchAndReplace",addOptions:()=>({searchResultClass:"search-result",disableRegex:!1}),addStorage:()=>({searchTerm:"",replaceTerm:"",results:[],lastSearchTerm:"",caseSensitive:!1,lastCaseSensitive:!1,resultIndex:0,lastResultIndex:0}),addCommands:()=>({setSearchTerm:e=>t=>{var{editor:n}=t;return n.storage.searchAndReplace.searchTerm=e,!1},setReplaceTerm:e=>t=>{var{editor:n}=t;return n.storage.searchAndReplace.replaceTerm=e,!1},setCaseSensitive:e=>t=>{var{editor:n}=t;return n.storage.searchAndReplace.caseSensitive=e,!1},resetIndex:()=>e=>{var{editor:t}=e;return t.storage.searchAndReplace.resultIndex=0,!1},nextSearchResult:()=>e=>{var{editor:t}=e,{results:n,resultIndex:r}=t.storage.searchAndReplace,i=r+1;return n[i]?t.storage.searchAndReplace.resultIndex=i:t.storage.searchAndReplace.resultIndex=0,!1},previousSearchResult:()=>e=>{var{editor:t}=e,{results:n,resultIndex:r}=t.storage.searchAndReplace,i=r-1;return n[i]?t.storage.searchAndReplace.resultIndex=i:t.storage.searchAndReplace.resultIndex=n.length-1,!1},replace:()=>e=>{var{editor:t,state:n,dispatch:r}=e,{replaceTerm:i,results:o}=t.storage.searchAndReplace;return((e,t,n,r)=>{if(t[0]){var{from:i,to:o,content:a}=t[0];if(r){var s="function"==typeof e?e(a):e;r(n.tr.insertText(s,i,o))}}})(i,o,n,r),!1},replaceAll:()=>e=>{var{editor:t,tr:n,dispatch:r}=e,{replaceTerm:i,results:o}=t.storage.searchAndReplace;return((e,t,n,r)=>{var i=0,o=t.slice();if(o.length){for(var a=0;a<o.length;a+=1){var{from:s,to:l,content:c}=o[a],u="function"==typeof e?e(c):e;n.insertText(u,s,l);var d=lh(u,a,i,o);d&&(i=d[0],o=d[1])}null==r||r(n)}})(i,o,n,r),!1}}),addProseMirrorPlugins(){var{editor:e}=this,{searchResultClass:t,disableRegex:n}=this.options;return[new gt({key:new bt("searchAndReplacePlugin"),state:{init:()=>ei.empty,apply(r,i){var{doc:o,docChanged:a}=r,{searchTerm:s,lastSearchTerm:l,caseSensitive:c,lastCaseSensitive:u,resultIndex:d,lastResultIndex:p}=e.storage.searchAndReplace;if(!a&&l===s&&u===c&&p===d)return i;if((t=>{e.storage.searchAndReplace.lastSearchTerm=t})(s),(t=>{e.storage.searchAndReplace.lastCaseSensitive=t})(c),(t=>{e.storage.searchAndReplace.lastResultIndex=t})(d),!s)return e.storage.searchAndReplace.results=[],ei.empty;var{decorationsToReturn:f,results:h}=((e,t,n,r)=>{var i=[],o=[],a=[],s=0;if(!t)return{decorationsToReturn:ei.empty,results:[]};for(var l of(null==e||e.descendants(((e,t)=>{e.isText?a[s]?a[s]={text:a[s].text+e.text,pos:a[s].pos}:a[s]={text:"".concat(e.text),pos:t}:s+=1})),a=a.filter(Boolean))){var{text:c,pos:u}=l,d=Array.from(c.matchAll(t)).filter((e=>{var[t]=e;return t.trim()}));for(var p of d){if(""===p[0])break;void 0!==p.index&&o.push({from:u+p.index,to:u+p.index+p[0].length,content:p[0]||""})}}for(var f=0;f<o.length;f+=1){var h=o[f],m=f===r?"".concat(n," ").concat(n,"-current"):n,g=Qr.inline(h.from,h.to,{class:m});i.push(g)}return{decorationsToReturn:ei.create(e,i),results:o}})(o,((e,t,n)=>{if(e instanceof RegExp)return e;var r=t?e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):e;return RegExp(r,n?"gu":"gui")})(s,n,c),t,d);return e.storage.searchAndReplace.results=h,f}},props:{decorations(e){return this.getState(e)}}})]}});const uh=ch,dh=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(t),t=setTimeout((()=>e(...i)),n)}};function ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ph(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ph(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hh=(0,Al.forwardRef)(((e,t)=>{var n,{className:r,defaultValue:i,isReadOnly:o=!1,onInit:a,onUpdate:s,config:l={},extensions:c=[]}=e,{setOptions:u}=uf(),{setConfig:d}=$p();(0,Al.useEffect)((()=>{d(l)}),[l]);var p=(0,Al.useCallback)(dh((e=>{if(s){var t=e.editor.getJSON(),n=e.editor.getText({blockSeparator:"\n\n"});s({json:t,text:n})}}),1e3),[]),f=(0,Al.useMemo)((()=>[df,hf,Sf,xf,$f,Gf,uh,...c]),[c]),h=((e={},t=[])=>{const[n,r]=(0,Al.useState)(null),i=function(){const[,e]=(0,Al.useState)(0);return()=>e((e=>e+1))}(),{onBeforeCreate:o,onBlur:a,onCreate:s,onDestroy:l,onFocus:c,onSelectionUpdate:u,onTransaction:d,onUpdate:p}=e,f=(0,Al.useRef)(o),h=(0,Al.useRef)(a),m=(0,Al.useRef)(s),g=(0,Al.useRef)(l),v=(0,Al.useRef)(c),y=(0,Al.useRef)(u),b=(0,Al.useRef)(d),w=(0,Al.useRef)(p);return(0,Al.useEffect)((()=>{n&&(o&&(n.off("beforeCreate",f.current),n.on("beforeCreate",o),f.current=o),a&&(n.off("blur",h.current),n.on("blur",a),h.current=a),s&&(n.off("create",m.current),n.on("create",s),m.current=s),l&&(n.off("destroy",g.current),n.on("destroy",l),g.current=l),c&&(n.off("focus",v.current),n.on("focus",c),v.current=c),u&&(n.off("selectionUpdate",y.current),n.on("selectionUpdate",u),y.current=u),d&&(n.off("transaction",b.current),n.on("transaction",d),b.current=d),p&&(n.off("update",w.current),n.on("update",p),w.current=p))}),[o,a,s,l,c,u,d,p,n]),(0,Al.useEffect)((()=>{let t=!0;const n=new Fl(e);return r(n),n.on("transaction",(()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t&&i()}))}))})),()=>{t=!1}}),t),(0,Al.useEffect)((()=>()=>{null==n||n.destroy()}),[n]),n})({extensions:f,content:i,onCreate:function(){a&&a()},onUpdate:e=>{u({isEditable:e.editor.isEditable}),p(e)},editable:!o});return(e=>{var{editor:t,onUpdate:n}=e,r=(0,Al.useCallback)(dh((()=>{if(t&&n){var e=[],r=t.state.tr;t.state.doc.descendants(((t,n)=>{if("heading"===t.type.name){var i="heading-".concat(e.length+1);t.attrs.id!==i&&r.setNodeMarkup(n,void 0,fh(fh({},t.attrs),{},{id:i})),e.push({level:t.attrs.level,text:t.textContent,id:i})}})),r.setMeta("addToHistory",!1),r.setMeta("preventUpdate",!0),t.view.dispatch(r),n(e)}})),[t,n]);(0,Al.useEffect)((()=>{if(t&&n)return r(),t.on("update",r),()=>{t.off("update",r)}}),[t,n])})({editor:h,onUpdate:null===(n=l.tableOfContents)||void 0===n?void 0:n.onUpdate}),(0,Al.useImperativeHandle)(t,(()=>({undo:()=>{null==h||h.commands.undo()},redo:()=>{null==h||h.commands.redo()},replaceAll:(e,t)=>{null==h||h.commands.setSearchTerm(e),null==h||h.commands.setReplaceTerm(t),null==h||h.commands.replaceAll()}})),[h]),(0,Al.useEffect)((()=>{h&&h.setEditable(!o)}),[h,o]),Pl().createElement(Pl().Fragment,null,h?Pl().createElement(ih,{editor:h,extensions:f}):null,h?Pl().createElement(Kf,{editor:h,extensions:f}):null,h?Pl().createElement(Zf,{editor:h,extensions:f},Pl().createElement(oh,{editor:h,extensions:f})):null,Pl().createElement(Bl,{className:r,editor:h}))}));const mh=hh;var gh=o(7498),vh={};vh.styleTagTransform=Qd(),vh.setAttributes=Wd(),vh.insert=Gd().bind(null,"head"),vh.domAPI=Ud(),vh.insertStyleElement=Yd(),zd()(gh.Z,vh),gh.Z&&gh.Z.locals&&gh.Z.locals;const yh=(0,Al.forwardRef)(((e,t)=>{var{config:n={},isReadOnly:r=!1}=e||{};return Pl().createElement(cf,{initialOptions:{isEditable:!r}},Pl().createElement(Up,{initialConfig:n},Pl().createElement(mh,Ql({},e,{ref:t}))))})),bh=e=>{var{isActive:t,onClick:n,children:r}=e;return Pl().createElement(sp,{variant:"subtle",state:t?"active":"default",onClick:n,leftIcon:r})},wh=e=>{var t=(0,Al.useRef)(e);return(0,Al.useLayoutEffect)((()=>{t.current=e})),(0,Al.useCallback)((function(){return t.current(...arguments)}),[])};function _h(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Sh(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_h(o,r,i,a,s,"next",e)}function s(e){_h(o,r,i,a,s,"throw",e)}a(void 0)}))}}var xh=o(2958),Eh={};Eh.styleTagTransform=Qd(),Eh.setAttributes=Wd(),Eh.insert=Gd().bind(null,"head"),Eh.domAPI=Ud(),Eh.insertStyleElement=Yd(),zd()(xh.Z,Eh);const kh=xh.Z&&xh.Z.locals?xh.Z.locals:void 0,Ch=e=>{var{initialValue:t="",onSelect:n}=e,{game:r}=$p(),[i,o]=(0,Al.useState)(t),[a,s]=(0,Al.useState)([]);return(0,Al.useEffect)((()=>{!function(){var e=Sh((function*(){if(i&&null!=r&&r.onSearch){var e=yield r.onSearch(i,10);s(e)}else s([])}));return function(){return e.apply(this,arguments)}}()()}),[i]),Pl().createElement(rf,{onChange:e=>{o(e.target.value)},className:kh.root,value:i,placeholder:"Введите название игры",onReset:()=>{o("")}},a.length>0&&Pl().createElement("ul",{className:kh.list},a.map((e=>{var t;return Pl().createElement("li",{key:e.id,className:kh.listItem},Pl().createElement("button",{className:kh.game,onClick:()=>n(e),"aria-label":"Select game"},Pl().createElement("img",{className:kh.gameImage,src:e.image,alt:e.title}),Pl().createElement("p",null,"(",null===(t=e.releaseDate)||void 0===t?void 0:t.split("-")[0],")"," ",e.title)))}))))},Th=(e,t)=>{var{state:n}=t,{from:r,to:i}=n.selection,o=!1;return n.doc.nodesBetween(r,i,(t=>{t.marks.forEach((t=>{var{type:n}=t;o=n.name===e}))})),o},Oh=bh,Mh=e=>{var{children:t,icon:n,onClick:r}=e;return Pl().createElement(sp,{variant:"subtle",leftIcon:n,onClick:r},t)};var Ah=o(7856);const Ph=e=>(0,Ah.sanitize)(e,{ADD_TAGS:["script"],ADD_ATTR:["async","charset"],ADD_URI_SAFE_ATTR:["href"],ALLOWED_URI_REGEXP:/^https?:\/\/(embed\.reddit\.com\/widgets\.js|www\.tiktok\.com\/embed\.js|telegram\.org\/js\/telegram-widget\.js)/gi,FORCE_BODY:!0});var Lh=/t\.me\/(\w+\/\d+)/gi,Dh=["htmlString","allowRerender"];const Rh=e=>{var{htmlString:t,allowRerender:n=!1}=e,r=Xl(e,Dh),i=(0,Al.useRef)(null),o=(0,Al.useRef)(!0);return(0,Al.useEffect)((()=>{if(!t||!i.current)throw new Error("html prop can't be null");if(o.current){o.current=Boolean(n);var e=Ph(t),r=document.createRange().createContextualFragment(e);i.current.innerHTML="",i.current.appendChild(r)}}),[t,i]),Pl().createElement("div",Ql({ref:i},r))};var Ih=o(8930),Nh={};Nh.styleTagTransform=Qd(),Nh.setAttributes=Wd(),Nh.insert=Gd().bind(null,"head"),Nh.domAPI=Ud(),Nh.insertStyleElement=Yd(),zd()(Ih.Z,Nh);const jh=Ih.Z&&Ih.Z.locals?Ih.Z.locals:void 0,Bh=e=>{var{className:t,htmlString:n}=e;return Pl().createElement("div",{className:Fd()(jh.root,t)},Pl().createElement(Rh,{className:jh.embed,htmlString:n}))};var Fh=o(9649),Hh={};Hh.styleTagTransform=Qd(),Hh.setAttributes=Wd(),Hh.insert=Gd().bind(null,"head"),Hh.domAPI=Ud(),Hh.insertStyleElement=Yd(),zd()(Fh.Z,Hh);const zh=Fh.Z&&Fh.Z.locals?Fh.Z.locals:void 0,Vh=e=>{var{className:t,htmlString:n}=e;return Pl().createElement("div",{className:Fd()(t,zh.root)},Pl().createElement(Rh,{htmlString:n}))};var Uh=o(5189),$h={};$h.styleTagTransform=Qd(),$h.setAttributes=Wd(),$h.insert=Gd().bind(null,"head"),$h.domAPI=Ud(),$h.insertStyleElement=Yd(),zd()(Uh.Z,$h);const Gh=Uh.Z&&Uh.Z.locals?Uh.Z.locals:void 0,qh=e=>{var{htmlString:t,previewImage:n,className:r}=e,[i,o]=(0,Al.useState)(!1);return Pl().createElement("div",{className:Fd()(Gh.root,r)},Pl().createElement(Rh,{className:Fd()(Gh.embed,{[Gh.embedActive]:i}),htmlString:t}),!i&&Pl().createElement("div",{className:Gh.preview},n&&Pl().createElement("img",{className:Gh.previewImage,src:n,alt:"Tiktok preview"}),Pl().createElement("button",{className:Gh.previewButton,onClick:()=>{o(!0)}},Pl().createElement(Du,{className:Gh.previewButtonImage}))))};var Wh=o(7274),Zh={};Zh.styleTagTransform=Qd(),Zh.setAttributes=Wd(),Zh.insert=Gd().bind(null,"head"),Zh.domAPI=Ud(),Zh.insertStyleElement=Yd(),zd()(Wh.Z,Zh);const Yh=Wh.Z&&Wh.Z.locals?Wh.Z.locals:void 0;var Kh=/^https?:\/\/(.*\.)?twitch\.tv\//gi;const Qh=e=>{var{src:t,className:n}=e;return t.match(Kh)?Pl().createElement("div",{className:Fd()(Yh.root,n)},Pl().createElement("iframe",{className:Yh.iframe,src:t,title:"Twitch video player",frameBorder:"0",scrolling:"no",allowFullScreen:!0})):null};var Xh=o(6622),Jh={};Jh.styleTagTransform=Qd(),Jh.setAttributes=Wd(),Jh.insert=Gd().bind(null,"head"),Jh.domAPI=Ud(),Jh.insertStyleElement=Yd(),zd()(Xh.Z,Jh);const em=Xh.Z&&Xh.Z.locals?Xh.Z.locals:void 0;var tm=/^https?:\/\/(.*\.)?vk\.(com|ru)\//gi;const nm=e=>{var{className:t,src:n}=e;return n.match(tm)?Pl().createElement("div",{className:Fd()(em.root,t)},Pl().createElement("iframe",{className:em.iframe,src:n,title:"VK Video player",frameBorder:"0",allow:"autoplay; encrypted-media; fullscreen; picture-in-picture;",allowFullScreen:!0})):null};var rm=o(2131),im={};im.styleTagTransform=Qd(),im.setAttributes=Wd(),im.insert=Gd().bind(null,"head"),im.domAPI=Ud(),im.insertStyleElement=Yd(),zd()(rm.Z,im);const om=rm.Z&&rm.Z.locals?rm.Z.locals:void 0;var am=/^https?:\/\/(.*\.)?(youtube\.com|youtu\.be)\//gi;const sm=e=>{var{className:t,type:n,src:r,previewImage:i}=e,[o,a]=(0,Al.useState)(!1);return r.match(am)?Pl().createElement("div",{className:Fd()(om.root,t,{[om.shorts]:"shorts"===n})},Pl().createElement("div",{className:om.content},o?Pl().createElement("iframe",{className:om.iframe,src:r,title:"YouTube video player",frameBorder:"0",allow:"autoplay; encrypted-media",allowFullScreen:!0}):Pl().createElement(Pl().Fragment,null,i&&Pl().createElement("img",{className:om.preview,src:i,alt:"Youtube video"}),Pl().createElement("button",{type:"button",className:om.button,onClick:()=>{a(!0)}},"shorts"===n?Pl().createElement(jd,{className:om.playButton}):Pl().createElement(Id,{className:om.playButton}))))):null};var lm=o(29),cm={};cm.styleTagTransform=Qd(),cm.setAttributes=Wd(),cm.insert=Gd().bind(null,"head"),cm.domAPI=Ud(),cm.insertStyleElement=Yd(),zd()(lm.Z,cm);const um=lm.Z&&lm.Z.locals?lm.Z.locals:void 0,dm=function(){var e=Sh((function*(e){if(e instanceof URL&&e.host.includes("tiktok.com")){var t=new URL("https://webcf.waybackmachine.org/web/20240801092516/https://www.tiktok.com/oembed");t.searchParams.set("url",e.toString());try{var n=yield fetch(t,{method:"GET"}),r=yield n.json();if("html"in r)return{type:"tiktok",html:r.html,options:{embedType:r.type||"video",previewImage:r.thumbnail_url}}}catch(e){}}if(e instanceof DocumentFragment){var i=e.querySelector("blockquote[class='tiktok-embed']"),o=e.querySelector("script[src='https://webcf.waybackmachine.org/web/20240801092516/https://www.tiktok.com/embed.js']");if(i&&o){var{dataset:a}=i,s=a["data-embed-type"]||"video";return{type:"tiktok",html:Ph(e),options:{embedType:s}}}}return!1}));return function(t){return e.apply(this,arguments)}}();var pm=/twitch\.(tv|com)\/?\??videos?[/|=](\d+)/gi,fm=/twitch\.(tv|com)\/\??(channel=)?(\w+)\/?/gi,hm=/video(-\d+)_(\d+)/gi,mm=/youtube\.com\/watch\?(\w*=\w*)*&?v=(\w+)/gi,gm=/youtu\.be\/(\w+)/gi,vm=/youtube\.com\/shorts\/(\w+)/gi,ym=/youtube\.com\/embed\/(\w+)/gi;const bm=e=>{var t=(e=>{try{return new URL(e)}catch(e){}return!1})(e);return t||(e=>{try{return document.createRange().createContextualFragment(e)}catch(e){}return!1})(e)},wm=e=>{var{onSelect:t}=e,[n,r]=(0,Al.useState)(null),[i,o]=(0,Al.useState)("");return(0,Al.useEffect)((()=>{r(null),function(){var e=Sh((function*(){var e=bm(i);if(e){var t=yield(e=>{if(e instanceof DocumentFragment){var t=e.querySelector("iframe"),n=(null==t?void 0:t.src)||"",[r=[]]=n.matchAll(ym),i=r[1];if(i)return{type:"youtube",src:"https://webcf.waybackmachine.org/web/20240801092516/https://www.youtube.com/embed/".concat(i),options:{type:"default",previewImage:"https://webcf.waybackmachine.org/web/20240801092516/https://img.youtube.com/vi/".concat(i,"/maxresdefault.jpg")}}}if(e instanceof URL&&(e.host.includes("youtube.com")||e.host.includes("youtu.be"))){var o=e.toString(),[a=[]]=o.matchAll(mm),[s=[]]=o.matchAll(gm),l=a[2]||s[1];if(l)return{type:"youtube",src:"https://webcf.waybackmachine.org/web/20240801092516/https://www.youtube.com/embed/".concat(l),options:{type:"default",previewImage:"https://webcf.waybackmachine.org/web/20240801092516/https://img.youtube.com/vi/".concat(l,"/maxresdefault.jpg")}};var[c=[]]=o.matchAll(vm),u=c[1];if(u)return{type:"youtube",src:"https://webcf.waybackmachine.org/web/20240801092516/https://www.youtube.com/embed/".concat(u),options:{type:"shorts",previewImage:"https://webcf.waybackmachine.org/web/20240801092516/https://img.youtube.com/vi/".concat(u,"/maxresdefault.jpg")}}}return!1})(e);if(t)return void r(t);var n=yield(e=>{if(e instanceof URL)return!1;if(e instanceof DocumentFragment){var t=e.querySelector("blockquote[class='reddit-embed-bq']"),n=e.querySelector("script[src='https://webcf.waybackmachine.org/web/20240801092516/https://embed.reddit.com/widgets.js']");if(t&&n)return{type:"reddit",html:Ph(e)}}return!1})(e);if(n)return void r(n);var o=yield dm(e);if(o)return void r(o);var a=yield(e=>{if(e instanceof URL){var t=e.host.includes("vk.com")||e.host.includes("vk.ru");if(t&&e.pathname.includes("video")){var n=e.searchParams.get("z")||e.pathname,[r=[]]=n.matchAll(hm),i=r[1],o=r[2];if(i&&o)return{type:"vk_video",src:"https://webcf.waybackmachine.org/web/20240801092516/https://vk.com/video_ext.php?oid=".concat(i,"&id=").concat(o)}}if(t&&e.pathname.includes("video_ext.php")&&e.searchParams.get("oid")&&e.searchParams.get("id"))return{type:"vk_video",src:e.toString()}}if(e instanceof DocumentFragment){var a=e.querySelector("iframe"),s=null==a?void 0:a.src;if(s&&(s.includes("vk.com/video_ext.php")||s.includes("vk.ru/video_ext.php"))&&s.includes("oid")&&s.includes("id"))return{type:"vk_video",src:s}}return!1})(e);a&&r(a);var s=yield(e=>{var t=null;if(e instanceof URL&&(e.host.includes("twitch.com")||e.host.includes("twitch.tv")))t=e.toString();else if(e instanceof DocumentFragment){var n=e.querySelector("iframe");null!=n&&n.src&&(t=n.src)}if(t){var[r=[]]=t.matchAll(pm),i=r[2];if(i)return{type:"twitch",src:"https://webcf.waybackmachine.org/web/20240801092516/https://player.twitch.tv/?video=".concat(i,"&parent=").concat(document.location.host)};var[o=[]]=t.matchAll(fm),a=o[3];if(a)return{type:"twitch",src:"https://webcf.waybackmachine.org/web/20240801092516/https://player.twitch.tv/?channel=".concat(a,"&parent=").concat(document.location.host)}}return!1})(e);s&&r(s);var l=yield(e=>{if(e instanceof URL){var[t=[]]=e.toString().matchAll(Lh),n=t[1];if(n){var r=document.createElement("script");return r.async=!0,r.src="https://webcf.waybackmachine.org/web/20240801092516/https://telegram.org/js/telegram-widget.js?22",r.dataset.telegramPost=n,r.dataset.width="100%",r.dataset.dark="1",{type:"telegram",html:Ph(r)}}}if(e instanceof DocumentFragment){var i=e.querySelector("script[data-telegram-post][src^='https://webcf.waybackmachine.org/web/20240801092516/https://telegram.org/js/telegram-widget.js']");if(i)return i.dataset.dark="1",{type:"telegram",html:Ph(e)}}return!1})(e);l&&r(l)}}));return function(){return e.apply(this,arguments)}}()()}),[i]),Pl().createElement(rf,{className:um.root,placeholder:"Введите ÑÑылку на Ñмбед",onChange:e=>{o(e.target.value)},value:i,onReset:()=>{o("")}},n&&Pl().createElement(Pl().Fragment,null,Pl().createElement("div",{className:um.content},"youtube"===(null==n?void 0:n.type)&&(null==n?void 0:n.src)&&Pl().createElement(sm,{src:n.src,type:n.options.type,previewImage:n.options.previewImage}),"vk_video"===(null==n?void 0:n.type)&&(null==n?void 0:n.src)&&Pl().createElement(nm,{src:n.src}),"twitch"===(null==n?void 0:n.type)&&(null==n?void 0:n.src)&&Pl().createElement(Qh,{src:n.src}),"reddit"===(null==n?void 0:n.type)&&(null==n?void 0:n.html)&&Pl().createElement(Bh,{htmlString:n.html}),"telegram"===(null==n?void 0:n.type)&&(null==n?void 0:n.html)&&Pl().createElement(Vh,{htmlString:n.html}),"tiktok"===(null==n?void 0:n.type)&&(null==n?void 0:n.html)&&Pl().createElement(qh,{htmlString:n.html,embedType:n.options.embedType,previewImage:n.options.previewImage})),Pl().createElement("div",{className:um.footer},Pl().createElement(sp,{size:"lg",onClick:()=>{n&&t(n)}},"Добавить"))))},_m=Mh;var Sm=["children","className","leftIcon","isActive"],xm=e=>{var{children:t,className:n,leftIcon:r,isActive:i}=e,o=Xl(e,Sm);return Pl().createElement(sp,Ql({variant:"subtle",className:n,state:i?"active":"default",leftIcon:r},o),t)};xm.Group=sp.Group;const Em=xm,km=(e,t)=>{var n,{from:r,to:i}=e.selection;if("string"==typeof t)n=Object.values(e.schema.nodes).filter((e=>!(!("groups"in e)||!Array.isArray(e.groups))&&e.groups.includes(t))).map((e=>({type:e})));else for(var o of n=t)o.type=o.type?fo(o.type,e.schema):null;var a=[];return e.doc.nodesBetween(r,i,(e=>{if(e.isText)return!1;var t=n.filter((t=>!t.type||"string"!=typeof t.type&&e.type.name===t.type.name)).find((t=>!t.attributes||jo(e.attrs,t.attributes)));t&&a.unshift(t)})),[...a.values()].map((e=>{var t;return e.key?e.key:"string"==typeof e.type?e.type:null!==(t=e.type)&&void 0!==t&&t.name?e.type.name:""}))},Cm=e=>{var{editor:t}=e,[n]=km(t.state,[{type:"bulletList"},{type:"orderedList"}]),r="bulletList"===n,i="orderedList"===n;return Pl().createElement(Em.Group,null,Pl().createElement(Em,{isActive:i,leftIcon:Pl().createElement(Au,null),onClick:()=>{t.chain().focus().toggleOrderedList().run()}}),Pl().createElement(Em,{isActive:r,leftIcon:Pl().createElement(Cc,null),onClick:()=>{t.chain().focus().toggleBulletList().run()}}))},Tm=Em;var Om=o(8288),Mm={};Mm.styleTagTransform=Qd(),Mm.setAttributes=Wd(),Mm.insert=Gd().bind(null,"head"),Mm.domAPI=Ud(),Mm.insertStyleElement=Yd(),zd()(Om.Z,Mm);const Am=Om.Z&&Om.Z.locals?Om.Z.locals:void 0;var Pm=["children","className","onClick","variant","type","size","shape","noPointerEvents","isDisabled","isFullWidth"];const Lm=e=>{var{children:t,className:n,onClick:r,variant:i="primary",type:o="button",size:a="md",shape:s="square",noPointerEvents:l,isDisabled:c,isFullWidth:u}=e,d=Xl(e,Pm);return Pl().createElement("button",Ql({onClick:r,className:Fd()(n,Am.button,Am["variant_".concat(i)],Am["size_".concat(a)],Am["shape_".concat(s)],{[Am.full]:u,[Am.disabled]:c,[Am.noEvents]:l}),type:o},d),t)};var Dm=o(7851),Rm={};Rm.styleTagTransform=Qd(),Rm.setAttributes=Wd(),Rm.insert=Gd().bind(null,"head"),Rm.domAPI=Ud(),Rm.insertStyleElement=Yd(),zd()(Dm.Z,Rm);const Im=Dm.Z&&Dm.Z.locals?Dm.Z.locals:void 0;var Nm={no_betakey:"К Ñожалению, вÑе ключи уже закончилиÑÑŒ.",not_email:"Ваш логин не ÑвлÑетÑÑ Ñлектронной почтой.",wrong_code:"Ðеправильный код ключа.",send_betakey:"Ключ отправлен на вашу почту.",send_error:"send_error",error:"error",wrong_captcha:"wrong_captcha"};const jm=e=>{var{className:t,groupId:n}=e,{betaKeys:r}=$p(),{onInit:i,onGetKey:o}=r||{},[a,s]=(0,Al.useState)(!1),[l,c]=(0,Al.useState)("");(0,Al.useEffect)((()=>{i&&i()}),[]);var u=function(){var e=Sh((function*(){if(o){s(!0);try{var e=yield o(n);if(!0===e.success){var t=Nm[e.result];c(t||"Ваш ключ: <b>".concat(e.result,"</b>. Он также отправлен на вашу почту."))}else{var r=Nm[e.errorCode];c(r||Nm.error)}}catch(e){c(Nm.error)}finally{s(!1)}}}));return function(){return e.apply(this,arguments)}}();return"error"===l?Pl().createElement("p",{className:Fd()(t,Im.result,Im.wrong)},"Похоже, что-то пошло не так,",Pl().createElement(Lm,{className:Im.inlineButton,variant:"primary-light-link",onClick:u},"попробуйте ещё раз"),"или"," ",Pl().createElement("a",{href:"mailto:media@vkplay.ru",target:"_blank",rel:"nofollow noopener noreferrer"},"напишите нам"),"."):"wrong_captcha"===l?Pl().createElement("p",{className:Fd()(t,Im.result,Im.wrong)},"Ð’Ñ‹ не прошли теÑÑ‚ Войт-Кампфа, и наша ÑиÑтема решила, что вы бот. ЕÑли Ñто не так, или еÑли вы Ñчитаете, что грань между человеком и машиной Ñ ÑамоÑознанием Ñлишком Ñфемерна,"," ",Pl().createElement("a",{href:"mailto:media@vkplay.ru",target:"_blank",rel:"nofollow noopener noreferrer"},"напишите нам"),"."):"send_error"===l?Pl().createElement("p",{className:Fd()(t,Im.result,Im.wrong)},"Произошла ошибка при отправке ключа,",Pl().createElement(Lm,{className:Im.inlineButton,variant:"primary-light-link",onClick:u},"попробуйте ещё раз"),"или"," ",Pl().createElement("a",{href:"mailto:media@vkplay.ru",target:"_blank",rel:"nofollow noopener noreferrer"},"напишите нам"),"."):l?Pl().createElement("p",{onKeyDown:e=>{e.preventDefault()},contentEditable:!0,className:Fd()(t,Im.result),dangerouslySetInnerHTML:{__html:l}}):Pl().createElement("button",{className:Fd()(t,Im.root,{[Im.loading]:a}),"data-keys_group_id":n,onClick:u,type:"button"},Pl().createElement(Eu,{className:Im.icon}),"Получить ключ")};var Bm=o(3499),Fm={};Fm.styleTagTransform=Qd(),Fm.setAttributes=Wd(),Fm.insert=Gd().bind(null,"head"),Fm.domAPI=Ud(),Fm.insertStyleElement=Yd(),zd()(Bm.Z,Fm);const Hm=Bm.Z&&Bm.Z.locals?Bm.Z.locals:void 0,zm=e=>{var{node:t,deleteNode:n,selected:r}=e,{isEditable:i}=uf(),{groupId:o}=t.attrs;return o?Pl().createElement(Xp,{className:Hm.root,editable:i,onNodeDelete:n,selected:r,draggable:!0},Pl().createElement(jm,{groupId:o})):null};var Vm=Sa.create({name:"beta-keys",group:"inline",inline:!0,draggable:!0,selectable:!0,atom:!0,addAttributes:()=>({groupId:{default:null,parseHTML:e=>Tp(e.dataset.keys_group_id)?e.dataset.keys_group_id:null}}),addCommands(){return{insertBetaKeys:e=>t=>{var{commands:n}=t;return n.insertContent([{type:this.name,attrs:e}])}}},parseHTML:()=>[{tag:'button[class="BETAKEY"]'}],renderHTML(e){var{HTMLAttributes:t}=e;return["beta-keys",ho(t)]},addNodeView:()=>Kl(zm,{as:"div"})});Vm.extendedConfig={floatingMenu:{render:e=>{var{editor:t}=e,[n,r]=(0,Al.useState)(""),[i,o]=(0,Al.useState)(!1),a=()=>{o(!1)},s=(0,Al.useCallback)((e=>{t.chain().focus().insertBetaKeys({groupId:e}).run(),a()}),[t]),l=(0,Al.useCallback)((e=>{r(e.target.value)}),[]),c=(0,Al.useCallback)((()=>{r("")}),[]);return Pl().createElement(Pl().Fragment,null,Pl().createElement(Mh,{icon:Pl().createElement(Eu,null),onClick:()=>{o(!0)}},"Бета-ключи"),i&&Pl().createElement(Yp,{onClose:a},Pl().createElement(rf,{placeholder:"Введите id бета-ключей и нажмите enter",onChange:l,onSubmit:s,value:n,onReset:c})))}},bubbleMenu:{shouldShow:!1}};const Um=Vm;var $m=o(1324),Gm={};Gm.styleTagTransform=Qd(),Gm.setAttributes=Wd(),Gm.insert=Gd().bind(null,"head"),Gm.domAPI=Ud(),Gm.insertStyleElement=Yd(),zd()($m.Z,Gm);const qm=$m.Z&&$m.Z.locals?$m.Z.locals:void 0;var Wm=["children","className","placeholder","onChange","isEditable","as"];const Zm=e=>{var{children:t,className:n,placeholder:r,onChange:i,isEditable:o,as:a}=e,s=Xl(e,Wm),l=a||"div";return o?Pl().createElement("input",{className:Fd()(qm.input,n),onChange:i,placeholder:r,value:t}):Pl().createElement(l,Ql({className:n},s),t)};var Ym=o(6659),Km={};Km.styleTagTransform=Qd(),Km.setAttributes=Wd(),Km.insert=Gd().bind(null,"head"),Km.domAPI=Ud(),Km.insertStyleElement=Yd(),zd()(Ym.Z,Km);const Qm=Ym.Z&&Ym.Z.locals?Ym.Z.locals:void 0,Xm=e=>{var{className:t,children:n,author:r,onAuthorChange:i,authorImage:o,isEditable:a}=e;return Pl().createElement("div",{className:Fd()(t,Qm.root)},Pl().createElement(Nu,{className:Qm.decoration}),Pl().createElement("div",{className:Qm.content},n),Pl().createElement("div",{className:Qm.footer},o?Pl().createElement("img",{className:Qm.authorImage,src:o,alt:"Quotation author"}):null,Pl().createElement(Zm,{className:Qm.author,placeholder:"Укажите автора",onChange:e=>{i&&i(e.target.value)},isEditable:a,as:"cite"},r)))};var Jm=o(8744),eg={};eg.styleTagTransform=Qd(),eg.setAttributes=Wd(),eg.insert=Gd().bind(null,"head"),eg.domAPI=Ud(),eg.insertStyleElement=Yd(),zd()(Jm.Z,eg);const tg=Jm.Z&&Jm.Z.locals?Jm.Z.locals:void 0,ng=e=>{var{className:t,children:n}=e;return Pl().createElement("div",{className:Fd()(tg.root,t)},n)};var rg=o(3623),ig={};ig.styleTagTransform=Qd(),ig.setAttributes=Wd(),ig.insert=Gd().bind(null,"head"),ig.domAPI=Ud(),ig.insertStyleElement=Yd(),zd()(rg.Z,ig);const og=rg.Z&&rg.Z.locals?rg.Z.locals:void 0,ag=e=>{var{node:t,updateAttributes:n,deleteNode:r,selected:i}=e,{isEditable:o}=uf();return"mini"===t.attrs.type?Pl().createElement(Xp,{editable:o,className:og.root,onNodeDelete:r,selected:i,draggable:!0},Pl().createElement(ng,null,Pl().createElement(ql,null))):Pl().createElement(Xp,{editable:o,className:og.root,onNodeDelete:r,selected:i,draggable:!0},Pl().createElement(Xm,{author:t.attrs.author,authorImage:t.attrs.authorImage,onAuthorChange:e=>{n({author:e})},isEditable:o},Pl().createElement(ql,null)))};var sg=Sa.create({name:"blockquote",content:"paragraph+",group:"block",defining:!0,draggable:!0,atom:!0,selectable:!0,addAttributes:()=>({type:{default:"main",parseHTML:e=>e instanceof HTMLQuoteElement&&e.classList.contains("b-pc__incut")?"mini":"main"},author:{default:"",parseHTML:e=>{if(!(e instanceof HTMLQuoteElement))return"";var t=e.querySelector("cite");return t&&t.innerText||""}},authorImage:{default:"",parseHTML:e=>{if(!(e instanceof HTMLQuoteElement))return"";var t=e.querySelector("img.b-pc__quote__author_img");return t instanceof HTMLImageElement&&t.src||""}}}),parseHTML:()=>[{tag:"blockquote"}],addCommands(){return{setBlockquote:()=>()=>this.editor.commands.wrapIn(this.name),toggleBlockquote:()=>()=>{var{type:e}=na(this.editor.state,this.name),t="main"===e?{type:"mini",author:"",authorImage:""}:{type:"main",author:"",authorImage:""};return this.editor.commands.updateAttributes(this.name,t)}}},addNodeView:()=>Kl(ag),renderHTML(e){var{HTMLAttributes:t}=e;return["blockquote",ho(this.options.HTMLAttributes,t),0]}});sg.extendedConfig={nodeMenu:{render:e=>{var{editor:t}=e,n=()=>{t.chain().focus().toggleBlockquote().run()},r=t.isActive("blockquote",{type:"main"}),i=t.isActive("blockquote",{type:"mini"});return Pl().createElement(Em.Group,null,Pl().createElement(Em,{isActive:r,leftIcon:Pl().createElement(Fu,null),onClick:n}),Pl().createElement(Em,{isActive:i,leftIcon:Pl().createElement(Vu,null),onClick:n}))}},floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().setBlockquote().run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(Wu,null),onClick:n},"Цитата")}}};const lg=sg,cg=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,ug=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,dg=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,pg=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,fg=_a.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],renderHTML({HTMLAttributes:e}){return["strong",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[ba({find:cg,type:this.type}),ba({find:dg,type:this.type})]},addPasteRules(){return[Ea({find:ug,type:this.type}),Ea({find:pg,type:this.type})]}});var hg=fg;hg.extendedConfig={bubbleMenu:{render:e=>{var{editor:t}=e,n=wh((()=>{t.chain().focus().toggleBold().run()}));return Pl().createElement(bh,{isActive:t.isActive("bold"),onClick:n},Pl().createElement(xc,null))}}};const mg=hg,gg=Sa.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",ho(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),vg=_a.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=Jo(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}}),yg=/^\s*([-+*])\s$/,bg=Sa.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(gg.name,this.editor.getAttributes(vg.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=wa({find:yg,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=wa({find:yg,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(vg.name),editor:this.editor})),[e]}});var wg=(0,Al.createContext)({onDragStart:void 0}),_g=()=>(0,Al.useContext)(wg);function Sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sg(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Eg=e=>{var{as:t="div",style:n={}}=e,{nodeViewContentRef:r}=_g();return Pl().createElement(t,Ql({},e,{ref:r,"data-node-view-content":"",style:xg({whiteSpace:"pre-wrap"},n)}))};function kg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kg(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tg=Pl().forwardRef(((e,t)=>{var{as:n="div",style:r={}}=e,{onDragStart:i}=_g();return Pl().createElement(n,Ql({},e,{ref:t,"data-node-view-wrapper":"",onDragStart:i,style:Cg({whiteSpace:"normal"},r)}))}));class Og extends xa{mount(){var e,t=this,n={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.updateAttributes(e)},deleteNode:()=>this.deleteNode()};this.component.displayName||(this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1));var r=e=>{var t=this.component,n=this.onDragStart.bind(this);return Pl().createElement(wg.Provider,{value:{onDragStart:n,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}}},Pl().createElement(t,e))};r.displayName="ReactNodeView",this.node.isLeaf?this.contentDOMElement=null:this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");var i=this.node.isInline?"span":"div";this.options.as&&(i=this.options.as);var{className:o=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new Zl(r,{editor:this.editor,props:n,as:i,className:"node-".concat(this.node.type.name," ").concat(o).trim(),attrs:this.options.attrs})}get dom(){var e;if(this.renderer.element.firstElementChild&&(null===(e=this.renderer.element.firstElementChild)||void 0===e||!e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){var{from:e,to:t}=this.editor.state.selection;e<=this.getPos()&&t>=this.getPos()+this.node.nodeSize?this.selectNode():this.deselectNode()}update(e,t){var n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){var r=this.node,i=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:r,oldDecorations:i,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}function Mg(e,t){return n=>n.editor.contentComponent?new Og(e,n,t):{}}var Ag=o(7704),Pg={};Pg.styleTagTransform=Qd(),Pg.setAttributes=Wd(),Pg.insert=Gd().bind(null,"head"),Pg.domAPI=Ud(),Pg.insertStyleElement=Yd(),zd()(Ag.Z,Pg);const Lg=Ag.Z&&Ag.Z.locals?Ag.Z.locals:void 0,Dg=e=>{var{children:t,onClick:n,leftIcon:r,isActive:i}=e;return Pl().createElement(sp,{variant:"subtle",className:Lg.root,leftIcon:r,rightIcon:Pl().createElement(Mc,{className:Fd()(Lg.checkIcon,{[Lg.active]:i})}),onClick:n},t)};var Rg=o(8903),Ig={};Ig.styleTagTransform=Qd(),Ig.setAttributes=Wd(),Ig.insert=Gd().bind(null,"head"),Ig.domAPI=Ud(),Ig.insertStyleElement=Yd(),zd()(Rg.Z,Ig);const Ng=Rg.Z&&Rg.Z.locals?Rg.Z.locals:void 0,jg=e=>{var{selected:t,deleteNode:n}=e,{isEditable:r}=uf();return Pl().createElement(Xp,{editable:r,className:Ng.root,selected:t,onNodeDelete:n,draggable:!0},Pl().createElement(Eg,null))};var Bg=bg.extend({draggable:!0,addNodeView:()=>Mg(jg,{contentDOMElementTag:"ul"})});Bg.extendedConfig={typeMenu:{render:e=>{var{editor:t}=e,[n]=km(t.state,[{type:"bulletList"},{type:"orderedList"}]),r=wh((()=>{t.chain().focus().toggleBulletList().run()})),i="bulletList"===n;return Pl().createElement(Dg,{onClick:r,leftIcon:Pl().createElement(Cc,null),isActive:i},"Маркированный ÑпиÑок")}},nodeMenu:{render:Cm},floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().toggleBulletList().run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(Bc,null),onClick:n},"СпиÑок")}}};const Fg=Bg;var Hg=o(2283),zg={};zg.styleTagTransform=Qd(),zg.setAttributes=Wd(),zg.insert=Gd().bind(null,"head"),zg.domAPI=Ud(),zg.insertStyleElement=Yd(),zd()(Hg.Z,zg);const Vg=Hg.Z&&Hg.Z.locals?Hg.Z.locals:void 0,Ug=e=>{var t,n,r,{node:i,deleteNode:o}=e,{isEditable:a}=uf();return"youtube"===i.attrs.type&&i.attrs.src?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(sm,{src:i.attrs.src,type:(null===(t=i.attrs.options)||void 0===t?void 0:t.type)||"default",previewImage:null===(n=i.attrs.options)||void 0===n?void 0:n.previewImage})):"vk_video"===i.attrs.type&&i.attrs.src?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(nm,{src:i.attrs.src})):"reddit"===i.attrs.type&&i.attrs.html?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(Bh,{htmlString:i.attrs.html})):"tiktok"===i.attrs.type&&i.attrs.html?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(qh,{htmlString:i.attrs.html,previewImage:null===(r=i.attrs.options)||void 0===r?void 0:r.previewImage})):"twitch"===i.attrs.type&&i.attrs.src?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(Qh,{src:i.attrs.src})):"telegram"===i.attrs.type&&i.attrs.html?Pl().createElement(Xp,{editable:a,className:Vg.root,onNodeDelete:o,draggable:!0},Pl().createElement(Vh,{htmlString:i.attrs.html})):null};var $g=Sa.create({name:"embed",group:"block",atom:!0,inline:!1,draggable:!0,addAttributes:()=>({type:{default:null},src:{default:null},html:{default:null},options:{default:null}}),addCommands(){return{insertEmbed:e=>t=>{var{commands:n}=t;return n.insertContent([{type:this.name,attrs:e}])}}},renderHTML(e){var{HTMLAttributes:t}=e;return["div",ho(t)]},addNodeView:()=>Kl(Ug)});$g.extendedConfig={floatingMenu:{render:e=>{var{editor:t}=e,[n,r]=(0,Al.useState)(!1),i=()=>{r(!1)},o=(0,Al.useCallback)((e=>{t.chain().focus().insertEmbed(e).run(),i()}),[t]);return Pl().createElement(Pl().Fragment,null,Pl().createElement(Mh,{icon:Pl().createElement(Kc,null),onClick:()=>{r(!0)}},"Ðмбед"),n&&Pl().createElement(Yp,{onClose:i},Pl().createElement(wm,{onSelect:o})))}}};const Gg=$g,qg=(e,t)=>{try{return JSON.parse(e)}catch(e){var n=t?" (id: ".concat(t,")"):"",r=Op(e)&&"stack"in e?": ".concat(e.stack):"";i.error("An error occurred while parsing widget attribute".concat(n).concat(r))}return null};var Wg=o(6066);const Zg=e=>{var{source:t,initial:{width:n=100,height:r=100,format:i},factor:o,quality:a,allowGif:s,imageDomain:l}=e,c=t;if(c.includes(".gif")&&s)return c;var u=Math.round(n*(1===o?1:1.6)),d=Math.round(r*(1===o?1:1.6)),p="number"==typeof a?"?quality=".concat(a):"?quality=85",f="";return i?f="&format=".concat(i):c.includes(".png")&&(f="&format=jpeg"),c.includes("/pre_1000x0_resize/")&&(c=c.replace("/pre_1000x0_resize/","/")),c.includes("vkplay.ru/")?c=c.replace("vkplay.ru/","vkplay.ru/pre_".concat(u,"x").concat(d,"_resize/"))+p+f:c.includes(".mail.ru/")?(c=c.replace(".mail.ru/",".mail.ru/pre_".concat(u,"x").concat(d,"_resize/"))+p+f,window.isVKP&&(c=c.replace("games.mail.ru","vkplay.ru")),c):(c.includes("hotbox")&&(c=l?"https://".concat(l,"/pre_").concat(u,"x").concat(d,"_resize").concat(c).concat(p).concat(f):"/pre_".concat(u,"x").concat(d,"_resize").concat(c).concat(p).concat(f)),c)};var Yg={"min-width":[1200],"max-width":[1199]},Kg={webp:"webp"},Qg=["webp"];const Xg=e=>{var{src:t,types:n,imageDomain:r}=e;return Pl().createElement(Pl().Fragment,null,n.map((e=>{var n=Zg({source:t,initial:{width:100,height:0,format:Kg[e]},factor:1,quality:0,imageDomain:r});return Pl().createElement("source",{key:"blur-".concat(e),type:"image/".concat(e),srcSet:n})})))};var Jg=o(4644),ev={};ev.styleTagTransform=Qd(),ev.setAttributes=Wd(),ev.insert=Gd().bind(null,"head"),ev.domAPI=Ud(),ev.insertStyleElement=Yd(),zd()(Jg.Z,ev);const tv=Jg.Z&&Jg.Z.locals?Jg.Z.locals:void 0,nv=e=>{var{src:t,type:n,size:r,height:i,width:o,mediaQuery:a,mobHeight:s,mobWidth:l,quality:c,allowGif:u,imageDomain:d}=e,p="max-width"===a,f=(e=>{var{src:t,width:n,height:r,type:i,quality:o,allowGif:a,imageDomain:s}=e,l=Zg({source:t,initial:{width:n,height:r,format:Kg[i]},factor:1,quality:o,allowGif:a,imageDomain:s}),c=Zg({source:t,initial:{width:n,height:r,format:Kg[i]},factor:2,quality:o,allowGif:a,imageDomain:s});return"".concat(l," 1x, ").concat(c," 2x")})({src:t,type:n,width:p&&l||o,height:p&&s||i,quality:c,allowGif:u,imageDomain:d});return Pl().createElement("source",{type:"image/".concat(n),media:a?"(".concat(a,": ").concat(r,"px)"):void 0,srcSet:f})},rv=e=>{var{src:t,types:n,width:r,height:i,mobWidth:o,mobHeight:a,quality:s,allowGif:l,imageDomain:c}=e;return o||a?Pl().createElement(Pl().Fragment,null,n.map((e=>Object.entries(Yg).map((n=>{var[u,d]=n;return d.map((n=>Pl().createElement(nv,{key:"".concat(e,"-").concat(n),src:t,type:e,size:n,mediaQuery:u,mobWidth:o,mobHeight:a,width:r,height:i,quality:s,allowGif:l,imageDomain:c})))}))))):Pl().createElement(Pl().Fragment,null,n.map((e=>Pl().createElement(nv,{key:e,src:t,type:e,size:0,width:r,height:i,quality:s,allowGif:l,imageDomain:c}))))},iv=(0,Al.memo)((e=>{var{className:t,classNameWrapper:n,src:r,alt:i="",title:o,width:a=0,height:s=0,mobWidth:l,mobHeight:c,quality:u=85,noBlur:d,blurOnly:p,allowGif:f,noLazy:h,originalWidth:m,originalHeight:g}=e,{image:v}=$p(),{domain:y}=v||{},[b,w]=(0,Al.useState)(!1),_=()=>{w(!0)},S=!d,x=!p&&(d||b);return Pl().createElement("div",{className:Fd()(tv.root,n)},S&&Pl().createElement("picture",{className:Fd()(t,tv.picture,tv.pictureBlur)},Pl().createElement(Xg,{src:r,types:Qg,imageDomain:y}),Pl().createElement("img",{className:tv.image,src:r,alt:i,title:o,loading:h?"eager":"lazy",width:m,height:g,onLoad:_,onError:_})),x&&Pl().createElement("picture",{className:Fd()(t,tv.picture,tv.pictureOrigin,{[tv.absolute]:!d})},Pl().createElement(rv,{src:r,types:Qg,height:s,width:a,mobHeight:c,mobWidth:l,quality:u,allowGif:f,imageDomain:y}),Pl().createElement("img",{className:tv.image,src:r,alt:i,title:o,loading:h?"eager":"lazy",width:m,height:g})))}));var ov=o(9298),av={};av.styleTagTransform=Qd(),av.setAttributes=Wd(),av.insert=Gd().bind(null,"head"),av.domAPI=Ud(),av.insertStyleElement=Yd(),zd()(ov.Z,av);const sv=ov.Z&&ov.Z.locals?ov.Z.locals:void 0;var lv={dots:!1,speed:300};const cv=(0,Al.memo)((e=>{var{gallery:t,onSlideClick:n,innerRef:r,isMini:i,isInfinite:o,isSubGallery:a,sliderSettings:s,slidesToShow:l,allowGif:c,withInfo:u=!0,index:d,isFullscreen:p,isEditable:f,onTitleChange:h}=e,[m,g]=(0,Al.useState)(Number(d)),[v,y]=(0,Al.useState)(0),b=(0,Al.useRef)(null);function w(){if(b&&b.current){var e=b.current.querySelector(".slick-track");if(e&&e.children.length<2)return;var t=b.current.querySelector(".slick-current"),n=b.current.querySelector(".slick-list"),{clientHeight:r}=t||{};if(n&&r&&r!==v){var i=r>150?r:"auto";"number"!=typeof(o=i)||Number.isNaN(o)||(y(i),n.style.height="".concat(i,"px"))}}var o}function _(e){var t=e.currentTarget.dataset;Tp(t.index)&&n&&n(Number(t.index))}function S(){return i?Pl().createElement("button",{type:"button"},Pl().createElement(vc,{className:sv.galleryArrowIcon})):Pl().createElement("button",{type:"button"},Pl().createElement(hc,{className:sv.galleryArrowIcon}))}var x=(0,Al.useMemo)((()=>S),[]);return Pl().createElement("div",{ref:b,className:Fd()(sv.root,{[sv.gallerySub]:a,[sv.fullscreen]:p,[sv.editable]:f})},Pl().createElement(Wg.Z,Ql({},lv,s,{ref:r,nextArrow:x(),prevArrow:x(),infinite:o,beforeChange:function(e,t){g(t),w(),function(){if(b.current){var e=b.current.querySelectorAll(".slick-arrow");!e||e.length<2||(e[0].blur(),e[1].blur())}}()},onInit:w,onReInit:w,slidesToShow:l||1,slidesToScroll:l||1,className:i?sv.slickSliderMini:""}),t.map(((e,r)=>Pl().createElement("div",{className:Fd()(sv.item,{[sv.itemMini]:i}),key:e.url},Pl().createElement("div",{className:sv.itemWrap},Pl().createElement("div",{className:sv.imageWrap},Pl().createElement(iv,{classNameWrapper:sv.image,className:sv.pictureFullscreen,src:e.url,height:Math.floor(895*e.height/e.width)||450,width:895,mobWidth:500,alt:e.title||"".concat(document.title," | изображение ").concat(d||""),title:e.title||"".concat(document.title," | картинка ").concat(d||""),allowGif:c,noLazy:t.length>1,originalWidth:e.width,originalHeight:e.height}),!!n&&Pl().createElement("button",{"aria-label":"РаÑкрыть галерею","data-index":r,className:sv.buttonToFull,type:"button",onClick:_})),u&&Pl().createElement("div",{className:sv.info},Pl().createElement("div",{className:sv.infoWrap},Pl().createElement("a",{className:sv.full,href:e.url,target:"__blank"},Pl().createElement(zc,{className:sv.fullIcon}),"Открыть оригинал"),Pl().createElement("p",{className:sv.fullCount},r+1," ","из"," ",t.length)),function(e){var{title:t="",titleLink:n}=e||{},r=n?"a":"p",i=n?sv.link:"";return Pl().createElement(Zm,{className:Fd()(sv.title,i),placeholder:"Добавьте подпиÑÑŒ к изображению",isEditable:f,onChange:e=>{h&&e.target instanceof HTMLInputElement&&h({index:m,value:e.target.value})},as:r,href:n},t)}(e))))))))}));var uv=o(7321),dv={};dv.styleTagTransform=Qd(),dv.setAttributes=Wd(),dv.insert=Gd().bind(null,"head"),dv.domAPI=Ud(),dv.insertStyleElement=Yd(),zd()(uv.Z,dv);const pv=uv.Z&&uv.Z.locals?uv.Z.locals:void 0,fv=(0,Al.memo)((e=>{var{gallery:t,initialSlide:n,onClose:r,isMini:i,allowGif:o}=e,{modalRootSelector:a}=$p(),[s,l]=(0,Al.useState)(!0),c=(0,Al.useRef)(null),u=(0,Al.useRef)(null),d={initialSlide:n,dots:!i,customPaging:function(e){return Pl().createElement("button",{type:"button"},Pl().createElement(iv,{classNameWrapper:pv.dotImage,src:t[e].src,height:131,mobHeight:50,alt:"".concat(e)}))}};function p(){r()}return(0,Al.useEffect)((()=>(window.addEventListener("popstate",p),()=>{window.removeEventListener("popstate",p)})),[c,u]),Pl().createElement(Gp,{containerSelector:a},Pl().createElement("div",{className:pv.root},Pl().createElement(cv,{innerRef:c,gallery:t,sliderSettings:d,onSlideClick:function(){l(!s)},withInfo:s,allowGif:o,isFullscreen:!0}),Pl().createElement("button",{"aria-label":"Закрыть галерею",className:pv.overlay,type:"button",onClick:p})))})),hv=e=>{var{images:t,isMini:n,isInfinite:r=!0,slidesToShow:i,index:o,isEditable:a,onTitleChange:s}=e,[l,c]=(0,Al.useState)();return Pl().createElement(Pl().Fragment,null,Pl().createElement(cv,{gallery:t,onSlideClick:a?null:function(e){c({gallery:t,initialSlide:e})},isInfinite:r,slidesToShow:i,isMini:n,index:o,isEditable:a,onTitleChange:s}),!!l&&Pl().createElement(fv,{gallery:l.gallery,initialSlide:l.initialSlide,onClose:function(){c(null)},isMini:n,allowGif:!0}))};var mv=o(523),gv={};gv.styleTagTransform=Qd(),gv.setAttributes=Wd(),gv.insert=Gd().bind(null,"head"),gv.domAPI=Ud(),gv.insertStyleElement=Yd(),zd()(mv.Z,gv);const vv=mv.Z&&mv.Z.locals?mv.Z.locals:void 0,yv=e=>{var t,n,{editor:r,node:i,selected:o,deleteNode:a,updateAttributes:s}=e,{isEditable:l}=uf(),{image:{onUpload:c=null}={}}=$p(),[u,d]=(0,Al.useState)((null===(t=i.attrs)||void 0===t?void 0:t.images)||[]),p=(0,Al.useRef)(null);(0,Al.useEffect)((()=>{s({images:u})}),[u]),(0,Al.useEffect)((()=>{var e;d((null===(e=i.attrs)||void 0===e?void 0:e.images)||[])}),[null===(n=i.attrs)||void 0===n?void 0:n.images]);var f=function(){var e=Sh((function*(e){var t;if(c&&e){var n=yield c(e);n&&r.chain().focus().addImage({image:n}).run(),null===(t=p.current)||void 0===t||t.call(p)}}));return function(t){return e.apply(this,arguments)}}();return u.length<1&&l?Pl().createElement(Xp,{editable:l,className:Fd()(vv.root,vv.placeholder),selected:o,onNodeDelete:a,draggable:!0},Pl().createElement(dp,{resetRef:p,onChange:f,accept:".jpeg,.jpg,.gif,.png,.webp"},(e=>Pl().createElement(sp,Ql({size:"lg",color:"blue"},e),"Добавить изображение")))):u.length<1?null:Pl().createElement(Xp,{editable:l,className:vv.root,selected:o,onNodeDelete:a,draggable:!0},l&&Pl().createElement("div",{className:vv.clickArea}),Pl().createElement(hv,{index:0,images:u,isEditable:l,onTitleChange:e=>{d((t=>{var{index:n,value:r}=e||{},i=structuredClone(t);return i[n].title=r,i}))}}))};var bv=Sa.create({name:"gallery",group:"block",draggable:!0,addAttributes:()=>({images:{default:[],parseHTML:e=>{if("gallery"===e.dataset.type){var t=e.querySelectorAll('[data-type="image"]');return Array.from(t).reduce(((e,t)=>{if(t instanceof HTMLElement&&Tp(t.dataset.props)){var n=qg(t.dataset.props);n&&e.push(n)}return e}),[])}if("image"===e.dataset.type){if(Tp(e.dataset.props)){var n=qg(e.dataset.props);return n?[n]:[]}return[]}return[]}}}),addCommands(){return{addImage:e=>{var{image:t}=e;return()=>{var{images:e=[]}=na(this.editor.state,this.name);return this.editor.commands.updateAttributes(this.name,{images:[...e,t]})}},insertGallery:()=>e=>{var{commands:t}=e;return t.insertContent([{type:this.name,attrs:{images:[]}}])}}},parseHTML:()=>[{tag:'div[data-type="image"]:not(div[data-type="gallery"] div[data-type="image"])'},{tag:'div[data-type="gallery"]'}],renderHTML(e){var{HTMLAttributes:t}=e;return["gallery",ho(t)]},addNodeView:()=>Kl(yv)});bv.extendedConfig={nodeMenu:{render:e=>{var{editor:t}=e,{image:{onUpload:n=null}={}}=$p(),r=(0,Al.useRef)(null),i=function(){var e=Sh((function*(e){var i;if(n&&e){var o=yield n(e);o&&t.chain().focus().addImage({image:o}).run(),null===(i=r.current)||void 0===i||i.call(r)}}));return function(t){return e.apply(this,arguments)}}();return Pl().createElement(Em.Group,null,Pl().createElement(dp,{resetRef:r,accept:".jpeg,.jpg,.gif,.png,.webp",onChange:i},(e=>Pl().createElement(Em,Ql({leftIcon:Pl().createElement(Jc,null)},e),"Добавить изображение"))))}},floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().insertGallery().run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(vu,null),onClick:n},"Медиа")}}};const wv=bv,_v=Sa.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((e=>({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,ho(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=>{return t={find:new RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}},new Eo({find:t.find,handler:({state:e,range:n,match:r})=>{const i=e.doc.resolve(n.from),o=vo(t.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,o)}});var t}))}});var Sv=o(970),xv={};xv.styleTagTransform=Qd(),xv.setAttributes=Wd(),xv.insert=Gd().bind(null,"head"),xv.domAPI=Ud(),xv.insertStyleElement=Yd(),zd()(Sv.Z,xv);const Ev=Sv.Z&&Sv.Z.locals?Sv.Z.locals:void 0;function kv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kv(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tv=_v.extend({addOptions(){var e,t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{};return Cv(Cv({},t),{},{HTMLAttributes:Cv({class:Ev.root},t.HTMLAttributes||{})})},addAttributes(){var e;return Cv(Cv({},(null==this||null===(e=this.parent)||void 0===e?void 0:e.call(this))||{}),{},{id:{default:null}})}});Tv.extendedConfig={typeMenu:{render:[e=>{var{editor:t}=e,[n]=km(t.state,[{type:"heading",attributes:{level:2}}]),r=wh((()=>{t.chain().focus().toggleHeading({level:2}).run()})),i="heading"===n;return Pl().createElement(Dg,{onClick:r,leftIcon:Pl().createElement(ou,null),isActive:i},"Заголовок 2")},e=>{var{editor:t}=e,[n]=km(t.state,[{type:"heading",attributes:{level:3}}]),r=wh((()=>{t.chain().focus().toggleHeading({level:3}).run()})),i="heading"===n;return Pl().createElement(Dg,{onClick:r,leftIcon:Pl().createElement(lu,null),isActive:i},"Заголовок 3")}]},floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().toggleHeading({level:2}).run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(hu,null),onClick:n},"Заголовок")}}};const Ov=Tv,Mv=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Av=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,Pv=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,Lv=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Dv=_a.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:e}){return["em",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[ba({find:Mv,type:this.type}),ba({find:Pv,type:this.type})]},addPasteRules(){return[Ea({find:Av,type:this.type}),Ea({find:Lv,type:this.type})]}});var Rv=Dv;Rv.extendedConfig={bubbleMenu:{render:e=>{var{editor:t}=e,n=wh((()=>{t.chain().focus().toggleItalic().run()}));return Pl().createElement(bh,{isActive:t.isActive("italic"),onClick:n},Pl().createElement(_u,null))}}};const Iv=Rv,Nv="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",jv="ελ1Ï…2бг1ел3дети4ею2католик6ом3мкд2он1Ñква6онлайн5рг3руÑ2Ñ„2Ñайт3рб3укр3қаз3Õ°Õ¡Õµ3ישר×ל5קו×3ابوظبي5تصالات6رامكو5لاردن4بØرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4Ùلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3à¤à¤¾à¤°à¤¤0मà¥3ोत5संगठन5বাংলা5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4இநà¯à®¤à®¿à®¯à®¾6லஙà¯à®•à¯ˆ6சிஙà¯à®•à®ªà¯à®ªà¯‚à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´‚5ලංකà·4คà¸à¸¡3ไทย3ລາວ3გე2ã¿ã‚“ãª3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ãƒã‚¤ãƒ³ãƒˆ4世界2ä¸ä¿¡1国1國1文网3亚马逊3ä¼ä¸š2佛山2ä¿¡æ¯2å¥åº·2å…«å¦2å…¬å¸1益2å°æ¹¾1ç£2商城1店1æ ‡2嘉里0大酒店5在线2大拿2天主教3娱ä¹2家電2广东2å¾®åš2慈善2æˆ‘çˆ±ä½ 3手机2æ‹›è˜2政务1府2æ–°åŠ å¡2é—»2时尚2書ç±2机构2淡马锡3游æˆ2澳門2点看2移动2组织机构4网å€1店1ç«™1络2è”通2è°·æŒ2è´ç‰©2通販2集团2電訊盈科4飞利浦3食å“2é¤åŽ…2é¦™æ ¼é‡Œæ‹‰3港2ë‹·ë„·1ì»´2삼성2í•œêµ2",Bv=(e,t)=>{for(const n in t)e[n]=t[n];return e},Fv="numeric",Hv="ascii",zv="alpha",Vv="asciinumeric",Uv="alphanumeric",$v="domain",Gv="emoji",qv="scheme",Wv="slashscheme",Zv="whitespace";function Yv(e,t){return e in t||(t[e]=[]),t[e]}function Kv(e,t,n){t[Fv]&&(t[Vv]=!0,t[Uv]=!0),t[Hv]&&(t[Vv]=!0,t[zv]=!0),t[Vv]&&(t[Uv]=!0),t[zv]&&(t[Uv]=!0),t[Uv]&&(t[$v]=!0),t[Gv]&&(t[$v]=!0);for(const r in t){const t=Yv(r,n);t.indexOf(e)<0&&t.push(e)}}function Qv(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}Qv.groups={},Qv.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const r=t.jr[n][0],i=t.jr[n][1];if(i&&r.test(e))return i}return t.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){let i;return r=r||Qv.groups,t&&t.j?i=t:(i=new Qv(t),n&&r&&Kv(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this;const o=e.length;if(!o)return i;for(let t=0;t<o-1;t++)i=i.tt(e[t]);return i.tt(e[o-1],t,n,r)},tt(e,t,n,r){r=r||Qv.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const o=t;let a,s=i.go(e);if(s?(a=new Qv,Bv(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new Qv,o){if(r)if(a.t&&"string"==typeof a.t){const e=Bv(function(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(a.t,r),n);Kv(o,e,r)}else n&&Kv(o,n,r);a.t=o}return i.j[e]=a,a}};const Xv=(e,t,n,r,i)=>e.ta(t,n,r,i),Jv=(e,t,n,r,i)=>e.tr(t,n,r,i),ey=(e,t,n,r,i)=>e.ts(t,n,r,i),ty=(e,t,n,r,i)=>e.tt(t,n,r,i),ny="WORD",ry="UWORD",iy="LOCALHOST",oy="TLD",ay="UTLD",sy="SCHEME",ly="SLASH_SCHEME",cy="NUM",uy="WS",dy="NL",py="OPENBRACE",fy="OPENBRACKET",hy="OPENANGLEBRACKET",my="OPENPAREN",gy="CLOSEBRACE",vy="CLOSEBRACKET",yy="CLOSEANGLEBRACKET",by="CLOSEPAREN",wy="AMPERSAND",_y="APOSTROPHE",Sy="ASTERISK",xy="AT",Ey="BACKSLASH",ky="BACKTICK",Cy="CARET",Ty="COLON",Oy="COMMA",My="DOLLAR",Ay="DOT",Py="EQUALS",Ly="EXCLAMATION",Dy="HYPHEN",Ry="PERCENT",Iy="PIPE",Ny="PLUS",jy="POUND",By="QUERY",Fy="QUOTE",Hy="SEMI",zy="SLASH",Vy="TILDE",Uy="UNDERSCORE",$y="EMOJI",Gy="SYM";var qy=Object.freeze({__proto__:null,WORD:ny,UWORD:ry,LOCALHOST:iy,TLD:oy,UTLD:ay,SCHEME:sy,SLASH_SCHEME:ly,NUM:cy,WS:uy,NL:dy,OPENBRACE:py,OPENBRACKET:fy,OPENANGLEBRACKET:hy,OPENPAREN:my,CLOSEBRACE:gy,CLOSEBRACKET:vy,CLOSEANGLEBRACKET:yy,CLOSEPAREN:by,AMPERSAND:wy,APOSTROPHE:_y,ASTERISK:Sy,AT:xy,BACKSLASH:Ey,BACKTICK:ky,CARET:Cy,COLON:Ty,COMMA:Oy,DOLLAR:My,DOT:Ay,EQUALS:Py,EXCLAMATION:Ly,HYPHEN:Dy,PERCENT:Ry,PIPE:Iy,PLUS:Ny,POUND:jy,QUERY:By,QUOTE:Fy,SEMI:Hy,SLASH:zy,TILDE:Vy,UNDERSCORE:Uy,EMOJI:$y,SYM:Gy});const Wy=/[a-z]/,Zy=/\p{L}/u,Yy=/\p{Emoji}/u,Ky=/\d/,Qy=/\s/,Xy="\n",Jy="ï¸",eb="â€";let tb=null,nb=null;function rb(e,t,n,r,i){let o;const a=t.length;for(let n=0;n<a-1;n++){const a=t[n];e.j[a]?o=e.j[a]:(o=new Qv(r),o.jr=i.slice(),e.j[a]=o),e=o}return o=new Qv(n),o.jr=i.slice(),e.j[t[a-1]]=o,o}function ib(e){const t=[],n=[];let r=0;for(;r<e.length;){let i=0;for(;"0123456789".indexOf(e[r+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}const ob={defaultProtocol:"http",events:null,format:sb,formatHref:sb,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ab(e,t){void 0===t&&(t=null);let n=Bv({},ob);e&&(n=Bv(n,e instanceof ab?e.o:e));const r=n.ignoreTags,i=[];for(let e=0;e<r.length;e++)i.push(r[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}function sb(e){return e}function lb(e,t){this.t="token",this.v=e,this.tk=t}function cb(e,t){class n extends lb{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}ab.prototype={o:ob,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let i=this.o[e];return i?("object"==typeof i?(i=n.t in i?i[n.t]:ob[e],"function"==typeof i&&r&&(i=i(t,n))):"function"==typeof i&&r&&(i=i(t,n.t,n)),i):i},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},lb.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=ob.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),u=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),u&&Bv(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};const ub=cb("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),db=cb("text"),pb=cb("nl"),fb=cb("url",{isLink:!0,toHref(e){return void 0===e&&(e=ob.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==iy&&e[1].t===Ty}}),hb=e=>new Qv(e);function mb(e,t,n){const r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}const gb=void 0!==i&&i&&i.warn||(()=>{}),vb={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function yb(e,t){if(void 0===t&&(t=!1),vb.initialized&&gb(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');vb.customSchemes.push([e,t])}function bb(e){return vb.initialized||function(){vb.scanner=function(e){void 0===e&&(e=[]);const t={};Qv.groups=t;const n=new Qv;null==tb&&(tb=ib(Nv)),null==nb&&(nb=ib(jv)),ty(n,"'",_y),ty(n,"{",py),ty(n,"[",fy),ty(n,"<",hy),ty(n,"(",my),ty(n,"}",gy),ty(n,"]",vy),ty(n,">",yy),ty(n,")",by),ty(n,"&",wy),ty(n,"*",Sy),ty(n,"@",xy),ty(n,"`",ky),ty(n,"^",Cy),ty(n,":",Ty),ty(n,",",Oy),ty(n,"$",My),ty(n,".",Ay),ty(n,"=",Py),ty(n,"!",Ly),ty(n,"-",Dy),ty(n,"%",Ry),ty(n,"|",Iy),ty(n,"+",Ny),ty(n,"#",jy),ty(n,"?",By),ty(n,'"',Fy),ty(n,"/",zy),ty(n,";",Hy),ty(n,"~",Vy),ty(n,"_",Uy),ty(n,"\\",Ey);const r=Jv(n,Ky,cy,{[Fv]:!0});Jv(r,Ky,r);const i=Jv(n,Wy,ny,{[Hv]:!0});Jv(i,Wy,i);const o=Jv(n,Zy,ry,{[zv]:!0});Jv(o,Wy),Jv(o,Zy,o);const a=Jv(n,Qy,uy,{[Zv]:!0});ty(n,Xy,dy,{[Zv]:!0}),ty(a,Xy),Jv(a,Qy,a);const s=Jv(n,Yy,$y,{[Gv]:!0});Jv(s,Yy,s),ty(s,Jy,s);const l=ty(s,eb);Jv(l,Yy,s);const c=[[Wy,i]],u=[[Wy,null],[Zy,o]];for(let e=0;e<tb.length;e++)rb(n,tb[e],oy,ny,c);for(let e=0;e<nb.length;e++)rb(n,nb[e],ay,ry,u);Kv(oy,{tld:!0,ascii:!0},t),Kv(ay,{utld:!0,alpha:!0},t),rb(n,"file",sy,ny,c),rb(n,"mailto",sy,ny,c),rb(n,"http",ly,ny,c),rb(n,"https",ly,ny,c),rb(n,"ftp",ly,ny,c),rb(n,"ftps",ly,ny,c),Kv(sy,{scheme:!0,ascii:!0},t),Kv(ly,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const r=e[t][0],i=e[t][1]?{[qv]:!0}:{[Wv]:!0};r.indexOf("-")>=0?i[$v]=!0:Wy.test(r)?Ky.test(r)?i[Vv]=!0:i[Hv]=!0:i[Fv]=!0,ey(n,r,r,i)}return ey(n,"localhost",iy,{ascii:!0}),n.jd=new Qv(Gy),{start:n,tokens:Bv({groups:t},qy)}}(vb.customSchemes);for(let e=0;e<vb.tokenQueue.length;e++)vb.tokenQueue[e][1]({scanner:vb.scanner});vb.parser=function(e){let{groups:t}=e;const n=t.domain.concat([wy,Sy,xy,Ey,ky,Cy,My,Py,Dy,cy,Ry,Iy,Ny,jy,zy,Gy,Vy,Uy]),r=[_y,yy,gy,vy,by,Ty,Oy,Ay,Ly,hy,py,fy,my,By,Fy,Hy],i=[wy,_y,Sy,Ey,ky,Cy,gy,My,Py,Dy,py,Ry,Iy,Ny,jy,By,zy,Gy,Vy,Uy],o=hb(),a=ty(o,Vy);Xv(a,i,a),Xv(a,t.domain,a);const s=hb(),l=hb(),c=hb();Xv(o,t.domain,s),Xv(o,t.scheme,l),Xv(o,t.slashscheme,c),Xv(s,i,a),Xv(s,t.domain,s);const u=ty(s,xy);ty(a,xy,u),ty(l,xy,u),ty(c,xy,u);const d=ty(a,Ay);Xv(d,i,a),Xv(d,t.domain,a);const p=hb();Xv(u,t.domain,p),Xv(p,t.domain,p);const f=ty(p,Ay);Xv(f,t.domain,p);const h=hb(ub);Xv(f,t.tld,h),Xv(f,t.utld,h),ty(u,iy,h);const m=ty(p,Dy);Xv(m,t.domain,p),Xv(h,t.domain,p),ty(h,Ay,f),ty(h,Dy,m);const g=ty(h,Ty);Xv(g,t.numeric,ub);const v=ty(s,Dy),y=ty(s,Ay);Xv(v,t.domain,s),Xv(y,i,a),Xv(y,t.domain,s);const b=hb(fb);Xv(y,t.tld,b),Xv(y,t.utld,b),Xv(b,t.domain,s),Xv(b,i,a),ty(b,Ay,y),ty(b,Dy,v),ty(b,xy,u);const w=ty(b,Ty),_=hb(fb);Xv(w,t.numeric,_);const S=hb(fb),x=hb();Xv(S,n,S),Xv(S,r,x),Xv(x,n,S),Xv(x,r,x),ty(b,zy,S),ty(_,zy,S);const E=ty(l,Ty),k=ty(c,Ty),C=ty(k,zy),T=ty(C,zy);Xv(l,t.domain,s),ty(l,Ay,y),ty(l,Dy,v),Xv(c,t.domain,s),ty(c,Ay,y),ty(c,Dy,v),Xv(E,t.domain,S),ty(E,zy,S),Xv(T,t.domain,S),Xv(T,n,S),ty(T,zy,S);const O=ty(S,py),M=ty(S,fy),A=ty(S,hy),P=ty(S,my);ty(x,py,O),ty(x,fy,M),ty(x,hy,A),ty(x,my,P),ty(O,gy,S),ty(M,vy,S),ty(A,yy,S),ty(P,by,S),ty(O,gy,S);const L=hb(fb),D=hb(fb),R=hb(fb),I=hb(fb);Xv(O,n,L),Xv(M,n,D),Xv(A,n,R),Xv(P,n,I);const N=hb(),j=hb(),B=hb(),F=hb();return Xv(O,r),Xv(M,r),Xv(A,r),Xv(P,r),Xv(L,n,L),Xv(D,n,D),Xv(R,n,R),Xv(I,n,I),Xv(L,r,L),Xv(D,r,D),Xv(R,r,R),Xv(I,r,I),Xv(N,n,N),Xv(j,n,D),Xv(B,n,R),Xv(F,n,I),Xv(N,r,N),Xv(j,r,j),Xv(B,r,B),Xv(F,r,F),ty(D,vy,S),ty(R,yy,S),ty(I,by,S),ty(L,gy,S),ty(j,vy,S),ty(B,yy,S),ty(F,by,S),ty(N,by,S),ty(o,iy,b),ty(o,dy,pb),{start:o,tokens:qy}}(vb.scanner.tokens);for(let e=0;e<vb.pluginQueue.length;e++)vb.pluginQueue[e][1]({scanner:vb.scanner,parser:vb.parser});vb.initialized=!0}(),function(e,t,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=e,l=null,c=null,u=0,d=null,p=-1;for(;i<r&&!(l=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(c=l||s.go(n[i].t));)l=null,s=c,s.accepts()?(p=0,d=s):p>=0&&p++,i++,u++;if(p<0)i-=u,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(mb(db,t,a)),a=[]),i-=p,u-=p;const e=d.t,r=n.slice(i-u,i);o.push(mb(e,t,r))}}return a.length>0&&o.push(mb(db,t,a)),o}(vb.parser.start,e,function(e,t){const n=function(e){const t=[],n=e.length;let r=0;for(;r<n;){let i,o=e.charCodeAt(r),a=o<55296||o>56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=e,l=null,c=0,u=null,d=-1,p=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(d=0,p=0,u=s):d>=0&&(d+=n[a].length,p++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=p,c-=d,i.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return i}(vb.scanner.start,e))}function wb(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new ab(n),i=bb(e),o=[];for(let e=0;e<i.length;e++){const n=i[e];!n.isLink||t&&n.t!==t||!r.check(n)||o.push(n.toFormattedObject(r))}return o}function _b(e){return new gt({key:new bt("autolink"),appendTransaction:(t,n,r)=>{const i=t.some((e=>e.docChanged))&&!n.doc.eq(r.doc),o=t.some((e=>e.getMeta("preventAutolink")));if(!i||o)return;const{tr:a}=r,s=function(e,t){const n=new Ye(e);return t.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n}(n.doc,[...t]),l=function(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach(((e,i)=>{const o=[];if(e.ranges.length)e.forEach(((e,t)=>{o.push({from:e,to:t})}));else{const{from:e,to:t}=n[i];if(void 0===e||void 0===t)return;o.push({from:e,to:t})}o.forEach((({from:e,to:n})=>{const o=t.slice(i).map(e,-1),a=t.slice(i).map(n),s=t.invert().map(o,-1),l=t.invert().map(a);r.push({oldRange:{from:s,to:l},newRange:{from:o,to:a}})}))})),function(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>!t.filter(((e,t)=>t!==n)).some((t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))))}(r)}(s);return l.forEach((({newRange:t})=>{const n=function(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,((e,t)=>{(e=>e.isTextblock)(e)&&r.push({node:e,pos:t})})),r}(r.doc,t);let i,o;if(n.length>1?(i=n[0],o=r.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," ")):n.length&&r.doc.textBetween(t.from,t.to," "," ").endsWith(" ")&&(i=n[0],o=r.doc.textBetween(i.pos,t.to,void 0," ")),i&&o){const t=o.split(" ").filter((e=>""!==e));if(t.length<=0)return!1;const n=t[t.length-1],s=i.pos+o.lastIndexOf(n);if(!n)return!1;wb(n).filter((e=>e.isLink)).map((e=>({...e,from:s+e.start+1,to:s+e.end+1}))).filter((e=>!r.schema.marks.code||!r.doc.rangeHasMark(e.from,e.to,r.schema.marks.code))).filter((t=>!e.validate||e.validate(t.value))).forEach((t=>{ra(t.from,t.to,r.doc).some((t=>t.mark.type===e.type))||a.addMark(t.from,t.to,e.type.create({href:t.href}))}))}})),a.steps.length?a:void 0}})}const Sb=_a.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach((e=>{"string"!=typeof e?yb(e.scheme,e.optionalSlashes):yb(e)}))},onDestroy(){Qv.groups={},vb.scanner=null,vb.parser=null,vb.tokenQueue=[],vb.pluginQueue=[],vb.customSchemes=[],vb.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}),addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML:()=>[{tag:'a[href]:not([href *= "javascript:" i])'}],renderHTML({HTMLAttributes:e}){return["a",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ea({find:e=>wb(e).filter((e=>!this.options.validate||this.options.validate(e.value))).filter((e=>e.isLink)).map((e=>({text:e.value,index:e.start,data:e}))),type:this.type,getAttributes:(e,t)=>{var n,r;const i=null===(n=null==t?void 0:t.clipboardData)||void 0===n?void 0:n.getData("text/html"),o=null==i?void 0:i.match(/href="([^"]*)"/);return o?{href:o[1]}:{href:null===(r=e.data)||void 0===r?void 0:r.href}}})]},addProseMirrorPlugins(){const e=[];return this.options.autolink&&e.push(_b({type:this.type,validate:this.options.validate})),this.options.openOnClick&&e.push(function(e){return new gt({key:new bt("handleClickLink"),props:{handleClick:(t,n,r)=>{var i,o;if(0!==r.button)return!1;if("A"!==r.target.nodeName)return!1;const a=na(t.state,e.type.name),s=r.target,l=null!==(i=null==s?void 0:s.href)&&void 0!==i?i:a.href,c=null!==(o=null==s?void 0:s.target)&&void 0!==o?o:a.target;return!(!s||!l||(t.editable&&window.open(l,c),0))}}})}({type:this.type})),this.options.linkOnPaste&&e.push(function(e){return new gt({key:new bt("handlePasteLink"),props:{handlePaste:(t,n,r)=>{var i;const{state:o}=t,{selection:a}=o,{empty:s}=a;if(s)return!1;let l="";r.content.forEach((e=>{l+=e.textContent}));const c=wb(l).find((e=>e.isLink&&e.value===l));if(!l||!c)return!1;const u=null===(i=n.clipboardData)||void 0===i?void 0:i.getData("text/html"),d=null==u?void 0:u.match(/href="([^"]*)"/),p=d?d[1]:c.href;return e.editor.commands.setMark(e.type,{href:p}),!0}}})}({editor:this.editor,type:this.type})),e}});var xb=o(8698),Eb={};Eb.styleTagTransform=Qd(),Eb.setAttributes=Wd(),Eb.insert=Gd().bind(null,"head"),Eb.domAPI=Ud(),Eb.insertStyleElement=Yd(),zd()(xb.Z,Eb);const kb=xb.Z&&xb.Z.locals?xb.Z.locals:void 0;var Cb,Tb=Sb.extend({addProseMirrorPlugins(){var e,t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||[];return t.push((e=>{var{type:t,editor:n}=e;return new gt({key:new bt("linkHrefTooltip"),props:{handleDOMEvents:{mouseover:(e,r)=>{var i,o,{target:a}=r;if(a instanceof HTMLAnchorElement){if(n.isEditable){if(!Cb){var{element:s}=n.options;if(!s.parentElement)return;Cb=Tl(s,{duration:100,getReferenceClientRect:null,content:"",arrow:!0,interactive:!0,trigger:"manual",placement:"bottom",hideOnClick:"toggle"})}var l=na(e.state,t.name),c=null!==(i=a.href)&&void 0!==i?i:l.href,u=document.createElement("div");u.innerText=c,u.classList.add(kb.modal),Cb.setProps({getReferenceClientRect:()=>a.getBoundingClientRect(),content:u}),Cb.show()}}else null===(o=Cb)||void 0===o||o.hide()}}}})})({type:this.type,editor:this.editor})),t}});Tb.extendedConfig={bubbleMenu:{render:[e=>{var{editor:t}=e,[n,r]=(0,Al.useState)(""),[i,o]=(0,Al.useState)(!1),a=wh((()=>{o(!0)})),s=wh((()=>{o(!1)})),l=wh((()=>{t.chain().focus().unsetLink().run()})),c=wh((e=>{r(e.target.value)})),u=wh((()=>{r("")})),d=wh((e=>{t.chain().focus().setLink({href:e}).run(),u(),s()})),p=Th("link",t);return Pl().createElement(Pl().Fragment,null,Pl().createElement(bh,{isActive:p,onClick:p?l:a},Pl().createElement(Tu,null)),i&&Pl().createElement(Yp,{onClose:s},Pl().createElement(rf,{value:n,onChange:c,onSubmit:d,placeholder:"Введите ÑÑылку и нажмите enter",onReset:u})))},e=>{var{editor:t}=e,{game:n}=$p(),[r,i]=(0,Al.useState)(!1),[o,a]=(0,Al.useState)(""),s=e=>{t.chain().focus().setLink({href:e}).run()},l=wh(Sh((function*(){var{state:e}=t,{from:r,to:o}=e.selection,l=e.doc.textBetween(r,o," ");if(null!=n&&n.onSearch){var c=yield n.onSearch(l,5);if(1===c.length){var u,d=c[0];s(d.url),null===(u=n.onSelect)||void 0===u||u.call(n,d)}else c.length>0?(a(l),i(!0)):(a(""),i(!0))}}))),c=wh((()=>{i(!1)})),u=wh((e=>{var t;s(e.url),null==n||null===(t=n.onSelect)||void 0===t||t.call(n,e),c()}));return Th("link",t)?null:Pl().createElement(Pl().Fragment,null,Pl().createElement(bh,{onClick:l},Pl().createElement(nu,null)),r&&Pl().createElement(Yp,{onClose:c},Pl().createElement(Ch,{initialValue:o,onSelect:u})))}]}};const Ob=Tb,Mb=Sa.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",ho(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}).extend({content:"(paragraph|list?)+"}),Ab=Sa.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",ho(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Pb=_a.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=Jo(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}}),Lb=/^(\d+)\.\s$/,Db=Sa.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",ho(this.options.HTMLAttributes,n),0]:["ol",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Ab.name,this.editor.getAttributes(Pb.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=wa({find:Lb,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=wa({find:Lb,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Pb.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}});var Rb=o(1916),Ib={};Ib.styleTagTransform=Qd(),Ib.setAttributes=Wd(),Ib.insert=Gd().bind(null,"head"),Ib.domAPI=Ud(),Ib.insertStyleElement=Yd(),zd()(Rb.Z,Ib);const Nb=Rb.Z&&Rb.Z.locals?Rb.Z.locals:void 0,jb=e=>{var{selected:t,deleteNode:n}=e,{isEditable:r}=uf();return Pl().createElement(Xp,{editable:r,className:Nb.root,selected:t,onNodeDelete:n,draggable:!0},Pl().createElement(Eg,null))};var Bb=Db.extend({draggable:!0,addNodeView:()=>Mg(jb,{contentDOMElementTag:"ol"})});Bb.extendedConfig={nodeMenu:{render:Cm},typeMenu:{render:e=>{var{editor:t}=e,[n]=km(t.state,[{type:"orderedList"},{type:"bulletList"}]),r=wh((()=>{t.chain().focus().toggleOrderedList().run()})),i="orderedList"===n;return Pl().createElement(Dg,{onClick:r,leftIcon:Pl().createElement(Au,null),isActive:i},"Ðумерованный ÑпиÑок")}}};const Fb=Bb,Hb=Sa.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",ho(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});var zb=o(9378),Vb={};Vb.styleTagTransform=Qd(),Vb.setAttributes=Wd(),Vb.insert=Gd().bind(null,"head"),Vb.domAPI=Ud(),Vb.insertStyleElement=Yd(),zd()(zb.Z,Vb);const Ub=zb.Z&&zb.Z.locals?zb.Z.locals:void 0;function $b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$b(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qb=Hb.extend({addOptions(){var e,t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{};return Gb(Gb({},t),{},{HTMLAttributes:Gb({class:Ub.root},t.HTMLAttributes||{})})},parseHTML(){var e;return[...(null===(e=this.parent)||void 0===e?void 0:e.call(this))||[],{tag:"cite[class=b-pc__quote__author_name]",ignore:!0}]}});qb.extendedConfig={typeMenu:{render:e=>{var{editor:t}=e,n=km(t.state,[{type:"paragraph"},{type:"bulletList"},{type:"orderedList"}]),r=wh((()=>{t.chain().focus().setParagraph().run()})),i=!(n.includes("bulletList")||n.includes("orderedList"))&&n.includes("paragraph");return Pl().createElement(Dg,{onClick:r,leftIcon:Pl().createElement(Ed,null),isActive:i},"Параграф")}}};const Wb=qb,Zb=Do.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new gt({key:new bt("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=t,i=[];if(!n)return null;const o=e.type.createAndFill(),a=(null==o?void 0:o.sameMarkup(e))&&null===o.content.findDiffStart(e.content);return e.descendants(((e,t)=>{const n=r>=t&&r<=t+e.nodeSize,o=!e.isLeaf&&!e.childCount;if((n||!this.options.showOnlyCurrent)&&o){const r=[this.options.emptyNodeClass];a&&r.push(this.options.emptyEditorClass);const o=Qr.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});i.push(o)}return this.options.includeChildren})),ei.create(e,i)}}})]}}),Yb=JSON.parse('{"j":{"W":{"Z":"Ðачните печатать","h":"Введите текÑÑ‚"}}}');function Kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kb(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Xb=Zb.extend({addOptions(){var e;return Qb(Qb({},(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{}),{},{showOnlyCurrent:!1,includeChildren:!0,placeholder:e=>{var{pos:t}=e;return 0===t?Yb.j.W.Z:Yb.j.W.h}})}});var Jb=o(6211),ew={};ew.styleTagTransform=Qd(),ew.setAttributes=Wd(),ew.insert=Gd().bind(null,"head"),ew.domAPI=Ud(),ew.insertStyleElement=Yd(),zd()(Jb.Z,ew);const tw=Jb.Z&&Jb.Z.locals?Jb.Z.locals:void 0,nw=e=>{var{editor:t,node:n,deleteNode:r,selected:i}=e,{html:o}=n.attrs||{};return o?Pl().createElement(Xp,{className:tw.root,editable:t.isEditable,onNodeDelete:r,selected:i,draggable:!0},Pl().createElement("div",{dangerouslySetInnerHTML:{__html:o}})):null},rw=Sa.create({name:"raw-html",group:"block",draggable:!0,atom:!0,addAttributes:()=>({html:"",parseHTML:()=>""}),renderHTML(e){var{HTMLAttributes:t}=e;return["raw-html",ho(t)]},addNodeView:()=>Kl(nw)});var iw=o(4100),ow={};ow.styleTagTransform=Qd(),ow.setAttributes=Wd(),ow.insert=Gd().bind(null,"head"),ow.domAPI=Ud(),ow.insertStyleElement=Yd(),zd()(iw.Z,ow);const aw=iw.Z&&iw.Z.locals?iw.Z.locals:void 0,sw=e=>{var{onClose:t,onSelect:n}=e,{related:r}=$p(),{onSearch:i}=r||{},[o,a]=(0,Al.useState)(""),[s,l]=(0,Al.useState)([]);return(0,Al.useEffect)((()=>(o||l([]),function(){var e=Sh((function*(){if(i){var e=yield i(o,10);l(e)}}));return function(){return e.apply(this,arguments)}}()(),()=>{l([])})),[o]),Pl().createElement(Yp,{onClose:t},Pl().createElement(rf,{onChange:e=>{e.target instanceof HTMLInputElement&&a(e.target.value)},className:aw.search,value:o,onReset:()=>{a("")},placeholder:"Ðачните вводить название Ñтатьи"},s.length>0&&Pl().createElement("ul",{className:aw.list},s.map((e=>Pl().createElement("li",{key:e.id,className:aw.item},Pl().createElement("button",{className:aw.article,onClick:()=>n(e)},Pl().createElement("img",{className:aw.articleImage,src:e.image,alt:e.title}),Pl().createElement("p",{className:aw.articleTitle},e.title))))))))},lw=e=>{var{children:t,isEditable:n,onSelect:r}=e,[i,o]=(0,Al.useState)(!1);return Pl().createElement("div",{className:aw.root},Pl().createElement("p",{className:aw.title,contentEditable:!1},"Читайте также:"),t,n&&Pl().createElement(Pl().Fragment,null,Pl().createElement("div",{contentEditable:!1},Pl().createElement(sp,{size:"lg",onClick:()=>{o(!0)}},"Добавить новоÑÑ‚ÑŒ")),i&&Pl().createElement(sw,{onClose:()=>{o(!1)},onSelect:r})))};var cw=o(2270),uw={};uw.styleTagTransform=Qd(),uw.setAttributes=Wd(),uw.insert=Gd().bind(null,"head"),uw.domAPI=Ud(),uw.insertStyleElement=Yd(),zd()(cw.Z,uw);const dw=cw.Z&&cw.Z.locals?cw.Z.locals:void 0,pw=e=>{var{editor:t,node:n,selected:r,deleteNode:i,getPos:o}=e,{isEditable:a}=uf();return Pl().createElement(Xp,{className:dw.root,editable:a,selected:r,onNodeDelete:i},Pl().createElement(lw,{isEditable:a,onSelect:e=>{t.chain().focus().insertRelatedItem({node:n,pos:o(),text:e.title,url:e.url})}},Pl().createElement(ql,null)))};var fw=["node","pos"],hw=Sa.create({name:"related",group:"block related",content:"related_item*",selectable:!1,draggable:!1,atom:!0,addCommands(){return{insertRelated:()=>e=>{var{commands:t}=e;return t.insertContent([{type:this.name}])},insertRelatedItem:e=>{var{node:t,pos:n}=e,r=Xl(e,fw);return()=>{var e={from:n,to:n+t.nodeSize},i=t.content.toJSON()||[],o=[...Array.isArray(i)?i:[i],{type:"related-item",attrs:r}];return this.editor.commands.insertContentAt(e,o),!0}}}},renderHTML(e){var{HTMLAttributes:t}=e;return["related",ho(t)]},addNodeView:()=>Kl(pw)});hw.extendedConfig={floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().insertRelated().run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(wc,null),onClick:n},"Читайте также")}}};const mw=hw;var gw=o(9428),vw={};vw.styleTagTransform=Qd(),vw.setAttributes=Wd(),vw.insert=Gd().bind(null,"head"),vw.domAPI=Ud(),vw.insertStyleElement=Yd(),zd()(gw.Z,vw);const yw=gw.Z&&gw.Z.locals?gw.Z.locals:void 0,bw=e=>{var{node:t,selected:n,deleteNode:r}=e,{isEditable:i}=uf(),{url:o,text:a}=t.attrs;return Pl().createElement(Xp,{editable:i,className:yw.root,selected:n,onNodeDelete:r,contentEditable:!1,draggable:!0},Pl().createElement("a",{href:o},a))},ww=Sa.create({name:"related-item",group:"related_item",content:"",draggable:!0,atom:!0,selectable:!1,addAttributes:()=>({url:{default:""},text:{default:""}}),renderHTML(e){var{HTMLAttributes:t}=e;return["related-item",ho(t)]},addNodeView:()=>Kl(bw)}),_w=Sa.create({name:"tableCell",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"cell",isolating:!0,parseHTML:()=>[{tag:"td"}],renderHTML({HTMLAttributes:e}){return["td",ho(this.options.HTMLAttributes,e),0]}});var Sw=o(5843),xw={};xw.styleTagTransform=Qd(),xw.setAttributes=Wd(),xw.insert=Gd().bind(null,"head"),xw.domAPI=Ud(),xw.insertStyleElement=Yd(),zd()(Sw.Z,xw);const Ew=Sw.Z&&Sw.Z.locals?Sw.Z.locals:void 0;function kw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kw(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tw=_w.extend({content:"paragraph+",addOptions(){var e,t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{};return Cw(Cw({},t),{},{HTMLAttributes:Cw({class:Ew.root},t.HTMLAttributes||{})})},addAttributes(){var e;return Cw(Cw({},(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{}),{},{style:{default:null,parseHTML:()=>null}})}});const Ow=Tw;var Mw,Aw;if("undefined"!=typeof WeakMap){let e=new WeakMap;Mw=t=>e.get(t),Aw=(t,n)=>(e.set(t,n),n)}else{const e=[],t=10;let n=0;Mw=t=>{for(let n=0;n<e.length;n+=2)if(e[n]==t)return e[n+1]},Aw=(r,i)=>(n==t&&(n=0),e[n++]=r,e[n++]=i)}var Pw=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t<this.map.length;t++){const n=this.map[t];if(n!=e)continue;const r=t%this.width,i=t/this.width|0;let o=r+1,a=i+1;for(let e=1;o<this.width&&this.map[t+e]==n;e++)o++;for(let e=1;a<this.height&&this.map[t+this.width*e]==n;e++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${e} found`)}colCount(e){for(let t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw new RangeError(`No cell with offset ${e} found`)}nextCell(e,t,n){const{left:r,right:i,top:o,bottom:a}=this.findCell(e);return"horiz"==t?(n<0?0==r:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?0==o:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(e,t){const{left:n,right:r,top:i,bottom:o}=this.findCell(e),{left:a,right:s,top:l,bottom:c}=this.findCell(t);return{left:Math.min(n,a),top:Math.min(i,l),right:Math.max(r,s),bottom:Math.max(o,c)}}cellsInRect(e){const t=[],n={};for(let r=e.top;r<e.bottom;r++)for(let i=e.left;i<e.right;i++){const o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,i==e.left&&i&&this.map[o-1]==a||r==e.top&&r&&this.map[o-this.width]==a||t.push(a))}return t}positionAt(e,t,n){for(let r=0,i=0;;r++){const o=i+n.child(r).nodeSize;if(r==e){let n=t+e*this.width;const r=(e+1)*this.width;for(;n<r&&this.map[n]<i;)n++;return n==r?o-1:this.map[n]}i=o}}static get(e){return Mw(e)||Aw(e,function(e){if("table"!=e.type.spec.tableRole)throw new RangeError("Not a table node: "+e.type.name);const t=function(e){let t=-1,n=!1;for(let r=0;r<e.childCount;r++){const i=e.child(r);let o=0;if(n)for(let t=0;t<r;t++){const n=e.child(t);for(let e=0;e<n.childCount;e++){const i=n.child(e);t+i.attrs.rowspan>r&&(o+=i.attrs.colspan)}}for(let e=0;e<i.childCount;e++){const t=i.child(e);o+=t.attrs.colspan,t.attrs.rowspan>1&&(n=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(e),n=e.childCount,r=[];let i=0,o=null;const a=[];for(let e=0,i=t*n;e<i;e++)r[e]=0;for(let s=0,l=0;s<n;s++){const c=e.child(s);l++;for(let e=0;;e++){for(;i<r.length&&0!=r[i];)i++;if(e==c.childCount)break;const u=c.child(e),{colspan:d,rowspan:p,colwidth:f}=u.attrs;for(let e=0;e<p;e++){if(e+s>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:l,n:p-e});break}const c=i+e*t;for(let e=0;e<d;e++){0==r[c+e]?r[c+e]=l:(o||(o=[])).push({type:"collision",row:s,pos:l,n:d-e});const n=f&&f[e];if(n){const r=(c+e)%t*2,i=a[r];null==i||i!=n&&1==a[r+1]?(a[r]=n,a[r+1]=1):i==n&&a[r+1]++}}}i+=d,l+=u.nodeSize}const u=(s+1)*t;let d=0;for(;i<u;)0==r[i++]&&d++;d&&(o||(o=[])).push({type:"missing",row:s,n:d}),l++}const s=new Pw(t,n,r,o);let l=!1;for(let e=0;!l&&e<a.length;e+=2)null!=a[e]&&a[e+1]<n&&(l=!0);return l&&function(e,t,n){e.problems||(e.problems=[]);const r={};for(let i=0;i<e.map.length;i++){const o=e.map[i];if(r[o])continue;r[o]=!0;const a=n.nodeAt(o);if(!a)throw new RangeError(`No cell with offset ${o} found`);let s=null;const l=a.attrs;for(let n=0;n<l.colspan;n++){const r=t[(i+n)%e.width*2];null==r||l.colwidth&&l.colwidth[n]==r||((s||(s=Lw(l)))[n]=r)}s&&e.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}(s,a,e),s}(e))}};function Lw(e){if(e.colwidth)return e.colwidth.slice();const t=[];for(let n=0;n<e.colspan;n++)t.push(0);return t}function Dw(e){let t=e.cached.tableNodeTypes;if(!t){t=e.cached.tableNodeTypes={};for(const n in e.nodes){const r=e.nodes[n],i=r.spec.tableRole;i&&(t[i]=r)}}return t}var Rw=new bt("selectingCells");function Iw(e){for(let t=e.depth-1;t>0;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function Nw(e){const t=e.selection.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function jw(e){const t=e.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const n=Iw(t.$head)||function(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n-t.nodeSize)}}(t.$head);if(n)return n;throw new RangeError(`No cell found around position ${t.head}`)}function Bw(e){return"row"==e.parent.type.spec.tableRole&&!!e.nodeAfter}function Fw(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function Hw(e,t,n){const r=e.node(-1),i=Pw.get(r),o=e.start(-1),a=i.nextCell(e.pos-o,t,n);return null==a?null:e.node(0).resolve(o+a)}function zw(e,t,n=1){const r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some((e=>e>0))||(r.colwidth=null)),r}function Vw(e,t,n=1){const r={...e,colspan:e.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let e=0;e<n;e++)r.colwidth.splice(t,0,0)}return r}var Uw=class extends Qe{constructor(e,t=e){const n=e.node(-1),r=Pw.get(n),i=e.start(-1),o=r.rectBetween(e.pos-i,t.pos-i),a=e.node(0),s=r.cellsInRect(o).filter((e=>e!=t.pos-i));s.unshift(t.pos-i);const l=s.map((e=>{const t=n.nodeAt(e);if(!t)throw RangeError(`No cell with offset ${e} found`);const r=i+e+1;return new Xe(a.resolve(r),a.resolve(r+t.content.size))}));super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=t}map(e,t){const n=e.resolve(t.map(this.$anchorCell.pos)),r=e.resolve(t.map(this.$headCell.pos));if(Bw(n)&&Bw(r)&&Fw(n,r)){const e=this.$anchorCell.node(-1)!=n.node(-1);return e&&this.isRowSelection()?Uw.rowSelection(n,r):e&&this.isColSelection()?Uw.colSelection(n,r):new Uw(n,r)}return tt.between(n,r)}content(){const e=this.$anchorCell.node(-1),t=Pw.get(e),n=this.$anchorCell.start(-1),r=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),i={},o=[];for(let n=r.top;n<r.bottom;n++){const a=[];for(let o=n*t.width+r.left,s=r.left;s<r.right;s++,o++){const n=t.map[o];if(i[n])continue;i[n]=!0;const s=t.findCell(n);let l=e.nodeAt(n);if(!l)throw RangeError(`No cell with offset ${n} found`);const c=r.left-s.left,u=s.right-r.right;if(c>0||u>0){let e=l.attrs;if(c>0&&(e=zw(e,0,c)),u>0&&(e=zw(e,e.colspan-u,u)),s.left<r.left){if(l=l.type.createAndFill(e),!l)throw RangeError(`Could not create cell with attrs ${JSON.stringify(e)}`)}else l=l.type.create(e,l.content)}if(s.top<r.top||s.bottom>r.bottom){const e={...l.attrs,rowspan:Math.min(s.bottom,r.bottom)-Math.max(s.top,r.top)};l=s.top<r.top?l.type.createAndFill(e):l.type.create(e,l.content)}a.push(l)}o.push(e.child(n).copy(s.from(a)))}const a=this.isColSelection()&&this.isRowSelection()?e:o;return new f(s.from(a),1,1)}replace(e,t=f.empty){const n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){const{$from:o,$to:a}=r[i],s=e.mapping.slice(n);e.replace(s.map(o.pos),s.map(a.pos),i?f.empty:t)}const i=Qe.findFrom(e.doc.resolve(e.mapping.slice(n).map(this.to)),-1);i&&e.setSelection(i)}replaceWith(e,t){this.replace(e,new f(s.from(t),0,0))}forEachCell(e){const t=this.$anchorCell.node(-1),n=Pw.get(t),r=this.$anchorCell.start(-1),i=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r));for(let n=0;n<i.length;n++)e(t.nodeAt(i[n]),r+i[n])}isColSelection(){const e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;const n=e+this.$anchorCell.nodeAfter.attrs.rowspan,r=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,r)==this.$headCell.node(-1).childCount}static colSelection(e,t=e){const n=e.node(-1),r=Pw.get(n),i=e.start(-1),o=r.findCell(e.pos-i),a=r.findCell(t.pos-i),s=e.node(0);return o.top<=a.top?(o.top>0&&(e=s.resolve(i+r.map[o.left])),a.bottom<r.height&&(t=s.resolve(i+r.map[r.width*(r.height-1)+a.right-1]))):(a.top>0&&(t=s.resolve(i+r.map[a.left])),o.bottom<r.height&&(e=s.resolve(i+r.map[r.width*(r.height-1)+o.right-1]))),new Uw(e,t)}isRowSelection(){const e=this.$anchorCell.node(-1),t=Pw.get(e),n=this.$anchorCell.start(-1),r=t.colCount(this.$anchorCell.pos-n),i=t.colCount(this.$headCell.pos-n);if(Math.min(r,i)>0)return!1;const o=r+this.$anchorCell.nodeAfter.attrs.colspan,a=i+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,a)==t.width}eq(e){return e instanceof Uw&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,t=e){const n=e.node(-1),r=Pw.get(n),i=e.start(-1),o=r.findCell(e.pos-i),a=r.findCell(t.pos-i),s=e.node(0);return o.left<=a.left?(o.left>0&&(e=s.resolve(i+r.map[o.top*r.width])),a.right<r.width&&(t=s.resolve(i+r.map[r.width*(a.top+1)-1]))):(a.left>0&&(t=s.resolve(i+r.map[a.top*r.width])),o.right<r.width&&(e=s.resolve(i+r.map[r.width*(o.top+1)-1]))),new Uw(e,t)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,t){return new Uw(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){return new Uw(e.resolve(t),e.resolve(n))}getBookmark(){return new $w(this.$anchorCell.pos,this.$headCell.pos)}};Uw.prototype.visible=!1,Qe.jsonID("cell",Uw);var $w=class{constructor(e,t){this.anchor=e,this.head=t}map(e){return new $w(e.map(this.anchor),e.map(this.head))}resolve(e){const t=e.resolve(this.anchor),n=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==n.parent.type.spec.tableRole&&t.index()<t.parent.childCount&&n.index()<n.parent.childCount&&Fw(t,n)?new Uw(t,n):Qe.near(n,1)}};function Gw(e){if(!(e.selection instanceof Uw))return null;const t=[];return e.selection.forEachCell(((e,n)=>{t.push(Qr.node(n,n+e.nodeSize,{class:"selectedCell"}))})),ei.create(e.doc,t)}var qw=new bt("fix-tables");function Ww(e,t,n,r){const i=e.childCount,o=t.childCount;e:for(let a=0,s=0;a<o;a++){const o=t.child(a);for(let t=s,r=Math.min(i,a+3);t<r;t++)if(e.child(t)==o){s=t+1,n+=o.nodeSize;continue e}r(o,n),s<i&&e.child(s).sameMarkup(o)?Ww(e.child(s),o,n+1,r):o.nodesBetween(0,o.content.size,r,n+1),n+=o.nodeSize}}function Zw(e,t){let n;const r=(t,r)=>{"table"==t.type.spec.tableRole&&(n=function(e,t,n,r){const i=Pw.get(t);if(!i.problems)return r;r||(r=e.tr);const o=[];for(let e=0;e<i.height;e++)o.push(0);for(let e=0;e<i.problems.length;e++){const a=i.problems[e];if("collision"==a.type){const e=t.nodeAt(a.pos);if(!e)continue;const i=e.attrs;for(let e=0;e<i.rowspan;e++)o[a.row+e]+=a.n;r.setNodeMarkup(r.mapping.map(n+1+a.pos),null,zw(i,i.colspan-a.n,a.n))}else if("missing"==a.type)o[a.row]+=a.n;else if("overlong_rowspan"==a.type){const e=t.nodeAt(a.pos);if(!e)continue;r.setNodeMarkup(r.mapping.map(n+1+a.pos),null,{...e.attrs,rowspan:e.attrs.rowspan-a.n})}else if("colwidth mismatch"==a.type){const e=t.nodeAt(a.pos);if(!e)continue;r.setNodeMarkup(r.mapping.map(n+1+a.pos),null,{...e.attrs,colwidth:a.colwidth})}}let a,s;for(let e=0;e<o.length;e++)o[e]&&(null==a&&(a=e),s=e);for(let l=0,c=n+1;l<i.height;l++){const n=t.child(l),i=c+n.nodeSize,u=o[l];if(u>0){let t="cell";n.firstChild&&(t=n.firstChild.type.spec.tableRole);const o=[];for(let n=0;n<u;n++){const n=Dw(e.schema)[t].createAndFill();n&&o.push(n)}const d=0!=l&&a!=l-1||s!=l?i-1:c+1;r.insert(r.mapping.map(d),o)}c=i}return r.setMeta(qw,{fixTables:!0})}(e,t,r,n))};return t?t.doc!=e.doc&&Ww(t.doc,e.doc,0,r):e.doc.descendants(r),n}function Yw(e,t){const n=e.createAndFill();return new Ye(n).replace(0,n.content.size,t).doc}function Kw(e,t,n,r,i,o,a,s){if(0==a||a==t.height)return!1;let l=!1;for(let c=i;c<o;c++){const i=a*t.width+c,o=t.map[i];if(t.map[i-t.width]==o){l=!0;const i=n.nodeAt(o),{top:u,left:d}=t.findCell(o);e.setNodeMarkup(e.mapping.slice(s).map(o+r),null,{...i.attrs,rowspan:a-u}),e.insert(e.mapping.slice(s).map(t.positionAt(a,d,n)),i.type.createAndFill({...i.attrs,rowspan:u+i.attrs.rowspan-a})),c+=i.attrs.colspan-1}}return l}function Qw(e,t,n,r,i,o,a,s){if(0==a||a==t.width)return!1;let l=!1;for(let c=i;c<o;c++){const i=c*t.width+a,o=t.map[i];if(t.map[i-1]==o){l=!0;const i=n.nodeAt(o),u=t.colCount(o),d=e.mapping.slice(s).map(o+r);e.setNodeMarkup(d,null,zw(i.attrs,a-u,i.attrs.colspan-(a-u))),e.insert(d+i.nodeSize,i.type.createAndFill(zw(i.attrs,0,a-u))),c+=i.attrs.rowspan-1}}return l}function Xw(e,t,n,r,i){let o=n?e.doc.nodeAt(n-1):e.doc;if(!o)throw new Error("No table found");let a=Pw.get(o);const{top:l,left:c}=r,u=c+i.width,d=l+i.height,p=e.tr;let h=0;function m(){if(o=n?p.doc.nodeAt(n-1):p.doc,!o)throw new Error("No table found");a=Pw.get(o),h=p.mapping.maps.length}(function(e,t,n,r,i,o,a){const l=Dw(e.doc.type.schema);let c,u;if(i>t.width)for(let o=0,s=0;o<t.height;o++){const d=n.child(o);s+=d.nodeSize;const p=[];let f;f=null==d.lastChild||d.lastChild.type==l.cell?c||(c=l.cell.createAndFill()):u||(u=l.header_cell.createAndFill());for(let e=t.width;e<i;e++)p.push(f);e.insert(e.mapping.slice(a).map(s-1+r),p)}if(o>t.height){const d=[];for(let e=0,r=(t.height-1)*t.width;e<Math.max(t.width,i);e++){const i=!(e>=t.width)&&n.nodeAt(t.map[r+e]).type==l.header_cell;d.push(i?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const p=l.row.create(null,s.from(d)),f=[];for(let e=t.height;e<o;e++)f.push(p);e.insert(e.mapping.slice(a).map(r+n.nodeSize-2),f)}return!(!c&&!u)})(p,a,o,n,u,d,h)&&m(),Kw(p,a,o,n,c,u,l,h)&&m(),Kw(p,a,o,n,c,u,d,h)&&m(),Qw(p,a,o,n,l,d,c,h)&&m(),Qw(p,a,o,n,l,d,u,h)&&m();for(let e=l;e<d;e++){const t=a.positionAt(e,c,o),r=a.positionAt(e,u,o);p.replace(p.mapping.slice(h).map(t+n),p.mapping.slice(h).map(r+n),new f(i.rows[e-l],0,0))}m(),p.setSelection(new Uw(p.doc.resolve(n+a.positionAt(l,c,o)),p.doc.resolve(n+a.positionAt(d-1,u-1,o)))),t(p)}var Jw=Ni({ArrowLeft:t_("horiz",-1),ArrowRight:t_("horiz",1),ArrowUp:t_("vert",-1),ArrowDown:t_("vert",1),"Shift-ArrowLeft":n_("horiz",-1),"Shift-ArrowRight":n_("horiz",1),"Shift-ArrowUp":n_("vert",-1),"Shift-ArrowDown":n_("vert",1),Backspace:r_,"Mod-Backspace":r_,Delete:r_,"Mod-Delete":r_});function e_(e,t,n){return!n.eq(e.selection)&&(t&&t(e.tr.setSelection(n).scrollIntoView()),!0)}function t_(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;if(o instanceof Uw)return e_(n,r,Qe.near(o.$headCell,t));if("horiz"!=e&&!o.empty)return!1;const a=s_(i,e,t);if(null==a)return!1;if("horiz"==e)return e_(n,r,Qe.near(n.doc.resolve(o.head+t),t));{const i=n.doc.resolve(a),o=Hw(i,e,t);let s;return s=o?Qe.near(o,1):t<0?Qe.near(n.doc.resolve(i.before(-1)),-1):Qe.near(n.doc.resolve(i.after(-1)),1),e_(n,r,s)}}}function n_(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Uw)a=o;else{const r=s_(i,e,t);if(null==r)return!1;a=new Uw(n.doc.resolve(r))}const s=Hw(a.$headCell,e,t);return!!s&&e_(n,r,new Uw(a.$anchorCell,s))}}function r_(e,t){const n=e.selection;if(!(n instanceof Uw))return!1;if(t){const r=e.tr,i=Dw(e.schema).cell.createAndFill().content;n.forEachCell(((e,t)=>{e.content.eq(i)||r.replace(r.mapping.map(t+1),r.mapping.map(t+e.nodeSize-1),new f(i,0,0))})),r.docChanged&&t(r)}return!0}function i_(e,t){const n=Iw(e.state.doc.resolve(t));return!!n&&(e.dispatch(e.state.tr.setSelection(new Uw(n))),!0)}function o_(e,t,n){if(!Nw(e.state))return!1;let r=function(e){if(!e.size)return null;let{content:t,openStart:n,openEnd:r}=e;for(;1==t.childCount&&(n>0&&r>0||"table"==t.child(0).type.spec.tableRole);)n--,r--,t=t.child(0).content;const i=t.child(0),o=i.type.spec.tableRole,a=i.type.schema,l=[];if("row"==o)for(let e=0;e<t.childCount;e++){let i=t.child(e).content;const o=e?0:Math.max(0,n-1),s=e<t.childCount-1?0:Math.max(0,r-1);(o||s)&&(i=Yw(Dw(a).row,new f(i,o,s)).content),l.push(i)}else{if("cell"!=o&&"header_cell"!=o)return null;l.push(n||r?Yw(Dw(a).row,new f(t,n,r)).content:t)}return function(e,t){const n=[];for(let e=0;e<t.length;e++){const r=t[e];for(let t=r.childCount-1;t>=0;t--){const{rowspan:i,colspan:o}=r.child(t).attrs;for(let t=e;t<e+i;t++)n[t]=(n[t]||0)+o}}let r=0;for(let e=0;e<n.length;e++)r=Math.max(r,n[e]);for(let i=0;i<n.length;i++)if(i>=t.length&&t.push(s.empty),n[i]<r){const o=Dw(e).cell.createAndFill(),a=[];for(let e=n[i];e<r;e++)a.push(o);t[i]=t[i].append(s.from(a))}return{height:t.length,width:r,rows:t}}(a,l)}(n);const i=e.state.selection;if(i instanceof Uw){r||(r={width:1,height:1,rows:[s.from(Yw(Dw(e.state.schema).cell,n))]});const t=i.$anchorCell.node(-1),o=i.$anchorCell.start(-1),a=Pw.get(t).rectBetween(i.$anchorCell.pos-o,i.$headCell.pos-o);return r=function({width:e,height:t,rows:n},r,i){if(e!=r){const t=[],i=[];for(let e=0;e<n.length;e++){const o=n[e],a=[];for(let n=t[e]||0,i=0;n<r;i++){let s=o.child(i%o.childCount);n+s.attrs.colspan>r&&(s=s.type.createChecked(zw(s.attrs,s.attrs.colspan,n+s.attrs.colspan-r),s.content)),a.push(s),n+=s.attrs.colspan;for(let n=1;n<s.attrs.rowspan;n++)t[e+n]=(t[e+n]||0)+s.attrs.colspan}i.push(s.from(a))}n=i,e=r}if(t!=i){const e=[];for(let r=0,o=0;r<i;r++,o++){const a=[],l=n[o%t];for(let e=0;e<l.childCount;e++){let t=l.child(e);r+t.attrs.rowspan>i&&(t=t.type.create({...t.attrs,rowspan:Math.max(1,i-t.attrs.rowspan)},t.content)),a.push(t)}e.push(s.from(a))}n=e,t=i}return{width:e,height:t,rows:n}}(r,a.right-a.left,a.bottom-a.top),Xw(e.state,e.dispatch,o,a,r),!0}if(r){const t=jw(e.state),n=t.start(-1);return Xw(e.state,e.dispatch,n,Pw.get(t.node(-1)).findCell(t.pos-n),r),!0}return!1}function a_(e,t){var n;if(t.ctrlKey||t.metaKey)return;const r=l_(e,t.target);let i;if(t.shiftKey&&e.state.selection instanceof Uw)o(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&r&&null!=(i=Iw(e.state.selection.$anchor))&&(null==(n=c_(e,t))?void 0:n.pos)!=i.pos)o(i,t),t.preventDefault();else if(!r)return;function o(t,n){let r=c_(e,n);const i=null==Rw.getState(e.state);if(!r||!Fw(t,r)){if(!i)return;r=t}const o=new Uw(t,r);if(i||!e.state.selection.eq(o)){const n=e.state.tr.setSelection(o);i&&n.setMeta(Rw,t.pos),e.dispatch(n)}}function a(){e.root.removeEventListener("mouseup",a),e.root.removeEventListener("dragstart",a),e.root.removeEventListener("mousemove",s),null!=Rw.getState(e.state)&&e.dispatch(e.state.tr.setMeta(Rw,-1))}function s(n){const i=n,s=Rw.getState(e.state);let l;if(null!=s)l=e.state.doc.resolve(s);else if(l_(e,i.target)!=r&&(l=c_(e,t),!l))return a();l&&o(l,i)}e.root.addEventListener("mouseup",a),e.root.addEventListener("dragstart",a),e.root.addEventListener("mousemove",s)}function s_(e,t,n){if(!(e.state.selection instanceof tt))return null;const{$head:r}=e.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const o=r.before(i),a="vert"==t?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(a)?o:null}}return null}function l_(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function c_(e,t){const n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?Iw(e.state.doc.resolve(n.pos)):null}var u_=class{constructor(e,t){this.node=e,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),d_(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type==this.node.type&&(this.node=e,d_(e,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(e){return"attributes"==e.type&&(e.target==this.table||this.colgroup.contains(e.target))}};function d_(e,t,n,r,i,o){var a;let s=0,l=!0,c=t.firstChild;const u=e.firstChild;if(u){for(let e=0,n=0;e<u.childCount;e++){const{colspan:a,colwidth:d}=u.child(e).attrs;for(let e=0;e<a;e++,n++){const a=i==n?o:d&&d[e],u=a?a+"px":"";s+=a||r,a||(l=!1),c?(c.style.width!=u&&(c.style.width=u),c=c.nextSibling):t.appendChild(document.createElement("col")).style.width=u}}for(;c;){const e=c.nextSibling;null==(a=c.parentNode)||a.removeChild(c),c=e}l?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var p_=new bt("tableColumnResizing");function f_({handleWidth:e=5,cellMinWidth:t=25,View:n=u_,lastColumnResizable:r=!0}={}){const i=new gt({key:p_,state:{init:(e,r)=>(i.spec.props.nodeViews[Dw(r.schema).table.name]=(e,r)=>new n(e,t,r),new h_(-1,!1)),apply:(e,t)=>t.apply(e)},props:{attributes:e=>{const t=p_.getState(e);return t&&t.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(t,n)=>{!function(e,t,n,r,i){const o=p_.getState(e.state);if(o&&!o.dragging){const r=function(e){for(;e&&"TD"!=e.nodeName&&"TH"!=e.nodeName;)e=e.classList&&e.classList.contains("ProseMirror")?null:e.parentNode;return e}(t.target);let a=-1;if(r){const{left:i,right:o}=r.getBoundingClientRect();t.clientX-i<=n?a=m_(e,t,"left",n):o-t.clientX<=n&&(a=m_(e,t,"right",n))}if(a!=o.activeHandle){if(!i&&-1!==a){const t=e.state.doc.resolve(a),n=t.node(-1),r=Pw.get(n),i=t.start(-1);if(r.colCount(t.pos-i)+t.nodeAfter.attrs.colspan-1==r.width-1)return}v_(e,a)}}}(t,n,e,0,r)},mouseleave:e=>{!function(e){const t=p_.getState(e.state);t&&t.activeHandle>-1&&!t.dragging&&v_(e,-1)}(e)},mousedown:(e,n)=>{!function(e,t,n){const r=p_.getState(e.state);if(!r||-1==r.activeHandle||r.dragging)return!1;const i=e.state.doc.nodeAt(r.activeHandle),o=function(e,t,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=e.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,s=n;if(r)for(let e=0;e<n;e++)r[e]&&(a-=r[e],s--);return a/s}(e,r.activeHandle,i.attrs);function a(t){window.removeEventListener("mouseup",a),window.removeEventListener("mousemove",s);const r=p_.getState(e.state);(null==r?void 0:r.dragging)&&(function(e,t,n){const r=e.state.doc.resolve(t),i=r.node(-1),o=Pw.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=e.state.tr;for(let e=0;e<o.height;e++){const t=e*o.width+s;if(e&&o.map[t]==o.map[t-o.width])continue;const r=o.map[t],c=i.nodeAt(r).attrs,u=1==c.colspan?0:s-o.colCount(r);if(c.colwidth&&c.colwidth[u]==n)continue;const d=c.colwidth?c.colwidth.slice():y_(c.colspan);d[u]=n,l.setNodeMarkup(a+r,null,{...c,colwidth:d})}l.docChanged&&e.dispatch(l)}(e,r.activeHandle,g_(r.dragging,t,n)),e.dispatch(e.state.tr.setMeta(p_,{setDragging:null})))}function s(t){if(!t.which)return a(t);const r=p_.getState(e.state);if(r&&r.dragging){const i=g_(r.dragging,t,n);!function(e,t,n,r){const i=e.state.doc.resolve(t),o=i.node(-1),a=i.start(-1),s=Pw.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1;let l=e.domAtPos(i.start(-1)).node;for(;l&&"TABLE"!=l.nodeName;)l=l.parentNode;l&&d_(o,l.firstChild,l,r,s,n)}(e,r.activeHandle,i,n)}}e.dispatch(e.state.tr.setMeta(p_,{setDragging:{startX:t.clientX,startWidth:o}})),window.addEventListener("mouseup",a),window.addEventListener("mousemove",s),t.preventDefault()}(e,n,t)}},decorations:e=>{const t=p_.getState(e);if(t&&t.activeHandle>-1)return function(e,t){const n=[],r=e.doc.resolve(t),i=r.node(-1);if(!i)return ei.empty;const o=Pw.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan;for(let e=0;e<o.height;e++){const t=s+e*o.width-1;if(!(s!=o.width&&o.map[t]==o.map[t+1]||0!=e&&o.map[t]==o.map[t-o.width])){const e=o.map[t],r=a+e+i.nodeAt(e).nodeSize-1,s=document.createElement("div");s.className="column-resize-handle",n.push(Qr.widget(r,s))}}return ei.create(e.doc,n)}(e,t.activeHandle)},nodeViews:{}}});return i}var h_=class{constructor(e,t){this.activeHandle=e,this.dragging=t}apply(e){const t=this,n=e.getMeta(p_);if(n&&null!=n.setHandle)return new h_(n.setHandle,!1);if(n&&void 0!==n.setDragging)return new h_(t.activeHandle,n.setDragging);if(t.activeHandle>-1&&e.docChanged){let n=e.mapping.map(t.activeHandle,-1);return Bw(e.doc.resolve(n))||(n=-1),new h_(n,t.dragging)}return t}};function m_(e,t,n,r){const i="right"==n?-r:r,o=e.posAtCoords({left:t.clientX+i,top:t.clientY});if(!o)return-1;const{pos:a}=o,s=Iw(e.state.doc.resolve(a));if(!s)return-1;if("right"==n)return s.pos;const l=Pw.get(s.node(-1)),c=s.start(-1),u=l.map.indexOf(s.pos-c);return u%l.width==0?-1:c+l.map[u-1]}function g_(e,t,n){const r=t.clientX-e.startX;return Math.max(n,e.startWidth+r)}function v_(e,t){e.dispatch(e.state.tr.setMeta(p_,{setHandle:t}))}function y_(e){return Array(e).fill(0)}function b_(e){const t=e.selection,n=jw(e),r=n.node(-1),i=n.start(-1),o=Pw.get(r);return{...t instanceof Uw?o.rectBetween(t.$anchorCell.pos-i,t.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function w_(e,{map:t,tableStart:n,table:r},i){let o=i>0?-1:0;(function(e,t,n){const r=Dw(t.type.schema).header_cell;for(let i=0;i<e.height;i++)if(t.nodeAt(e.map[n+i*e.width]).type!=r)return!1;return!0})(t,r,i+o)&&(o=0==i||i==t.width?null:0);for(let a=0;a<t.height;a++){const s=a*t.width+i;if(i>0&&i<t.width&&t.map[s-1]==t.map[s]){const o=t.map[s],l=r.nodeAt(o);e.setNodeMarkup(e.mapping.map(n+o),null,Vw(l.attrs,i-t.colCount(o))),a+=l.attrs.rowspan-1}else{const l=null==o?Dw(r.type.schema).cell:r.nodeAt(t.map[s+o]).type,c=t.positionAt(a,i,r);e.insert(e.mapping.map(n+c),l.createAndFill())}}return e}function __(e,{map:t,table:n,tableStart:r},i){const o=e.mapping.maps.length;for(let a=0;a<t.height;){const s=a*t.width+i,l=t.map[s],c=n.nodeAt(l),u=c.attrs;if(i>0&&t.map[s-1]==l||i<t.width-1&&t.map[s+1]==l)e.setNodeMarkup(e.mapping.slice(o).map(r+l),null,zw(u,i-t.colCount(l)));else{const t=e.mapping.slice(o).map(r+l);e.delete(t,t+c.nodeSize)}a+=u.rowspan}}function S_(e,{map:t,tableStart:n,table:r},i){var o;let a=n;for(let e=0;e<i;e++)a+=r.child(e).nodeSize;const s=[];let l=i>0?-1:0;(function(e,t,n){var r;const i=Dw(t.type.schema).header_cell;for(let o=0;o<e.width;o++)if((null==(r=t.nodeAt(e.map[o+n*e.width]))?void 0:r.type)!=i)return!1;return!0})(t,r,i+l)&&(l=0==i||i==t.height?null:0);for(let a=0,c=t.width*i;a<t.width;a++,c++)if(i>0&&i<t.height&&t.map[c]==t.map[c-t.width]){const i=t.map[c],o=r.nodeAt(i).attrs;e.setNodeMarkup(n+i,null,{...o,rowspan:o.rowspan+1}),a+=o.colspan-1}else{const e=null==l?Dw(r.type.schema).cell:null==(o=r.nodeAt(t.map[c+l*t.width]))?void 0:o.type,n=null==e?void 0:e.createAndFill();n&&s.push(n)}return e.insert(a,Dw(r.type.schema).row.create(null,s)),e}function x_(e,{map:t,table:n,tableStart:r},i){let o=0;for(let e=0;e<i;e++)o+=n.child(e).nodeSize;const a=o+n.child(i).nodeSize,s=e.mapping.maps.length;e.delete(o+r,a+r);for(let o=0,a=i*t.width;o<t.width;o++,a++){const l=t.map[a];if(i>0&&l==t.map[a-t.width]){const t=n.nodeAt(l).attrs;e.setNodeMarkup(e.mapping.slice(s).map(l+r),null,{...t,rowspan:t.rowspan-1}),o+=t.colspan-1}else if(i<t.width&&l==t.map[a+t.width]){const a=n.nodeAt(l),c=a.attrs,u=a.type.create({...c,rowspan:a.attrs.rowspan-1},a.content),d=t.positionAt(i+1,o,n);e.insert(e.mapping.slice(s).map(r+d),u),o+=c.colspan-1}}}function E_(e){const t=e.content;return 1==t.childCount&&t.child(0).isTextblock&&0==t.child(0).childCount}function k_(e,t){const n=e.selection;if(!(n instanceof Uw)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=b_(e),{map:i}=r;if(function({width:e,height:t,map:n},r){let i=r.top*e+r.left,o=i,a=(r.bottom-1)*e+r.left,s=i+(r.right-r.left-1);for(let t=r.top;t<r.bottom;t++){if(r.left>0&&n[o]==n[o-1]||r.right<e&&n[s]==n[s+1])return!0;o+=e,s+=e}for(let o=r.left;o<r.right;o++){if(r.top>0&&n[i]==n[i-e]||r.bottom<t&&n[a]==n[a+e])return!0;i++,a++}return!1}(i,r))return!1;if(t){const n=e.tr,o={};let a,l,c=s.empty;for(let e=r.top;e<r.bottom;e++)for(let t=r.left;t<r.right;t++){const s=i.map[e*i.width+t],u=r.table.nodeAt(s);if(!o[s]&&u)if(o[s]=!0,null==a)a=s,l=u;else{E_(u)||(c=c.append(u.content));const e=n.mapping.map(s+r.tableStart);n.delete(e,e+u.nodeSize)}}if(null==a||null==l)return!0;if(n.setNodeMarkup(a+r.tableStart,null,{...Vw(l.attrs,l.attrs.colspan,r.right-r.left-l.attrs.colspan),rowspan:r.bottom-r.top}),c.size){const e=a+1+l.content.size,t=E_(l)?a+1:e;n.replaceWith(t+r.tableStart,e+r.tableStart,c)}n.setSelection(new Uw(n.doc.resolve(a+r.tableStart))),t(n)}return!0}function C_(e,t){const n=Dw(e.schema);return(r=({node:e})=>n[e.type.spec.tableRole],(e,t)=>{var n;const i=e.selection;let o,a;if(i instanceof Uw){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=function(e){for(let t=e.depth;t>0;t--){const n=e.node(t).type.spec.tableRole;if("cell"===n||"header_cell"===n)return e.node(t)}return null}(i.$from),!o)return!1;a=null==(n=Iw(i.$from))?void 0:n.pos}if(null==o||null==a)return!1;if(1==o.attrs.colspan&&1==o.attrs.rowspan)return!1;if(t){let n=o.attrs;const s=[],l=n.colwidth;n.rowspan>1&&(n={...n,rowspan:1}),n.colspan>1&&(n={...n,colspan:1});const c=b_(e),u=e.tr;for(let e=0;e<c.right-c.left;e++)s.push(l?{...n,colwidth:l&&l[e]?[l[e]]:null}:n);let d;for(let e=c.top;e<c.bottom;e++){let t=c.map.positionAt(e,c.left,c.table);e==c.top&&(t+=o.nodeSize);for(let n=c.left,i=0;n<c.right;n++,i++)n==c.left&&e==c.top||u.insert(d=u.mapping.map(t+c.tableStart,1),r({node:o,row:e,col:n}).createAndFill(s[i]))}u.setNodeMarkup(a,r({node:o,row:c.top,col:c.left}),s[0]),i instanceof Uw&&u.setSelection(new Uw(u.doc.resolve(i.$anchorCell.pos),d?u.doc.resolve(d):void 0)),t(u)}return!0})(e,t);var r}function T_(e,t,n){const r=t.map.cellsInRect({left:0,top:0,right:"row"==e?t.map.width:1,bottom:"column"==e?t.map.height:1});for(let e=0;e<r.length;e++){const i=t.table.nodeAt(r[e]);if(i&&i.type!==n.header_cell)return!1}return!0}function O_(e,t){return(t=t||{useDeprecatedLogic:!1}).useDeprecatedLogic?function(e){return function(t,n){if(!Nw(t))return!1;if(n){const r=Dw(t.schema),i=b_(t),o=t.tr,a=i.map.cellsInRect("column"==e?{left:i.left,top:0,right:i.right,bottom:i.map.height}:"row"==e?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map((e=>i.table.nodeAt(e)));for(let e=0;e<a.length;e++)s[e].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[e],r.cell,s[e].attrs);if(0==o.steps.length)for(let e=0;e<a.length;e++)o.setNodeMarkup(i.tableStart+a[e],r.header_cell,s[e].attrs);n(o)}return!0}}(e):function(t,n){if(!Nw(t))return!1;if(n){const r=Dw(t.schema),i=b_(t),o=t.tr,a=T_("row",i,r),s=T_("column",i,r),l=("column"===e?a:"row"===e&&s)?1:0,c="column"==e?{left:0,top:l,right:1,bottom:i.map.height}:"row"==e?{left:l,top:0,right:i.map.width,bottom:1}:i,u="column"==e?s?r.cell:r.header_cell:"row"==e?a?r.cell:r.header_cell:r.cell;i.map.cellsInRect(c).forEach((e=>{const t=e+i.tableStart,n=o.doc.nodeAt(t);n&&o.setNodeMarkup(t,u,n.attrs)})),n(o)}return!0}}O_("row",{useDeprecatedLogic:!0}),O_("column",{useDeprecatedLogic:!0});var M_=O_("cell",{useDeprecatedLogic:!0});function A_(e){return function(t,n){if(!Nw(t))return!1;const r=function(e,t){if(t<0){const t=e.nodeBefore;if(t)return e.pos-t.nodeSize;for(let t=e.index(-1)-1,n=e.before();t>=0;t--){const r=e.node(-1).child(t),i=r.lastChild;if(i)return n-1-i.nodeSize;n-=r.nodeSize}}else{if(e.index()<e.parent.childCount-1)return e.pos+e.nodeAfter.nodeSize;const t=e.node(-1);for(let n=e.indexAfter(-1),r=e.after();n<t.childCount;n++){const e=t.child(n);if(e.childCount)return r+1;r+=e.nodeSize}}return null}(jw(t),e);if(null==r)return!1;if(n){const e=t.doc.resolve(r);n(t.tr.setSelection(tt.between(e,(i=e,i.node(0).resolve(i.pos+i.nodeAfter.nodeSize)))).scrollIntoView())}var i;return!0}}function P_({allowTableNodeSelection:e=!1}={}){return new gt({key:Rw,state:{init:()=>null,apply(e,t){const n=e.getMeta(Rw);if(null!=n)return-1==n?null:n;if(null==t||!e.docChanged)return t;const{deleted:r,pos:i}=e.mapping.mapResult(t);return r?null:i}},props:{decorations:Gw,handleDOMEvents:{mousedown:a_},createSelectionBetween:e=>null!=Rw.getState(e.state)?e.state.selection:null,handleTripleClick:i_,handleKeyDown:Jw,handlePaste:o_},appendTransaction:(t,n,r)=>function(e,t,n){const r=(t||e).selection,i=(t||e).doc;let o,a;if(r instanceof rt&&(a=r.node.type.spec.tableRole)){if("cell"==a||"header_cell"==a)o=Uw.create(i,r.from);else if("row"==a){const e=i.resolve(r.from+1);o=Uw.rowSelection(e,e)}else if(!n){const e=Pw.get(r.node),t=r.from+1,n=t+e.map[e.width*e.height-1];o=Uw.create(i,t+1,n)}}else r instanceof tt&&function({$from:e,$to:t}){if(e.pos==t.pos||e.pos<e.pos-6)return!1;let n=e.pos,r=t.pos,i=e.depth;for(;i>=0&&!(e.after(i+1)<e.end(i));i--,n++);for(let e=t.depth;e>=0&&!(t.before(e+1)>t.start(e));e--,r--);return n==r&&/row|table/.test(e.node(i).type.spec.tableRole)}(r)?o=tt.create(i,r.from):r instanceof tt&&function({$from:e,$to:t}){let n,r;for(let t=e.depth;t>0;t--){const r=e.node(t);if("cell"===r.type.spec.tableRole||"header_cell"===r.type.spec.tableRole){n=r;break}}for(let e=t.depth;e>0;e--){const n=t.node(e);if("cell"===n.type.spec.tableRole||"header_cell"===n.type.spec.tableRole){r=n;break}}return n!==r&&0===t.parentOffset}(r)&&(o=tt.create(i,r.$from.start(),r.$from.end()));return o&&(t||(t=e.tr)).setSelection(o),t}(r,Zw(r,n),e)})}function L_(e,t,n,r,i,o){let a=0,s=!0,l=t.firstChild;const c=e.firstChild;for(let e=0,n=0;e<c.childCount;e+=1){const{colspan:u,colwidth:d}=c.child(e).attrs;for(let e=0;e<u;e+=1,n+=1){const c=i===n?o:d&&d[e],u=c?`${c}px`:"";a+=c||r,c||(s=!1),l?(l.style.width!==u&&(l.style.width=u),l=l.nextSibling):t.appendChild(document.createElement("col")).style.width=u}}for(;l;){const e=l.nextSibling;l.parentNode.removeChild(l),l=e}s?(n.style.width=`${a}px`,n.style.minWidth=""):(n.style.width="",n.style.minWidth=`${a}px`)}class D_{constructor(e,t){this.node=e,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),L_(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type===this.node.type&&(this.node=e,L_(e,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(e){return"attributes"===e.type&&(e.target===this.table||this.colgroup.contains(e.target))}}function R_(e,t){return t?e.createChecked(null,t):e.createAndFill()}const I_=({editor:e})=>{const{selection:t}=e.state;if(!(t instanceof Uw))return!1;let n=0;const r=ea(t.ranges[0].$from,(e=>"table"===e.type.name));return null==r||r.node.descendants((e=>{if("table"===e.type.name)return!1;["tableCell","tableHeader"].includes(e.type.name)&&(n+=1)})),n===t.ranges.length&&(e.commands.deleteTable(),!0)},N_=Sa.create({name:"table",addOptions:()=>({HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:D_,lastColumnResizable:!0,allowTableNodeSelection:!1}),content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML:()=>[{tag:"table"}],renderHTML({HTMLAttributes:e}){return["table",ho(this.options.HTMLAttributes,e),["tbody",0]]},addCommands:()=>({insertTable:({rows:e=3,cols:t=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:i,editor:o})=>{const a=function(e,t,n,r,i){const o=function(e){if(e.cached.tableNodeTypes)return e.cached.tableNodeTypes;const t={};return Object.keys(e.nodes).forEach((n=>{const r=e.nodes[n];r.spec.tableRole&&(t[r.spec.tableRole]=r)})),e.cached.tableNodeTypes=t,t}(e),a=[],s=[];for(let e=0;e<n;e+=1){const e=R_(o.cell,i);if(e&&s.push(e),r){const e=R_(o.header_cell,i);e&&a.push(e)}}const l=[];for(let e=0;e<t;e+=1)l.push(o.row.createChecked(null,r&&0===e?a:s));return o.table.createChecked(null,l)}(o.schema,e,t,n);if(i){const e=r.selection.anchor+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(tt.near(r.doc.resolve(e)))}return!0},addColumnBefore:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e);t(w_(e.tr,n,n.left))}return!0}(e,t),addColumnAfter:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e);t(w_(e.tr,n,n.right))}return!0}(e,t),deleteColumn:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e),r=e.tr;if(0==n.left&&n.right==n.map.width)return!1;for(let e=n.right-1;__(r,n,e),e!=n.left;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw RangeError("No table found");n.table=e,n.map=Pw.get(e)}t(r)}return!0}(e,t),addRowBefore:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e);t(S_(e.tr,n,n.top))}return!0}(e,t),addRowAfter:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e);t(S_(e.tr,n,n.bottom))}return!0}(e,t),deleteRow:()=>({state:e,dispatch:t})=>function(e,t){if(!Nw(e))return!1;if(t){const n=b_(e),r=e.tr;if(0==n.top&&n.bottom==n.map.height)return!1;for(let e=n.bottom-1;x_(r,n,e),e!=n.top;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw RangeError("No table found");n.table=e,n.map=Pw.get(n.table)}t(r)}return!0}(e,t),deleteTable:()=>({state:e,dispatch:t})=>function(e,t){const n=e.selection.$anchor;for(let r=n.depth;r>0;r--)if("table"==n.node(r).type.spec.tableRole)return t&&t(e.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}(e,t),mergeCells:()=>({state:e,dispatch:t})=>k_(e,t),splitCell:()=>({state:e,dispatch:t})=>C_(e,t),toggleHeaderColumn:()=>({state:e,dispatch:t})=>O_("column")(e,t),toggleHeaderRow:()=>({state:e,dispatch:t})=>O_("row")(e,t),toggleHeaderCell:()=>({state:e,dispatch:t})=>M_(e,t),mergeOrSplit:()=>({state:e,dispatch:t})=>!!k_(e,t)||C_(e,t),setCellAttribute:(e,t)=>({state:n,dispatch:r})=>function(e,t){return function(n,r){if(!Nw(n))return!1;const i=jw(n);if(i.nodeAfter.attrs[e]===t)return!1;if(r){const o=n.tr;n.selection instanceof Uw?n.selection.forEachCell(((n,r)=>{n.attrs[e]!==t&&o.setNodeMarkup(r,null,{...n.attrs,[e]:t})})):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[e]:t}),r(o)}return!0}}(e,t)(n,r),goToNextCell:()=>({state:e,dispatch:t})=>A_(1)(e,t),goToPreviousCell:()=>({state:e,dispatch:t})=>A_(-1)(e,t),fixTables:()=>({state:e,dispatch:t})=>(t&&Zw(e),!0),setCellSelection:e=>({tr:t,dispatch:n})=>{if(n){const n=Uw.create(t.doc,e.anchorCell,e.headCell);t.setSelection(n)}return!0}}),addKeyboardShortcuts(){return{Tab:()=>!!this.editor.commands.goToNextCell()||!!this.editor.can().addRowAfter()&&this.editor.chain().addRowAfter().goToNextCell().run(),"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:I_,"Mod-Backspace":I_,Delete:I_,"Mod-Delete":I_}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[f_({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],P_({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema:e=>({tableRole:vo(co(e,"tableRole",{name:e.name,options:e.options,storage:e.storage}))})});var j_=o(25),B_={};B_.styleTagTransform=Qd(),B_.setAttributes=Wd(),B_.insert=Gd().bind(null,"head"),B_.domAPI=Ud(),B_.insertStyleElement=Yd(),zd()(j_.Z,B_);const F_=j_.Z&&j_.Z.locals?j_.Z.locals:void 0,H_=e=>{var{selected:t,deleteNode:n}=e,{isEditable:r}=uf();return Pl().createElement(Xp,{editable:r,className:F_.root,selected:t,onNodeDelete:n,asComponent:Tg,draggable:!0},Pl().createElement(Eg,{as:"table"}))};function z_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z_(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U_=N_.extend({draggable:!0,addOptions(){var e,t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||{};return V_(V_({},t),{},{allowTableNodeSelection:!0,HTMLAttributes:V_({},t.HTMLAttributes||{})})},addNodeView:()=>Mg(H_,{contentDOMElementTag:"tbody"})});U_.extendedConfig={nodeMenu:{render:e=>{var{editor:t}=e;return Pl().createElement(Em.Group,null,Pl().createElement(Em,{title:"Добавить колонку",leftIcon:Pl().createElement(id,null),onClick:()=>{t.chain().focus().addColumnAfter().run()}}),Pl().createElement(Em,{title:"Удалить колонку",leftIcon:Pl().createElement(ud,null),onClick:()=>{t.chain().focus().deleteColumn().run()}}),Pl().createElement(Em,{title:"Добавить Ñтроку",leftIcon:Pl().createElement(md,null),onClick:()=>{t.chain().focus().addRowAfter().run()}}),Pl().createElement(Em,{title:"Удалить Ñтроку",leftIcon:Pl().createElement(yd,null),onClick:()=>{t.chain().focus().deleteRow().run()}}),Pl().createElement(jp,null,Pl().createElement(jp.Trigger,null,Pl().createElement(sp,{variant:"subtle",title:"Другие команды",leftIcon:Pl().createElement(Lc,null)})),Pl().createElement(jp.Dropdown,null,Pl().createElement(sp,{variant:"subtle",onClick:()=>{t.chain().focus().mergeCells().run()}},"Объединить Ñчейки"),Pl().createElement(sp,{variant:"subtle",onClick:()=>{t.chain().focus().splitCell().run()}},"Разделить Ñчейки"),Pl().createElement(sp,{variant:"subtle",onClick:()=>{t.chain().focus().toggleHeaderRow().run()}},"Переключить Ñтроку заголовка"),Pl().createElement(sp,{variant:"subtle",onClick:()=>{t.chain().focus().toggleHeaderColumn().run()}},"Переключить Ñтолбец заголовка"),Pl().createElement(jp.Divider,null),Pl().createElement(sp,{variant:"subtle",color:"red",onClick:()=>{t.chain().focus().deleteTable().run()}},"Удалить таблицу"))))}},floatingMenu:{render:e=>{var{editor:t}=e,n=(0,Al.useCallback)((()=>{t.chain().focus().insertTable().run()}),[t]);return Pl().createElement(Mh,{icon:Pl().createElement(_d,null),onClick:n},"Таблица")}}};const $_=U_,G_=Sa.create({name:"tableHeader",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"header_cell",isolating:!0,parseHTML:()=>[{tag:"th"}],renderHTML({HTMLAttributes:e}){return["th",ho(this.options.HTMLAttributes,e),0]}}),q_=Sa.create({name:"tableRow",addOptions:()=>({HTMLAttributes:{}}),content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML:()=>[{tag:"tr"}],renderHTML({HTMLAttributes:e}){return["tr",ho(this.options.HTMLAttributes,e),0]}}),W_=yh})(),a})(),e.exports=r(n(67294),n(73935))},69282:function(e,t,n){"use strict";var r=n(34155),i=n(25108);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var l,c,u=n(62136).codes,d=u.ERR_AMBIGUOUS_ARGUMENT,p=u.ERR_INVALID_ARG_TYPE,f=u.ERR_INVALID_ARG_VALUE,h=u.ERR_INVALID_RETURN_VALUE,m=u.ERR_MISSING_ARGS,g=n(25961),v=n(89539).inspect,y=n(89539).types,b=y.isPromise,w=y.isRegExp,_=n(28162)(),S=n(75624)(),x=n(21924)("RegExp.prototype.test");new Map;function E(){var e=n(19158);l=e.isDeepEqual,c=e.isDeepStrictEqual}var k=!1,C=e.exports=A,T={};function O(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function M(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new g({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];M.apply(void 0,[A,t.length].concat(t))}C.fail=function e(t,n,o,a,s){var l,c=arguments.length;if(0===c)l="Failed";else if(1===c)o=t,t=void 0;else{if(!1===k)k=!0,(r.emitWarning?r.emitWarning:i.warn.bind(i))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===c&&(a="!=")}if(o instanceof Error)throw o;var u={actual:t,expected:n,operator:void 0===a?"fail":a,stackStartFn:s||e};void 0!==o&&(u.message=o);var d=new g(u);throw l&&(d.message=l,d.generatedMessage=!0),d},C.AssertionError=g,C.ok=A,C.equal=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");t!=n&&O({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},C.notEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");t==n&&O({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},C.deepEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");void 0===l&&E(),l(t,n)||O({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},C.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");void 0===l&&E(),l(t,n)&&O({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},C.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");void 0===l&&E(),c(t,n)||O({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},C.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");void 0===l&&E();c(t,n)&&O({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},C.strictEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");S(t,n)||O({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},C.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new m("actual","expected");S(t,n)&&O({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var P=s((function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&w(t[e])&&x(t[e],r[e])?i[e]=r[e]:i[e]=t[e])}))}));function L(e,t,n,r){if("function"!=typeof t){if(w(t))return x(t,e);if(2===arguments.length)throw new p("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var i=new g({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw i.operator=r.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new f("error",t,"may not be an empty object");return void 0===l&&E(),a.forEach((function(i){"string"==typeof e[i]&&w(t[i])&&x(t[i],e[i])||function(e,t,n,r,i,o){if(!(n in e)||!c(e[n],t[n])){if(!r){var a=new P(e,i),s=new P(t,i,e),l=new g({actual:a,expected:s,operator:"deepStrictEqual",stackStartFn:o});throw l.actual=e,l.expected=t,l.operator=o.name,l}O({actual:e,expected:t,message:r,operator:o.name,stackStartFn:o})}}(e,t,i,n,a,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function D(e){if("function"!=typeof e)throw new p("fn","Function",e);try{e()}catch(e){return e}return T}function R(e){return b(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function I(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!R(t=e()))throw new h("instance of Promise","promiseFn",t)}else{if(!R(e))throw new p("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return T})).catch((function(e){return e}))}))}function N(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new p("error",["Object","Error","Function","RegExp"],n);if("object"===o(t)&&null!==t){if(t.message===n)throw new d("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new d("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==o(n)&&"function"!=typeof n)throw new p("error",["Object","Error","Function","RegExp"],n);if(t===T){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var a="rejects"===e.name?"rejection":"exception";O({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(n&&!L(t,n,r,e))throw t}function j(e,t,n,r){if(t!==T){if("string"==typeof n&&(r=n,n=void 0),!n||L(t,n)){var i=r?": ".concat(r):".",o="doesNotReject"===e.name?"rejection":"exception";O({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function B(e,t,n,r,i){if(!w(t))throw new p("regexp","RegExp",t);var a="match"===i;if("string"!=typeof e||x(t,e)!==a){if(n instanceof Error)throw n;var s=!n;n=n||("string"!=typeof e?'The "string" argument must be of type string. Received type '+"".concat(o(e)," (").concat(v(e),")"):(a?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(v(t),". Input:\n\n").concat(v(e),"\n"));var l=new g({actual:e,expected:t,message:n,operator:i,stackStartFn:r});throw l.generatedMessage=s,l}}function F(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];M.apply(void 0,[F,t.length].concat(t))}C.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];N.apply(void 0,[e,D(t)].concat(r))},C.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return I(t).then((function(t){return N.apply(void 0,[e,t].concat(r))}))},C.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];j.apply(void 0,[e,D(t)].concat(r))},C.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return I(t).then((function(t){return j.apply(void 0,[e,t].concat(r))}))},C.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=v(t);var r=new g({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=r.stack.split("\n"),l=0;l<a.length;l++){var c=s.indexOf(a[l]);if(-1!==c){s=s.slice(0,c);break}}r.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw r}},C.match=function e(t,n,r){B(t,n,r,e,"match")},C.doesNotMatch=function e(t,n,r){B(t,n,r,e,"doesNotMatch")},C.strict=_(F,C,{equal:C.strictEqual,deepEqual:C.deepStrictEqual,notEqual:C.notStrictEqual,notDeepEqual:C.notDeepStrictEqual}),C.strict.strict=C.strict},25961:function(e,t,n){"use strict";var r=n(34155);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===g(t)?t:String(t)}function c(e,t){if(t&&("object"===g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)},d(e)}function p(e,t,n){return p=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i},p.apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var v=n(89539).inspect,y=n(62136).codes.ERR_INVALID_ARG_TYPE;function b(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var w="",_="",S="",x="",E={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function k(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function C(e){return v(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function T(e,t,n){var i="",o="",a=0,s="",l=!1,c=C(e),u=c.split("\n"),d=C(t).split("\n"),p=0,f="";if("strictEqual"===n&&"object"===g(e)&&"object"===g(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===d.length&&u[0]!==d[0]){var h=u[0].length+d[0].length;if(h<=10){if(!("object"===g(e)&&null!==e||"object"===g(t)&&null!==t||0===e&&0===t))return"".concat(E[n],"\n\n")+"".concat(u[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n){if(h<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;u[0][p]===d[0][p];)p++;p>2&&(f="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",p),"^"),p=0)}}}for(var m=u[u.length-1],v=d[d.length-1];m===v&&(p++<2?s="\n ".concat(m).concat(s):i=m,u.pop(),d.pop(),0!==u.length&&0!==d.length);)m=u[u.length-1],v=d[d.length-1];var y=Math.max(u.length,d.length);if(0===y){var k=c.split("\n");if(k.length>30)for(k[26]="".concat(w,"...").concat(x);k.length>27;)k.pop();return"".concat(E.notIdentical,"\n\n").concat(k.join("\n"),"\n")}p>3&&(s="\n".concat(w,"...").concat(x).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var T=0,O=E[n]+"\n".concat(_,"+ actual").concat(x," ").concat(S,"- expected").concat(x),M=" ".concat(w,"...").concat(x," Lines skipped");for(p=0;p<y;p++){var A=p-a;if(u.length<p+1)A>1&&p>2&&(A>4?(o+="\n".concat(w,"...").concat(x),l=!0):A>3&&(o+="\n ".concat(d[p-2]),T++),o+="\n ".concat(d[p-1]),T++),a=p,i+="\n".concat(S,"-").concat(x," ").concat(d[p]),T++;else if(d.length<p+1)A>1&&p>2&&(A>4?(o+="\n".concat(w,"...").concat(x),l=!0):A>3&&(o+="\n ".concat(u[p-2]),T++),o+="\n ".concat(u[p-1]),T++),a=p,o+="\n".concat(_,"+").concat(x," ").concat(u[p]),T++;else{var P=d[p],L=u[p],D=L!==P&&(!b(L,",")||L.slice(0,-1)!==P);D&&b(P,",")&&P.slice(0,-1)===L&&(D=!1,L+=","),D?(A>1&&p>2&&(A>4?(o+="\n".concat(w,"...").concat(x),l=!0):A>3&&(o+="\n ".concat(u[p-2]),T++),o+="\n ".concat(u[p-1]),T++),a=p,o+="\n".concat(_,"+").concat(x," ").concat(L),i+="\n".concat(S,"-").concat(x," ").concat(P),T+=2):(o+=i,i="",1!==A&&0!==p||(o+="\n ".concat(L),T++))}if(T>20&&p<y-2)return"".concat(O).concat(M,"\n").concat(o,"\n").concat(w,"...").concat(x).concat(i,"\n")+"".concat(w,"...").concat(x)}return"".concat(O).concat(l?M:"","\n").concat(o).concat(i).concat(s).concat(f)}var O=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(b,e);var n,i,a,l,d,p=(n=b,i=f(),function(){var e,t=m(n);if(i){var r=m(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c(this,e)});function b(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),"object"!==g(e)||null===e)throw new y("options","Object",e);var n=e.message,i=e.operator,o=e.stackStartFn,a=e.actual,s=e.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=p.call(this,String(n));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(w="[34m",_="[32m",x="[39m",S="[31m"):(w="",_="",x="",S="")),"object"===g(a)&&null!==a&&"object"===g(s)&&null!==s&&"stack"in a&&a instanceof Error&&"stack"in s&&s instanceof Error&&(a=k(a),s=k(s)),"deepStrictEqual"===i||"strictEqual"===i)t=p.call(this,T(a,s,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=E[i],f=C(a).split("\n");if("notStrictEqual"===i&&"object"===g(a)&&null!==a&&(d=E.notStrictEqualObject),f.length>30)for(f[26]="".concat(w,"...").concat(x);f.length>27;)f.pop();t=1===f.length?p.call(this,"".concat(d," ").concat(f[0])):p.call(this,"".concat(d,"\n\n").concat(f.join("\n"),"\n"))}else{var h=C(a),m="",v=E[i];"notDeepEqual"===i||"notEqual"===i?(h="".concat(E[i],"\n\n").concat(h)).length>1024&&(h="".concat(h.slice(0,1021),"...")):(m="".concat(C(s)),h.length>512&&(h="".concat(h.slice(0,509),"...")),m.length>512&&(m="".concat(m.slice(0,509),"...")),"deepEqual"===i||"equal"===i?h="".concat(v,"\n\n").concat(h,"\n\nshould equal\n\n"):m=" ".concat(i," ").concat(m)),t=p.call(this,"".concat(h).concat(m))}return Error.stackTraceLimit=l,t.generatedMessage=!n,Object.defineProperty(u(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=a,t.expected=s,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(u(t),o),t.stack,t.name="AssertionError",c(t)}return a=b,(l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return v(this,o(o({},t),{},{customInspect:!1,depth:0}))}}])&&s(a.prototype,l),d&&s(a,d),Object.defineProperty(a,"prototype",{writable:!1}),b}(d(Error),v.custom);e.exports=O},62136:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l,c,u={};function d(e,t,n){n||(n=Error);var r=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(u,n);var r,s,l,c=a(u);function u(n,r,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),o=c.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i)),o.code=e,o}return r=u,s&&i(r.prototype,s),l&&i(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r}(n);u[e]=r}function p(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}d("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),d("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,a,s,c;if(void 0===l&&(l=n(69282)),l("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!s||s<0?0:+s,a.length)===a)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))c="The ".concat(e," ").concat(o," ").concat(p(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(u," ").concat(o," ").concat(p(t,"type"))}return c+=". Received type ".concat(r(i))}),TypeError),d("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(89539));var i=c.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),d("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),d("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===l&&(l=n(69282)),l(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=u},19158:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},l=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(20609),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},d=Number.isNaN?Number.isNaN:n(20360);function p(e){return e.call.bind(e)}var f=p(Object.prototype.hasOwnProperty),h=p(Object.prototype.propertyIsEnumerable),m=p(Object.prototype.toString),g=n(89539).types,v=g.isAnyArrayBuffer,y=g.isArrayBufferView,b=g.isDate,w=g.isMap,_=g.isRegExp,S=g.isSet,x=g.isNativeError,E=g.isBoxedPrimitive,k=g.isNumberObject,C=g.isStringObject,T=g.isBooleanObject,O=g.isBigIntObject,M=g.isSymbolObject,A=g.isFloat32Array,P=g.isFloat64Array;function L(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function D(e){return Object.keys(e).filter(L).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function R(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}var I=0,N=1,j=2,B=3;function F(e,t,n,r){if(e===t)return 0!==e||(!n||c(e,t));if(n){if("object"!==o(e))return"number"==typeof e&&d(e)&&d(t);if("object"!==o(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==o(e))return(null===t||"object"!==o(t))&&e==t;if(null===t||"object"!==o(t))return!1}var i,s,l,u,p=m(e);if(p!==m(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var f=D(e),h=D(t);return f.length===h.length&&z(e,t,n,r,N,f)}if("[object Object]"===p&&(!w(e)&&w(t)||!S(e)&&S(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(_(e)){if(!_(t)||(l=e,u=t,!(a?l.source===u.source&&l.flags===u.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(u))))return!1}else if(x(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(y(e)){if(n||!A(e)&&!P(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===R(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var g=D(e),L=D(t);return g.length===L.length&&z(e,t,n,r,I,g)}if(S(e))return!(!S(t)||e.size!==t.size)&&z(e,t,n,r,j);if(w(e))return!(!w(t)||e.size!==t.size)&&z(e,t,n,r,B);if(v(e)){if(s=t,(i=e).byteLength!==s.byteLength||0!==R(new Uint8Array(i),new Uint8Array(s)))return!1}else if(E(e)&&!function(e,t){return k(e)?k(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):C(e)?C(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):T(e)?T(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):O(e)?O(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):M(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return z(e,t,n,r,I)}function H(e,t){return t.filter((function(t){return h(e,t)}))}function z(e,t,n,i,a,c){if(5===arguments.length){c=Object.keys(e);var d=Object.keys(t);if(c.length!==d.length)return!1}for(var p=0;p<c.length;p++)if(!f(t,c[p]))return!1;if(n&&5===arguments.length){var m=u(e);if(0!==m.length){var g=0;for(p=0;p<m.length;p++){var v=m[p];if(h(e,v)){if(!h(t,v))return!1;c.push(v),g++}else if(h(t,v))return!1}var y=u(t);if(m.length!==y.length&&H(t,y).length!==g)return!1}else{var b=u(t);if(0!==b.length&&0!==H(t,b).length)return!1}}if(0===c.length&&(a===I||a===N&&0===e.length||0===e.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var w=i.val1.get(e);if(void 0!==w){var _=i.val2.get(t);if(void 0!==_)return w===_}i.position++}i.val1.set(e,i.position),i.val2.set(t,i.position);var S=function(e,t,n,i,a,c){var u=0;if(c===j){if(!function(e,t,n,r){for(var i=null,a=s(e),l=0;l<a.length;l++){var c=a[l];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!t.has(c)){if(n)return!1;if(!$(e,t,c))return!1;null===i&&(i=new Set),i.add(c)}}if(null!==i){for(var u=s(t),d=0;d<u.length;d++){var p=u[d];if("object"===o(p)&&null!==p){if(!V(i,p,n,r))return!1}else if(!n&&!e.has(p)&&!V(i,p,n,r))return!1}return 0===i.size}return!0}(e,t,n,a))return!1}else if(c===B){if(!function(e,t,n,i){for(var a=null,s=l(e),c=0;c<s.length;c++){var u=r(s[c],2),d=u[0],p=u[1];if("object"===o(d)&&null!==d)null===a&&(a=new Set),a.add(d);else{var f=t.get(d);if(void 0===f&&!t.has(d)||!F(p,f,n,i)){if(n)return!1;if(!G(e,t,d,p,i))return!1;null===a&&(a=new Set),a.add(d)}}}if(null!==a){for(var h=l(t),m=0;m<h.length;m++){var g=r(h[m],2),v=g[0],y=g[1];if("object"===o(v)&&null!==v){if(!q(a,e,v,y,n,i))return!1}else if(!(n||e.has(v)&&F(e.get(v),y,!1,i)||q(a,e,v,y,!1,i)))return!1}return 0===a.size}return!0}(e,t,n,a))return!1}else if(c===N)for(;u<e.length;u++){if(!f(e,u)){if(f(t,u))return!1;for(var d=Object.keys(e);u<d.length;u++){var p=d[u];if(!f(t,p)||!F(e[p],t[p],n,a))return!1}return d.length===Object.keys(t).length}if(!f(t,u)||!F(e[u],t[u],n,a))return!1}for(u=0;u<i.length;u++){var h=i[u];if(!F(e[h],t[h],n,a))return!1}return!0}(e,t,n,c,i,a);return i.val1.delete(e),i.val2.delete(t),S}function V(e,t,n,r){for(var i=s(e),o=0;o<i.length;o++){var a=i[o];if(F(t,a,n,r))return e.delete(a),!0}return!1}function U(e){switch(o(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(d(e))return!1}return!0}function $(e,t,n){var r=U(n);return null!=r?r:t.has(r)&&!e.has(r)}function G(e,t,n,r,i){var o=U(n);if(null!=o)return o;var a=t.get(o);return!(void 0===a&&!t.has(o)||!F(r,a,!1,i))&&(!e.has(o)&&F(r,a,!1,i))}function q(e,t,n,r,i,o){for(var a=s(e),l=0;l<a.length;l++){var c=a[l];if(F(n,c,i,o)&&F(r,t.get(c),i,o))return e.delete(c),!0}return!1}e.exports={isDeepEqual:function(e,t){return F(e,t,false)},isDeepStrictEqual:function(e,t){return F(e,t,true)}}},48431:function(e){"use strict";function t(e){var t,n=this;if(!this._au){var r=n._debounce((function(){n.update()}),300);this._observer=new e((function(){i(),n.update(),r()})),this.on("init",(function(){n._observer.observe(n.root,{childList:!0,subtree:!0,characterData:!0}),i()})),this.on("dispose",(function(){n._observer.disconnect(),o(),delete n._observer})),this._au=!0}function i(){n.root[n.origin.offset]?o():function(){if(t)return;t=setInterval((function(){n.root[n.origin.offset]&&(o(),n.update())}),300)}()}function o(){clearInterval(t),t=null}}e.exports=function(e){var n=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver||null;return function(){return n?(t.call(this,n),this):this}}},54833:function(e,t,n){"use strict";var r=n(18379).qs;e.exports=function(e){var t,n,i,o=this;n=e.screen||.9,e.forward&&(i={element:r(e.forward,this.clipper),handler:function(){var t=o.pos()+(e.delta||30);o.pos(t)},type:"click"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on")),e.backward&&(i={element:r(e.backward,this.clipper),handler:function(){var t=o.pos()-(e.delta||30);o.pos(t)},type:"click"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on")),e.track&&(t=!0===e.track?this.track:r(e.track,this.clipper))&&(i={element:t,handler:function(e){if(e.target==t){var r=e["offset"+o.origin.x],i=o.bar[o.origin.offsetPos],a=0;r<i?a=-1:r>i+o.bar[o.origin.offset]&&(a=1);var s=o.pos()+a*n*o.scroller[o.origin.client];o.pos(s)}},type:"mousedown"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on"))}},68646:function(e,t,n){"use strict";var r=function(){return this||(0,eval)("this")}(),i=r&&r.window||r,o=n(18379).B,a=n(18379).iv,s=n(18379).IH,l=n(18379).e$,c=n(18379).rm,u=n(18379).d9,d=n(18379).qs,p=v,f=["left","top","right","bottom","width","height"],h=[],m={v:{x:"Y",pos:f[1],oppos:f[3],crossPos:f[0],crossOpPos:f[2],size:f[5],crossSize:f[4],crossMinSize:"min-"+f[4],crossMaxSize:"max-"+f[4],client:"clientHeight",crossClient:"clientWidth",scrollEdge:"scrollLeft",offset:"offsetHeight",crossOffset:"offsetWidth",offsetPos:"offsetTop",scroll:"scrollTop",scrollSize:"scrollHeight"},h:{x:"X",pos:f[0],oppos:f[2],crossPos:f[1],crossOpPos:f[3],size:f[4],crossSize:f[5],crossMinSize:"min-"+f[5],crossMaxSize:"max-"+f[5],client:"clientWidth",crossClient:"clientHeight",scrollEdge:"scrollTop",offset:"offsetWidth",crossOffset:"offsetHeight",offsetPos:"offsetLeft",scroll:"scrollLeft",scrollSize:"scrollWidth"}},g=/[\s\S]*Macintosh[\s\S]*\) Gecko[\s\S]*/.test(i.navigator&&i.navigator.userAgent);function v(e){var t,n,r=e&&e[0]||e,a="string"==typeof e||r instanceof HTMLElement?{root:e}:u(e),s={direction:"v",barOnCls:"_scrollbar",resizeDebounce:0,event:o,cssGuru:!1,impact:"scroller",position:"static"};for(var l in a=a||{},s)null==a[l]&&(a[l]=s[l]);t=this&&this instanceof i.jQuery,a._chain?n=a.root:t?a.root=n=this[0]:n=d(a.root||a.scroller);var c=w(n,a.direction),p=+c;if(a.index=p,p==p&&null!==c&&h[p])return h[p];a.root&&a.scroller?a.scroller=d(a.scroller,n):a.scroller=n,a.root=n;var f=function(e){var t=new v.prototype.constructor(e);b(t,e.event,"on"),w(t.root,e.direction,"on",h.length),h.push(t),!1;return t.update(),t}(a);return f.autoUpdate&&f.autoUpdate(),f}function y(){return(new Date).getTime()}function b(e,t,n){e._eventHandlers=e._eventHandlers||[{element:e.scroller,handler:function(t){e.scroll(t)},type:"scroll"},{element:e.root,handler:function(){e.update()},type:"transitionend animationend"},{element:e.scroller,handler:function(){e.update()},type:"keyup"},{element:e.bar,handler:function(t){t.preventDefault(),e.selection(),e.drag.now=1,e.draggingCls&&s(e.root,e.draggingCls)},type:"touchstart mousedown"},{element:document,handler:function(){e.selection(1),e.drag.now=0,e.draggingCls&&c(e.root,e.draggingCls)},type:"mouseup blur touchend"},{element:document,handler:function(t){2!=t.button&&e._pos0(t)},type:"touchstart mousedown"},{element:document,handler:function(t){e.drag.now&&e.drag(t)},type:"mousemove touchmove"},{element:i,handler:function(){e.update()},type:"resize"},{element:e.root,handler:function(){e.update()},type:"sizeChange"},{element:e.clipper,handler:function(){e.clipperOnScroll()},type:"scroll"}],function(e,t){var n=0,r=e;for(void 0!==r.length&&r!==i||(r=[r]);r[n];)t.call(this,r[n],n),n++}(e._eventHandlers,(function(e){if(e.element)if(e.element.length&&e.element!==i)for(var r=0;r<e.element.length;r++)t(e.element[r],e.type,e.handler,n);else t(e.element,e.type,e.handler,n)}))}function w(e,t,n,r){var i="data-baron-"+t+"-id";return"on"==n?e.setAttribute(i,r):"off"==n&&e.removeAttribute(i),e.getAttribute(i)}function _(e){if(this.events&&this.events[e])for(var t=0;t<this.events[e].length;t++){var n=Array.prototype.slice.call(arguments,1);this.events[e][t].apply(this,n)}}v.prototype={_debounce:function(e,t){var n,r,i=this,o=function(){if(i._disposed)return clearTimeout(n),void(n=i=null);var a=y()-r;a<t&&a>=0?n=setTimeout(o,t-a):(n=null,e())};return function(){r=y(),n||(n=setTimeout(o,t))}},constructor:function(e){var t,n,r,o,u,p,f;function h(e){var t=this.barMinSize||20,n=e;n>0&&n<t&&(n=t),this.bar&&a(this.bar,this.origin.size,parseInt(n,10)+"px")}function v(e){if(this.bar){var t=a(this.bar,this.origin.pos),n=+e+"px";n&&n!=t&&a(this.bar,this.origin.pos,n)}}function b(){return r[this.origin.client]-this.barTopLimit-this.bar[this.origin.offset]}function w(e){return e*b.call(this)+this.barTopLimit}function S(e){return(e-this.barTopLimit)/b.call(this)}function x(){return!1}if(p=y(),this.params=e,this.event=e.event,this.events={},this.root=e.root,this.scroller=d(e.scroller),this.bar=d(e.bar,this.root),r=this.track=d(e.track,this.root),!this.track&&this.bar&&(r=this.bar.parentNode),this.clipper=this.scroller.parentNode,this.direction=e.direction,this.rtl=e.rtl,this.origin=m[this.direction],this.barOnCls=e.barOnCls,this.scrollingCls=e.scrollingCls,this.draggingCls=e.draggingCls,this.impact=e.impact,this.position=e.position,this.rtl=e.rtl,this.barTopLimit=0,this.resizeDebounce=e.resizeDebounce,this.cursor=function(e){return e["client"+this.origin.x]||(((e.originalEvent||e).touches||{})[0]||{})["page"+this.origin.x]},this.pos=function(e){var t="page"+this.origin.x+"Offset",n=this.scroller[t]?t:this.origin.scroll;return void 0!==e&&(this.scroller[n]=e),this.scroller[n]},this.rpos=function(e){var t=this.scroller[this.origin.scrollSize]-this.scroller[this.origin.client];return(e?this.pos(e*t):this.pos())/(t||1)},this.barOn=function(e){if(this.barOnCls){var t=this.scroller[this.origin.client]>=this.scroller[this.origin.scrollSize];e||t?l(this.root,this.barOnCls)&&c(this.root,this.barOnCls):l(this.root,this.barOnCls)||s(this.root,this.barOnCls)}},this._pos0=function(e){n=this.cursor(e)-t},this.drag=function(e){var t=S.call(this,this.cursor(e)-n),r=this.scroller[this.origin.scrollSize]-this.scroller[this.origin.client];this.scroller[this.origin.scroll]=t*r},this.selection=function(e){this.event(document,"selectpos selectstart",x,e?"off":"on")},this.resize=function(){var e=this,t=void 0===e.resizeDebounce?300:e.resizeDebounce,n=0;function r(){var t,n=e.scroller[e.origin.crossOffset],r=e.scroller[e.origin.crossClient],i=0;if(g?i=15:r>0&&0===n&&(n=r+17),n)if(e.barOn(),"scroller"==e.impact){var o=n-r+i;if("static"==e.position)a(e.scroller,e.origin.crossSize)!=(t=e.clipper[e.origin.crossClient]+o+"px")&&e._setCrossSizes(e.scroller,t);else{var s={},l=e.rtl?"Left":"Right";"h"==e.direction&&(l="Bottom"),s["padding"+l]=o+"px",a(e.scroller,s)}}else a(e.clipper,e.origin.crossSize)!=(t=r+"px")&&e._setCrossSizes(e.clipper,t);Array.prototype.unshift.call(arguments,"resize"),_.apply(e,arguments),p=y()}y()-p<t&&(clearTimeout(o),n=t),n?o=setTimeout(r,n):r()},this.updatePositions=function(e){var n,i=this;i.bar&&(n=(r[i.origin.client]-i.barTopLimit)*i.scroller[i.origin.client]/i.scroller[i.origin.scrollSize],(e||parseInt(f,10)!=parseInt(n,10))&&(h.call(i,n),f=n),t=w.call(i,i.rpos()),v.call(i,t)),Array.prototype.unshift.call(arguments,"scroll"),_.apply(i,arguments)},this.scroll=function(){var e=this;e.updatePositions(),e.scrollingCls&&(u||s(e.root,e.scrollingCls),clearTimeout(u),u=setTimeout((function(){c(e.root,e.scrollingCls),u=void 0}),300))},this.clipperOnScroll=function(){this.rtl?this.clipper[this.origin.scrollEdge]=this.clipper[this.origin.scrollSize]:this.clipper[this.origin.scrollEdge]=0},this._setCrossSizes=function(e,t){var n={};n[this.origin.crossSize]=t,n[this.origin.crossMinSize]=t,n[this.origin.crossMaxSize]=t,a(e,n)},this._dumbCss=function(t){if(!e.cssGuru){var n=t?"hidden":null,r=t?"none":null;a(this.clipper,{overflow:n,msOverflowStyle:r,position:"static"==this.position?"":"relative"});var i=t?"scroll":null,o={};o["overflow-"+("v"==this.direction?"y":"x")]=i,o["box-sizing"]="border-box",o.margin="0",o.border="0","absolute"==this.position&&(o.position="absolute",o.top="0","h"==this.direction?o.left=o.right="0":(o.bottom="0",o.right=this.rtl?"0":"",o.left=this.rtl?"":"0")),a(this.scroller,o)}},this._dumbCss(!0),g){var E="paddingRight",k={},C=i.getComputedStyle(this.scroller)[[E]];"h"==e.direction?E="paddingBottom":e.rtl&&(E="paddingLeft");var T=parseInt(C,10);T!=T&&(T=0),k[E]=15+T+"px",a(this.scroller,k)}return this},update:function(e){return _.call(this,"upd",e),this.resize(1),this.updatePositions(1),this},dispose:function(){b(this,this.event,"off"),w(this.root,this.params.direction,"off"),"v"==this.params.direction?this._setCrossSizes(this.scroller,""):this._setCrossSizes(this.clipper,""),this._dumbCss(!1),this.barOn(!0),_.call(this,"dispose"),h[this.params.index]=null,this.params=null,this._disposed=!0},on:function(e,t,n){for(var r=e.split(" "),i=0;i<r.length;i++)"init"==r[i]?t.call(this,n):(this.events[r[i]]=this.events[r[i]]||[],this.events[r[i]].push((function(e){t.call(this,e||n)})))},baron:function(e){return e.root=this.params.root,e.scroller=this.params.scroller,e.direction="v"==this.params.direction?"h":"v",e._chain=!0,v(e)}},v.prototype.constructor.prototype=v.prototype,v.noConflict=function(){return i.baron=p,v},v.version="3.0.1",v.prototype.autoUpdate=n(48431)(i),v.prototype.fix=n(65367),v.prototype.controls=n(54833),e.exports=v},65367:function(e,t,n){"use strict";n(7959);var r=n(18379).iv,i=n(18379).IH,o=n(18379).rm;e.exports=function(e){var t,n,a={outside:"",inside:"",before:"",after:"",past:"",future:"",radius:0,minView:0},s=[],l=[],c=[],u=this.scroller,d=this.event,p=this;function f(e,s,l){var c=s,u=1==l?"pos":"oppos";n<(a.minView||0)&&(c=void 0),r(t[e],this.origin.pos,""),r(t[e],this.origin.oppos,""),o(t[e],a.outside),void 0!==c&&(c+="px",r(t[e],this.origin[u],c),i(t[e],a.outside))}function h(e){try{var t=document.createEvent("WheelEvent");t.initWebKitWheelEvent(e.originalEvent.wheelDeltaX,e.originalEvent.wheelDeltaY),u.dispatchEvent(t),e.preventDefault()}catch(e){}}function m(e){var i;for(var o in e)a[o]=e[o];if(a.elements instanceof HTMLElement?t=[a.elements]:"string"==typeof a.elements?t=this.scroller.querySelectorAll(a.elements):a.elements&&a.elements[0]instanceof HTMLElement&&(t=a.elements),t){n=this.scroller[this.origin.client];for(var u=0;u<t.length;u++)(i={})[this.origin.size]=t[u][this.origin.offset]+"px",t[u].parentNode!==this.scroller&&r(t[u].parentNode,i),(i={})[this.origin.crossSize]=t[u].parentNode[this.origin.crossClient]+"px",r(t[u],i),n-=t[u][this.origin.offset],c[u]=t[u].parentNode[this.origin.offsetPos],s[u]=s[u-1]||0,l[u]=l[u-1]||Math.min(c[u],0),t[u-1]&&(s[u]+=t[u-1][this.origin.offset],l[u]+=t[u-1][this.origin.offset]),0==u&&0==c[u]||(this.event(t[u],"mousewheel",h,"off"),this.event(t[u],"mousewheel",h));a.limiter&&t[0]&&(this.track&&this.track!=this.scroller?((i={})[this.origin.pos]=t[0].parentNode[this.origin.offset]+"px",r(this.track,i)):this.barTopLimit=t[0].parentNode[this.origin.offset],this.scroll()),!1===a.limiter&&(this.barTopLimit=0)}var f={element:t,handler:function(){for(var e,n=this.parentNode.offsetTop,r=0;r<t.length;r++)t[r]===this&&(e=r);var i=n-s[e];a.scroll?a.scroll({x1:p.scroller.scrollTop,x2:i}):p.scroller.scrollTop=i},type:"click"};if(a.clickable){this._eventHandlers.push(f);for(var m=0;m<f.element.length;m++)d(f.element[m],f.type,f.handler,"on")}}this.on("init",m,e);var g=[],v=[];return this.on("init scroll",(function(){var e,r,u,d;if(t){var p;for(d=0;d<t.length;d++)e=0,c[d]-this.pos()<l[d]+a.radius?(e=1,r=s[d]):c[d]-this.pos()>l[d]+n-a.radius?(e=2,r=this.scroller[this.origin.client]-t[d][this.origin.offset]-s[d]-n):(e=3,r=void 0),u=!1,(c[d]-this.pos()<l[d]||c[d]-this.pos()>l[d]+n)&&(u=!0),e==g[d]&&u==v[d]||(f.call(this,d,r,e),g[d]=e,v[d]=u,p=!0);if(p)for(d=0;d<t.length;d++)1==g[d]&&a.past&&(i(t[d],a.past),o(t[d],a.future)),2==g[d]&&a.future&&(i(t[d],a.future),o(t[d],a.past)),3==g[d]&&(o(t[d],a.past),o(t[d],a.future),i(t[d],a.inside)),g[d]!=g[d+1]&&1==g[d]?(i(t[d],a.before),o(t[d],a.after)):g[d]!=g[d-1]&&2==g[d]?(i(t[d],a.after),o(t[d],a.before)):(o(t[d],a.before),o(t[d],a.after)),a.grad&&(v[d]?i(t[d],a.grad):o(t[d],a.grad))}})),this.on("resize upd",(function(e){m.call(this,e&&e.fix)})),this}},7959:function(e,t,n){var r=n(25108);e.exports=function(e,t,n){var i=r[e]||r.log,o=["Baron: "+t,n];Function.prototype.apply.call(i,r,o)}},18379:function(e){"use strict";var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch(e){}function r(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}e.exports.B=function(e,n,r,i){var o=n.split(" "),a="on"==i?"add":"remove";o.forEach((function(n){var i=!1;-1!=["scroll","touchstart","touchmove"].indexOf(n)&&t&&(i={passive:!0}),e[a+"EventListener"](n,r,i)}))},e.exports.iv=function(e,t,n){var i;if(void 0===n){if("string"==typeof t)return e.style[t];i=t}else(i={})[t]=n;r(i,(function(t,n){e.style[t]=n}))},e.exports.IH=function(e,t){t&&e.classList.add(t)},e.exports.rm=function(e,t){t&&e.classList.remove(t)},e.exports.e$=function(e,t){return!!t&&e.classList.contains(t)},e.exports.d9=function(e){var t={};return r(e||{},(function(e,n){t[e]=n})),t},e.exports.qs=function(e,t){return e instanceof HTMLElement?e:(t||document).querySelector(e)}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:function(e,t,n){"use strict";var r=n(25108);const i=n(79742),o=n(80645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function l(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=l(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);const i=function(e){if(c.isBuffer(e)){const t=0|m(e.length),n=l(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?l(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return d(e),l(e<0?0:0|m(e))}function f(e){const t=e.length<0?0:0|m(e.length),n=l(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,c.prototype),r}function m(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(e).length;default:if(i)return r?-1:W(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function _(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function S(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function x(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return Y(Z(t),e,n,r)}function k(e,t,n,r){return Y(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=O));return n}(r)}t.kMaxLength=s,c.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.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(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return function(e,t,n){return d(e),e<=0?l(e):void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)}(e,t,n)},c.allocUnsafe=function(e){return p(e)},c.allocUnsafeSlow=function(e){return p(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(K(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).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}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=c.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(K(t,Uint8Array))i+t.length>r.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},c.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?T(this,0,e):v.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,i){if(K(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<s;++e)if(l[e]!==u[e]){o=l[e],a=u[e];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function M(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=X[e[r]];return i}function L(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function D(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r,i){U(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function N(e,t,n,r,i){U(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function j(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,i){return t=+t,n>>>=0,i||j(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,i){return t=+t,n>>>=0,i||j(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||D(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||D(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=J((function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),c.prototype.readBigUInt64BE=J((function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||D(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||D(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||D(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||D(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=J((function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),c.prototype.readBigInt64BE=J((function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||D(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||D(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||D(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||D(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=J((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=J((function(e,t=0){return N(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=J((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=J((function(e,t=0){return N(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=c.isBuffer(e)?e:c.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const H={};function z(e,t,n){H[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function U(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new H.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){$(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||G(t,e.length-(n+1))}(r,i,o)}function $(e,t){if("number"!=typeof e)throw new H.ERR_INVALID_ARG_TYPE(t,"number",e)}function G(e,t,n){if(Math.floor(e)!==e)throw $(e,n),new H.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new H.ERR_BUFFER_OUT_OF_BOUNDS;throw new H.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=V(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function W(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},21924:function(e,t,n){"use strict";var r=n(40210),i=n(55559),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},55559:function(e,t,n){"use strict";var r=n(58612),i=n(40210),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);l&&c&&(l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}));return t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},40487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},47166:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(this&&this[n]||n);else if(Array.isArray(n))e.push(i.apply(this,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(this&&this[a]||a)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},56355:function(e,t,n){const r=n(80747),i=n(21830);function o(e,t=10,n=10){const o=function(e){let{colorCount:t,quality:n}=e;if(void 0!==t&&Number.isInteger(t)){if(1===t)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");t=Math.max(t,2),t=Math.min(t,20)}else t=10;return(void 0===n||!Number.isInteger(n)||n<1)&&(n=10),{colorCount:t,quality:n}}({colorCount:t,quality:n});return new Promise(((t,n)=>{(function(e){return new Promise(((t,n)=>{r(e,(function(e,r){e?n(e):t(r)}))}))})(e).then((e=>{const n=e.shape[0]*e.shape[1],r=function(e,t,n){const r=e,i=[];for(let e,o,a,s,l,c=0;c<t;c+=n)e=4*c,o=r[e+0],a=r[e+1],s=r[e+2],l=r[e+3],(void 0===l||l>=125)&&(o>250&&a>250&&s>250||i.push([o,a,s]));return i}(e.data,n,o.quality),a=i(r,o.colorCount),s=a?a.palette():null;t(s)})).catch((e=>{n(e)}))}))}e.exports={getColor:function(e,t){return new Promise(((n,r)=>{o(e,5,t).then((e=>{n(e[0])})).catch((e=>{r(e)}))}))},getPalette:o}},25108:function(e,t,n){var r=n(89539),i=n(69282);function o(){return(new Date).getTime()}var a,s=Array.prototype.slice,l={};a=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(e){l[e]=o()},"time"],[function(e){var t=l[e];if(!t)throw new Error("No such label: "+e);delete l[e];var n=o()-t;a.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),a.error(e.stack)},"trace"],[function(e){a.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);i.ok(!1,r.format.apply(null,t))}},"assert"]],u=0;u<c.length;u++){var d=c[u],p=d[0],f=d[1];a[f]||(a[f]=p)}e.exports=a},76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},s=e.split(i),l=o.decode||n,c=0;c<s.length;c++){var u=s[c],d=u.indexOf("=");if(!(d<0)){var p=u.substr(0,d).trim(),f=u.substr(++d,u.length).trim();'"'==f[0]&&(f=f.slice(1,-1)),null==r[p]&&(r[p]=a(f,l))}}return r},t.serialize=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");l+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");l+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(l+="; HttpOnly");i.secure&&(l+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return l};var n=decodeURIComponent,r=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},71012:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}},e.exports=n},78249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(42480)}catch(e){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},l=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new c.init(t,e)}}),u=a.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},f=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,o);if(l){for(var d=0;d<l;d+=a)this._doProcessBlock(i,d);n=i.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=h.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new m.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},68214:function(e,t,n){var r;e.exports=(r=n(78249),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],l=e[t+1],f=e[t+2],h=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],S=e[t+11],x=e[t+12],E=e[t+13],k=e[t+14],C=e[t+15],T=o[0],O=o[1],M=o[2],A=o[3];T=c(T,O,M,A,a,7,s[0]),A=c(A,T,O,M,l,12,s[1]),M=c(M,A,T,O,f,17,s[2]),O=c(O,M,A,T,h,22,s[3]),T=c(T,O,M,A,m,7,s[4]),A=c(A,T,O,M,g,12,s[5]),M=c(M,A,T,O,v,17,s[6]),O=c(O,M,A,T,y,22,s[7]),T=c(T,O,M,A,b,7,s[8]),A=c(A,T,O,M,w,12,s[9]),M=c(M,A,T,O,_,17,s[10]),O=c(O,M,A,T,S,22,s[11]),T=c(T,O,M,A,x,7,s[12]),A=c(A,T,O,M,E,12,s[13]),M=c(M,A,T,O,k,17,s[14]),T=u(T,O=c(O,M,A,T,C,22,s[15]),M,A,l,5,s[16]),A=u(A,T,O,M,v,9,s[17]),M=u(M,A,T,O,S,14,s[18]),O=u(O,M,A,T,a,20,s[19]),T=u(T,O,M,A,g,5,s[20]),A=u(A,T,O,M,_,9,s[21]),M=u(M,A,T,O,C,14,s[22]),O=u(O,M,A,T,m,20,s[23]),T=u(T,O,M,A,w,5,s[24]),A=u(A,T,O,M,k,9,s[25]),M=u(M,A,T,O,h,14,s[26]),O=u(O,M,A,T,b,20,s[27]),T=u(T,O,M,A,E,5,s[28]),A=u(A,T,O,M,f,9,s[29]),M=u(M,A,T,O,y,14,s[30]),T=d(T,O=u(O,M,A,T,x,20,s[31]),M,A,g,4,s[32]),A=d(A,T,O,M,b,11,s[33]),M=d(M,A,T,O,S,16,s[34]),O=d(O,M,A,T,k,23,s[35]),T=d(T,O,M,A,l,4,s[36]),A=d(A,T,O,M,m,11,s[37]),M=d(M,A,T,O,y,16,s[38]),O=d(O,M,A,T,_,23,s[39]),T=d(T,O,M,A,E,4,s[40]),A=d(A,T,O,M,a,11,s[41]),M=d(M,A,T,O,h,16,s[42]),O=d(O,M,A,T,v,23,s[43]),T=d(T,O,M,A,w,4,s[44]),A=d(A,T,O,M,x,11,s[45]),M=d(M,A,T,O,C,16,s[46]),T=p(T,O=d(O,M,A,T,f,23,s[47]),M,A,a,6,s[48]),A=p(A,T,O,M,y,10,s[49]),M=p(M,A,T,O,k,15,s[50]),O=p(O,M,A,T,g,21,s[51]),T=p(T,O,M,A,x,6,s[52]),A=p(A,T,O,M,h,10,s[53]),M=p(M,A,T,O,_,15,s[54]),O=p(O,M,A,T,l,21,s[55]),T=p(T,O,M,A,b,6,s[56]),A=p(A,T,O,M,C,10,s[57]),M=p(M,A,T,O,v,15,s[58]),O=p(O,M,A,T,E,21,s[59]),T=p(T,O,M,A,m,6,s[60]),A=p(A,T,O,M,S,10,s[61]),M=p(M,A,T,O,f,15,s[62]),O=p(O,M,A,T,w,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+O|0,o[2]=o[2]+M|0,o[3]=o[3]+A|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function u(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function p(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),r.MD5)},86239:function(e,t,n){"use strict";var r=n(65081);function i(){this.argTypes=[],this.shimArgs=[],this.arrayArgs=[],this.arrayBlockIndices=[],this.scalarArgs=[],this.offsetArgs=[],this.offsetArgIndex=[],this.indexArgs=[],this.shapeArgs=[],this.funcName="",this.pre=null,this.body=null,this.post=null,this.debug=!1}e.exports=function(e){var t=new i;t.pre=e.pre,t.body=e.body,t.post=e.post;var n=e.args.slice(0);t.argTypes=n;for(var o=0;o<n.length;++o){var a=n[o];if("array"===a||"object"==typeof a&&a.blockIndices){if(t.argTypes[o]="array",t.arrayArgs.push(o),t.arrayBlockIndices.push(a.blockIndices?a.blockIndices:0),t.shimArgs.push("array"+o),o<t.pre.args.length&&t.pre.args[o].count>0)throw new Error("cwise: pre() block may not reference array args");if(o<t.post.args.length&&t.post.args[o].count>0)throw new Error("cwise: post() block may not reference array args")}else if("scalar"===a)t.scalarArgs.push(o),t.shimArgs.push("scalar"+o);else if("index"===a){if(t.indexArgs.push(o),o<t.pre.args.length&&t.pre.args[o].count>0)throw new Error("cwise: pre() block may not reference array index");if(o<t.body.args.length&&t.body.args[o].lvalue)throw new Error("cwise: body() block may not write to array index");if(o<t.post.args.length&&t.post.args[o].count>0)throw new Error("cwise: post() block may not reference array index")}else if("shape"===a){if(t.shapeArgs.push(o),o<t.pre.args.length&&t.pre.args[o].lvalue)throw new Error("cwise: pre() block may not write to array shape");if(o<t.body.args.length&&t.body.args[o].lvalue)throw new Error("cwise: body() block may not write to array shape");if(o<t.post.args.length&&t.post.args[o].lvalue)throw new Error("cwise: post() block may not write to array shape")}else{if("object"!=typeof a||!a.offset)throw new Error("cwise: Unknown argument type "+n[o]);t.argTypes[o]="offset",t.offsetArgs.push({array:a.array,offset:a.offset}),t.offsetArgIndex.push(o)}}if(t.arrayArgs.length<=0)throw new Error("cwise: No array arguments specified");if(t.pre.args.length>n.length)throw new Error("cwise: Too many arguments in pre() block");if(t.body.args.length>n.length)throw new Error("cwise: Too many arguments in body() block");if(t.post.args.length>n.length)throw new Error("cwise: Too many arguments in post() block");return t.debug=!!e.printCode||!!e.debug,t.funcName=e.funcName||"cwise",t.blockSize=e.blockSize||64,r(t)}},1984:function(e,t,n){"use strict";var r=n(25108),i=n(38706);function o(e,t,n){var r,i,o=e.length,a=t.arrayArgs.length,s=t.indexArgs.length>0,l=[],c=[],u=0,d=0;for(r=0;r<o;++r)c.push(["i",r,"=0"].join(""));for(i=0;i<a;++i)for(r=0;r<o;++r)d=u,u=e[r],0===r?c.push(["d",i,"s",r,"=t",i,"p",u].join("")):c.push(["d",i,"s",r,"=(t",i,"p",u,"-s",d,"*t",i,"p",d,")"].join(""));for(c.length>0&&l.push("var "+c.join(",")),r=o-1;r>=0;--r)u=e[r],l.push(["for(i",r,"=0;i",r,"<s",u,";++i",r,"){"].join(""));for(l.push(n),r=0;r<o;++r){for(d=u,u=e[r],i=0;i<a;++i)l.push(["p",i,"+=d",i,"s",r].join(""));s&&(r>0&&l.push(["index[",d,"]-=s",d].join("")),l.push(["++index[",u,"]"].join(""))),l.push("}")}return l.join("\n")}function a(e,t,n){for(var r=e.body,i=[],o=[],a=0;a<e.args.length;++a){var s=e.args[a];if(!(s.count<=0)){var l=new RegExp(s.name,"g"),c="",u=t.arrayArgs.indexOf(a);switch(t.argTypes[a]){case"offset":var d=t.offsetArgIndex.indexOf(a);u=t.offsetArgs[d].array,c="+q"+d;case"array":c="p"+u+c;var p="l"+a,f="a"+u;if(0===t.arrayBlockIndices[u])1===s.count?"generic"===n[u]?s.lvalue?(i.push(["var ",p,"=",f,".get(",c,")"].join("")),r=r.replace(l,p),o.push([f,".set(",c,",",p,")"].join(""))):r=r.replace(l,[f,".get(",c,")"].join("")):r=r.replace(l,[f,"[",c,"]"].join("")):"generic"===n[u]?(i.push(["var ",p,"=",f,".get(",c,")"].join("")),r=r.replace(l,p),s.lvalue&&o.push([f,".set(",c,",",p,")"].join(""))):(i.push(["var ",p,"=",f,"[",c,"]"].join("")),r=r.replace(l,p),s.lvalue&&o.push([f,"[",c,"]=",p].join("")));else{for(var h=[s.name],m=[c],g=0;g<Math.abs(t.arrayBlockIndices[u]);g++)h.push("\\s*\\[([^\\]]+)\\]"),m.push("$"+(g+1)+"*t"+u+"b"+g);if(l=new RegExp(h.join(""),"g"),c=m.join("+"),"generic"===n[u])throw new Error("cwise: Generic arrays not supported in combination with blocks!");r=r.replace(l,[f,"[",c,"]"].join(""))}break;case"scalar":r=r.replace(l,"Y"+t.scalarArgs.indexOf(a));break;case"index":r=r.replace(l,"index");break;case"shape":r=r.replace(l,"shape")}}}return[i.join("\n"),r,o.join("\n")].join("\n").trim()}function s(e){for(var t=new Array(e.length),n=!0,r=0;r<e.length;++r){var i=e[r],o=i.match(/\d+/);o=o?o[0]:"",0===i.charAt(0)?t[r]="u"+i.charAt(1)+o:t[r]=i.charAt(0)+o,r>0&&(n=n&&t[r]===t[r-1])}return n?t[0]:t.join("")}e.exports=function(e,t){for(var n=t[1].length-Math.abs(e.arrayBlockIndices[0])|0,l=new Array(e.arrayArgs.length),c=new Array(e.arrayArgs.length),u=0;u<e.arrayArgs.length;++u)c[u]=t[2*u],l[u]=t[2*u+1];var d=[],p=[],f=[],h=[],m=[];for(u=0;u<e.arrayArgs.length;++u){e.arrayBlockIndices[u]<0?(f.push(0),h.push(n),d.push(n),p.push(n+e.arrayBlockIndices[u])):(f.push(e.arrayBlockIndices[u]),h.push(e.arrayBlockIndices[u]+n),d.push(0),p.push(e.arrayBlockIndices[u]));for(var g=[],v=0;v<l[u].length;v++)f[u]<=l[u][v]&&l[u][v]<h[u]&&g.push(l[u][v]-f[u]);m.push(g)}var y=["SS"],b=["'use strict'"],w=[];for(v=0;v<n;++v)w.push(["s",v,"=SS[",v,"]"].join(""));for(u=0;u<e.arrayArgs.length;++u){y.push("a"+u),y.push("t"+u),y.push("p"+u);for(v=0;v<n;++v)w.push(["t",u,"p",v,"=t",u,"[",f[u]+v,"]"].join(""));for(v=0;v<Math.abs(e.arrayBlockIndices[u]);++v)w.push(["t",u,"b",v,"=t",u,"[",d[u]+v,"]"].join(""))}for(u=0;u<e.scalarArgs.length;++u)y.push("Y"+u);if(e.shapeArgs.length>0&&w.push("shape=SS.slice(0)"),e.indexArgs.length>0){var _=new Array(n);for(u=0;u<n;++u)_[u]="0";w.push(["index=[",_.join(","),"]"].join(""))}for(u=0;u<e.offsetArgs.length;++u){var S=e.offsetArgs[u],x=[];for(v=0;v<S.offset.length;++v)0!==S.offset[v]&&(1===S.offset[v]?x.push(["t",S.array,"p",v].join("")):x.push([S.offset[v],"*t",S.array,"p",v].join("")));0===x.length?w.push("q"+u+"=0"):w.push(["q",u,"=",x.join("+")].join(""))}var E=i([].concat(e.pre.thisVars).concat(e.body.thisVars).concat(e.post.thisVars));for((w=w.concat(E)).length>0&&b.push("var "+w.join(",")),u=0;u<e.arrayArgs.length;++u)b.push("p"+u+"|=0");e.pre.body.length>3&&b.push(a(e.pre,e,c));var k=a(e.body,e,c),C=function(e){for(var t=0,n=e[0].length;t<n;){for(var r=1;r<e.length;++r)if(e[r][t]!==e[0][t])return t;++t}return t}(m);C<n?b.push(function(e,t,n,r){for(var i=t.length,a=n.arrayArgs.length,s=n.blockSize,l=n.indexArgs.length>0,c=[],u=0;u<a;++u)c.push(["var offset",u,"=p",u].join(""));for(u=e;u<i;++u)c.push(["for(var j"+u+"=SS[",t[u],"]|0;j",u,">0;){"].join("")),c.push(["if(j",u,"<",s,"){"].join("")),c.push(["s",t[u],"=j",u].join("")),c.push(["j",u,"=0"].join("")),c.push(["}else{s",t[u],"=",s].join("")),c.push(["j",u,"-=",s,"}"].join("")),l&&c.push(["index[",t[u],"]=j",u].join(""));for(u=0;u<a;++u){for(var d=["offset"+u],p=e;p<i;++p)d.push(["j",p,"*t",u,"p",t[p]].join(""));c.push(["p",u,"=(",d.join("+"),")"].join(""))}for(c.push(o(t,n,r)),u=e;u<i;++u)c.push("}");return c.join("\n")}(C,m[0],e,k)):b.push(o(m[0],e,k)),e.post.body.length>3&&b.push(a(e.post,e,c)),e.debug&&r.log("-----Generated cwise routine for ",t,":\n"+b.join("\n")+"\n----------");var T=[e.funcName||"unnamed","_cwise_loop_",l[0].join("s"),"m",C,s(c)].join("");return new Function(["function ",T,"(",y.join(","),"){",b.join("\n"),"} return ",T].join(""))()}},65081:function(e,t,n){"use strict";var r=n(25108),i=n(1984);e.exports=function(e){var t=["'use strict'","var CACHED={}"],n=[],o=e.funcName+"_cwise_thunk";t.push(["return function ",o,"(",e.shimArgs.join(","),"){"].join(""));for(var a=[],s=[],l=[["array",e.arrayArgs[0],".shape.slice(",Math.max(0,e.arrayBlockIndices[0]),e.arrayBlockIndices[0]<0?","+e.arrayBlockIndices[0]+")":")"].join("")],c=[],u=[],d=0;d<e.arrayArgs.length;++d){var p=e.arrayArgs[d];n.push(["t",p,"=array",p,".dtype,","r",p,"=array",p,".order"].join("")),a.push("t"+p),a.push("r"+p),s.push("t"+p),s.push("r"+p+".join()"),l.push("array"+p+".data"),l.push("array"+p+".stride"),l.push("array"+p+".offset|0"),d>0&&(c.push("array"+e.arrayArgs[0]+".shape.length===array"+p+".shape.length+"+(Math.abs(e.arrayBlockIndices[0])-Math.abs(e.arrayBlockIndices[d]))),u.push("array"+e.arrayArgs[0]+".shape[shapeIndex+"+Math.max(0,e.arrayBlockIndices[0])+"]===array"+p+".shape[shapeIndex+"+Math.max(0,e.arrayBlockIndices[d])+"]"))}for(e.arrayArgs.length>1&&(t.push("if (!("+c.join(" && ")+")) throw new Error('cwise: Arrays do not all have the same dimensionality!')"),t.push("for(var shapeIndex=array"+e.arrayArgs[0]+".shape.length-"+Math.abs(e.arrayBlockIndices[0])+"; shapeIndex--\x3e0;) {"),t.push("if (!("+u.join(" && ")+")) throw new Error('cwise: Arrays do not all have the same shape!')"),t.push("}")),d=0;d<e.scalarArgs.length;++d)l.push("scalar"+e.scalarArgs[d]);return n.push(["type=[",s.join(","),"].join()"].join("")),n.push("proc=CACHED[type]"),t.push("var "+n.join(",")),t.push(["if(!proc){","CACHED[type]=proc=compile([",a.join(","),"])}","return proc(",l.join(","),")}"].join("")),e.debug&&r.log("-----Generated thunk:\n"+t.join("\n")+"\n----------"),new Function("compile",t.join("\n"))(i.bind(void 0,e))}},60858:function(e,t,n){var r=n(48764).Buffer;e.exports=function(e){if(!/^data\:/i.test(e))throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');var t=(e=e.replace(/\r?\n/g,"")).indexOf(",");if(-1===t||t<=4)throw new TypeError("malformed data: URI");for(var n=e.substring(5,t).split(";"),i=!1,o="US-ASCII",a=0;a<n.length;a++)"base64"==n[a]?i=!0:0==n[a].indexOf("charset=")&&(o=n[a].substring(8));var s=unescape(e.substring(t+1)),l=new r(s,i?"base64":"ascii");return l.type=n[0]||"text/plain",l.charset=o,l}},11227:function(e,t,n){var r=n(25108),i=n(34155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=r.debug||r.log||(()=>{}),e.exports=n(82447)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},82447:function(e,t,n){var r=n(25108);e.exports=function(e){function t(e){let n,r,o,a=null;function s(...e){if(!s.enabled)return;const r=s,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";a++;const o=t.formatters[i];if("function"==typeof o){const t=e[a];n=o.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(57824),t.destroy=function(){r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},4289:function(e,t,n){"use strict";var r=n(82215),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=n(31044)(),c=s&&l,u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(i=r)||"[object Function]"!==o.call(i)||!r())return;var i;c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},d=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)u(e,o[s],t[o[s]],n[o[s]])};d.supportsDescriptors=!!c,e.exports=d},27856:function(e,t,n){var r=n(25108);e.exports=function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var t=Object.hasOwnProperty,n=Object.setPrototypeOf,i=Object.isFrozen,o=Object.getPrototypeOf,a=Object.getOwnPropertyDescriptor,s=Object.freeze,l=Object.seal,c=Object.create,u="undefined"!=typeof Reflect&&Reflect,d=u.apply,p=u.construct;d||(d=function(e,t,n){return e.apply(t,n)}),s||(s=function(e){return e}),l||(l=function(e){return e}),p||(p=function(t,n){return new(Function.prototype.bind.apply(t,[null].concat(e(n))))});var f=x(Array.prototype.forEach),h=x(Array.prototype.pop),m=x(Array.prototype.push),g=x(String.prototype.toLowerCase),v=x(String.prototype.match),y=x(String.prototype.replace),b=x(String.prototype.indexOf),w=x(String.prototype.trim),_=x(RegExp.prototype.test),S=E(TypeError);function x(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return d(e,t,r)}}function E(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(e,n)}}function k(e,t){n&&n(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var a=g(o);a!==o&&(i(t)||(t[r]=a),o=a)}e[o]=!0}return e}function C(e){var n=c(null),r=void 0;for(r in e)d(t,e,[r])&&(n[r]=e[r]);return n}function T(e,t){for(;null!==e;){var n=a(e,t);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}e=o(e)}function i(e){return r.warn("fallback value for",e),null}return i}var O=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),M=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),A=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=s(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),R=s(["#text"]),I=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),N=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=l(/\{\{[\s\S]*|[\s\S]*\}\}/gm),H=l(/<%[\s\S]*|[\s\S]*%>/gm),z=l(/^data-[\-\w.\u00B7-\uFFFF]/),V=l(/^aria-[\-\w]+$/),U=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=l(/^(?:\w+script|data):/i),G=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Z=function(){return"undefined"==typeof window?null:window},Y=function(e,t){if("object"!==(void 0===e?"undefined":q(e))||"function"!=typeof e.createPolicy)return null;var n=null,i="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(i)&&(n=t.currentScript.getAttribute(i));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(e){return r.warn("TrustedTypes policy "+o+" could not be created."),null}};function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),t=function(e){return K(e)};if(t.version="2.2.7",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,l=e.Element,c=e.NodeFilter,u=e.NamedNodeMap,d=void 0===u?e.NamedNodeMap||e.MozNamedAttrMap:u,p=e.Text,x=e.Comment,E=e.DOMParser,Q=e.trustedTypes,X=l.prototype,J=T(X,"cloneNode"),ee=T(X,"nextSibling"),te=T(X,"childNodes"),ne=T(X,"parentNode");if("function"==typeof o){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var ie=Y(Q,n),oe=ie&&je?ie.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ce=ae.getElementsByTagName,ue=ae.createDocumentFragment,de=n.importNode,pe={};try{pe=C(r).documentMode?r.documentMode:{}}catch(e){}var fe={};t.isSupported="function"==typeof ne&&se&&void 0!==se.createHTMLDocument&&9!==pe;var he=F,me=H,ge=z,ve=V,ye=$,be=G,we=U,_e=null,Se=k({},[].concat(W(O),W(M),W(A),W(L),W(R))),xe=null,Ee=k({},[].concat(W(I),W(N),W(j),W(B))),ke=null,Ce=null,Te=!0,Oe=!0,Me=!1,Ae=!1,Pe=!1,Le=!1,De=!1,Re=!1,Ie=!1,Ne=!0,je=!1,Be=!0,Fe=!0,He=!1,ze={},Ve=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,$e=k({},["audio","video","img","source","image","track"]),Ge=null,qe=k({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ze=r.createElement("form"),Ye=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":q(e))||(e={}),e=C(e),_e="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS):Se,xe="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR):Ee,Ge="ADD_URI_SAFE_ATTR"in e?k(C(qe),e.ADD_URI_SAFE_ATTR):qe,Ue="ADD_DATA_URI_TAGS"in e?k(C($e),e.ADD_DATA_URI_TAGS):$e,ke="FORBID_TAGS"in e?k({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?k({},e.FORBID_ATTR):{},ze="USE_PROFILES"in e&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ie=e.RETURN_DOM_FRAGMENT||!1,Ne=!1!==e.RETURN_DOM_IMPORT,je=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||we,Ae&&(Oe=!1),Ie&&(Re=!0),ze&&(_e=k({},[].concat(W(R))),xe=[],!0===ze.html&&(k(_e,O),k(xe,I)),!0===ze.svg&&(k(_e,M),k(xe,N),k(xe,B)),!0===ze.svgFilters&&(k(_e,A),k(xe,N),k(xe,B)),!0===ze.mathMl&&(k(_e,L),k(xe,j),k(xe,B))),e.ADD_TAGS&&(_e===Se&&(_e=C(_e)),k(_e,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Ee&&(xe=C(xe)),k(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&k(Ge,e.ADD_URI_SAFE_ATTR),Fe&&(_e["#text"]=!0),Pe&&k(_e,["html","head","body"]),_e.table&&(k(_e,["tbody"]),delete ke.tbody),s&&s(e),We=e)},Ke=k({},["mi","mo","mn","ms","mtext"]),Qe=k({},["foreignobject","desc","title","annotation-xml"]),Xe=k({},M);k(Xe,A),k(Xe,P);var Je=k({},L);k(Je,D);var et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===tt)return t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||Ke[r]):Boolean(Xe[n]);if(e.namespaceURI===et)return t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&Qe[r]:Boolean(Je[n]);if(e.namespaceURI===nt){if(t.namespaceURI===tt&&!Qe[r])return!1;if(t.namespaceURI===et&&!Ke[r])return!1;var i=k({},["title","style","font","a","script"]);return!Je[n]&&(i[n]||!Xe[n])}return!1},it=function(e){m(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=oe}catch(t){e.remove()}}},ot=function(e,n){try{m(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(e){m(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!xe[e])if(Re||Ie)try{it(n)}catch(e){}else try{n.setAttribute(e,"")}catch(e){}},at=function(e){var t=void 0,n=void 0;if(De)e="<remove></remove>"+e;else{var i=v(e,/^[\r\n\t ]+/);n=i&&i[0]}var o=ie?ie.createHTML(e):e;try{t=(new E).parseFromString(o,"text/html")}catch(e){}if(!t||!t.documentElement){var a=(t=se.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}return e&&n&&t.body.insertBefore(r.createTextNode(n),t.body.childNodes[0]||null),ce.call(t,Pe?"html":"body")[0]},st=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,(function(){return c.FILTER_ACCEPT}),!1)},lt=function(e){return!(e instanceof p||e instanceof x||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof d&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},ct=function(e){return"object"===(void 0===a?"undefined":q(a))?e instanceof a:e&&"object"===(void 0===e?"undefined":q(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ut=function(e,n,r){fe[e]&&f(fe[e],(function(e){e.call(t,n,r,We)}))},dt=function(e){var n=void 0;if(ut("beforeSanitizeElements",e,null),lt(e))return it(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var r=g(e.nodeName);if(ut("uponSanitizeElement",e,{tagName:r,allowedTags:_e}),!ct(e.firstElementChild)&&(!ct(e.content)||!ct(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return it(e),!0;if(!_e[r]||ke[r]){if(Fe&&!Ve[r]){var i=ne(e),o=te(e);if(o&&i)for(var a=o.length-1;a>=0;--a)i.insertBefore(J(o[a],!0),ee(e))}return it(e),!0}return e instanceof l&&!rt(e)?(it(e),!0):"noscript"!==r&&"noembed"!==r||!_(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(n=e.textContent,n=y(n,he," "),n=y(n,me," "),e.textContent!==n&&(m(t.removed,{element:e.cloneNode()}),e.textContent=n)),ut("afterSanitizeElements",e,null),!1):(it(e),!0)},pt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in Ze))return!1;if(Oe&&_(ge,t));else if(Te&&_(ve,t));else{if(!xe[t]||Ce[t])return!1;if(Ge[t]);else if(_(we,y(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Me&&!_(ye,y(n,be,"")));else if(n)return!1}return!0},ft=function(e){var n=void 0,r=void 0,i=void 0,o=void 0;ut("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(o=a.length;o--;){var l=n=a[o],c=l.name,u=l.namespaceURI;if(r=w(n.value),i=g(c),s.attrName=i,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,ut("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(ot(c,e),s.keepAttr))if(_(/\/>/i,r))ot(c,e);else{Ae&&(r=y(r,he," "),r=y(r,me," "));var d=e.nodeName.toLowerCase();if(pt(d,i,r))try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),h(t.removed)}catch(e){}}}ut("afterSanitizeAttributes",e,null)}},ht=function e(t){var n=void 0,r=st(t);for(ut("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ut("uponSanitizeShadowNode",n,null),dt(n)||(n.content instanceof i&&e(n.content),ft(n));ut("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,o){var s=void 0,l=void 0,c=void 0,u=void 0,d=void 0;if(r||(r="\x3c!--\x3e"),"string"!=typeof r&&!ct(r)){if("function"!=typeof r.toString)throw S("toString is not a function");if("string"!=typeof(r=r.toString()))throw S("dirty is not a string, aborting")}if(!t.isSupported){if("object"===q(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof r)return e.toStaticHTML(r);if(ct(r))return e.toStaticHTML(r.outerHTML)}return r}if(Le||Ye(o),t.removed=[],"string"==typeof r&&(He=!1),He);else if(r instanceof a)1===(l=(s=at("\x3c!----\x3e")).ownerDocument.importNode(r,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?s=l:s.appendChild(l);else{if(!Re&&!Ae&&!Pe&&-1===r.indexOf("<"))return ie&&je?ie.createHTML(r):r;if(!(s=at(r)))return Re?null:oe}s&&De&&it(s.firstChild);for(var p=st(He?r:s);c=p.nextNode();)3===c.nodeType&&c===u||dt(c)||(c.content instanceof i&&ht(c.content),ft(c),u=c);if(u=null,He)return r;if(Re){if(Ie)for(d=ue.call(s.ownerDocument);s.firstChild;)d.appendChild(s.firstChild);else d=s;return Ne&&(d=de.call(n,d,!0)),d}var f=Pe?s.outerHTML:s.innerHTML;return Ae&&(f=y(f,he," "),f=y(f,me," ")),ie&&je?ie.createHTML(f):f},t.setConfig=function(e){Ye(e),Le=!0},t.clearConfig=function(){We=null,Le=!1},t.isValidAttribute=function(e,t,n){We||Ye({});var r=g(e),i=g(t);return pt(r,i,n)},t.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],m(fe[e],t))},t.removeHook=function(e){fe[e]&&h(fe[e])},t.removeHooks=function(e){fe[e]&&(fe[e]=[])},t.removeAllHooks=function(){fe={}},t}return K()}()},62988:function(e,t,n){var r=n(61755),i=n(26665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},38177:function(e,t,n){var r=n(62988),i=n(26665),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},61755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},24974:function(e,t,n){var r=n(38177);e.exports=new r},17187:function(e,t,n){"use strict";var r,i=n(25108),o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,a,s,l;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,l=c,i&&i.warn&&i.warn(l)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return u(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var c=l.length,u=g(l,c);for(n=0;n<c;++n)a(u[n],this,t)}return!0},l.prototype.addListener=function(e,t){return d(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return d(this,e,t,!0)},l.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,i,o,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return h(this,e,!0)},l.prototype.rawListeners=function(e){return h(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},l.prototype.listenerCount=m,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},94029:function(e,t,n){"use strict";var r=n(95320),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},17648:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments,1),s=n(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o}},58612:function(e,t,n){"use strict";var r=n(17648);e.exports=Function.prototype.bind||r},40210:function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(41405)(),p=n(28185)(),f=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),h={},m="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(58612),_=n(17642),S=w.call(Function.call,Array.prototype.concat),x=w.call(Function.apply,Array.prototype.splice),E=w.call(Function.call,String.prototype.replace),k=w.call(Function.call,String.prototype.slice),C=w.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,M=function(e,t){var n,r=e;if(_(b,r)&&(r="%"+(n=b[r])[0]+"%"),_(g,r)){var o=g[r];if(o===h&&(o=y(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,T,(function(e,t,n,i){r[r.length]=n?E(i,O,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=M("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],x(n,S([0,1],d)));for(var p=1,f=!0;p<n.length;p+=1){var h=n[p],m=k(h,0,1),v=k(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(u=!0),_(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=n.length){var y=l(c,h);c=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[h]}else f=_(c,h),c=c[h];f&&!u&&(g[s]=c)}}return c}},80747:function(e,t,n){"use strict";var r=n(34155),i=n(48764).Buffer,o=n(26470),a=n(62861),s=n(11494).N,l=(n(21943),n(26547),n(60858));function c(e,t){var n;try{n=new s(e)}catch(e){return void t(e)}if(n.numFrames()>0){var r=[n.numFrames(),n.height,n.width,4],i=new Uint8Array(r[0]*r[1]*r[2]*r[3]),o=a(i,r);try{for(var l=0;l<n.numFrames();++l)n.decodeAndBlitFrameRGBA(l,i.subarray(o.index(l,0,0,0),o.index(l+1,0,0,0)))}catch(e){return void t(e)}t(null,o.transpose(0,2,1))}else{r=[n.height,n.width,4],i=new Uint8Array(r[0]*r[1]*r[2]),o=a(i,r);try{n.decodeAndBlitFrameRGBA(0,i)}catch(e){return void t(e)}t(null,o.transpose(1,0))}}function u(e,t){r.nextTick((function(){try{var n=l(e);n?c(function(e){if(void 0===e[0]){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;++r)n[r]=e.get(r);return n}return new Uint8Array(e)}(n),t):t(new Error("Error parsing data URI"))}catch(e){t(e)}}))}e.exports=function(e,t,n){n||(n=t,t="");var r=o.extname(e);if(".GIF"===(t||r.toUpperCase()))!function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.overrideMimeType&&n.overrideMimeType("application/binary"),n.onerror=function(e){t(e)},n.onload=function(){4===n.readyState&&c(new Uint8Array(n.response),t)},n.send()}(e,n);else i.isBuffer(e)&&(e="data:"+t+";base64,"+e.toString("base64")),0===e.indexOf("data:image/gif;")?u(e,n):function(e,t){var n=new Image;n.crossOrigin="Anonymous",n.onload=function(){var e=document.createElement("canvas");e.width=n.width,e.height=n.height;var r=e.getContext("2d");r.drawImage(n,0,0);var i=r.getImageData(0,0,n.width,n.height);t(null,a(new Uint8Array(i.data),[n.width,n.height,4],[4,4*n.width,1],0))},n.onerror=function(e){t(e)},n.src=e}(e,n)}},6107:function(e,t,n){"use strict";t.__esModule=!0,t.getUserLocales=t.getUserLocale=t.default=void 0;var r,i=(r=n(20773))&&r.__esModule?r:{default:r};function o(e){return JSON.stringify(e)}var a=(0,i.default)((function(e){var t,n=void 0===e?{}:e,r=n.useFallbackLocale,i=void 0===r||r,o=n.fallbackLocale,a=void 0===o?"en-US":o,s=[];if("undefined"!=typeof window){var l=window.navigator;s=s.concat(l.languages,l.language,l.userLanguage,l.browserLanguage,l.systemLanguage)}return i&&s.push(a),function(e){return e.map((function(e){if(!e||-1===e.indexOf("-")||e.toLowerCase()!==e)return e;var t=e.split("-");return t[0]+"-"+t[1].toUpperCase()}))}((t=s).filter((function(e,n){return e&&t.indexOf(e)===n})))}),o);t.getUserLocales=a;var s=(0,i.default)((function(e){return a(e)[0]||null}),o);t.getUserLocale=s;var l=s;t.default=l},27296:function(e,t,n){"use strict";var r=n(40210)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},31044:function(e,t,n){"use strict";var r=n(40210)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},28185:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},41405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(55419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},96410:function(e,t,n){"use strict";var r=n(55419);e.exports=function(){return r()&&!!Symbol.toStringTag}},17642:function(e,t,n){"use strict";var r=n(58612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},70282:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(14149)),o=r(n(54545));n(87641);var a=r(n(26018));function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function f(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function h(e,t,n,r){var o;"string"==typeof e?(o=p(e)).state=t:(void 0===(o=s({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function v(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function w(){try{return window.history.state||{}}catch(e){return{}}}var _="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(x(window.location.href)+"#"+e)}function C(e,t,n){return Math.min(Math.max(e,t),n)}t.createBrowserHistory=function(e){void 0===e&&(e={}),g||a(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),r=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,o=i.forceRefresh,c=void 0!==o&&o,p=i.getUserConfirmation,_=void 0===p?v:p,S=i.keyLength,x=void 0===S?6:S,E=e.basename?d(l(e.basename)):"";function k(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return E&&(o=u(o,E)),h(o,r,n)}function C(){return Math.random().toString(36).substr(2,x)}var T=m();function O(e){s(H,e),H.length=t.length,T.notifyListeners(H.location,H.action)}function M(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(k(e.state))}function A(){L(k(w()))}var P=!1;function L(e){P?(P=!1,O()):T.confirmTransitionTo(e,"POP",_,(function(t){t?O({action:"POP",location:e}):function(e){var t=H.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(P=!0,N(i))}(e)}))}var D=k(w()),R=[D.key];function I(e){return E+f(e)}function N(e){t.go(e)}var j=0;function B(e){1===(j+=e)&&1===e?(window.addEventListener(y,M),r&&window.addEventListener(b,A)):0===j&&(window.removeEventListener(y,M),r&&window.removeEventListener(b,A))}var F=!1,H={length:t.length,action:"POP",location:D,createHref:I,push:function(e,r){var i=h(e,r,C(),H.location);T.confirmTransitionTo(i,"PUSH",_,(function(e){if(e){var r=I(i),o=i.key,a=i.state;if(n)if(t.pushState({key:o,state:a},null,r),c)window.location.href=r;else{var s=R.indexOf(H.location.key),l=R.slice(0,s+1);l.push(i.key),R=l,O({action:"PUSH",location:i})}else window.location.href=r}}))},replace:function(e,r){var i="REPLACE",o=h(e,r,C(),H.location);T.confirmTransitionTo(o,i,_,(function(e){if(e){var r=I(o),a=o.key,s=o.state;if(n)if(t.replaceState({key:a,state:s},null,r),c)window.location.replace(r);else{var l=R.indexOf(H.location.key);-1!==l&&(R[l]=o.key),O({action:i,location:o})}else window.location.replace(r)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return H},t.createHashHistory=function(e){void 0===e&&(e={}),g||a(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?v:r,o=n.hashType,c=void 0===o?"slash":o,p=e.basename?d(l(e.basename)):"",y=S[c],b=y.encodePath,w=y.decodePath;function C(){var e=w(E());return p&&(e=u(e,p)),h(e)}var T=m();function O(e){s(H,e),H.length=t.length,T.notifyListeners(H.location,H.action)}var M=!1,A=null;function P(){var e=E(),t=b(e);if(e!==t)k(t);else{var n=C(),r=H.location;if(!M&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(r,n))return;if(A===f(n))return;A=null,function(e){M?(M=!1,O()):T.confirmTransitionTo(e,"POP",i,(function(t){t?O({action:"POP",location:e}):function(e){var t=H.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var i=n-r;i&&(M=!0,N(i))}(e)}))}(n)}}var L=E(),D=b(L);L!==D&&k(D);var R=C(),I=[f(R)];function N(e){t.go(e)}var j=0;function B(e){1===(j+=e)&&1===e?window.addEventListener(_,P):0===j&&window.removeEventListener(_,P)}var F=!1,H={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+b(p+f(e))},push:function(e,t){var n=h(e,void 0,void 0,H.location);T.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=f(n),r=b(p+t);if(E()!==r){A=t,function(e){window.location.hash=e}(r);var i=I.lastIndexOf(f(H.location)),o=I.slice(0,i+1);o.push(t),I=o,O({action:"PUSH",location:n})}else O()}}))},replace:function(e,t){var n="REPLACE",r=h(e,void 0,void 0,H.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=f(r),i=b(p+t);E()!==i&&(A=t,k(i));var o=I.indexOf(f(H.location));-1!==o&&(I[o]=t),O({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return H},t.createMemoryHistory=function(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,i=void 0===r?["/"]:r,o=t.initialIndex,a=void 0===o?0:o,l=t.keyLength,c=void 0===l?6:l,u=m();function d(e){s(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var g=C(a,0,i.length-1),v=i.map((function(e){return h(e,void 0,"string"==typeof e?p():e.key||p())})),y=f;function b(e){var t=C(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:y,push:function(e,t){var r=h(e,t,p(),w.location);u.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),d({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=h(e,t,p(),w.location);u.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,d({action:r,location:i}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return 0<=t&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w},t.createLocation=h,t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&o(e.state,t.state)},t.parsePath=p,t.createPath=f},55648:function(e,t,n){"use strict";e.exports=n(70282)},8679:function(e,t,n){"use strict";var r=n(59864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{c(t,v,y)}catch(e){}}}}return t}},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},66337:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},r.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(window,"resize",this._checkForIntersections,!0),i(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,o=a(i),s=this._rootContainsTarget(i),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,t),u=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:t,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,u)&&this._queuedEntries.push(u):l&&l.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){for(var r,i,o,s,c,u,d,p,f=a(t),h=l(t),m=!1;!m;){var g=null,v=1==h.nodeType?window.getComputedStyle(h):{};if("none"==v.display)return;if(h==this.root||h==e?(m=!0,g=n):h!=e.body&&h!=e.documentElement&&"visible"!=v.overflow&&(g=a(h)),g&&(r=g,i=f,o=void 0,s=void 0,c=void 0,u=void 0,d=void 0,p=void 0,o=Math.max(r.top,i.top),s=Math.min(r.bottom,i.bottom),c=Math.max(r.left,i.left),u=Math.min(r.right,i.right),p=s-o,!(f=(d=u-c)>=0&&p>=0&&{top:o,bottom:s,left:c,right:u,width:d,height:p})))break;h=l(h)}return f}},r.prototype._getRootRect=function(){var t;if(this.root)t=a(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||s(e,this.root)},r.prototype._rootContainsTarget=function(t){return s(this.root||e,t)},r.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},r.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(e,t){var n,r,i,o=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" ")}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function s(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}}()},95260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntlMessageFormat=void 0;var r=n(91014),i=n(72642);Object.defineProperty(t,"IntlMessageFormat",{enumerable:!0,get:function(){return i.IntlMessageFormat}}),r.__exportStar(n(72642),t),r.__exportStar(n(53288),t),r.__exportStar(n(48297),t),t.default=i.IntlMessageFormat},72642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntlMessageFormat=void 0;var r=n(91014),i=n(8831),o=n(34568),a=n(48297);function s(e,t){return t?Object.keys(e).reduce((function(n,i){var o,a;return n[i]=(o=e[i],(a=t[i])?r.__assign(r.__assign(r.__assign({},o||{}),a||{}),Object.keys(o).reduce((function(e,t){return e[t]=r.__assign(r.__assign({},o[t]),a[t]||{}),e}),{})):o),n}),r.__assign({},e)):e}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var c=function(){function e(t,n,i,c){var u,d=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=d.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.PART_TYPE.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,a.formatToParts)(d.ast,d.locales,d.formatters,d.formats,e,void 0,d.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=d.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var p=c||{},f=(p.formatters,r.__rest(p,["formatters"]));this.ast=e.__parse(t,r.__assign(r.__assign({},f),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,i),this.formatters=c&&c.formatters||(void 0===(u=this.formatterCache)&&(u={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(u.number),strategy:o.strategies.variadic}),getDateTimeFormat:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(u.dateTime),strategy:o.strategies.variadic}),getPluralRules:(0,o.memoize)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,r.__spreadArray([void 0],t,!1)))}),{cache:l(u.pluralRules),strategy:o.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=i.parse,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();t.IntlMessageFormat=c},53288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingValueError=t.InvalidValueTypeError=t.InvalidValueError=t.FormatError=t.ErrorCode=void 0;var r,i=n(91014);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(t.ErrorCode=r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return i.__extends(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);t.FormatError=o;var a=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return i.__extends(t,e),t}(o);t.InvalidValueError=a;var s=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,i)||this}return i.__extends(t,e),t}(o);t.InvalidValueTypeError=s;var l=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return i.__extends(t,e),t}(o);t.MissingValueError=l},48297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatToParts=t.isFormatXMLElementFn=t.PART_TYPE=void 0;var r,i=n(8831),o=n(53288);function a(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(t.PART_TYPE=r={})),t.isFormatXMLElementFn=a,t.formatToParts=function e(t,n,s,l,c,u,d){if(1===t.length&&(0,i.isLiteralElement)(t[0]))return[{type:r.literal,value:t[0].value}];for(var p=[],f=0,h=t;f<h.length;f++){var m=h[f];if((0,i.isLiteralElement)(m))p.push({type:r.literal,value:m.value});else if((0,i.isPoundElement)(m))"number"==typeof u&&p.push({type:r.literal,value:s.getNumberFormat(n).format(u)});else{var g=m.value;if(!c||!(g in c))throw new o.MissingValueError(g,d);var v=c[g];if((0,i.isArgumentElement)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),p.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,i.isDateElement)(m)){var y="string"==typeof m.style?l.date[m.style]:(0,i.isDateTimeSkeleton)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:s.getDateTimeFormat(n,y).format(v)})}else if((0,i.isTimeElement)(m)){y="string"==typeof m.style?l.time[m.style]:(0,i.isDateTimeSkeleton)(m.style)?m.style.parsedOptions:l.time.medium;p.push({type:r.literal,value:s.getDateTimeFormat(n,y).format(v)})}else if((0,i.isNumberElement)(m)){(y="string"==typeof m.style?l.number[m.style]:(0,i.isNumberSkeleton)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),p.push({type:r.literal,value:s.getNumberFormat(n,y).format(v)})}else{if((0,i.isTagElement)(m)){var b=m.children,w=m.value,_=c[w];if(!a(_))throw new o.InvalidValueTypeError(w,"function",d);var S=_(e(b,n,s,l,c,u).map((function(e){return e.value})));Array.isArray(S)||(S=[S]),p.push.apply(p,S.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,i.isSelectElement)(m)){if(!(x=m.options[v]||m.options.other))throw new o.InvalidValueError(m.value,v,Object.keys(m.options),d);p.push.apply(p,e(x.value,n,s,l,c))}else if((0,i.isPluralElement)(m)){var x;if(!(x=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new o.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.ErrorCode.MISSING_INTL_API,d);var E=s.getPluralRules(n,{type:m.pluralType}).select(v-(m.offset||0));x=m.options[E]||m.options.other}if(!x)throw new o.InvalidValueError(m.value,v,Object.keys(m.options),d);p.push.apply(p,e(x.value,n,s,l,c,v-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}},16907:function(e){"use strict";e.exports=function(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=n;return t}},82584:function(e,t,n){"use strict";var r=n(96410)(),i=n(21924)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},48738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},95320:function(e){"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},48662:function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(96410)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!l)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&l(t)}return l(e)===r}},98611:function(e){"use strict";e.exports=function(e){return e!=e}},20360:function(e,t,n){"use strict";var r=n(55559),i=n(4289),o=n(98611),a=n(29415),s=n(23194),l=r(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},29415:function(e,t,n){"use strict";var r=n(98611);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},23194:function(e,t,n){"use strict";var r=n(4289),i=n(29415);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},85692:function(e,t,n){"use strict";var r=n(86430);e.exports=function(e){return!!r(e)}},80973:function(e,t,n){var r=n(71169),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},49090:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},91296:function(e,t,n){var r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=u||d||Function("return this")(),f=Object.prototype.toString,h=Math.max,m=Math.min,g=function(){return p.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==i}(e))return r;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function w(){var e=g();if(b(e))return _(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?m(n,o-(e-c)):n}(e))}function _(e){return s=void 0,p&&r?f(e):(r=i=void 0,a)}function S(){var e=g(),n=b(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(w,t),u?f(e):a}(l);if(d)return s=setTimeout(w,t),f(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=y(t)||0,v(n)&&(u=!!n.leading,o=(d="maxWait"in n)?h(y(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},S.flush=function(){return void 0===s?a:_(g())},S}},20773:function(e,t,n){var r="__lodash_hash_undefined__",i="[object Function]",o="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")();var u,d=Array.prototype,p=Function.prototype,f=Object.prototype,h=c["__core-js_shared__"],m=(u=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",g=p.toString,v=f.hasOwnProperty,y=f.toString,b=RegExp("^"+g.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=d.splice,_=M(c,"Map"),S=M(Object,"create");function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function T(e){if(!P(e)||(t=e,m&&m in t))return!1;var t,n=function(e){var t=P(e)?y.call(e):"";return t==i||t==o}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?b:a;return n.test(function(e){if(null!=e){try{return g.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function O(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function M(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return T(n)?n:void 0}function A(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(A.Cache||k),n}function P(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}x.prototype.clear=function(){this.__data__=S?S(null):{}},x.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},x.prototype.get=function(e){var t=this.__data__;if(S){var n=t[e];return n===r?void 0:n}return v.call(t,e)?t[e]:void 0},x.prototype.has=function(e){var t=this.__data__;return S?void 0!==t[e]:v.call(t,e)},x.prototype.set=function(e,t){return this.__data__[e]=S&&void 0===t?r:t,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(e){var t=this.__data__,n=C(t,e);return!(n<0)&&(n==t.length-1?t.pop():w.call(t,n,1),!0)},E.prototype.get=function(e){var t=this.__data__,n=C(t,e);return n<0?void 0:t[n][1]},E.prototype.has=function(e){return C(this.__data__,e)>-1},E.prototype.set=function(e,t){var n=this.__data__,r=C(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},k.prototype.clear=function(){this.__data__={hash:new x,map:new(_||E),string:new x}},k.prototype.delete=function(e){return O(this,e).delete(e)},k.prototype.get=function(e){return O(this,e).get(e)},k.prototype.has=function(e){return O(this,e).has(e)},k.prototype.set=function(e,t){return O(this,e).set(e,t),this},A.Cache=k,e.exports=A},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),i=n(90619),o=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},46384:function(e,t,n){var r=n(38407),i=n(85284),o=n(63779),a=n(67599),s=n(44758),l=n(34309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},47443:function(e,t,n){var r=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1196:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),l=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},34865:function(e,t,n){var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44037:function(e,t,n){var r=n(98363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},63886:function(e,t,n){var r=n(98363),i=n(81704);e.exports=function(e,t){return e&&r(t,i(t),e)}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:function(e,t,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),l=n(64626),c=n(278),u=n(18805),d=n(1911),p=n(58234),f=n(46904),h=n(64160),m=n(43824),g=n(29148),v=n(38517),y=n(1469),b=n(44144),w=n(56688),_=n(13218),S=n(72928),x=n(3674),E=n(81704),k="[object Arguments]",C="[object Function]",T="[object Object]",O={};O[k]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[T]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[C]=O["[object WeakMap]"]=!1,e.exports=function e(t,n,M,A,P,L){var D,R=1&n,I=2&n,N=4&n;if(M&&(D=P?M(t,A,P,L):M(t)),void 0!==D)return D;if(!_(t))return t;var j=y(t);if(j){if(D=m(t),!R)return c(t,D)}else{var B=h(t),F=B==C||"[object GeneratorFunction]"==B;if(b(t))return l(t,R);if(B==T||B==k||F&&!P){if(D=I||F?{}:v(t),!R)return I?d(t,s(D,t)):u(t,a(D,t))}else{if(!O[B])return P?t:{};D=g(t,B,R)}}L||(L=new r);var H=L.get(t);if(H)return H;L.set(t,D),S(t)?t.forEach((function(r){D.add(e(r,n,M,r,t,L))})):w(t)&&t.forEach((function(r,i){D.set(i,e(r,n,M,i,t,L))}));var z=j?void 0:(N?I?f:p:I?E:x)(t);return i(z||t,(function(r,i){z&&(r=t[i=r]),o(D,i,e(r,n,M,i,t,L))})),D}},3118:function(e,t,n){var r=n(13218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},20731:function(e,t,n){var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),l=n(74757);e.exports=function(e,t,n,c){var u=-1,d=i,p=!0,f=e.length,h=[],m=t.length;if(!f)return h;n&&(t=a(t,s(n))),c?(d=o,p=!1):t.length>=200&&(d=l,p=!1,t=new r(t));e:for(;++u<f;){var g=e[u],v=null==n?g:n(g);if(g=c||0!==g?g:0,p&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else d(t,v,c)||h.push(g)}return h}},41848:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},21078:function(e,t,n){var r=n(62488),i=n(37285);e.exports=function e(t,n,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},68866:function(e,t,n){var r=n(62488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},42118:function(e,t,n){var r=n(41848),i=n(62722),o=n(42351);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},9454:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},25588:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},62722:function(e){e.exports=function(e){return e!=e}},28458:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},29221:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},38749:function(e,t,n){var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},5976:function(e,t,n){var r=n(6557),i=n(45357),o=n(30061);e.exports=function(e,t){return o(i(e,t,r),e+"")}},56560:function(e,t,n){var r=n(75703),i=n(38777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},74757:function(e){e.exports=function(e,t){return e.has(t)}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),i=n(89465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):r(n,c,u)}return n}},18805:function(e,t,n){var r=n(98363),i=n(99551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(98363),i=n(51442);e.exports=function(e,t){return r(e,i(e),t)}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},38777:function(e,t,n){var r=n(10852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),i=n(99551),o=n(3674);e.exports=function(e){return r(e,o,i)}},46904:function(e,t,n){var r=n(68866),i=n(51442),o=n(81704);e.exports=function(e){return r(e,o,i)}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10852:function(e,t,n){var r=n(28458),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},99551:function(e,t,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},51442:function(e,t,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),l=n(44239),c=n(80346),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(r),g=c(i),v=c(o),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=h||i&&w(new i)!=u||o&&w(o.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case y:return p;case b:return f}return t}),e.exports=w},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:function(e,t,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},38517:function(e,t,n){var r=n(3118),i=n(85924),o=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},37285:function(e,t,n){var r=n(62705),i=n(35694),o=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=n(l),r(e,this,c)}}},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},30061:function(e,t,n){var r=n(56560),i=n(21275)(r);e.exports=i},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},85284:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),i=n(57071),o=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},42351:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},53888:function(e,t,n){var r=n(85990);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},75703:function(e){e.exports=function(e){return function(){return e}}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function w(){var e=i();if(b(e))return _(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,u-(e-h)):n}(e))}function _(e){return p=void 0,v&&l?y(e):(l=c=void 0,d)}function S(){var e=i(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?y(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),y(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},S.flush=function(){return void 0===p?d:_(i())},S}},91966:function(e,t,n){var r=n(20731),i=n(21078),o=n(5976),a=n(29246),s=o((function(e,t){return a(e)?r(e,i(t,1,a,!0)):[]}));e.exports=s},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),i=n(41780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),i=n(37005);e.exports=function(e){return i(e)&&r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),i=n(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},23560:function(e,t,n){var r=n(44239),i=n(13218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:function(e,t,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},72928:function(e,t,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(14636),i=n(280),o=n(98612);e.exports=function(e){return o(e)?r(e):i(e)}},81704:function(e,t,n){var r=n(14636),i=n(10313),o=n(98612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},2568:function(e,t,n){var r,i,o,a,s;r=n(71012),i=n(40487).utf8,o=n(48738),a=n(40487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var h=s._ff,m=s._gg,g=s._hh,v=s._ii;for(f=0;f<n.length;f+=16){var y=c,b=u,w=d,_=p;c=h(c,u,d,p,n[f+0],7,-680876936),p=h(p,c,u,d,n[f+1],12,-389564586),d=h(d,p,c,u,n[f+2],17,606105819),u=h(u,d,p,c,n[f+3],22,-1044525330),c=h(c,u,d,p,n[f+4],7,-176418897),p=h(p,c,u,d,n[f+5],12,1200080426),d=h(d,p,c,u,n[f+6],17,-1473231341),u=h(u,d,p,c,n[f+7],22,-45705983),c=h(c,u,d,p,n[f+8],7,1770035416),p=h(p,c,u,d,n[f+9],12,-1958414417),d=h(d,p,c,u,n[f+10],17,-42063),u=h(u,d,p,c,n[f+11],22,-1990404162),c=h(c,u,d,p,n[f+12],7,1804603682),p=h(p,c,u,d,n[f+13],12,-40341101),d=h(d,p,c,u,n[f+14],17,-1502002290),c=m(c,u=h(u,d,p,c,n[f+15],22,1236535329),d,p,n[f+1],5,-165796510),p=m(p,c,u,d,n[f+6],9,-1069501632),d=m(d,p,c,u,n[f+11],14,643717713),u=m(u,d,p,c,n[f+0],20,-373897302),c=m(c,u,d,p,n[f+5],5,-701558691),p=m(p,c,u,d,n[f+10],9,38016083),d=m(d,p,c,u,n[f+15],14,-660478335),u=m(u,d,p,c,n[f+4],20,-405537848),c=m(c,u,d,p,n[f+9],5,568446438),p=m(p,c,u,d,n[f+14],9,-1019803690),d=m(d,p,c,u,n[f+3],14,-187363961),u=m(u,d,p,c,n[f+8],20,1163531501),c=m(c,u,d,p,n[f+13],5,-1444681467),p=m(p,c,u,d,n[f+2],9,-51403784),d=m(d,p,c,u,n[f+7],14,1735328473),c=g(c,u=m(u,d,p,c,n[f+12],20,-1926607734),d,p,n[f+5],4,-378558),p=g(p,c,u,d,n[f+8],11,-2022574463),d=g(d,p,c,u,n[f+11],16,1839030562),u=g(u,d,p,c,n[f+14],23,-35309556),c=g(c,u,d,p,n[f+1],4,-1530992060),p=g(p,c,u,d,n[f+4],11,1272893353),d=g(d,p,c,u,n[f+7],16,-155497632),u=g(u,d,p,c,n[f+10],23,-1094730640),c=g(c,u,d,p,n[f+13],4,681279174),p=g(p,c,u,d,n[f+0],11,-358537222),d=g(d,p,c,u,n[f+3],16,-722521979),u=g(u,d,p,c,n[f+6],23,76029189),c=g(c,u,d,p,n[f+9],4,-640364487),p=g(p,c,u,d,n[f+12],11,-421815835),d=g(d,p,c,u,n[f+15],16,530742520),c=v(c,u=g(u,d,p,c,n[f+2],23,-995338651),d,p,n[f+0],6,-198630844),p=v(p,c,u,d,n[f+7],10,1126891415),d=v(d,p,c,u,n[f+14],15,-1416354905),u=v(u,d,p,c,n[f+5],21,-57434055),c=v(c,u,d,p,n[f+12],6,1700485571),p=v(p,c,u,d,n[f+3],10,-1894986606),d=v(d,p,c,u,n[f+10],15,-1051523),u=v(u,d,p,c,n[f+1],21,-2054922799),c=v(c,u,d,p,n[f+8],6,1873313359),p=v(p,c,u,d,n[f+15],10,-30611744),d=v(d,p,c,u,n[f+6],15,-1560198380),u=v(u,d,p,c,n[f+13],21,1309151649),c=v(c,u,d,p,n[f+4],6,-145523070),p=v(p,c,u,d,n[f+11],10,-1120210379),d=v(d,p,c,u,n[f+2],15,718787259),u=v(u,d,p,c,n[f+9],21,-343485551),c=c+y>>>0,u=u+b>>>0,d=d+w>>>0,p=p+_>>>0}return r.endian([c,u,d,p])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},7091:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Array.prototype.slice.call(arguments).reduce((function(e,t){return e.concat(t)}),[]).filter((function(e){return"string"==typeof e})).join(" ")}},6966:function(e,t,n){"use strict";n.r(t)},20915:function(e,t,n){"use strict";n.r(t)},21:function(e,t,n){"use strict";n.r(t)},27857:function(){},11343:function(){},62974:function(e,t,n){"use strict";e.exports=n(11550)},11550:function(e,t,n){"use strict";var r,i=n(62811),o=n(67294),a=(r=o)&&"object"==typeof r&&"default"in r?r.default:r,s=n(73935),l=n(74089);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!i.makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function c(e){e()}function u(e){e||(e=c),i.configure({reactionScheduler:e})}function d(e){return i.getDependencyTree(e)}var p=!1;function f(e){p=e}function h(){return p}var m=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){function e(e){var t=this;this.finalize=void 0,this.registrations=new Map,this.sweepTimeout=void 0,this.sweep=function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()},this.finalizeAllImmediately=function(){t.sweep(0)},this.finalize=e}var t=e.prototype;return t.register=function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()},t.unregister=function(e){this.registrations.delete(e)},t.scheduleSweep=function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))},e}())((function(e){var t;null==(t=e.reaction)||t.dispose(),e.reaction=null})),g=function(){},v=i._getGlobalState(),y=void 0!==v.stateVersion;function b(e){e.reaction=new i.Reaction("observer"+e.name,(function(){y||(e.stateVersion=Symbol()),null==e.onStoreChange||e.onStoreChange()}))}function w(e,t){if(void 0===t&&(t="observed"),h())return e();var n=a.useRef(null),r=a.useState()[1];if(!n.current){var i={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return m.unregister(i),i.onStoreChange=e,i.reaction||(b(i),r(Symbol())),function(){var e;i.onStoreChange=null,null==(e=i.reaction)||e.dispose(),i.reaction=null}},getSnapshot:function(){return y?v.stateVersion:i.stateVersion}};n.current=i}var o,s,c=n.current;if(c.reaction||(b(c),m.register(n,c,c)),a.useDebugValue(c.reaction,d),l.useSyncExternalStore(c.subscribe,c.getSnapshot,g),c.reaction.track((function(){try{o=e()}catch(e){s=e}})),s)throw s;return o}var _,S="function"==typeof Symbol&&Symbol.for,x=S?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&o.forwardRef((function(e){return null})).$$typeof,E=S?Symbol.for("react.memo"):"function"==typeof o.memo&&o.memo((function(e){return null})).$$typeof,k={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function C(e){var t=e.children||e.render;return"function"!=typeof t?null:w(t)}function T(e){var t=o.useState((function(){return i.observable(e,{},{deep:!1})}))[0];return i.runInAction((function(){Object.assign(t,e)})),t}C.displayName="Observer",u(s.unstable_batchedUpdates);var O=null!=(_=m.finalizeAllImmediately)?_:function(){};t.observer=function(e,t){var n;if(E&&e.$$typeof===E)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(h())return e;var r=null!=(n=null==t?void 0:t.forwardRef)&&n,i=e,a=e.displayName||e.name;if(x&&e.$$typeof===x&&(r=!0,"function"!=typeof(i=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,c=function(e,t){return w((function(){return i(e,t)}),a)};return c.displayName=e.displayName,Object.defineProperty(c,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(c.contextTypes=e.contextTypes),r&&(c=o.forwardRef(c)),c=o.memo(c),s=e,l=c,Object.keys(s).forEach((function(e){k[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),c}},4572:function(e,t,n){"use strict";var r=n(67294);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s((function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,n,t]),a((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},74089:function(e,t,n){"use strict";e.exports=n(4572)},62811:function(e,t,n){"use strict";e.exports=n(73458)},73458:function(e,t,n){var r=n(25108);function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}function o(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:St}function a(){Mt||i("Proxy not available")}function s(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function l(e){return"function"==typeof e}function c(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function u(e){return null!==e&&"object"==typeof e}function d(e){if(!u(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===At}function p(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function f(e,t,n){kt(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function h(e,t,n){kt(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function m(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return u(e)&&!0===e[n]}}function g(e){return e instanceof Map}function v(e){return e instanceof Set}function y(e){return null===e?null:"object"==typeof e?""+e:e}function b(e,t){return Ct.hasOwnProperty.call(e,t)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(i=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?i:String(i),r)}var i}function _(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function x(e,t){var n,r;e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n=e,r=t,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(n,r)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e){if(e){if("string"==typeof e)return k(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?k(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e){return Object.assign((function(t,n){O(t,n,e)}),e)}function O(e,t,n){b(e,It)||f(e,It,S({},e[It])),function(e){return"override"===e.t}(n)||(e[It][t]=n)}function M(e,t,n){void 0===t&&(t=Pt),void 0===n&&(n=Pt);var r=new jt(e);return t!==Pt&&Ae(r,t),n!==Pt&&Pe(r,n),r}function A(e,t,n){return ze(e)?e:Array.isArray(e)?Kt.array(e,{name:n}):d(e)?Kt.object(e,void 0,{name:n}):g(e)?Kt.map(e,{name:n}):v(e)?Kt.set(e,{name:n}):"function"!=typeof e||Te(e)||Be(e)?e:p(e)?Ln(e):Tn(n,e)}function P(e){return e}function L(e,t){return{t:e,i:t,u:D,o:R}}function D(e,t,n,r){var i;if(null!=(i=this.i)&&i.bound)return null===this.o(e,t,n,!1)?0:1;if(r===e.s)return null===this.o(e,t,n,!1)?0:2;if(Te(n.value))return 1;var o=I(e,this,t,n,!1);return kt(r,t,o),2}function R(e,t,n,r){var i=I(e,this,t,n);return e.h(t,i,r)}function I(e,t,n,r,i){var o,a,s,l,c,u,d;void 0===i&&(i=yn.safeDescriptors);var p,f=r.value;return null!=(o=t.i)&&o.bound&&(f=f.bind(null!=(p=e.v)?p:e.s)),{value:X(null!=(a=null==(s=t.i)?void 0:s.name)?a:n.toString(),f,null!=(l=null==(c=t.i)?void 0:c.autoAction)&&l,null!=(u=t.i)&&u.bound?null!=(d=e.v)?d:e.s:void 0),configurable:!i||e.l,enumerable:!1,writable:!i}}function N(e,t){return{t:e,i:t,u:j,o:B}}function j(e,t,n,r){var i;if(r===e.s)return null===this.o(e,t,n,!1)?0:2;if(null!=(i=this.i)&&i.bound&&(!b(e.s,t)||!Be(e.s[t]))&&null===this.o(e,t,n,!1))return 0;if(Be(n.value))return 1;var o=F(e,0,0,n,!1,!1);return kt(r,t,o),2}function B(e,t,n,r){var i,o=F(e,0,0,n,null==(i=this.i)?void 0:i.bound);return e.h(t,o,r)}function F(e,t,n,r,i,o){void 0===o&&(o=yn.safeDescriptors);var a,s=r.value;return Be(s)||(s=Ln(s)),i&&((s=s.bind(null!=(a=e.v)?a:e.s)).isMobXFlow=!0),{value:s,configurable:!o||e.l,enumerable:!1,writable:!o}}function H(e,t){return{t:e,i:t,u:z,o:V}}function z(e,t,n){return null===this.o(e,t,n,!1)?0:1}function V(e,t,n,r){return e.p(t,S({},this.i,{get:n.get,set:n.set}),r)}function U(e,t){return{t:e,i:t,u:$,o:G}}function $(e,t,n){return null===this.o(e,t,n,!1)?0:1}function G(e,t,n,r){var i,o;return e.m(t,n.value,null!=(i=null==(o=this.i)?void 0:o.enhancer)?i:A,r)}function q(e){return{t:"true",i:e,u:W,o:Z}}function W(e,t,n,r){var i,o,a,s;if(n.get)return Jt.u(e,t,n,r);if(n.set){var l=X(t.toString(),n.set);return r===e.s?null===e.h(t,{configurable:!yn.safeDescriptors||e.l,set:l})?0:2:(kt(r,t,{configurable:!0,set:l}),2)}if(r!==e.s&&"function"==typeof n.value)return p(n.value)?(null!=(s=this.i)&&s.autoBind?Ln.bound:Ln).u(e,t,n,r):(null!=(a=this.i)&&a.autoBind?Tn.bound:Tn).u(e,t,n,r);var c,u=!1===(null==(i=this.i)?void 0:i.deep)?Kt.ref:Kt;return"function"==typeof n.value&&null!=(o=this.i)&&o.autoBind&&(n.value=n.value.bind(null!=(c=e.v)?c:e.s)),u.u(e,t,n,r)}function Z(e,t,n,r){var i,o,a;return n.get?Jt.o(e,t,n,r):n.set?e.h(t,{configurable:!yn.safeDescriptors||e.l,set:X(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.i)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.v)?a:e.s)),(!1===(null==(o=this.i)?void 0:o.deep)?Kt.ref:Kt).o(e,t,n,r))}function Y(e){return e||Vt}function K(e){return!0===e.deep?A:!1===e.deep?P:(t=e.defaultDecorator)&&null!=(n=null==(r=t.i)?void 0:r.enhancer)?n:A;var t,n,r}function Q(e,t,n){if(!c(t))return ze(e)?e:d(e)?Kt.object(e,t,n):Array.isArray(e)?Kt.array(e,t):g(e)?Kt.map(e,t):v(e)?Kt.set(e,t):"object"==typeof e&&null!==e?e:Kt.box(e,t);O(e,t,Ut)}function X(e,t,n,r){function i(){return J(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,rn&&(on.value=e,kt(i,"name",on)),i}function J(e,t,n,r,i){var o=ee(0,t);try{return n.apply(r,i)}catch(e){throw o.j=e,e}finally{te(o)}}function ee(e,t){var n=yn.trackingDerivation,r=!t||!n;ye();var i=yn.allowStateChanges;r&&(ue(),i=re(!0));var o={O:r,A:n,g:i,_:pe(!0),S:!1,M:0,N:nn++,V:tn};return tn=o.N,o}function te(e){tn!==e.N&&i(30),tn=e.V,void 0!==e.j&&(yn.suppressReactionErrors=!0),ie(e.g),fe(e._),be(),e.O&&de(e.A),yn.suppressReactionErrors=!1}function ne(e,t){var n=re(e);try{return t()}finally{ie(n)}}function re(e){var t=yn.allowStateChanges;return yn.allowStateChanges=e,t}function ie(e){yn.allowStateChanges=e}function oe(e){return e instanceof fn}function ae(e){switch(e.R){case cn.T:return!1;case cn.k:case cn.K:return!0;case cn.L:for(var t=pe(!0),n=ue(),r=e.C,i=r.length,o=0;o<i;o++){var a=r[o];if(pn(a)){if(yn.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return de(n),fe(t),!0}if(e.R===cn.K)return de(n),fe(t),!0}}return he(e),de(n),fe(t),!1}}function se(e,t,n){var r=pe(!0);he(e),e.I=new Array(e.C.length+100),e.P=0,e.D=++yn.runId;var i,o=yn.trackingDerivation;if(yn.trackingDerivation=e,yn.inBatch++,!0===yn.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new fn(e)}return yn.inBatch--,yn.trackingDerivation=o,function(e){for(var t=e.C,n=e.C=e.I,r=cn.T,i=0,o=e.P,a=0;a<o;a++){var s=n[a];0===s.B&&(s.B=1,i!==a&&(n[i]=s),i++),s.R>r&&(r=s.R)}for(n.length=i,e.I=null,o=t.length;o--;){var l=t[o];0===l.B&&ge(l,e),l.B=0}for(;i--;){var c=n[i];1===c.B&&(c.B=0,me(c,e))}r!==cn.T&&(e.R=r,e.q())}(e),fe(r),i}function le(e){var t=e.C;e.C=[];for(var n=t.length;n--;)ge(t[n],e);e.R=cn.k}function ce(e){var t=ue();try{return e()}finally{de(t)}}function ue(){var e=yn.trackingDerivation;return yn.trackingDerivation=null,e}function de(e){yn.trackingDerivation=e}function pe(e){var t=yn.allowStateReads;return yn.allowStateReads=e,t}function fe(e){yn.allowStateReads=e}function he(e){if(e.R!==cn.T){e.R=cn.T;for(var t=e.C,n=t.length;n--;)t[n].G=cn.T}}function me(e,t){e.W.add(t),e.G>t.R&&(e.G=t.R)}function ge(e,t){e.W.delete(t),0===e.W.size&&ve(e)}function ve(e){!1===e.H&&(e.H=!0,yn.pendingUnobservations.push(e))}function ye(){yn.inBatch++}function be(){if(0==--yn.inBatch){Se();for(var e=yn.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.H=!1,0===n.W.size&&(n.X&&(n.X=!1,n.onBUO()),n instanceof dn&&n.U())}yn.pendingUnobservations=[]}}function we(e){var t=yn.trackingDerivation;return null!==t?(t.D!==e.F&&(e.F=t.D,t.I[t.P++]=e,!e.X&&yn.trackingContext&&(e.X=!0,e.onBO())),e.X):(0===e.W.size&&yn.inBatch>0&&ve(e),!1)}function _e(e){e.G!==cn.K&&(e.G=cn.K,e.W.forEach((function(e){e.R===cn.T&&e.q(),e.R=cn.K})))}function Se(){yn.inBatch>0||yn.isRunningReactions||wn(xe)}function xe(){yn.isRunningReactions=!0;for(var e=yn.pendingReactions,t=0;e.length>0;){100==++t&&(r.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),i=0,o=n.length;i<o;i++)n[i].$()}yn.isRunningReactions=!1}function Ee(){return r.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function ke(e){return function(t,n){return l(t)?X(t.name||"<unnamed action>",t,e):l(n)?X(t,n,e):c(n)?O(t,n,e?En:Sn):c(t)?T(L(e?"autoAction":"action",{name:t,autoAction:e})):void 0}}function Ce(e){return J(0,!1,e,this,void 0)}function Te(e){return l(e)&&!0===e.isMobxAction}function Oe(e,t){function n(){e(l)}var r,i,o,a,s;void 0===t&&(t=Ot);var l,c=null!=(r=null==(i=t)?void 0:i.name)?r:"Autorun";if(t.scheduler||t.delay){var u=Me(t),d=!1;l=new bn(c,(function(){d||(d=!0,u((function(){d=!1,l.J||l.track(n)})))}),t.onError,t.requiresObservable)}else l=new bn(c,(function(){this.track(n)}),t.onError,t.requiresObservable);return null!=(o=t)&&null!=(a=o.signal)&&a.aborted||l.Y(),l.Z(null==(s=t)?void 0:s.signal)}function Me(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:On}function Ae(e,t,n){return Le("onBO",e,t,n)}function Pe(e,t,n){return Le("onBUO",e,t,n)}function Le(e,t,n,r){var i="function"==typeof r?mt(t,n):mt(t),o=l(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function De(e,t,n,r){var i=Rt(t),o=st(e,r)[Nt];ye();try{Dt(i).forEach((function(e){o.o(e,i[e],!n||!(e in n)||n[e])}))}finally{be()}return e}function Re(e){var t,n={name:e.tt};return e.C&&e.C.length>0&&(n.dependencies=(t=e.C,Array.from(new Set(t))).map(Re)),n}function Ie(e){var t={name:e.tt};return function(e){return e.W&&e.W.size>0}(e)&&(t.observers=Array.from(function(e){return e.W}(e)).map(Ie)),t}function Ne(){this.message="FLOW_CANCELLED"}function je(e){l(e.cancel)&&e.cancel()}function Be(e){return!0===(null==e?void 0:e.isMobXFlow)}function Fe(e,t){if(void 0===t)return pn(e);if(!1===ct(e))return!1;if(!e[Nt].nt.has(t))return!1;var n=mt(e,t);return pn(n)}function He(e,t){return!!e&&(void 0!==t?!!ct(e)&&e[Nt].nt.has(t):ct(e)||!!e[Nt]||Bt(e)||_n(e)||pn(e))}function ze(e){return He(e)}function Ve(e){return ct(e)?e[Nt].it():Wn(e)||Xn(e)?Array.from(e.keys()):at(e)?e.map((function(e,t){return t})):void i(5)}function Ue(e,t){return ct(e)?e[Nt].rt(t):Wn(e)||Xn(e)?e.has(t):at(e)?t>=0&&t<e.length:void i(10)}function $e(e){if(ct(e))return e[Nt].et();i(38)}function Ge(e,t,n){return e.set(t,n),n}function qe(e,t){void 0===t&&(t=void 0),ye();try{return e.apply(t)}finally{be()}}function We(e,t,n){var r;if("number"==typeof n.timeout){var i=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!a[Nt].J){if(a(),!n.onError)throw i;n.onError(i)}}),n.timeout)}n.name="When";var o=X("When-effect",t),a=Oe((function(t){ne(!1,e)&&(t.dispose(),r&&clearTimeout(r),o())}),n);return a}function Ze(e){return e[Nt]}function Ye(e){return void 0!==e.ut&&e.ut.length>0}function Ke(e,t){var n=e.ut||(e.ut=[]);return n.push(t),s((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Qe(e,t){var n=ue();try{for(var r=[].concat(e.ut||[]),o=0,a=r.length;o<a&&((t=r[o](t))&&!t.type&&i(14),t);o++);return t}finally{de(n)}}function Xe(e){return void 0!==e.ot&&e.ot.length>0}function Je(e,t){var n=e.ot||(e.ot=[]);return n.push(t),s((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function et(e,t){var n=ue(),r=e.ot;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);de(n)}}function tt(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),a();var i=new jn(n,t,r,!1);h(i.nt,Nt,i);var o=new Proxy(i.nt,Nn);if(i.v=o,e&&e.length){var s=re(!0);i.st(0,0,e),ie(s)}return o}function nt(e,t){"function"==typeof Array.prototype[e]&&(Bn[e]=t(e))}function rt(e){return function(){var t=this[Nt];t.ft.reportObserved();var n=t.ct(t.nt);return n[e].apply(n,arguments)}}function it(e){return function(t,n){var r=this,i=this[Nt];return i.ft.reportObserved(),i.ct(i.nt)[e]((function(e,i){return t.call(n,e,i,r)}))}}function ot(e){return function(){var t=this,n=this[Nt];n.ft.reportObserved();var r=n.ct(n.nt),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}function at(e){return u(e)&&zn(e[Nt])}function st(e,t){var n;if(b(e,Nt))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new er(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:q(e):void 0}(t));return f(e,Nt,i),e}function lt(e){return Jn[e]||(Jn[e]={get:function(){return this[Nt].at(e)},set:function(t){return this[Nt].ht(e,t)}})}function ct(e){return!!u(e)&&tr(e[Nt])}function ut(e,t,n){var r;null==(r=e.s[It])||delete r[n]}function dt(e){return{enumerable:!1,configurable:!0,get:function(){return this[Nt].vt(e)},set:function(t){this[Nt].lt(e,t)}}}function pt(e){kt(or.prototype,""+e,dt(e))}function ft(e){if(e>rr){for(var t=rr;t<e+100;t++)pt(t);rr=e}}function ht(e,t,n){return new or(e,t,n)}function mt(e,t){if("object"==typeof e&&null!==e){if(at(e))return void 0!==t&&i(23),e[Nt].ft;if(Xn(e))return e.ft;if(Wn(e)){if(void 0===t)return e.dt;var n=e.bt.get(t)||e.pt.get(t);return n||i(25,t,vt(e)),n}if(ct(e)){if(!t)return i(26);var r=e[Nt].nt.get(t);return r||i(27,t,vt(e)),r}if(Bt(e)||pn(e)||_n(e))return e}else if(l(e)&&_n(e[Nt]))return e[Nt];i(28)}function gt(e,t){return e||i(29),void 0!==t?gt(mt(e,t)):Bt(e)||pn(e)||_n(e)||Wn(e)||Xn(e)?e:e[Nt]?e[Nt]:void i(24,e)}function vt(e,t){var n;if(void 0!==t)n=mt(e,t);else{if(Te(e))return e.name;n=ct(e)||Wn(e)||Xn(e)?gt(e):mt(e)}return n.tt}function yt(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=ar.call(t);if(s!==ar.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":return+t!=+t?+n!=+n:0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=bt(t),n=bt(n);var c="[object Array]"===s;if(!c){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,d=n.constructor;if(u!==d&&!(l(u)&&u instanceof u&&l(d)&&d instanceof d)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var p=(i=i||[]).length;p--;)if(i[p]===t)return o[p]===n;if(i.push(t),o.push(n),c){if((p=t.length)!==n.length)return!1;for(;p--;)if(!e(t[p],n[p],r-1,i,o))return!1}else{var f,h=Object.keys(t);if(p=h.length,Object.keys(n).length!==p)return!1;for(;p--;)if(!b(n,f=h[p])||!e(t[f],n[f],r-1,i,o))return!1}return i.pop(),o.pop(),!0}(e,t,n)}function bt(e){return at(e)?e.slice():g(e)||Wn(e)||v(e)||Xn(e)?Array.from(e.entries()):e}function wt(e){return e[Symbol.iterator]=_t,e}function _t(){return this}Object.defineProperty(t,"__esModule",{value:!0});var St={},xt=Object.assign,Et=Object.getOwnPropertyDescriptor,kt=Object.defineProperty,Ct=Object.prototype,Tt=[];Object.freeze(Tt);var Ot={};Object.freeze(Ot);var Mt="undefined"!=typeof Proxy,At=Object.toString(),Pt=function(){},Lt=void 0!==Object.getOwnPropertySymbols,Dt="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Lt?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Rt=Object.getOwnPropertyDescriptors||function(e){var t={};return Dt(e).forEach((function(n){t[n]=Et(e,n)})),t},It=Symbol("mobx-stored-annotations"),Nt=Symbol("mobx administration"),jt=function(){function e(e){void 0===e&&(e="Atom"),this.tt=void 0,this.H=!1,this.X=!1,this.W=new Set,this.B=0,this.F=0,this.G=cn.k,this.onBOL=void 0,this.onBUOL=void 0,this.tt=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return we(this)},t.reportChanged=function(){ye(),_e(this),yn.stateVersion=yn.stateVersion<Number.MAX_SAFE_INTEGER?yn.stateVersion+1:Number.MIN_SAFE_INTEGER,be()},t.toString=function(){return this.tt},e}(),Bt=m("Atom",jt),Ft={identity:function(e,t){return e===t},structural:function(e,t){return yt(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return yt(e,t,1)}},Ht=T({t:"override",u:function(){return 0},o:function(){i("'"+this.t+"' can only be used with 'makeObservable'")}}),zt=q(),Vt={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Vt);var Ut=U("observable"),$t=U("observable.ref",{enhancer:P}),Gt=U("observable.shallow",{enhancer:function(e,t,n){return null==e||ct(e)||at(e)||Wn(e)||Xn(e)?e:Array.isArray(e)?Kt.array(e,{name:n,deep:!1}):d(e)?Kt.object(e,void 0,{name:n,deep:!1}):g(e)?Kt.map(e,{name:n,deep:!1}):v(e)?Kt.set(e,{name:n,deep:!1}):void 0}}),qt=U("observable.struct",{enhancer:function(e,t){return yt(e,t)?t:e}}),Wt=T(Ut);xt(Q,Wt);var Zt,Yt,Kt=xt(Q,{box:function(e,t){var n=Y(t);return new sn(e,K(n),n.name,!0,n.equals)},array:function(e,t){var n=Y(t);return(!1===yn.useProxies||!1===n.proxy?ht:tt)(e,K(n),n.name)},map:function(e,t){var n=Y(t);return new qn(e,K(n),n.name)},set:function(e,t){var n=Y(t);return new Qn(e,K(n),n.name)},object:function(e,t,n){return De(!1===yn.useProxies||!1===(null==n?void 0:n.proxy)?st({},n):function(e,t){var n,r;return a(),null!=(r=(n=(e=st(e,t))[Nt]).v)?r:n.v=new Proxy(e,Dn)}({},n),e,t)},ref:T($t),shallow:T(Gt),deep:Wt,struct:T(qt)}),Qt=H("computed"),Xt=H("computed.struct",{equals:Ft.structural}),Jt=function(e,t){if(c(t))return O(e,t,Qt);if(d(e))return T(H("computed",e));var n=d(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new dn(n)};Object.assign(Jt,Qt),Jt.struct=T(Xt);var en,tn=0,nn=1,rn=null!=(Zt=null==(Yt=Et((function(){}),"name"))?void 0:Yt.configurable)&&Zt,on={value:"action",configurable:!0,writable:!1,enumerable:!1};en=Symbol.toPrimitive;var an,sn=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=Ft.default),(a=e.call(this,r)||this).enhancer=void 0,a.tt=void 0,a.equals=void 0,a.yt=!1,a.ut=void 0,a.ot=void 0,a.wt=void 0,a.dehancer=void 0,a.enhancer=n,a.tt=r,a.equals=o,a.wt=n(t,void 0,r),a}x(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){(e=this.jt(e))!==yn.UNCHANGED&&this.Ot(e)},n.jt=function(e){if(Ye(this)){var t=Qe(this,{object:this,type:In,newValue:e});if(!t)return yn.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.wt,this.tt),this.equals(this.wt,e)?yn.UNCHANGED:e},n.Ot=function(e){var t=this.wt;this.wt=e,this.reportChanged(),Xe(this)&&et(this,{type:In,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.wt)},n.xt=function(e){return Ke(this,e)},n.At=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.tt,object:this,type:In,newValue:this.wt,oldValue:void 0}),Je(this,e)},n.raw=function(){return this.wt},n.toJSON=function(){return this.get()},n.toString=function(){return this.tt+"["+this.wt+"]"},n.valueOf=function(){return y(this.get())},n[en]=function(){return this.valueOf()},t}(jt),ln=m("ObservableValue",sn);an=Symbol.toPrimitive;var cn,un,dn=function(){function e(e){this.R=cn.k,this.C=[],this.I=null,this.X=!1,this.H=!1,this.W=new Set,this.B=0,this.D=0,this.F=0,this.G=cn.T,this.P=0,this.wt=new fn(null),this.tt=void 0,this.gt=void 0,this._t=!1,this.St=!1,this.derivation=void 0,this.Mt=void 0,this.Nt=un.NONE,this.Et=void 0,this.Vt=void 0,this.Rt=void 0,this.Tt=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||i(31),this.derivation=e.get,this.tt=e.name||"ComputedValue",e.set&&(this.Mt=X("ComputedValue-setter",e.set)),this.Vt=e.equals||(e.compareStructural||e.struct?Ft.structural:Ft.default),this.Et=e.context,this.Rt=e.requiresReaction,this.Tt=!!e.keepAlive}var t=e.prototype;return t.q=function(){!function(e){e.G===cn.T&&(e.G=cn.L,e.W.forEach((function(e){e.R===cn.T&&(e.R=cn.L,e.q())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this._t&&i(32,this.tt,this.derivation),0!==yn.inBatch||0!==this.W.size||this.Tt){if(we(this),ae(this)){var e=yn.trackingContext;this.Tt&&!e&&(yn.trackingContext=this),this.trackAndCompute()&&function(e){e.G!==cn.K&&(e.G=cn.K,e.W.forEach((function(t){t.R===cn.L?t.R=cn.K:t.R===cn.T&&(e.G=cn.T)})))}(this),yn.trackingContext=e}}else ae(this)&&(this.kt(),ye(),this.wt=this.Kt(!1),be());var t=this.wt;if(oe(t))throw t.cause;return t},t.set=function(e){if(this.Mt){this.St&&i(33,this.tt),this.St=!0;try{this.Mt.call(this.Et,e)}finally{this.St=!1}}else i(34,this.tt)},t.trackAndCompute=function(){var e=this.wt,t=this.R===cn.k,n=this.Kt(!0),r=t||oe(e)||oe(n)||!this.Vt(e,n);return r&&(this.wt=n),r},t.Kt=function(e){this._t=!0;var t,n=re(!1);if(e)t=se(this,this.derivation,this.Et);else if(!0===yn.disableErrorBoundaries)t=this.derivation.call(this.Et);else try{t=this.derivation.call(this.Et)}catch(e){t=new fn(e)}return ie(n),this._t=!1,t},t.U=function(){this.Tt||(le(this),this.wt=void 0)},t.At=function(e,t){var n=this,r=!0,i=void 0;return Oe((function(){var o=n.get();if(!r||t){var a=ue();e({observableKind:"computed",debugObjectName:n.tt,type:In,object:n,newValue:o,oldValue:i}),de(a)}r=!1,i=o}))},t.kt=function(){},t.toString=function(){return this.tt+"["+this.derivation.toString()+"]"},t.valueOf=function(){return y(this.get())},t[an]=function(){return this.valueOf()},e}(),pn=m("ComputedValue",dn);!function(e){e[e.k=-1]="NOT_TRACKING_",e[e.T=0]="UP_TO_DATE_",e[e.L=1]="POSSIBLY_STALE_",e[e.K=2]="STALE_"}(cn||(cn={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(un||(un={}));var fn=function(e){this.cause=void 0,this.cause=e},hn=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],mn=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0,this.stateVersion=Number.MIN_SAFE_INTEGER},gn=!0,vn=!1,yn=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(gn=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new mn).version&&(gn=!1),gn?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new mn):(setTimeout((function(){vn||i(35)}),1),new mn)}(),bn=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.tt=void 0,this.Lt=void 0,this.Ct=void 0,this.It=void 0,this.C=[],this.I=[],this.R=cn.k,this.B=0,this.D=0,this.P=0,this.J=!1,this.Pt=!1,this.Dt=!1,this.Bt=!1,this.Nt=un.NONE,this.tt=e,this.Lt=t,this.Ct=n,this.It=r}var t=e.prototype;return t.q=function(){this.Y()},t.Y=function(){this.Pt||(this.Pt=!0,yn.pendingReactions.push(this),Se())},t.isScheduled=function(){return this.Pt},t.$=function(){if(!this.J){ye(),this.Pt=!1;var e=yn.trackingContext;if(yn.trackingContext=this,ae(this)){this.Dt=!0;try{this.Lt()}catch(e){this.qt(e)}}yn.trackingContext=e,be()}},t.track=function(e){if(!this.J){ye(),this.Bt=!0;var t=yn.trackingContext;yn.trackingContext=this;var n=se(this,e,void 0);yn.trackingContext=t,this.Bt=!1,this.Dt=!1,this.J&&le(this),oe(n)&&this.qt(n.cause),be()}},t.qt=function(e){var t=this;if(this.Ct)this.Ct(e,this);else{if(yn.disableErrorBoundaries)throw e;yn.suppressReactionErrors||r.error("[mobx] uncaught error in '"+this+"'",e),yn.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.J||(this.J=!0,this.Bt||(ye(),le(this),be()))},t.Z=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[Nt]=this,n},t.toString=function(){return"Reaction["+this.tt+"]"},t.trace=function(){},e}(),wn=function(e){return e()},_n=m("Reaction",bn),Sn=L("action"),xn=L("action.bound",{bound:!0}),En=L("autoAction",{autoAction:!0}),kn=L("autoAction.bound",{autoAction:!0,bound:!0}),Cn=ke(!1);Object.assign(Cn,Sn);var Tn=ke(!0);Object.assign(Tn,En),Cn.bound=T(xn),Tn.bound=T(kn);var On=function(e){return e()},Mn=0;Ne.prototype=Object.create(Error.prototype);var An=N("flow"),Pn=N("flow.bound",{bound:!0}),Ln=Object.assign((function(e,t){if(c(t))return O(e,t,An);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++Mn,o=Cn(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){function s(e){var t;a=void 0;try{t=Cn(r+" - runid: "+i+" - yield "+d++,o.next).call(o,e)}catch(e){return n(e)}u(t)}function c(e){var t;a=void 0;try{t=Cn(r+" - runid: "+i+" - yield "+d++,o.throw).call(o,e)}catch(e){return n(e)}u(t)}function u(e){if(!l(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,c);e.then(u,n)}var d=0;e=n,s(void 0)}));return s.cancel=Cn(r+" - runid: "+i+" - cancel",(function(){try{a&&je(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(Pt,Pt),je(n),e(new Ne)}catch(t){e(t)}})),s};return i.isMobXFlow=!0,i}),An);Ln.bound=T(Pn);var Dn={has:function(e,t){return Ze(e).rt(t)},get:function(e,t){return Ze(e).vt(t)},set:function(e,t,n){var r;return!!c(t)&&(null==(r=Ze(e).lt(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!c(t)&&(null==(n=Ze(e).Gt(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Ze(e).h(t,n))||r},ownKeys:function(e){return Ze(e).et()},preventExtensions:function(){i(13)}},Rn=Symbol("mobx-keys"),In="update",Nn={get:function(e,t){var n=e[Nt];return t===Nt?n:"length"===t?n.Wt():"string"!=typeof t||isNaN(t)?b(Bn,t)?Bn[t]:e[t]:n.vt(parseInt(t))},set:function(e,t,n){var r=e[Nt];return"length"===t&&r.Ht(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.lt(parseInt(t),n),!0},preventExtensions:function(){i(15)}},jn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.Xt=void 0,this.Ut=void 0,this.ft=void 0,this.nt=[],this.ut=void 0,this.ot=void 0,this.Ft=void 0,this.dehancer=void 0,this.v=void 0,this.zt=0,this.Xt=n,this.Ut=r,this.ft=new jt(e),this.Ft=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.$t=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.ct=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.xt=function(e){return Ke(this,e)},t.At=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.v,debugObjectName:this.ft.tt,type:"splice",index:0,added:this.nt.slice(),addedCount:this.nt.length,removed:[],removedCount:0}),Je(this,e)},t.Wt=function(){return this.ft.reportObserved(),this.nt.length},t.Ht=function(e){("number"!=typeof e||isNaN(e)||e<0)&&i("Out of range: "+e);var t=this.nt.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.st(t,0,n)}else this.st(e,t-e)},t.Jt=function(e,t){e!==this.zt&&i(16),this.zt+=t,this.Ut&&t>0&&ft(e+t+1)},t.st=function(e,t,n){var r=this,i=this.nt.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=Tt),Ye(this)){var o=Qe(this,{object:this.v,type:"splice",index:e,removedCount:t,added:n});if(!o)return Tt;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.Ft(e,void 0)})),this.Ut){var a=n.length-t;this.Jt(i,a)}var s=this.Yt(e,t,n);return 0===t&&0===n.length||this.Qt(e,n,s),this.ct(s)},t.Yt=function(e,t,n){var r;if(n.length<1e4)return(r=this.nt).splice.apply(r,[e,t].concat(n));var i=this.nt.slice(e,e+t),o=this.nt.slice(e+t);this.nt.length+=n.length-t;for(var a=0;a<n.length;a++)this.nt[e+a]=n[a];for(var s=0;s<o.length;s++)this.nt[e+n.length+s]=o[s];return i},t.Zt=function(e,t,n){var r=!this.Xt&&!1,i=Xe(this),o=i||r?{observableKind:"array",object:this.v,type:In,debugObjectName:this.ft.tt,index:e,newValue:t,oldValue:n}:null;this.ft.reportChanged(),i&&et(this,o)},t.Qt=function(e,t,n){var r=!this.Xt&&!1,i=Xe(this),o=i||r?{observableKind:"array",object:this.v,debugObjectName:this.ft.tt,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.ft.reportChanged(),i&&et(this,o)},t.vt=function(e){if(!(this.Ut&&e>=this.nt.length))return this.ft.reportObserved(),this.$t(this.nt[e]);r.warn("[mobx] Out of bounds read: "+e)},t.lt=function(e,t){var n=this.nt;if(this.Ut&&e>n.length&&i(17,e,n.length),e<n.length){var r=n[e];if(Ye(this)){var o=Qe(this,{type:In,object:this.v,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.Ft(t,r))!==r&&(n[e]=t,this.Zt(e,t,r))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.st(n.length,0,a)}},e}(),Bn={clear:function(){return this.splice(0)},replace:function(e){var t=this[Nt];return t.st(0,t.nt.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[Nt];switch(arguments.length){case 0:return[];case 1:return o.st(e);case 2:return o.st(e,t)}return o.st(e,t,r)},spliceWithArray:function(e,t,n){return this[Nt].st(e,t,n)},push:function(){for(var e=this[Nt],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.st(e.nt.length,0,n),e.nt.length},pop:function(){return this.splice(Math.max(this[Nt].nt.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Nt],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.st(0,0,n),e.nt.length},reverse:function(){return yn.trackingDerivation&&i(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){yn.trackingDerivation&&i(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Nt],n=t.ct(t.nt).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};nt("concat",rt),nt("flat",rt),nt("includes",rt),nt("indexOf",rt),nt("join",rt),nt("lastIndexOf",rt),nt("slice",rt),nt("toString",rt),nt("toLocaleString",rt),nt("every",it),nt("filter",it),nt("find",it),nt("findIndex",it),nt("flatMap",it),nt("forEach",it),nt("map",it),nt("some",it),nt("reduce",ot),nt("reduceRight",ot);var Fn,Hn,zn=m("ObservableArrayAdministration",jn),Vn={},Un="add";Fn=Symbol.iterator,Hn=Symbol.toStringTag;var $n,Gn,qn=function(){function e(e,t,n){var r=this;void 0===t&&(t=A),void 0===n&&(n="ObservableMap"),this.Ft=void 0,this.tt=void 0,this[Nt]=Vn,this.bt=void 0,this.pt=void 0,this.dt=void 0,this.ut=void 0,this.ot=void 0,this.dehancer=void 0,this.Ft=t,this.tt=n,l(Map)||i(18),this.dt=M("ObservableMap.keys()"),this.bt=new Map,this.pt=new Map,ne(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.rt=function(e){return this.bt.has(e)},t.has=function(e){var t=this;if(!yn.trackingDerivation)return this.rt(e);var n=this.pt.get(e);if(!n){var r=n=new sn(this.rt(e),P,"ObservableMap.key?",!1);this.pt.set(e,r),Pe(r,(function(){return t.pt.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.rt(e);if(Ye(this)){var r=Qe(this,{type:n?In:Un,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.tn(e,t):this.nn(e,t),this},t.delete=function(e){var t=this;if(Ye(this)&&!Qe(this,{type:"delete",object:this,name:e}))return!1;if(this.rt(e)){var n=Xe(this),r=n?{observableKind:"map",debugObjectName:this.tt,type:"delete",object:this,oldValue:this.bt.get(e).wt,name:e}:null;return qe((function(){var n;t.dt.reportChanged(),null==(n=t.pt.get(e))||n.Ot(!1),t.bt.get(e).Ot(void 0),t.bt.delete(e)})),n&&et(this,r),!0}return!1},t.tn=function(e,t){var n=this.bt.get(e);if((t=n.jt(t))!==yn.UNCHANGED){var r=Xe(this),i=r?{observableKind:"map",debugObjectName:this.tt,type:In,object:this,oldValue:n.wt,name:e,newValue:t}:null;n.Ot(t),r&&et(this,i)}},t.nn=function(e,t){var n=this;qe((function(){var r,i=new sn(t,n.Ft,"ObservableMap.key",!1);n.bt.set(e,i),t=i.wt,null==(r=n.pt.get(e))||r.Ot(!0),n.dt.reportChanged()}));var r=Xe(this);r&&et(this,r?{observableKind:"map",debugObjectName:this.tt,type:Un,object:this,name:e,newValue:t}:null)},t.get=function(e){return this.has(e)?this.$t(this.bt.get(e).get()):this.$t(void 0)},t.$t=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.dt.reportObserved(),this.bt.keys()},t.values=function(){var e=this,t=this.keys();return wt({next:function(){var n=t.next(),r=n.done;return{done:r,value:r?void 0:e.get(n.value)}}})},t.entries=function(){var e=this,t=this.keys();return wt({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Fn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=C(this);!(n=r()).done;){var i=n.value;e.call(t,i[1],i[0],this)}},t.merge=function(e){var t=this;return Wn(e)&&(e=new Map(e)),qe((function(){d(e)?function(e){var t=Object.keys(e);if(!Lt)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return Ct.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){return t.set(e[0],e[1])})):g(e)?(e.constructor!==Map&&i(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&i(20,e)})),this},t.clear=function(){var e=this;qe((function(){ce((function(){for(var t,n=C(e.keys());!(t=n()).done;)e.delete(t.value)}))}))},t.replace=function(e){var t=this;return qe((function(){for(var n,r=function(e){if(g(e)||Wn(e))return e;if(Array.isArray(e))return new Map(e);if(d(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return i(21,e)}(e),o=new Map,a=!1,s=C(t.bt.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.bt.get(l);o.set(l,c)}}for(var u,p=C(r.entries());!(u=p()).done;){var f=u.value,h=f[0],m=f[1],v=t.bt.has(h);if(t.set(h,m),t.bt.has(h)){var y=t.bt.get(h);o.set(h,y),v||(a=!0)}}if(!a)if(t.bt.size!==o.size)t.dt.reportChanged();else for(var b=t.bt.keys(),w=o.keys(),_=b.next(),S=w.next();!_.done;){if(_.value!==S.value){t.dt.reportChanged();break}_=b.next(),S=w.next()}t.bt=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.At=function(e){return Je(this,e)},t.xt=function(e){return Ke(this,e)},_(e,[{key:"size",get:function(){return this.dt.reportObserved(),this.bt.size}},{key:Hn,get:function(){return"Map"}}]),e}(),Wn=m("ObservableMap",qn),Zn={};$n=Symbol.iterator,Gn=Symbol.toStringTag;var Yn,Kn,Qn=function(){function e(e,t,n){void 0===t&&(t=A),void 0===n&&(n="ObservableSet"),this.tt=void 0,this[Nt]=Zn,this.bt=new Set,this.ft=void 0,this.ot=void 0,this.ut=void 0,this.dehancer=void 0,this.Ft=void 0,this.tt=n,l(Set)||i(22),this.ft=M(this.tt),this.Ft=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.$t=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;qe((function(){ce((function(){for(var t,n=C(e.bt.values());!(t=n()).done;)e.delete(t.value)}))}))},t.forEach=function(e,t){for(var n,r=C(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(Ye(this)&&!Qe(this,{type:Un,object:this,newValue:e}))return this;if(!this.has(e)){qe((function(){t.bt.add(t.Ft(e,void 0)),t.ft.reportChanged()}));var n=Xe(this);n&&et(this,n?{observableKind:"set",debugObjectName:this.tt,type:Un,object:this,newValue:e}:null)}return this},t.delete=function(e){var t=this;if(Ye(this)&&!Qe(this,{type:"delete",object:this,oldValue:e}))return!1;if(this.has(e)){var n=Xe(this),r=n?{observableKind:"set",debugObjectName:this.tt,type:"delete",object:this,oldValue:e}:null;return qe((function(){t.ft.reportChanged(),t.bt.delete(e)})),n&&et(this,r),!0}return!1},t.has=function(e){return this.ft.reportObserved(),this.bt.has(this.$t(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return wt({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.ft.reportObserved();var e=this,t=0,n=Array.from(this.bt.values());return wt({next:function(){return t<n.length?{value:e.$t(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return Xn(e)&&(e=new Set(e)),qe((function(){Array.isArray(e)||v(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&i("Cannot initialize set from "+e)})),this},t.At=function(e){return Je(this,e)},t.xt=function(e){return Ke(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[$n]=function(){return this.values()},_(e,[{key:"size",get:function(){return this.ft.reportObserved(),this.bt.size}},{key:Gn,get:function(){return"Set"}}]),e}(),Xn=m("ObservableSet",Qn),Jn=Object.create(null),er=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=zt),this.s=void 0,this.nt=void 0,this.tt=void 0,this.in=void 0,this.dt=void 0,this.ot=void 0,this.ut=void 0,this.v=void 0,this.l=void 0,this.rn=void 0,this.en=void 0,this.s=e,this.nt=t,this.tt=n,this.in=r,this.dt=new jt("ObservableObject.keys"),this.l=d(this.s)}var t=e.prototype;return t.at=function(e){return this.nt.get(e).get()},t.ht=function(e,t){var n=this.nt.get(e);if(n instanceof dn)return n.set(t),!0;if(Ye(this)){var r=Qe(this,{type:In,object:this.v||this.s,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.jt(t))!==yn.UNCHANGED){var i=Xe(this),o=i?{type:In,observableKind:"object",debugObjectName:this.tt,object:this.v||this.s,oldValue:n.wt,name:e,newValue:t}:null;n.Ot(t),i&&et(this,o)}return!0},t.vt=function(e){return yn.trackingDerivation&&!b(this.s,e)&&this.rt(e),this.s[e]},t.lt=function(e,t,n){return void 0===n&&(n=!1),b(this.s,e)?this.nt.has(e)?this.ht(e,t):n?Reflect.set(this.s,e,t):(this.s[e]=t,!0):this.o(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.in,n)},t.rt=function(e){if(!yn.trackingDerivation)return e in this.s;this.en||(this.en=new Map);var t=this.en.get(e);return t||(t=new sn(e in this.s,P,"ObservableObject.key?",!1),this.en.set(e,t)),t.get()},t.u=function(e,t){if(!0===t&&(t=this.in),!1!==t){if(!(e in this.s)){var n;if(null!=(n=this.s[It])&&n[e])return;i(1,t.t,this.tt+"."+e.toString())}for(var r=this.s;r&&r!==Ct;){var o=Et(r,e);if(o){var a=t.u(this,e,o,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}ut(this,0,e)}},t.o=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.in),!1===n)return this.h(e,t,r);var i=n.o(this,e,t,r);return i&&ut(this,0,e),i},t.h=function(e,t,n){void 0===n&&(n=!1);try{ye();var r=this.Gt(e);if(!r)return r;if(Ye(this)){var i=Qe(this,{object:this.v||this.s,name:e,type:Un,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=S({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.s,e,t))return!1}else kt(this.s,e,t);this.un(e,t.value)}finally{be()}return!0},t.m=function(e,t,n,r){void 0===r&&(r=!1);try{ye();var i=this.Gt(e);if(!i)return i;if(Ye(this)){var o=Qe(this,{object:this.v||this.s,name:e,type:Un,newValue:t});if(!o)return null;t=o.newValue}var a=lt(e),s={configurable:!yn.safeDescriptors||this.l,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.s,e,s))return!1}else kt(this.s,e,s);var l=new sn(t,n,"ObservableObject.key",!1);this.nt.set(e,l),this.un(e,l.wt)}finally{be()}return!0},t.p=function(e,t,n){void 0===n&&(n=!1);try{ye();var r=this.Gt(e);if(!r)return r;if(Ye(this)&&!Qe(this,{object:this.v||this.s,name:e,type:Un,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.v||this.s;var i=lt(e),o={configurable:!yn.safeDescriptors||this.l,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.s,e,o))return!1}else kt(this.s,e,o);this.nt.set(e,new dn(t)),this.un(e,void 0)}finally{be()}return!0},t.Gt=function(e,t){if(void 0===t&&(t=!1),!b(this.s,e))return!0;if(Ye(this)&&!Qe(this,{object:this.v||this.s,name:e,type:"remove"}))return null;try{var n,r;ye();var i,o=Xe(this),a=this.nt.get(e),s=void 0;if(!a&&o&&(s=null==(i=Et(this.s,e))?void 0:i.value),t){if(!Reflect.deleteProperty(this.s,e))return!1}else delete this.s[e];a&&(this.nt.delete(e),a instanceof sn&&(s=a.wt),_e(a)),this.dt.reportChanged(),null==(n=this.en)||null==(r=n.get(e))||r.set(e in this.s),o&&o&&et(this,{type:"remove",observableKind:"object",object:this.v||this.s,debugObjectName:this.tt,oldValue:s,name:e})}finally{be()}return!0},t.At=function(e){return Je(this,e)},t.xt=function(e){return Ke(this,e)},t.un=function(e,t){var n,r,i=Xe(this);i&&i&&et(this,i?{type:Un,observableKind:"object",debugObjectName:this.tt,object:this.v||this.s,name:e,newValue:t}:null),null==(n=this.en)||null==(r=n.get(e))||r.set(!0),this.dt.reportChanged()},t.et=function(){return this.dt.reportObserved(),Dt(this.s)},t.it=function(){return this.dt.reportObserved(),Object.keys(this.s)},e}(),tr=m("ObservableObjectAdministration",er),nr=dt(0),rr=0,ir=function(){};Yn=ir,Kn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Yn.prototype,Kn):void 0!==Yn.prototype.__proto__?Yn.prototype.__proto__=Kn:Yn.prototype=Kn;var or=function(e,t,n){function r(t,n,r,i){var o;void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this;var a=new jn(r,n,i,!0);if(a.v=E(o),h(E(o),Nt,a),t&&t.length){var s=re(!0);o.spliceWithArray(0,0,t),ie(s)}return Object.defineProperty(E(o),"0",nr),o}x(r,e);var i=r.prototype;return i.concat=function(){this[Nt].ft.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return at(e)?e.slice():e})))},i[n]=function(){var e=this,t=0;return wt({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},_(r,[{key:"length",get:function(){return this[Nt].Wt()},set:function(e){this[Nt].Ht(e)}},{key:t,get:function(){return"Array"}}]),r}(ir,Symbol.toStringTag,Symbol.iterator);Object.entries(Bn).forEach((function(e){var t=e[0];"concat"!==t&&f(or.prototype,t,e[1])})),ft(1e3);var ar=Ct.toString;["Symbol","Map","Set"].forEach((function(e){void 0===o()[e]&&i("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ee,extras:{getDebugName:vt},$mobx:Nt}),t.$mobx=Nt,t.FlowCancellationError=Ne,t.ObservableMap=qn,t.ObservableSet=Qn,t.Reaction=bn,t._allowStateChanges=ne,t._allowStateChangesInsideComputed=Ce,t._allowStateReadsEnd=fe,t._allowStateReadsStart=pe,t._autoAction=Tn,t._endAction=te,t._getAdministration=gt,t._getGlobalState=function(){return yn},t._interceptReads=function(e,t,n){var r;return Wn(e)||at(e)||ln(e)?r=gt(e):ct(e)&&(r=gt(e,t)),r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0}},t._isComputingDerivation=function(){return null!==yn.trackingDerivation},t._resetGlobalState=function(){var e=new mn;for(var t in e)-1===hn.indexOf(t)&&(yn[t]=e[t]);yn.allowStateChanges=!yn.enforceActions},t._startAction=ee,t.action=Cn,t.autorun=Oe,t.comparer=Ft,t.computed=Jt,t.configure=function(e){!0===e.isolateGlobalState&&function(){if((yn.pendingReactions.length||yn.inBatch||yn.isRunningReactions)&&i(36),vn=!0,gn){var e=o();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),yn=new mn}}();var t,n,r=e.useProxies,a=e.enforceActions;if(void 0!==r&&(yn.useProxies="always"===r||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(yn.verifyProxies=!0),void 0!==a){var s="always"===a?"always":"observed"===a;yn.enforceActions=s,yn.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(yn[t]=!!e[t])})),yn.allowStateReads=!yn.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=wn,wn=function(e){return t((function(){return n(e)}))})},t.createAtom=M,t.defineProperty=function(e,t,n){if(ct(e))return e[Nt].h(t,n);i(39)},t.entries=function(e){return ct(e)?Ve(e).map((function(t){return[t,e[t]]})):Wn(e)?Ve(e).map((function(t){return[t,e.get(t)]})):Xn(e)?Array.from(e.entries()):at(e)?e.map((function(e,t){return[t,e]})):void i(7)},t.extendObservable=De,t.flow=Ln,t.flowResult=function(e){return e},t.get=function(e,t){if(Ue(e,t))return ct(e)?e[Nt].vt(t):Wn(e)?e.get(t):at(e)?e[t]:void i(11)},t.getAtom=mt,t.getDebugName=vt,t.getDependencyTree=function(e,t){return Re(mt(e,t))},t.getObserverTree=function(e,t){return Ie(mt(e,t))},t.has=Ue,t.intercept=function(e,t,n){return l(n)?function(e,t,n){return gt(e,t).xt(n)}(e,t,n):function(e,t){return gt(e).xt(t)}(e,t)},t.isAction=Te,t.isBoxedObservable=ln,t.isComputed=function(e){return Fe(e)},t.isComputedProp=function(e,t){return Fe(e,t)},t.isFlow=Be,t.isFlowCancellationError=function(e){return e instanceof Ne},t.isObservable=ze,t.isObservableArray=at,t.isObservableMap=Wn,t.isObservableObject=ct,t.isObservableProp=function(e,t){return He(e,t)},t.isObservableSet=Xn,t.keys=Ve,t.makeAutoObservable=function(e,t,n){if(d(e))return De(e,e,t,n);var r=st(e,n)[Nt];if(!e[Rn]){var i=Object.getPrototypeOf(e),o=new Set([].concat(Dt(e),Dt(i)));o.delete("constructor"),o.delete(Nt),f(i,Rn,o)}ye();try{e[Rn].forEach((function(e){return r.u(e,!t||!(e in t)||t[e])}))}finally{be()}return e},t.makeObservable=function(e,t,n){var r=st(e,n)[Nt];ye();try{null!=t||(t=function(e){return b(e,It)||f(e,It,S({},e[It])),e[It]}(e)),Dt(t).forEach((function(e){return r.u(e,t[e])}))}finally{be()}return e},t.observable=Kt,t.observe=function(e,t,n,r){return l(n)?function(e,t,n,r){return gt(e,t).At(n,r)}(e,t,n,r):function(e,t,n){return gt(e).At(t,n)}(e,t,n)},t.onBecomeObserved=Ae,t.onBecomeUnobserved=Pe,t.onReactionError=function(e){return yn.globalReactionErrorHandlers.push(e),function(){var t=yn.globalReactionErrorHandlers.indexOf(e);t>=0&&yn.globalReactionErrorHandlers.splice(t,1)}},t.override=Ht,t.ownKeys=$e,t.reaction=function(e,t,n){function r(){if(v=!1,!b.J){var t=!1;b.track((function(){var n=ne(!1,(function(){return e(b)}));t=g||!y(u,n),d=u,u=n})),(g&&n.fireImmediately||!g&&t)&&f(u,d,b),g=!1}}var i,o,a,s;void 0===n&&(n=Ot);var l,c,u,d,p=null!=(i=n.name)?i:"Reaction",f=Cn(p,n.onError?(l=n.onError,c=t,function(){try{return c.apply(this,arguments)}catch(e){l.call(this,e)}}):t),h=!n.scheduler&&!n.delay,m=Me(n),g=!0,v=!1,y=n.compareStructural?Ft.structural:n.equals||Ft.default,b=new bn(p,(function(){g||h?r():v||(v=!0,m(r))}),n.onError,n.requiresObservable);return null!=(o=n)&&null!=(a=o.signal)&&a.aborted||b.Y(),b.Z(null==(s=n)?void 0:s.signal)},t.remove=function(e,t){ct(e)?e[Nt].Gt(t):Wn(e)||Xn(e)?e.delete(t):at(e)?("number"!=typeof t&&(t=parseInt(t,10)),e.splice(t,1)):i(9)},t.runInAction=Ce,t.set=function e(t,n,r){if(2!==arguments.length||Xn(t))ct(t)?t[Nt].lt(n,r):Wn(t)?t.set(n,r):Xn(t)?t.add(n):at(t)?("number"!=typeof n&&(n=parseInt(n,10)),n<0&&i("Invalid index: '"+n+"'"),ye(),n>=t.length&&(t.length=n+1),t[n]=r,be()):i(8);else{ye();var o=n;try{for(var a in o)e(t,a,o[a])}finally{be()}}},t.spy=Ee,t.toJS=function(e){return function e(t,n){if(null==t||"object"!=typeof t||t instanceof Date||!ze(t))return t;if(ln(t)||pn(t))return e(t.get(),n);if(n.has(t))return n.get(t);if(at(t)){var r=Ge(n,t,new Array(t.length));return t.forEach((function(t,i){r[i]=e(t,n)})),r}if(Xn(t)){var i=Ge(n,t,new Set);return t.forEach((function(t){i.add(e(t,n))})),i}if(Wn(t)){var o=Ge(n,t,new Map);return t.forEach((function(t,r){o.set(r,e(t,n))})),o}var a=Ge(n,t,{});return $e(t).forEach((function(r){Ct.propertyIsEnumerable.call(t,r)&&(a[r]=e(t[r],n))})),a}(e,new Map)},t.trace=function(){},t.transaction=qe,t.untracked=ce,t.values=function(e){return ct(e)?Ve(e).map((function(t){return e[t]})):Wn(e)?Ve(e).map((function(t){return e.get(t)})):Xn(e)?Array.from(e.values()):at(e)?e.slice():void i(6)},t.when=function(e,t,n){return 1===arguments.length||t&&"object"==typeof t?function(e,t){var n,r,i;if(null!=t&&null!=(n=t.signal)&&n.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var o=new Promise((function(n,o){var a,s=We(e,n,S({},t,{onError:o}));r=function(){s(),o(new Error("WHEN_CANCELLED"))},i=function(){s(),o(new Error("WHEN_ABORTED"))},null==t||null==(a=t.signal)||null==a.addEventListener||a.addEventListener("abort",i)})).finally((function(){var e;return null==t||null==(e=t.signal)||null==e.removeEventListener?void 0:e.removeEventListener("abort",i)}));return o.cancel=r,o}(e,t):We(e,t,n||{})}},57824:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,a=365.25*i;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=i)return s(e,o,i,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},21943:function(e,t,n){"use strict";var r=n(62861),i=n(11895);e.exports=function(e,t){for(var n=[],o=e,a=1;Array.isArray(o);)n.push(o.length),a*=o.length,o=o[0];return 0===n.length?r():(t||(t=r(new Float64Array(a),n)),i(t,e),t)}},11895:function(e,t,n){e.exports=n(86239)({args:["array","scalar","index"],pre:{body:"{}",args:[],thisVars:[],localVars:[]},body:{body:"{\nvar _inline_1_v=_inline_1_arg1_,_inline_1_i\nfor(_inline_1_i=0;_inline_1_i<_inline_1_arg2_.length-1;++_inline_1_i) {\n_inline_1_v=_inline_1_v[_inline_1_arg2_[_inline_1_i]]\n}\n_inline_1_arg0_=_inline_1_v[_inline_1_arg2_[_inline_1_arg2_.length-1]]\n}",args:[{name:"_inline_1_arg0_",lvalue:!0,rvalue:!1,count:1},{name:"_inline_1_arg1_",lvalue:!1,rvalue:!0,count:1},{name:"_inline_1_arg2_",lvalue:!1,rvalue:!0,count:4}],thisVars:[],localVars:["_inline_1_i","_inline_1_v"]},post:{body:"{}",args:[],thisVars:[],localVars:[]},funcName:"convert",blockSize:64})},62861:function(e,t,n){var r=n(16907),i=n(48738),o="undefined"!=typeof Float64Array;function a(e,t){return e[0]-t[0]}function s(){var e,t=this.stride,n=new Array(t.length);for(e=0;e<n.length;++e)n[e]=[Math.abs(t[e]),e];n.sort(a);var r=new Array(n.length);for(e=0;e<r.length;++e)r[e]=n[e][1];return r}function l(e,t){var n=["View",t,"d",e].join("");t<0&&(n="View_Nil"+e);var i="generic"===e;if(-1===t){var o="function "+n+"(a){this.data=a;};var proto="+n+".prototype;proto.dtype='"+e+"';proto.index=function(){return -1};proto.size=0;proto.dimension=-1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function(){return new "+n+"(this.data);};proto.get=proto.set=function(){};proto.pick=function(){return null};return function construct_"+n+"(a){return new "+n+"(a);}";return new Function(o)()}if(0===t){o="function "+n+"(a,d) {this.data = a;this.offset = d};var proto="+n+".prototype;proto.dtype='"+e+"';proto.index=function(){return this.offset};proto.dimension=0;proto.size=1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function "+n+"_copy() {return new "+n+"(this.data,this.offset)};proto.pick=function "+n+"_pick(){return TrivialArray(this.data);};proto.valueOf=proto.get=function "+n+"_get(){return "+(i?"this.data.get(this.offset)":"this.data[this.offset]")+"};proto.set=function "+n+"_set(v){return "+(i?"this.data.set(this.offset,v)":"this.data[this.offset]=v")+"};return function construct_"+n+"(a,b,c,d){return new "+n+"(a,d)}";return new Function("TrivialArray",o)(c[e][0])}o=["'use strict'"];var a=r(t),l=a.map((function(e){return"i"+e})),u="this.offset+"+a.map((function(e){return"this.stride["+e+"]*i"+e})).join("+"),d=a.map((function(e){return"b"+e})).join(","),p=a.map((function(e){return"c"+e})).join(",");o.push("function "+n+"(a,"+d+","+p+",d){this.data=a","this.shape=["+d+"]","this.stride=["+p+"]","this.offset=d|0}","var proto="+n+".prototype","proto.dtype='"+e+"'","proto.dimension="+t),o.push("Object.defineProperty(proto,'size',{get:function "+n+"_size(){return "+a.map((function(e){return"this.shape["+e+"]"})).join("*"),"}})"),1===t?o.push("proto.order=[0]"):(o.push("Object.defineProperty(proto,'order',{get:"),t<4?(o.push("function "+n+"_order(){"),2===t?o.push("return (Math.abs(this.stride[0])>Math.abs(this.stride[1]))?[1,0]:[0,1]}})"):3===t&&o.push("var s0=Math.abs(this.stride[0]),s1=Math.abs(this.stride[1]),s2=Math.abs(this.stride[2]);if(s0>s1){if(s1>s2){return [2,1,0];}else if(s0>s2){return [1,2,0];}else{return [1,0,2];}}else if(s0>s2){return [2,0,1];}else if(s2>s1){return [0,1,2];}else{return [0,2,1];}}})")):o.push("ORDER})")),o.push("proto.set=function "+n+"_set("+l.join(",")+",v){"),i?o.push("return this.data.set("+u+",v)}"):o.push("return this.data["+u+"]=v}"),o.push("proto.get=function "+n+"_get("+l.join(",")+"){"),i?o.push("return this.data.get("+u+")}"):o.push("return this.data["+u+"]}"),o.push("proto.index=function "+n+"_index(",l.join(),"){return "+u+"}"),o.push("proto.hi=function "+n+"_hi("+l.join(",")+"){return new "+n+"(this.data,"+a.map((function(e){return["(typeof i",e,"!=='number'||i",e,"<0)?this.shape[",e,"]:i",e,"|0"].join("")})).join(",")+","+a.map((function(e){return"this.stride["+e+"]"})).join(",")+",this.offset)}");var f=a.map((function(e){return"a"+e+"=this.shape["+e+"]"})),h=a.map((function(e){return"c"+e+"=this.stride["+e+"]"}));o.push("proto.lo=function "+n+"_lo("+l.join(",")+"){var b=this.offset,d=0,"+f.join(",")+","+h.join(","));for(var m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'&&i"+m+">=0){d=i"+m+"|0;b+=c"+m+"*d;a"+m+"-=d}");o.push("return new "+n+"(this.data,"+a.map((function(e){return"a"+e})).join(",")+","+a.map((function(e){return"c"+e})).join(",")+",b)}"),o.push("proto.step=function "+n+"_step("+l.join(",")+"){var "+a.map((function(e){return"a"+e+"=this.shape["+e+"]"})).join(",")+","+a.map((function(e){return"b"+e+"=this.stride["+e+"]"})).join(",")+",c=this.offset,d=0,ceil=Math.ceil");for(m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'){d=i"+m+"|0;if(d<0){c+=b"+m+"*(a"+m+"-1);a"+m+"=ceil(-a"+m+"/d)}else{a"+m+"=ceil(a"+m+"/d)}b"+m+"*=d}");o.push("return new "+n+"(this.data,"+a.map((function(e){return"a"+e})).join(",")+","+a.map((function(e){return"b"+e})).join(",")+",c)}");var g=new Array(t),v=new Array(t);for(m=0;m<t;++m)g[m]="a[i"+m+"]",v[m]="b[i"+m+"]";o.push("proto.transpose=function "+n+"_transpose("+l+"){"+l.map((function(e,t){return e+"=("+e+"===undefined?"+t+":"+e+"|0)"})).join(";"),"var a=this.shape,b=this.stride;return new "+n+"(this.data,"+g.join(",")+","+v.join(",")+",this.offset)}"),o.push("proto.pick=function "+n+"_pick("+l+"){var a=[],b=[],c=this.offset");for(m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'&&i"+m+">=0){c=(c+this.stride["+m+"]*i"+m+")|0}else{a.push(this.shape["+m+"]);b.push(this.stride["+m+"])}");return o.push("var ctor=CTOR_LIST[a.length+1];return ctor(this.data,a,b,c)}"),o.push("return function construct_"+n+"(data,shape,stride,offset){return new "+n+"(data,"+a.map((function(e){return"shape["+e+"]"})).join(",")+","+a.map((function(e){return"stride["+e+"]"})).join(",")+",offset)}"),new Function("CTOR_LIST","ORDER",o.join("\n"))(c[e],s)}var c={float32:[],float64:[],int8:[],int16:[],int32:[],uint8:[],uint16:[],uint32:[],array:[],uint8_clamped:[],bigint64:[],biguint64:[],buffer:[],generic:[]};e.exports=function(e,t,n,r){if(void 0===e)return(0,c.array[0])([]);"number"==typeof e&&(e=[e]),void 0===t&&(t=[e.length]);var a=t.length;if(void 0===n){n=new Array(a);for(var s=a-1,u=1;s>=0;--s)n[s]=u,u*=t[s]}if(void 0===r){r=0;for(s=0;s<a;++s)n[s]<0&&(r-=(t[s]-1)*n[s])}for(var d=function(e){if(i(e))return"buffer";if(o)switch(Object.prototype.toString.call(e)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(e)?"array":"generic"}(e),p=c[d];p.length<=a+1;)p.push(l(d,p.length-1));return(0,p[a+1])(e,t,n,r)}},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},24244:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},20609:function(e,t,n){"use strict";var r=n(4289),i=n(55559),o=n(24244),a=n(75624),s=n(52281),l=i(a(),Object);r(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},75624:function(e,t,n){"use strict";var r=n(24244);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},52281:function(e,t,n){"use strict";var r=n(75624),i=n(4289);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},18987:function(e,t,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(21414),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=a(e),s=t&&"[object String]"===o.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)h&&"prototype"===v||!i.call(e,v)||p.push(String(v));if(l)for(var y=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)y&&"constructor"===u[b]||!i.call(e,u[b])||p.push(u[b]);return p}}e.exports=r},82215:function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(21414),o=Object.keys,a=o?function(e){return o(e)}:n(18987),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},21414:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},92837:function(e,t,n){"use strict";var r=n(82215),i=n(55419)(),o=n(21924),a=Object,s=o("Array.prototype.push"),l=o("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var o=1;o<arguments.length;++o){var u=a(arguments[o]),d=r(u),p=i&&(Object.getOwnPropertySymbols||c);if(p)for(var f=p(u),h=0;h<f.length;++h){var m=f[h];l(u,m)&&s(d,m)}for(var g=0;g<d.length;++g){var v=d[g];if(l(u,v)){var y=u[v];n[v]=y}}}return n}},28162:function(e,t,n){"use strict";var r=n(92837);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),o="";for(var a in i)o+=a;return e!==o}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},11494:function(e,t,n){"use strict";var r=n(25108);function i(e,t,n,i){for(var o=e[t++],a=1<<o,s=a+1,l=s+1,c=o+1,u=(1<<c)-1,d=0,p=0,f=0,h=e[t++],m=new Int32Array(4096),g=null;;){for(;d<16&&0!==h;)p|=e[t++]<<d,d+=8,1===h?h=e[t++]:--h;if(d<c)break;var v=p&u;if(p>>=c,d-=c,v!==a){if(v===s)break;for(var y=v<l?v:g,b=0,w=y;w>a;)w=m[w]>>8,++b;var _=w;if(f+b+(y!==v?1:0)>i)return void r.log("Warning, gif stream longer than expected.");n[f++]=_;var S=f+=b;for(y!==v&&(n[f++]=_),w=y;b--;)w=m[w],n[--S]=255&w,w>>=8;null!==g&&l<4096&&(m[l++]=g<<8|_,l>=u+1&&c<12&&(++c,u=u<<1|1)),g=v}else l=s+1,u=(1<<(c=o+1))-1,g=null}return f!==i&&r.log("Warning, gif stream shorter than expected."),n}try{(function(e,t,n,r){var i=0,o=void 0===(r=void 0===r?{}:r).loop?null:r.loop,a=void 0===r.palette?null:r.palette;if(t<=0||n<=0||t>65535||n>65535)throw new Error("Width/Height invalid.");function s(e){var t=e.length;if(t<2||t>256||t&t-1)throw new Error("Invalid code/color length, must be power of 2 and 2 .. 256.");return t}e[i++]=71,e[i++]=73,e[i++]=70,e[i++]=56,e[i++]=57,e[i++]=97;var l=0,c=0;if(null!==a){for(var u=s(a);u>>=1;)++l;if(u=1<<l,--l,void 0!==r.background){if((c=r.background)>=u)throw new Error("Background index out of range.");if(0===c)throw new Error("Background index explicitly passed as 0.")}}if(e[i++]=255&t,e[i++]=t>>8&255,e[i++]=255&n,e[i++]=n>>8&255,e[i++]=(null!==a?128:0)|l,e[i++]=c,e[i++]=0,null!==a)for(var d=0,p=a.length;d<p;++d){var f=a[d];e[i++]=f>>16&255,e[i++]=f>>8&255,e[i++]=255&f}if(null!==o){if(o<0||o>65535)throw new Error("Loop count invalid.");e[i++]=33,e[i++]=255,e[i++]=11,e[i++]=78,e[i++]=69,e[i++]=84,e[i++]=83,e[i++]=67,e[i++]=65,e[i++]=80,e[i++]=69,e[i++]=50,e[i++]=46,e[i++]=48,e[i++]=3,e[i++]=1,e[i++]=255&o,e[i++]=o>>8&255,e[i++]=0}var h=!1;this.addFrame=function(t,n,r,o,l,c){if(!0===h&&(--i,h=!1),c=void 0===c?{}:c,t<0||n<0||t>65535||n>65535)throw new Error("x/y invalid.");if(r<=0||o<=0||r>65535||o>65535)throw new Error("Width/Height invalid.");if(l.length<r*o)throw new Error("Not enough pixels for the frame size.");var u=!0,d=c.palette;if(null==d&&(u=!1,d=a),null==d)throw new Error("Must supply either a local or global palette.");for(var p=s(d),f=0;p>>=1;)++f;p=1<<f;var m=void 0===c.delay?0:c.delay,g=void 0===c.disposal?0:c.disposal;if(g<0||g>3)throw new Error("Disposal out of range.");var v=!1,y=0;if(void 0!==c.transparent&&null!==c.transparent&&(v=!0,(y=c.transparent)<0||y>=p))throw new Error("Transparent color index.");if((0!==g||v||0!==m)&&(e[i++]=33,e[i++]=249,e[i++]=4,e[i++]=g<<2|(!0===v?1:0),e[i++]=255&m,e[i++]=m>>8&255,e[i++]=y,e[i++]=0),e[i++]=44,e[i++]=255&t,e[i++]=t>>8&255,e[i++]=255&n,e[i++]=n>>8&255,e[i++]=255&r,e[i++]=r>>8&255,e[i++]=255&o,e[i++]=o>>8&255,e[i++]=!0===u?128|f-1:0,!0===u)for(var b=0,w=d.length;b<w;++b){var _=d[b];e[i++]=_>>16&255,e[i++]=_>>8&255,e[i++]=255&_}return i=function(e,t,n,r){e[t++]=n;var i=t++,o=1<<n,a=o-1,s=o+1,l=s+1,c=n+1,u=0,d=0;function p(n){for(;u>=n;)e[t++]=255&d,d>>=8,u-=8,t===i+256&&(e[i]=255,i=t++)}function f(e){d|=e<<u,u+=c,p(8)}var h=r[0]&a,m={};f(o);for(var g=1,v=r.length;g<v;++g){var y=r[g]&a,b=h<<8|y,w=m[b];if(void 0===w){for(d|=h<<u,u+=c;u>=8;)e[t++]=255&d,d>>=8,u-=8,t===i+256&&(e[i]=255,i=t++);4096===l?(f(o),l=s+1,c=n+1,m={}):(l>=1<<c&&++c,m[b]=l++),h=y}else h=w}return f(h),f(s),p(1),i+1===t?e[i]=0:(e[i]=t-i-1,e[t++]=0),t}(e,i,f<2?2:f,l),i},this.end=function(){return!1===h&&(e[i++]=59,h=!0),i},this.getOutputBuffer=function(){return e},this.setOutputBuffer=function(t){e=t},this.getOutputBufferPosition=function(){return i},this.setOutputBufferPosition=function(e){i=e}}),t.N=function(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,o=e[t++],a=o>>7,s=1<<1+(7&o);e[t++],e[t++];var l=null,c=null;a&&(l=t,c=s,t+=3*s);var u=!0,d=[],p=0,f=null,h=0,m=null;for(this.width=n,this.height=r;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,m=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];p=e[t++]|e[t++]<<8,f=e[t++],0==(1&g)&&(f=null),h=g>>2&7,t++;break;case 254:for(;;){if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,w=e[t++]|e[t++]<<8,_=e[t++],S=_>>6&1,x=1<<1+(7&_),E=l,k=c,C=!1;_>>7&&(C=!0,E=t,k=x,t+=3*x);var T=t;for(t++;;){var O;if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}d.push({x:v,y:y,width:b,height:w,has_local_palette:C,palette_offset:E,palette_size:k,data_offset:T,data_length:t-T,transparent_index:f,interlaced:!!S,delay:p,disposal:h});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return d.length},this.loopCount=function(){return m},this.frameInfo=function(e){if(e<0||e>=d.length)throw new Error("Frame index out of range.");return d[e]},this.decodeAndBlitFrameBGRA=function(t,r){var o=this.frameInfo(t),a=o.width*o.height,s=new Uint8Array(a);i(e,o.data_offset,s,a);var l=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var u=o.width,d=n-u,p=u,f=4*(o.y*n+o.x),h=4*((o.y+o.height)*n+o.x),m=f,g=4*d;!0===o.interlaced&&(g+=4*n*7);for(var v=8,y=0,b=s.length;y<b;++y){var w=s[y];if(0===p&&(p=u,(m+=g)>=h&&(g=4*d+4*n*(v-1),m=f+(u+d)*(v<<1),v>>=1)),w===c)m+=4;else{var _=e[l+3*w],S=e[l+3*w+1],x=e[l+3*w+2];r[m++]=x,r[m++]=S,r[m++]=_,r[m++]=255}--p}},this.decodeAndBlitFrameRGBA=function(t,r){var o=this.frameInfo(t),a=o.width*o.height,s=new Uint8Array(a);i(e,o.data_offset,s,a);var l=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var u=o.width,d=n-u,p=u,f=4*(o.y*n+o.x),h=4*((o.y+o.height)*n+o.x),m=f,g=4*d;!0===o.interlaced&&(g+=4*n*7);for(var v=8,y=0,b=s.length;y<b;++y){var w=s[y];if(0===p&&(p=u,(m+=g)>=h&&(g=4*d+4*n*(v-1),m=f+(u+d)*(v<<1),v>>=1)),w===c)m+=4;else{var _=e[l+3*w],S=e[l+3*w+1],x=e[l+3*w+2];r[m++]=_,r[m++]=S,r[m++]=x,r[m++]=255}--p}}}}catch(e){}},99621:function(e,t,n){var r=n(89539),i=n(38249);n(14685).module(i,r),n(50948).module(i,r),n(3369).module(i,r),n(7705).module(i,r),e.exports=i},14685:function(e,t){t.module=function(e,t){"use strict";var n={CURRENT_PAGE_REPORT:{}},r=e.ItemPaginator=function(t){e.Paginator.call(this,t),this.set("pageLinks",1)};t.inherits(r,e.Paginator),r.prototype.renderCurrentPageReport=function(e,t,r){var i;return this.options.translationCache?(n.CURRENT_PAGE_REPORT.hasOwnProperty(this.options.translationCacheKey)||(i="return '"+this.options.translator("CURRENT_PAGE_REPORT").replace("'","'").replace("{FromResult}","' + fromResult + '").replace("{ToResult}","' + toResult + '").replace("{TotalResult}","' + totalResult + '")+"';",n.CURRENT_PAGE_REPORT[this.options.translationCacheKey]=new Function("fromResult, toResult, totalResult",i)),n.CURRENT_PAGE_REPORT[this.options.translationCacheKey](e,t,r)):this.options.translator("CURRENT_PAGE_REPORT").replace("{FromResult}",e).replace("{ToResult}",t).replace("{TotalResult}",r)},r.prototype.render=function(){var e=this.getPaginationData(),t=this.preparePreLink(e.prelink),n='<div class="paginator">';return n+='<span class="paginator-current-report">',n+=this.renderCurrentPageReport(e.fromResult,e.toResult,e.totalResult),n+="</span>",e.first?n+='<a href="'+t+e.first+'" class="paginator-first">'+this.options.translator("FIRST")+"</a>":n+='<span class="paginator-first">'+this.options.translator("FIRST")+"</span>",e.previous?n+='<a href="'+t+e.previous+'" class="paginator-previous">'+this.options.translator("PREVIOUS")+"</a>":n+='<span class="paginator-previous">'+this.options.translator("PREVIOUS")+"</span>",e.next?n+='<a href="'+t+e.next+'" class="paginator-next">'+this.options.translator("NEXT")+"</a>":n+='<span class="paginator-next">'+this.options.translator("NEXT")+"</span>",e.last?n+='<a href="'+t+e.last+'" class="paginator-last">'+this.options.translator("LAST")+"</a>":n+='<span class="paginator-last">'+this.options.translator("LAST")+"</span>",n+="</div>"},e.registerFactory("item",r)}},38249:function(e,t){!function(e){"use strict";var t={},n={NEXT:"Next",PREVIOUS:"Previous",FIRST:"First",LAST:"Last",CURRENT_PAGE_REPORT:"Results {FromResult} - {ToResult} of {TotalResult}"},r=(e.translationKeys=Object.keys(n),function(e){return n[e]}),i=function(e){var t,n,i;for(this.options={totalResult:0,prelink:"",rowsPerPage:10,pageLinks:5,current:1,translator:r,translationCache:!1,translationCacheKey:"en",pageParamName:"page",slashSeparator:!1},n=0,i=(t=Object.keys(e)).length;n<i;n++)this.set(t[n],e[t[n]]);this._result=null};e.Paginator=i,i.prototype={getPaginationData:function(){return this._result||(this._result=this.calc()),this._result},calc:function(){var e,t,n,r,i,o=this.options.totalResult,a=this.options.pageLinks,s=this.options.rowsPerPage,l=this.options.current,c=a%2==0?1:0,u={prelink:this.options.prelink,current:l,previous:null,next:null,first:null,last:null,range:[],fromResult:null,toResult:null,totalResult:o,pageCount:null};if(s<=0)return u;if(n=Math.ceil(o/s),u.pageCount=n,n<2)return u.fromResult=1,u.toResult=o,u;for(l>n&&(l=n,u.current=l),t=l+(i=Math.floor(a/2))-c,(e=l-i)<1&&(t=(e=1)+a-1)>n&&(t=n),t>n&&(e=(t=n)-a+1)<1&&(e=1),r=e;r<=t;r++)u.range.push(r);return l>1&&(u.first=1,u.previous=l-1),l<n&&(u.last=n,u.next=l+1),u.fromResult=(l-1)*s+1,u.toResult=l===n?o:u.fromResult+s-1,u},set:function(e,t){if(this.options.hasOwnProperty(e)){switch(e){case"current":case"totalResult":case"pageLinks":case"rowsPerPage":if(t=parseInt(t,10),isNaN(t))throw new Error('Invalid value for "'+e+'", expected an integer');break;case"translator":if(!(t&&t.constructor&&t.call&&t.apply))throw new Error("Translator must be a function");break;case"translationCacheKey":case"pageParamName":case"prelink":t=String(t)}this.options[e]=t,this._result&&(this._result=null)}},preparePreLink:function(e){return this.options.slashSeparator?("/"!==e[e.length-1]&&(e+="/"),e+this.options.pageParamName+"/"):(-1!==e.indexOf("?")?"?"!==e[e.length-1]&&"&"!==e[e.length-1]&&(e+="&"):e+="?",e+this.options.pageParamName+"=")},render:function(){throw new Error("Implement")}},e.registerFactory=function(e,n){if(t.hasOwnProperty(e))throw new Error(e+" already exists");t[e]=n},e.create=function(e,n){if(t.hasOwnProperty(e))return new t[e](n);throw new Error("Paginator type"+e+" not found in register")}}(t)},50948:function(e,t){t.module=function(e,t){"use strict";var n=function(t){e.Paginator.call(this,t)};e.SearchPaginator=n,t.inherits(n,e.Paginator),n.prototype.render=function(){var e,t,n,r,i=this.getPaginationData(),o='<div class="paginator">';if(i.pageCount<2)return o+="</div>";if(r=this.preparePreLink(i.prelink),i.previous&&(o+='<a href="'+r+i.previous+'" class="paginator-previous">'+this.options.translator("PREVIOUS")+"</a>"),i.range.length)for(e=0,t=i.range.length;e<t;e++)n="paginator-page",i.range[e]===i.current&&(n="paginator-current"),0===e?n+=" paginator-page-first":e===t-1&&(n+=" paginator-page-last"),o+='<a href="'+r+i.range[e]+'" class="'+n+'">'+i.range[e]+"</a>";return i.next&&(o+='<a href="'+r+i.next+'" class="paginator-next">'+this.options.translator("NEXT")+"</a>"),o+="</div>"},e.registerFactory("search",n)}},7705:function(e,t){t.module=function(e,t){"use strict";var n={},r=function(e,t){var n,r,i,o,a,s,l,c,u=(t=t||{}).open||"<%",d=t.close||"%>",p=["var buf = [];","\nwith (paginationData) {","\n buf.push('"];for(i=0,a=e.length;i<a;++i)if(e.slice(i,u.length+i)===u){switch(i+=u.length,e.substr(i,1)){case"=":n="', escape(",r="), '",++i;break;case"-":n="', (",r="), '",++i;break;default:n="');",r="; buf.push('"}for(o=e.indexOf(d,i),s=e.substring(i,o),l=i,c=0;~(c=s.indexOf("\n",c));)c++;p.push(n,s,r),i+=o-l+d.length-1}else"\\"===e.substr(i,1)?p.push("\\\\"):"'"===e.substr(i,1)?p.push("\\'"):"\r"===e.substr(i,1)?p.push(" "):"\n"===e.substr(i,1)?p.push("\\n"):p.push(e.substr(i,1));return p.push("');\n}\nreturn buf.join('');"),p.join("")},i=function(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},o=function(e,t){var n=new Function("paginationData, escape",r(e,t));return function(e){return n.call(this,e,i)}};e.TemplateEngine={parse:r,compile:function(e,t){var r;if((t=t||{}).cache){if(!t.id)throw new Error('"cache" option requires "id"');r=n[t.id]||(n[t.id]=o(e,t))}else r=o(e,t);return r}}}},3369:function(e,t){t.module=function(e,t){"use strict";var n=e.TemplatePaginator=function(t){var n=t.template;if(!n)throw new Error("Template compile to function needed");n.constructor&&n.call&&n.apply||(n=e.TemplateEngine.compile(String(n),t)),e.Paginator.call(this,t),this.renderer=n};t.inherits(n,e.Paginator),n.prototype.render=function(){var t,n,r=this.getPaginationData();for(r.preparedPreLink=this.preparePreLink(r.prelink),r.translations={},t=0,n=e.translationKeys.length;t<n;t++)r.translations[e.translationKeys[t]]=this.options.translator(e.translationKeys[t]);return this.renderer(r)},e.registerFactory("template",n)}},26470:function(e,t,n){"use strict";var r=n(34155);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var e,t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var s;a>=0?s=arguments[a]:(void 0===e&&(e=r.cwd()),s=e),i(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=o(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];i(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,o=r-n,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var l=t.length-s,c=o<l?o:l,u=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===t.charCodeAt(s+d))return t.slice(s+d+1);if(0===d)return t.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?u=d:0===d&&(u=0));break}var p=e.charCodeAt(n+d);if(p!==t.charCodeAt(s+d))break;47===p&&(u=d)}var f="";for(d=n+u+1;d<=r;++d)d!==r&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(s+u):(s+=u,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var n,r=0,o=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!a){r=n+1;break}}else-1===l&&(a=!1,l=n+1),s>=0&&(c===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=l))}return r===o?o=l:-1===o&&(o=e.length),e.slice(r,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else-1===o&&(a=!1,o=n+1);return-1===o?"":e.slice(r,o)},extname:function(e){i(e);for(var t=-1,n=0,r=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===r&&(o=!1,r=s+1),46===l?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),o=47===r;o?(t.root="/",n=1):n=0;for(var a=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=n;--u)if(47!==(r=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===r?-1===a?a=u:1!==d&&(d=1):-1!==a&&(d=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(t.base=t.name=0===s&&o?e.slice(1,l):e.slice(s,l)):(0===s&&o?(t.name=e.slice(1,a),t.base=e.slice(1,l)):(t.name=e.slice(s,a),t.base=e.slice(s,l)),t.ext=e.slice(a,l)),s>0?t.dir=e.slice(0,s-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},14779:function(e,t,n){var r=n(96173);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=i.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(a,f),a=f+d.length,p)s+=p[1];else{var h=e[a],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var _=null!=m&&null!=h&&h!==m,S="+"===b||"*"===b,x="?"===b||"*"===b,E=n[2]||u,k=v||y;r.push({name:g||o++,prefix:m||"",delimiter:E,optional:x,repeat:S,partial:_,asterisk:!!w,pattern:k?c(k):w?".*":"[^"+l(E)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var o="",s=t||{},l=(i||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=s[u.name];if(null==p){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=l(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var p=l(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),a+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return i||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&m?"":"(?="+h+"|$)",u(new RegExp("^"+a,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(f(e[i],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},96173:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},34155:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||c||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},92703:function(e,t,n){"use strict";var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},23353:function(e,t,n){"use strict";var r=n(67294),i=n(83524),o=n(45697);function a(e){return e.split(/\s+/)}function s(e){return e.children?r.Children.only(e.children):null}s.displayName="BodyClassName",s.cache=[],s.propTypes={className:o.string.isRequired},e.exports=i((function(e){return e.map((function(e){return e.className})).filter((function(e,t,n){return n.indexOf(e)===t})).join(" ")}),(function(e){var t=a(document.body.className).filter((function(e){return-1===s.cache.indexOf(e)})),n=a(e);s.cache=n,document.body.className=t.concat(n).join(" ").trim()}))(s)},19165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==y(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(67294)),i=m(n(45697)),o=m(n(7091)),a=m(n(551)),s=m(n(61052)),l=m(n(74185)),c=m(n(74112)),u=m(n(3375)),d=n(81408),p=n(88277),f=n(94765),h=["activeStartDate","defaultActiveStartDate","defaultValue","defaultView","maxDetail","minDetail","value","view"];function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}(this,n)}}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=new Date;M.setFullYear(1,0,1),M.setHours(0,0,0,0);var A,P=new Date(864e13),L="react-calendar",D=["century","decade","year","month"],R=[].concat(function(e){if(Array.isArray(e))return O(e)}(A=D.slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(A)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["day"]);function I(e,t){return D.slice(D.indexOf(e),D.indexOf(t)+1)}function N(e,t,n){return function(e,t,n){return-1!==I(t,n).indexOf(e)}(e,t,n)?e:n}function j(e){return R[D.indexOf(e)]}function B(e,t){if(!e)return null;var n=Array.isArray(e)&&2===e.length?e[t]:e;if(!n)return null;var r=function(e){return e instanceof Date?e:new Date(e)}(n);if(isNaN(r.getTime()))throw new Error("Invalid date: ".concat(e));return r}function F(e,t){var n=e.value,r=e.minDate,i=e.maxDate,o=e.maxDetail,a=B(n,t);if(!a)return null;var s=j(o),l=[d.getBegin,d.getEnd][t](s,a);return(0,f.between)(l,r,i)}var H=function(e){return F(e,0)},z=function(e){return F(e,1)},V=function(e){var t=e.value;return Array.isArray(t)?t:[H,z].map((function(t){return t(e)}))};function U(e){var t=e.maxDate,n=e.maxDetail,r=e.minDate,i=e.minDetail,o=e.value,a=N(e.view,i,n),s=H({value:o,minDate:r,maxDate:t,maxDetail:n})||new Date;return(0,d.getBegin)(a,s)}var $=function(e){return e&&1===[].concat(e).length},G=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(f,e);var t,n,i,p=_(f);function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return C(S(e=p.call.apply(p,[this].concat(n))),"state",{activeStartDate:e.props.defaultActiveStartDate,value:e.props.defaultValue,view:e.props.defaultView}),C(S(e),"setStateAndCallCallbacks",(function(t,n,r){var i=S(e),o=i.activeStartDate,a=i.view,s=e.props,l=s.allowPartialRange,c=s.onActiveStartDateChange,u=s.onChange,d=s.onViewChange,p=s.selectRange,f={activeStartDate:o,view:a};e.setState(t,(function(){var i={action:t.action,activeStartDate:t.activeStartDate||e.activeStartDate,value:t.value||e.value,view:t.view||e.view};function o(e){return e in t&&(y(t[e])!==y(f[e])||(t[e]instanceof Date?t[e].getTime()!==f[e].getTime():t[e]!==f[e]))}(o("activeStartDate")&&c&&c(i),o("view")&&d&&d(i),o("value"))&&(u&&(p&&$(t.value)?l&&u([t.value],n):u(t.value,n)));r&&r(i)}))})),C(S(e),"setActiveStartDate",(function(t,n){e.setStateAndCallCallbacks({action:n,activeStartDate:t})})),C(S(e),"drillDown",(function(t,n){if(e.drillDownAvailable){e.onClickTile(t,n);var r=S(e),i=r.view,o=r.views,a=e.props.onDrillDown,s=o[o.indexOf(i)+1];e.setStateAndCallCallbacks({action:"drillDown",activeStartDate:t,view:s},void 0,a)}})),C(S(e),"drillUp",(function(){if(e.drillUpAvailable){var t=S(e),n=t.activeStartDate,r=t.view,i=t.views,o=e.props.onDrillUp,a=i[i.indexOf(r)-1],s=(0,d.getBegin)(a,n);e.setStateAndCallCallbacks({action:"drillUp",activeStartDate:s,view:a},void 0,o)}})),C(S(e),"onChange",(function(t,n){var r=S(e).value,i=e.props,o=i.goToRangeStartOnSelect,a=i.selectRange;e.onClickTile(t,n);var s,l=a&&!$(r);if(a){var c=S(e).valueType;s=l?(0,d.getBegin)(c,t):(0,d.getValueRange)(c,r,t)}else s=e.getProcessedValue(t);var u=!a||l||o?U(k(k({},e.props),{},{value:s})):null;n.persist(),e.setStateAndCallCallbacks({action:"onChange",activeStartDate:u,value:s},n)})),C(S(e),"onClickTile",(function(t,n){var r=S(e).view,i=e.props,o=i.onClickDay,a=i.onClickDecade,s=i.onClickMonth,l=i.onClickYear,c=function(){switch(r){case"century":return a;case"decade":return l;case"year":return s;case"month":return o;default:throw new Error("Invalid view: ".concat(r,"."))}}();c&&c(t,n)})),C(S(e),"onMouseOver",(function(t){e.setState((function(e){return e.hover&&e.hover.getTime()===t.getTime()?null:{hover:t}}))})),C(S(e),"onMouseLeave",(function(){e.setState({hover:null})})),e}return t=f,(n=[{key:"activeStartDate",get:function(){var e,t,n,r,i,o,a,s,l,c,u,p,f=this.props.activeStartDate,m=this.state.activeStartDate;return f||m||(e=this.props,t=e.activeStartDate,n=e.defaultActiveStartDate,r=e.defaultValue,i=e.defaultView,o=e.maxDetail,a=e.minDetail,s=e.value,l=e.view,c=T(e,h),u=N(l,a,o),(p=t||n)?(0,d.getBegin)(u,p):U(k({maxDetail:o,minDetail:a,value:s||r,view:l||i},c)))}},{key:"value",get:function(){var e=this.props,t=e.selectRange,n=e.value,r=this.state.value;return t&&$(r)?r:void 0!==n?n:r}},{key:"valueType",get:function(){return j(this.props.maxDetail)}},{key:"view",get:function(){var e=this.props,t=e.minDetail,n=e.maxDetail,r=e.view,i=this.state.view;return N(r||i,t,n)}},{key:"views",get:function(){var e=this.props;return I(e.minDetail,e.maxDetail)}},{key:"hover",get:function(){var e=this.props.selectRange,t=this.state.hover;return e?t:null}},{key:"drillDownAvailable",get:function(){var e=this.view,t=this.views;return t.indexOf(e)<t.length-1}},{key:"drillUpAvailable",get:function(){var e=this.view;return this.views.indexOf(e)>0}},{key:"getProcessedValue",value:function(e){var t=this.props,n=t.minDate,r=t.maxDate,i=t.maxDetail,o=t.returnValue;return function(){switch(o){case"start":return H;case"end":return z;case"range":return V;default:throw new Error("Invalid returnValue.")}}()({value:e,minDate:n,maxDate:r,maxDetail:i})}},{key:"renderContent",value:function(e){var t=this.activeStartDate,n=this.onMouseOver,i=this.valueType,o=this.value,a=this.view,p=this.props,f=p.calendarType,h=p.locale,m=p.maxDate,g=p.minDate,y=p.selectRange,b=p.tileClassName,w=p.tileContent,_=p.tileDisabled,S=this.hover,x={activeStartDate:e?(0,d.getBeginNext)(a,t):(0,d.getBegin)(a,t),hover:S,locale:h,maxDate:m,minDate:g,onClick:this.drillDownAvailable?this.drillDown:this.onChange,onMouseOver:y?n:null,tileClassName:b,tileContent:w,tileDisabled:_,value:o,valueType:i};switch(a){case"century":var E=this.props.formatYear;return r.default.createElement(s.default,v({formatYear:E},x));case"decade":var k=this.props.formatYear;return r.default.createElement(l.default,v({formatYear:k},x));case"year":var C=this.props,T=C.formatMonth,O=C.formatMonthYear;return r.default.createElement(c.default,v({formatMonth:T,formatMonthYear:O},x));case"month":var M=this.props,A=M.formatDay,P=M.formatLongDate,L=M.formatShortWeekday,D=M.formatWeekday,R=M.onClickWeekNumber,I=M.showDoubleView,N=M.showFixedNumberOfWeeks,j=M.showNeighboringMonth,B=M.showWeekNumbers,F=this.onMouseLeave;return r.default.createElement(u.default,v({calendarType:f,formatDay:A,formatLongDate:P,formatShortWeekday:L,formatWeekday:D,onClickWeekNumber:R,onMouseLeave:y?F:null,showFixedNumberOfWeeks:void 0!==N?N:I,showNeighboringMonth:j,showWeekNumbers:B},x));default:throw new Error("Invalid view: ".concat(a,"."))}}},{key:"renderNavigation",value:function(){if(!this.props.showNavigation)return null;var e=this.activeStartDate,t=this.view,n=this.views,i=this.props,o=i.formatMonthYear,s=i.formatYear,l=i.locale,c=i.maxDate,u=i.minDate,d=i.navigationAriaLabel,p=i.navigationAriaLive,f=i.navigationLabel,h=i.next2AriaLabel,m=i.next2Label,g=i.nextAriaLabel,v=i.nextLabel,y=i.prev2AriaLabel,b=i.prev2Label,w=i.prevAriaLabel,_=i.prevLabel,S=i.showDoubleView;return r.default.createElement(a.default,{activeStartDate:e,drillUp:this.drillUp,formatMonthYear:o,formatYear:s,locale:l,maxDate:c,minDate:u,navigationAriaLabel:d,navigationAriaLive:p,navigationLabel:f,next2AriaLabel:h,next2Label:m,nextAriaLabel:g,nextLabel:v,prev2AriaLabel:y,prev2Label:b,prevAriaLabel:w,prevLabel:_,setActiveStartDate:this.setActiveStartDate,showDoubleView:S,view:t,views:n})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.inputRef,i=e.selectRange,a=e.showDoubleView,s=this.onMouseLeave,l=this.value,c=[].concat(l);return r.default.createElement("div",{className:(0,o.default)(L,i&&1===c.length&&"".concat(L,"--selectRange"),a&&"".concat(L,"--doubleView"),t),ref:n},this.renderNavigation(),r.default.createElement("div",{className:"".concat(L,"__viewContainer"),onBlur:i?s:null,onMouseLeave:i?s:null},this.renderContent(),a&&this.renderContent(!0)))}}])&&b(t.prototype,n),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.Component);t.default=G,G.defaultProps={goToRangeStartOnSelect:!0,maxDate:P,maxDetail:"month",minDate:M,minDetail:"century",returnValue:"start",showNavigation:!0,showNeighboringMonth:!0};var q=i.default.instanceOf(Date),W=i.default.oneOfType([i.default.string,p.isValue]);G.propTypes={activeStartDate:q,allowPartialRange:i.default.bool,calendarType:p.isCalendarType,className:p.isClassName,defaultActiveStartDate:q,defaultValue:W,defaultView:p.isView,formatDay:i.default.func,formatLongDate:i.default.func,formatMonth:i.default.func,formatMonthYear:i.default.func,formatShortWeekday:i.default.func,formatWeekday:i.default.func,formatYear:i.default.func,goToRangeStartOnSelect:i.default.bool,inputRef:p.isRef,locale:i.default.string,maxDate:p.isMaxDate,maxDetail:i.default.oneOf(D),minDate:p.isMinDate,minDetail:i.default.oneOf(D),navigationAriaLabel:i.default.string,navigationAriaLive:i.default.oneOf(["off","polite","assertive"]),navigationLabel:i.default.func,next2AriaLabel:i.default.string,next2Label:i.default.node,nextAriaLabel:i.default.string,nextLabel:i.default.node,onActiveStartDateChange:i.default.func,onChange:i.default.func,onClickDay:i.default.func,onClickDecade:i.default.func,onClickMonth:i.default.func,onClickWeekNumber:i.default.func,onClickYear:i.default.func,onDrillDown:i.default.func,onDrillUp:i.default.func,onViewChange:i.default.func,prev2AriaLabel:i.default.string,prev2Label:i.default.node,prevAriaLabel:i.default.string,prevLabel:i.default.node,returnValue:i.default.oneOf(["start","end","range"]),selectRange:i.default.bool,showDoubleView:i.default.bool,showFixedNumberOfWeeks:i.default.bool,showNavigation:i.default.bool,showNeighboringMonth:i.default.bool,showWeekNumbers:i.default.bool,tileClassName:i.default.oneOfType([i.default.func,p.isClassName]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),tileDisabled:i.default.func,value:W,view:p.isView}},551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=c(n(67294)),i=c(n(45697)),o=n(6107),a=n(81408),s=n(90686),l=n(88277);function c(e){return e&&e.__esModule?e:{default:e}}var u="react-calendar__navigation";function d(e){var t,n=e.activeStartDate,i=e.drillUp,l=e.formatMonthYear,c=void 0===l?s.formatMonthYear:l,d=e.formatYear,p=void 0===d?s.formatYear:d,f=e.locale,h=e.maxDate,m=e.minDate,g=e.navigationAriaLabel,v=void 0===g?"":g,y=e.navigationAriaLive,b=e.navigationLabel,w=e.next2AriaLabel,_=void 0===w?"":w,S=e.next2Label,x=void 0===S?"»":S,E=e.nextAriaLabel,k=void 0===E?"":E,C=e.nextLabel,T=void 0===C?"›":C,O=e.prev2AriaLabel,M=void 0===O?"":O,A=e.prev2Label,P=void 0===A?"«":A,L=e.prevAriaLabel,D=void 0===L?"":L,R=e.prevLabel,I=void 0===R?"‹":R,N=e.setActiveStartDate,j=e.showDoubleView,B=e.view,F=e.views.indexOf(B)>0,H="century"!==B,z=(0,a.getBeginPrevious)(B,n),V=H&&(0,a.getBeginPrevious2)(B,n),U=(0,a.getBeginNext)(B,n),$=H&&(0,a.getBeginNext2)(B,n),G=function(){if(z.getFullYear()<0)return!0;var e=(0,a.getEndPrevious)(B,n);return m&&m>=e}(),q=H&&function(){if(V.getFullYear()<0)return!0;var e=(0,a.getEndPrevious2)(B,n);return m&&m>=e}(),W=h&&h<U,Z=H&&h&&h<$;function Y(e){var t=function(){switch(B){case"century":return(0,a.getCenturyLabel)(f,p,e);case"decade":return(0,a.getDecadeLabel)(f,p,e);case"year":return p(f,e);case"month":return c(f,e);default:throw new Error("Invalid view: ".concat(B,"."))}}();return b?b({date:e,label:t,locale:f||(0,o.getUserLocale)(),view:B}):t}return r.default.createElement("div",{className:u},null!==P&&H&&r.default.createElement("button",{"aria-label":M,className:"".concat(u,"__arrow ").concat(u,"__prev2-button"),disabled:q,onClick:function(){N(V,"prev2")},type:"button"},P),null!==I&&r.default.createElement("button",{"aria-label":D,className:"".concat(u,"__arrow ").concat(u,"__prev-button"),disabled:G,onClick:function(){N(z,"prev")},type:"button"},I),(t="".concat(u,"__label"),r.default.createElement("button",{"aria-label":v,"aria-live":y,className:t,disabled:!F,onClick:i,style:{flexGrow:1},type:"button"},r.default.createElement("span",{className:"".concat(t,"__labelText ").concat(t,"__labelText--from")},Y(n)),j&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{className:"".concat(t,"__divider")}," – "),r.default.createElement("span",{className:"".concat(t,"__labelText ").concat(t,"__labelText--to")},Y(U))))),null!==T&&r.default.createElement("button",{"aria-label":k,className:"".concat(u,"__arrow ").concat(u,"__next-button"),disabled:W,onClick:function(){N(U,"next")},type:"button"},T),null!==x&&H&&r.default.createElement("button",{"aria-label":_,className:"".concat(u,"__arrow ").concat(u,"__next2-button"),disabled:Z,onClick:function(){N($,"next2")},type:"button"},x))}d.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,drillUp:i.default.func.isRequired,formatMonthYear:i.default.func,formatYear:i.default.func,locale:i.default.string,maxDate:i.default.instanceOf(Date),minDate:i.default.instanceOf(Date),navigationAriaLabel:i.default.string,navigationAriaLive:i.default.string,navigationLabel:i.default.func,next2AriaLabel:i.default.string,next2Label:i.default.node,nextAriaLabel:i.default.string,nextLabel:i.default.node,prev2AriaLabel:i.default.string,prev2Label:i.default.node,prevAriaLabel:i.default.string,prevLabel:i.default.node,setActiveStartDate:i.default.func.isRequired,showDoubleView:i.default.bool,view:l.isView.isRequired,views:l.isViews.isRequired}},61052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.default.createElement("div",{className:"react-calendar__century-view"},r.default.createElement(i.default,e))};var r=o(n(67294)),i=o(n(73039));function o(e){return e&&e.__esModule?e:{default:e}}},31920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r=d(n(67294)),i=d(n(45697)),o=n(51363),a=d(n(96195)),s=n(81408),l=n(90686),c=n(88277),u=["classes","formatYear"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function g(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var v="react-calendar__century-view__decades__decade";function y(e){var t=e.classes,n=e.formatYear,i=void 0===n?l.formatYear:n,c=g(e,u),d=c.date,p=c.locale;return r.default.createElement(a.default,m({},c,{classes:[].concat(t,v),maxDateTransform:o.getDecadeEnd,minDateTransform:o.getDecadeStart,view:"century"}),(0,s.getDecadeLabel)(p,i,d))}y.propTypes=f(f({},c.tileProps),{},{formatYear:i.default.func})},73039:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=c(n(67294)),i=n(51363),o=c(n(65277)),a=c(n(31920)),s=n(81408),l=n(88277);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e){var t=e.activeStartDate,n=(0,s.getBeginOfCenturyYear)(t),l=n+99;return r.default.createElement(o.default,p({},e,{className:"react-calendar__century-view__decades",dateTransform:i.getDecadeStart,dateType:"decade",end:l,start:n,step:10,tile:a.default}))}f.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l.tileGroupProps)},74185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.default.createElement("div",{className:"react-calendar__decade-view"},r.default.createElement(i.default,e))};var r=o(n(67294)),i=o(n(33040));function o(e){return e&&e.__esModule?e:{default:e}}},859:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(96195)),s=n(90686),l=n(88277),c=["classes","formatYear"];function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var g="react-calendar__decade-view__years__year";function v(e){var t=e.classes,n=e.formatYear,i=void 0===n?s.formatYear:n,l=m(e,c),u=l.date,d=l.locale;return r.default.createElement(a.default,h({},l,{classes:[].concat(t,g),maxDateTransform:o.getYearEnd,minDateTransform:o.getYearStart,view:"decade"}),i(d,u))}v.propTypes=p(p({},l.tileProps),{},{formatYear:i.default.func})},33040:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=l(n(67294)),i=l(n(65277)),o=l(n(859)),a=n(81408),s=n(88277);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e){var t=e.activeStartDate,n=(0,a.getBeginOfDecadeYear)(t),s=n+9;return r.default.createElement(i.default,d({},e,{className:"react-calendar__decade-view__years",dateTransform:function(e){var t=new Date;return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t},dateType:"year",end:s,start:n,tile:o.default}))}p.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s.tileGroupProps)},53395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=a(n(67294)),i=a(n(45697)),o=["children","className","direction","count","offset","style","wrap"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e){return"".concat(e,"%")}function f(e){var t=e.children,n=e.className,i=e.direction,a=e.count,l=e.offset,u=e.style,f=e.wrap,h=d(e,o);return r.default.createElement("div",s({className:n,style:c({display:"flex",flexDirection:i,flexWrap:f?"wrap":"no-wrap"},u)},h),r.default.Children.map(t,(function(e,t){return r.default.cloneElement(e,c(c({},e.props),{},{style:{flexBasis:p(100/a),flexShrink:0,flexGrow:0,overflow:"hidden",marginLeft:l&&0===t?p(100*l/a):null}}))})))}f.propTypes={children:i.default.node,className:i.default.string,count:i.default.number.isRequired,direction:i.default.string,offset:i.default.number,style:i.default.objectOf(i.default.oneOfType([i.default.string,i.default.number])),wrap:i.default.bool}},3375:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r=p(n(67294)),i=p(n(45697)),o=p(n(7091)),a=p(n(33115)),s=p(n(58663)),l=p(n(75508)),c=n(49598),u=n(88277),d=["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"];function p(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e){var t=e.activeStartDate,n=e.locale,i=e.onMouseLeave,u=e.showFixedNumberOfWeeks,p=e.calendarType,m=void 0===p?function(e){return Object.keys(c.CALENDAR_TYPE_LOCALES).find((function(t){return c.CALENDAR_TYPE_LOCALES[t].includes(e)}))||c.CALENDAR_TYPES.ISO_8601}(n):p,g=e.formatShortWeekday,v=e.formatWeekday,y=e.onClickWeekNumber,b=e.showWeekNumbers,w=h(e,d);var _="react-calendar__month-view";return r.default.createElement("div",{className:(0,o.default)(_,b?"".concat(_,"--weekNumbers"):"")},r.default.createElement("div",{style:{display:"flex",alignItems:"flex-end"}},b?r.default.createElement(l.default,{activeStartDate:t,calendarType:m,onClickWeekNumber:y,onMouseLeave:i,showFixedNumberOfWeeks:u}):null,r.default.createElement("div",{style:{flexGrow:1,width:"100%"}},r.default.createElement(s.default,{calendarType:m,formatShortWeekday:g,formatWeekday:v,locale:n,onMouseLeave:i}),r.default.createElement(a.default,f({calendarType:m},w)))))}m.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,calendarType:u.isCalendarType,formatShortWeekday:i.default.func,formatWeekday:i.default.func,locale:i.default.string,onClickWeekNumber:i.default.func,onMouseLeave:i.default.func,showFixedNumberOfWeeks:i.default.bool,showWeekNumbers:i.default.bool}},39351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r=d(n(67294)),i=d(n(45697)),o=n(51363),a=d(n(96195)),s=n(81408),l=n(90686),c=n(88277),u=["formatDay","formatLongDate","calendarType","classes","currentMonthIndex"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function g(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var v="react-calendar__month-view__days__day";function y(e){var t=e.formatDay,n=void 0===t?l.formatDay:t,i=e.formatLongDate,c=void 0===i?l.formatLongDate:i,d=e.calendarType,p=e.classes,f=e.currentMonthIndex,h=g(e,u),y=h.date,b=h.locale;return r.default.createElement(a.default,m({},h,{classes:[].concat(p,v,(0,s.isWeekend)(y,d)?"".concat(v,"--weekend"):null,y.getMonth()!==f?"".concat(v,"--neighboringMonth"):null),formatAbbr:c,maxDateTransform:o.getDayEnd,minDateTransform:o.getDayStart,view:"month"}),n(b,y))}y.propTypes=f(f({},c.tileProps),{},{currentMonthIndex:i.default.number.isRequired,formatDay:i.default.func,formatLongDate:i.default.func})},33115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r=d(n(67294)),i=d(n(45697)),o=n(51363),a=d(n(65277)),s=d(n(39351)),l=n(81408),c=n(88277),u=["showFixedNumberOfWeeks","showNeighboringMonth"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){var t=e.activeStartDate,n=e.calendarType,i=e.showFixedNumberOfWeeks,c=e.showNeighboringMonth,d=m(e,u),p=(0,o.getYear)(t),f=(0,o.getMonth)(t),g=i||c,v=(0,l.getDayOfWeek)(t,n),y=g?0:v,b=1+(g?-v:0),w=function(){if(i)return b+42-1;var e=(0,o.getDaysInMonth)(t);if(c){var r=new Date;return r.setFullYear(p,f,e),r.setHours(0,0,0,0),e+(7-(0,l.getDayOfWeek)(r,n)-1)}return e}();return r.default.createElement(a.default,h({},d,{className:"react-calendar__month-view__days",count:7,currentMonthIndex:f,dateTransform:function(e){var t=new Date;return t.setFullYear(p,f,e),t.setHours(0,0,0,0),t},dateType:"day",end:w,offset:y,start:b,tile:s.default}))}g.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({calendarType:c.isCalendarType.isRequired,showFixedNumberOfWeeks:i.default.bool,showNeighboringMonth:i.default.bool},c.tileGroupProps)},57494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=a(n(67294)),i=a(n(45697)),o=["date","onClickWeekNumber","weekNumber"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d="react-calendar__tile";function p(e){var t=e.date,n=e.onClickWeekNumber,i=e.weekNumber,a=u(e,o),p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:d},a),f=r.default.createElement("span",null,i);return n?r.default.createElement("button",s({},p,{onClick:function(e){return n(i,t,e)},type:"button"}),f):r.default.createElement("div",p,f)}p.propTypes={date:i.default.instanceOf(Date).isRequired,onClickWeekNumber:i.default.func,weekNumber:i.default.node.isRequired}},75508:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(57494)),s=u(n(53395)),l=n(81408),c=n(88277);function u(e){return e&&e.__esModule?e:{default:e}}function d(e){var t=e.activeStartDate,n=e.calendarType,i=e.onClickWeekNumber,c=e.onMouseLeave,u=e.showFixedNumberOfWeeks,d=function(){if(u)return 6;var e=(0,o.getDaysInMonth)(t)-(7-(0,l.getDayOfWeek)(t,n));return 1+Math.ceil(e/7)}(),p=function(){for(var e=(0,o.getYear)(t),r=(0,o.getMonth)(t),i=(0,o.getDate)(t),a=[],s=0;s<d;s+=1)a.push((0,l.getBeginOfWeek)(new Date(e,r,i+7*s),n));return a}(),f=p.map((function(e){return(0,l.getWeekNumber)(e,n)}));return r.default.createElement(s.default,{className:"react-calendar__month-view__weekNumbers",count:d,direction:"column",onFocus:c,onMouseOver:c,style:{flexBasis:"calc(100% * (1 / 8)",flexShrink:0}},f.map((function(e,t){return r.default.createElement(a.default,{key:e,date:p[t],onClickWeekNumber:i,weekNumber:e})})))}d.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,calendarType:c.isCalendarType.isRequired,onClickWeekNumber:i.default.func,onMouseLeave:i.default.func,showFixedNumberOfWeeks:i.default.bool}},58663:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r=d(n(67294)),i=d(n(45697)),o=d(n(7091)),a=n(51363),s=d(n(53395)),l=n(81408),c=n(90686),u=n(88277);function d(e){return e&&e.__esModule?e:{default:e}}var p="react-calendar__month-view__weekdays",f="".concat(p,"__weekday");function h(e){for(var t=e.calendarType,n=e.formatShortWeekday,i=void 0===n?c.formatShortWeekday:n,u=e.formatWeekday,d=void 0===u?c.formatWeekday:u,h=e.locale,m=e.onMouseLeave,g=new Date,v=(0,a.getMonthStart)(g),y=(0,a.getYear)(v),b=(0,a.getMonth)(v),w=[],_=1;_<=7;_+=1){var S=new Date(y,b,_-(0,l.getDayOfWeek)(v,t)),x=d(h,S);w.push(r.default.createElement("div",{key:_,className:(0,o.default)(f,(0,l.isWeekend)(S,t)&&"".concat(f,"--weekend"))},r.default.createElement("abbr",{"aria-label":x,title:x},i(h,S).replace(".",""))))}return r.default.createElement(s.default,{className:p,count:7,onFocus:m,onMouseOver:m},w)}h.propTypes={calendarType:u.isCalendarType.isRequired,formatShortWeekday:i.default.func,formatWeekday:i.default.func,locale:i.default.string,onMouseLeave:i.default.func}},96195:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(67294)),o=l(n(45697)),a=l(n(7091)),s=n(88277);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,n)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){return e&&!t||!e&&t||e&&t&&e.getTime()!==t.getTime()}function b(e,t){var n=e.activeStartDate,r=e.date,i=e.view;return"function"==typeof t?t({activeStartDate:n,date:r,view:i}):t}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var t,n,r,o=h(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(m(e=o.call.apply(o,[this].concat(n))),"state",{}),e}return t=s,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.activeStartDate,r=e.tileClassName,i=e.tileContent,o={};return(r!==t.tileClassNameProps||y(n,t.activeStartDateProps))&&(o.tileClassName=b(e,r),o.tileClassNameProps=r),(i!==t.tileContentProps||y(n,t.activeStartDateProps))&&(o.tileContent=b(e,i),o.tileContentProps=i),o.activeStartDateProps=n,o}}],(n=[{key:"render",value:function(){var e=this.props,t=e.activeStartDate,n=e.children,r=e.classes,o=e.date,s=e.formatAbbr,l=e.locale,c=e.maxDate,u=e.maxDateTransform,d=e.minDate,p=e.minDateTransform,f=e.onClick,h=e.onMouseOver,m=e.style,g=e.tileDisabled,v=e.view,y=this.state,b=y.tileClassName,w=y.tileContent;return i.default.createElement("button",{className:(0,a.default)(r,b),disabled:d&&p(d)>o||c&&u(c)<o||g&&g({activeStartDate:t,date:o,view:v}),onClick:f&&function(e){return f(o,e)},onFocus:h&&function(){return h(o)},onMouseOver:h&&function(){return h(o)},style:m,type:"button"},s?i.default.createElement("abbr",{"aria-label":s(l,o)},n):n,w)}}])&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(i.Component);t.default=w,w.propTypes=d(d({},s.tileProps),{},{children:o.default.node.isRequired,formatAbbr:o.default.func,maxDateTransform:o.default.func.isRequired,minDateTransform:o.default.func.isRequired})},65277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r=c(n(67294)),i=c(n(45697)),o=c(n(53395)),a=n(94765),s=n(88277),l=["className","count","dateTransform","dateType","end","hover","offset","start","step","tile","value","valueType"];function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e){for(var t=e.className,n=e.count,i=void 0===n?3:n,s=e.dateTransform,c=e.dateType,u=e.end,d=e.hover,p=e.offset,m=e.start,g=e.step,v=void 0===g?1:g,y=e.tile,b=e.value,w=e.valueType,_=h(e,l),S=[],x=m;x<=u;x+=v){var E=s(x);S.push(r.default.createElement(y,f({key:E.getTime(),classes:(0,a.getTileClasses)({value:b,valueType:w,date:E,dateType:c,hover:d}),date:E,point:x},_)))}return r.default.createElement(o.default,{className:t,count:i,offset:p,wrap:!0},S)}m.propTypes=d(d({},s.tileGroupProps),{},{activeStartDate:i.default.instanceOf(Date),count:i.default.number,dateTransform:i.default.func.isRequired,dateType:i.default.string,offset:i.default.number,step:i.default.number,tile:i.default.func.isRequired})},74112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.default.createElement("div",{className:"react-calendar__year-view"},r.default.createElement(i.default,e))};var r=o(n(67294)),i=o(n(37278));function o(e){return e&&e.__esModule?e:{default:e}}},34835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(96195)),s=n(90686),l=n(88277),c=["classes","formatMonth","formatMonthYear"];function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var g="react-calendar__year-view__months__month";function v(e){var t=e.classes,n=e.formatMonth,i=void 0===n?s.formatMonth:n,l=e.formatMonthYear,u=void 0===l?s.formatMonthYear:l,d=m(e,c),p=d.date,f=d.locale;return r.default.createElement(a.default,h({},d,{classes:[].concat(t,g),formatAbbr:u,maxDateTransform:o.getMonthEnd,minDateTransform:o.getMonthStart,view:"year"}),i(f,p))}v.propTypes=p(p({},l.tileProps),{},{formatMonth:i.default.func,formatMonthYear:i.default.func})},37278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r=c(n(67294)),i=c(n(45697)),o=n(51363),a=c(n(65277)),s=c(n(34835)),l=n(88277);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function h(e){var t=e.activeStartDate,n=(0,o.getYear)(t);return r.default.createElement(a.default,f({},e,{className:"react-calendar__year-view__months",dateTransform:function(e){var t=new Date;return t.setFullYear(n,e,1),t.setHours(0,0,0,0),t},dateType:"month",end:11,start:0,tile:s.default}))}h.propTypes=d(d({},l.tileGroupProps),{},{locale:i.default.string})},81749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Calendar",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"CenturyView",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DecadeView",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MonthView",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"YearView",{enumerable:!0,get:function(){return s.default}}),t.default=void 0;var r=c(n(19165)),i=c(n(551)),o=c(n(61052)),a=c(n(74185)),s=c(n(74112)),l=c(n(3375));function c(e){return e&&e.__esModule?e:{default:e}}var u=r.default;t.default=u},49598:function(e,t){"use strict";var n;function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.WEEKDAYS=t.CALENDAR_TYPE_LOCALES=t.CALENDAR_TYPES=void 0;var o={ARABIC:"Arabic",HEBREW:"Hebrew",ISO_8601:"ISO 8601",US:"US"};t.CALENDAR_TYPES=o;var a=(i(n={},o.US,["en-CA","en-US","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-SV","es-VE","pt-BR"]),i(n,o.ARABIC,["ar","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-YE","dv","dv-MV","ps","ps-AR"]),i(n,o.HEBREW,["he","he-IL"]),n);t.CALENDAR_TYPE_LOCALES=a;var s,l=(s=Array(7),function(e){if(Array.isArray(e))return r(e)}(s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return t}));t.WEEKDAYS=l},90686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatYear=t.formatWeekday=t.formatShortWeekday=t.formatMonthYear=t.formatMonth=t.formatLongDate=t.formatDay=t.formatDate=void 0;var r,i=(r=n(6107))&&r.__esModule?r:{default:r};var o=new Map;function a(e){return function(t,n){return function(e){return function(t,n){var r=t||(0,i.default)();o.has(r)||o.set(r,new Map);var a=o.get(r);return a.has(e)||a.set(e,new Intl.DateTimeFormat(r,e).format),a.get(e)(n)}}(e)(t,function(e){var t=new Date(e);return new Date(t.setHours(12))}(n))}}var s=a({day:"numeric",month:"numeric",year:"numeric"});t.formatDate=s;var l=a({day:"numeric"});t.formatDay=l;var c=a({day:"numeric",month:"long",year:"numeric"});t.formatLongDate=c;var u=a({month:"long"});t.formatMonth=u;var d=a({month:"long",year:"numeric"});t.formatMonthYear=d;var p=a({weekday:"short"});t.formatShortWeekday=p;var f=a({weekday:"long"});t.formatWeekday=f;var h=a({year:"numeric"});t.formatYear=h},81408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBegin=d,t.getBeginNext=function(e,t){switch(e){case"century":return(0,r.getNextCenturyStart)(t);case"decade":return(0,r.getNextDecadeStart)(t);case"year":return(0,r.getNextYearStart)(t);case"month":return(0,r.getNextMonthStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getBeginNext2=void 0,t.getBeginOfCenturyYear=function(e){var t=(0,r.getCenturyStart)(e);return(0,r.getYear)(t)},t.getBeginOfDecadeYear=function(e){var t=(0,r.getDecadeStart)(e);return(0,r.getYear)(t)},t.getBeginOfWeek=u,t.getBeginPrevious=function(e,t){switch(e){case"century":return(0,r.getPreviousCenturyStart)(t);case"decade":return(0,r.getPreviousDecadeStart)(t);case"year":return(0,r.getPreviousYearStart)(t);case"month":return(0,r.getPreviousMonthStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getBeginPrevious2=void 0,t.getCenturyLabel=function(e,t,n){return f(e,t,(0,r.getCenturyRange)(n))},t.getDayOfWeek=c,t.getDecadeLabel=function(e,t,n){return f(e,t,(0,r.getDecadeRange)(n))},t.getEnd=p,t.getEndPrevious=function(e,t){switch(e){case"century":return(0,r.getPreviousCenturyEnd)(t);case"decade":return(0,r.getPreviousDecadeEnd)(t);case"year":return(0,r.getPreviousYearEnd)(t);case"month":return(0,r.getPreviousMonthEnd)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getEndPrevious2=void 0,t.getRange=function(e,t){switch(e){case"century":return(0,r.getCenturyRange)(t);case"decade":return(0,r.getDecadeRange)(t);case"year":return(0,r.getYearRange)(t);case"month":return(0,r.getMonthRange)(t);case"day":return(0,r.getDayRange)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getValueRange=function(e,t,n){var r=[t,n].sort((function(e,t){return e-t}));return[d(e,r[0]),p(e,r[1])]},t.getWeekNumber=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.CALENDAR_TYPES.ISO_8601,o=n===i.CALENDAR_TYPES.US?i.CALENDAR_TYPES.US:i.CALENDAR_TYPES.ISO_8601,a=u(e,n),s=(0,r.getYear)(e)+1;do{t=u(new Date(s,0,o===i.CALENDAR_TYPES.ISO_8601?4:1),n),s-=1}while(e<t);return Math.round((a-t)/6048e5)+1},t.isWeekend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.CALENDAR_TYPES.ISO_8601,n=e.getDay();switch(t){case i.CALENDAR_TYPES.ARABIC:case i.CALENDAR_TYPES.HEBREW:return n===s||n===l;case i.CALENDAR_TYPES.ISO_8601:case i.CALENDAR_TYPES.US:return n===l||n===a;default:throw new Error("Unsupported calendar type.")}};var r=n(51363),i=n(49598),o=n(90686),a=i.WEEKDAYS[0],s=i.WEEKDAYS[5],l=i.WEEKDAYS[6];function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.CALENDAR_TYPES.ISO_8601,n=e.getDay();switch(t){case i.CALENDAR_TYPES.ISO_8601:return(n+6)%7;case i.CALENDAR_TYPES.ARABIC:return(n+1)%7;case i.CALENDAR_TYPES.HEBREW:case i.CALENDAR_TYPES.US:return n;default:throw new Error("Unsupported calendar type.")}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.CALENDAR_TYPES.ISO_8601,n=(0,r.getYear)(e),o=(0,r.getMonth)(e),a=e.getDate()-c(e,t);return new Date(n,o,a)}function d(e,t){switch(e){case"century":return(0,r.getCenturyStart)(t);case"decade":return(0,r.getDecadeStart)(t);case"year":return(0,r.getYearStart)(t);case"month":return(0,r.getMonthStart)(t);case"day":return(0,r.getDayStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}}t.getBeginPrevious2=function(e,t){switch(e){case"decade":return(0,r.getPreviousDecadeStart)(t,-100);case"year":return(0,r.getPreviousYearStart)(t,-10);case"month":return(0,r.getPreviousMonthStart)(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}};function p(e,t){switch(e){case"century":return(0,r.getCenturyEnd)(t);case"decade":return(0,r.getDecadeEnd)(t);case"year":return(0,r.getYearEnd)(t);case"month":return(0,r.getMonthEnd)(t);case"day":return(0,r.getDayEnd)(t);default:throw new Error("Invalid rangeType: ".concat(e))}}t.getBeginNext2=function(e,t){switch(e){case"decade":return(0,r.getNextDecadeStart)(t,100);case"year":return(0,r.getNextYearStart)(t,10);case"month":return(0,r.getNextMonthStart)(t,12);default:throw new Error("Invalid rangeType: ".concat(e))}};function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.formatYear;return(arguments.length>2?arguments[2]:void 0).map((function(n){return t(e,n)})).join(" – ")}t.getEndPrevious2=function(e,t){switch(e){case"decade":return(0,r.getPreviousDecadeEnd)(t,-100);case"year":return(0,r.getPreviousYearEnd)(t,-10);case"month":return(0,r.getPreviousMonthEnd)(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}}},88277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tileProps=t.tileGroupProps=t.isViews=t.isView=t.isValue=t.isRef=t.isMinDate=t.isMaxDate=t.isClassName=t.isCalendarType=void 0;var r,i=(r=n(45697))&&r.__esModule?r:{default:r},o=n(49598);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=Object.values(o.CALENDAR_TYPES),l=["century","decade","year","month"],c=i.default.oneOf(s);t.isCalendarType=c;var u=i.default.oneOfType([i.default.string,i.default.arrayOf(i.default.string)]);t.isClassName=u;var d=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(a(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.maxDate;return i&&r>i?new Error("Invalid prop `".concat(t,"` of type `").concat(a(r),"` supplied to `").concat(n,"`, minDate cannot be larger than maxDate.")):null};t.isMinDate=d;var p=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(a(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.minDate;return i&&r<i?new Error("Invalid prop `".concat(t,"` of type `").concat(a(r),"` supplied to `").concat(n,"`, maxDate cannot be smaller than minDate.")):null};t.isMaxDate=p;var f=i.default.oneOfType([i.default.func,i.default.shape({current:i.default.any})]);t.isRef=f;var h=i.default.oneOfType([i.default.instanceOf(Date),i.default.arrayOf(i.default.instanceOf(Date))]);t.isValue=h;var m=i.default.arrayOf(i.default.oneOf(l));t.isViews=m;var g=function(e,t,n){var r=e[t],i=e.views||l;return void 0!==r&&-1===i.indexOf(r)?new Error("Invalid prop `".concat(t,"` of value `").concat(r,"` supplied to `").concat(n,"`, expected one of [").concat(i.map((function(e){return'"'.concat(e,'"')})).join(", "),"].")):null};t.isView=g,g.isRequired=function(e,t,n){var r=e[t];return r?g(e,t,n):new Error("The prop `".concat(t,"` is marked as required in `").concat(n,"`, but its value is `").concat(r,"`."))};var v={activeStartDate:i.default.instanceOf(Date).isRequired,hover:i.default.instanceOf(Date),locale:i.default.string,maxDate:p,minDate:d,onClick:i.default.func,onMouseOver:i.default.func,tileClassName:i.default.oneOfType([i.default.func,u]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),value:h,valueType:i.default.string};t.tileGroupProps=v;var y={activeStartDate:i.default.instanceOf(Date).isRequired,classes:i.default.arrayOf(i.default.string).isRequired,date:i.default.instanceOf(Date).isRequired,locale:i.default.string,maxDate:p,minDate:d,onClick:i.default.func,onMouseOver:i.default.func,style:i.default.objectOf(i.default.oneOfType([i.default.string,i.default.number])),tileClassName:i.default.oneOfType([i.default.func,u]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),tileDisabled:i.default.func};t.tileProps=y},94765:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.between=function(e,t,n){if(t&&t>e)return t;if(n&&n<e)return n;return e},t.doRangesOverlap=l,t.getTileClasses=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.value,n=e.valueType,o=e.date,u=e.dateType,d=e.hover,p="react-calendar__tile",f=[p];if(!o)return f;if(!Array.isArray(o)&&!u)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var h=new Date,m=Array.isArray(o)?o:(0,r.getRange)(u,o);a(h,m)&&f.push("".concat(p,"--now"));if(!t)return f;if(!Array.isArray(t)&&!n)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var g=Array.isArray(t)?t:(0,r.getRange)(n,t);s(g,m)?f.push("".concat(p,"--active")):l(g,m)&&f.push("".concat(p,"--hasActive"));var v=c(g,m,"".concat(p,"--range"));f.push.apply(f,i(v));var y=[].concat(t);if(d&&1===y.length){var b=c(d>g[0]?[g[0],d]:[d,g[0]],m,"".concat(p,"--hover"));f.push.apply(f,i(b))}return f},t.isRangeWithinRange=s,t.isValueWithinRange=a;var r=n(81408);function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){return t[0]<=e&&t[1]>=e}function s(e,t){return e[0]<=t[0]&&e[1]>=t[1]}function l(e,t){return a(e[0],t)||a(e[1],t)}function c(e,t,n){var r=[];if(l(t,e)){r.push(n);var i=a(e[0],t),o=a(e[1],t);i&&r.push("".concat(n,"Start")),o&&r.push("".concat(n,"End")),i&&o&&r.push("".concat(n,"BothEnds"))}return r}},57384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=d(n(67294)),i=d(n(45697)),o=d(n(7091)),a=n(51363),s=d(n(72419)),l=d(n(29705)),c=d(n(48111)),u=n(56949);function d(e){return e&&e.__esModule?e:{default:e}}function p(e){var t,n=e.className,i=e.formatHour,u=e.hourHandLength,d=void 0===u?50:u,p=e.hourHandOppositeLength,f=e.hourHandWidth,h=void 0===f?4:f,m=e.hourMarksLength,g=void 0===m?10:m,v=e.hourMarksWidth,y=void 0===v?3:v,b=e.locale,w=e.minuteHandLength,_=void 0===w?70:w,S=e.minuteHandOppositeLength,x=e.minuteHandWidth,E=void 0===x?2:x,k=e.minuteMarksLength,C=void 0===k?6:k,T=e.minuteMarksWidth,O=void 0===T?1:T,M=e.renderHourMarks,A=void 0===M||M,P=e.renderMinuteHand,L=void 0===P||P,D=e.renderMinuteMarks,R=void 0===D||D,I=e.renderNumbers,N=e.renderSecondHand,j=void 0===N||N,B=e.secondHandLength,F=void 0===B?90:B,H=e.secondHandOppositeLength,z=e.secondHandWidth,V=void 0===z?1:z,U=e.size,$=void 0===U?150:U,G=e.value;return r.default.createElement("time",{className:(0,o.default)("react-clock",n),dateTime:G instanceof Date?G.toISOString():G,style:{width:"".concat($,"px"),height:"".concat($,"px")}},r.default.createElement("div",{className:"react-clock__face"},function(){if(!R)return null;for(var e=[],t=1;t<=60;t+=1)A&&!(t%5)||e.push(r.default.createElement(l.default,{key:"minute_".concat(t),angle:6*t,length:C,name:"minute",width:O}));return e}(),function(){if(!A)return null;for(var e=[],t=1;t<=12;t+=1)e.push(r.default.createElement(c.default,{key:"hour_".concat(t),angle:30*t,formatHour:i,length:g,locale:b,name:"hour",number:I?t:null,width:y}));return e}()),(t=G?30*(0,a.getHours)(G)+(0,a.getMinutes)(G)/2+(0,a.getSeconds)(G)/600:0,r.default.createElement(s.default,{angle:t,length:d,name:"hour",oppositeLength:p,width:h})),function(){if(!L)return null;var e=G?360*(0,a.getHours)(G)+6*(0,a.getMinutes)(G)+(0,a.getSeconds)(G)/10:0;return r.default.createElement(s.default,{angle:e,length:_,name:"minute",oppositeLength:S,width:E})}(),function(){if(!j)return null;var e=G?360*(0,a.getMinutes)(G)+6*(0,a.getSeconds)(G):0;return r.default.createElement(s.default,{angle:e,length:F,name:"second",oppositeLength:H,width:V})}())}p.propTypes={className:i.default.oneOfType([i.default.string,i.default.arrayOf(i.default.string)]),formatHour:i.default.func,hourHandLength:u.isHandLength,hourHandOppositeLength:u.isOppositeHandLength,hourHandWidth:u.isHandWidth,hourMarksLength:u.isMarkLength,hourMarksWidth:u.isMarkWidth,locale:i.default.string,minuteHandLength:u.isHandLength,minuteHandOppositeLength:u.isOppositeHandLength,minuteHandWidth:u.isHandWidth,minuteMarksLength:u.isMarkLength,minuteMarksWidth:u.isMarkWidth,renderHourMarks:i.default.bool,renderMinuteHand:i.default.bool,renderMinuteMarks:i.default.bool,renderNumbers:i.default.bool,renderSecondHand:i.default.bool,secondHandLength:u.isHandLength,secondHandOppositeLength:u.isOppositeHandLength,secondHandWidth:u.isHandWidth,size:i.default.number,value:i.default.oneOfType([i.default.string,i.default.instanceOf(Date)])}},72419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=a(n(67294)),i=a(n(45697)),o=n(56949);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.angle,n=void 0===t?0:t,i=e.name,o=e.length,a=void 0===o?100:o,s=e.oppositeLength,l=void 0===s?10:s,c=e.width,u=void 0===c?1:c;return r.default.createElement("div",{className:"react-clock__hand react-clock__".concat(i,"-hand"),style:{transform:"rotate(".concat(n,"deg)")}},r.default.createElement("div",{className:"react-clock__hand__body react-clock__".concat(i,"-hand__body"),style:{width:"".concat(u,"px"),top:"".concat(50-a/2,"%"),bottom:"".concat(50-l/2,"%")}}))}s.propTypes={angle:i.default.number,length:o.isHandLength,name:i.default.string.isRequired,oppositeLength:o.isHandLength,width:i.default.number}},48111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=l(n(67294)),i=l(n(45697)),o=l(n(15241)),a=n(74980),s=["formatHour","locale","number"];function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function d(e){var t=e.formatHour,n=void 0===t?a.formatHour:t,i=e.locale,l=e.number,d=u(e,s);return r.default.createElement(o.default,c({number:l&&n(i,l)},d))}d.propTypes={formatHour:i.default.func,locale:i.default.string,number:i.default.oneOfType([i.default.number,i.default.string])}},15241:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=a(n(67294)),i=a(n(45697)),o=n(56949);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.angle,n=void 0===t?0:t,i=e.length,o=void 0===i?10:i,a=e.name,s=e.width,l=void 0===s?1:s,c=e.number;return r.default.createElement("div",{className:"react-clock__mark react-clock__".concat(a,"-mark"),style:{transform:"rotate(".concat(n,"deg)")}},r.default.createElement("div",{className:"react-clock__mark__body react-clock__".concat(a,"-mark__body"),style:{width:"".concat(l,"px"),top:0,bottom:"".concat(100-o/2,"%")}}),c&&r.default.createElement("div",{className:"react-clock__mark__number",style:{transform:"rotate(-".concat(n,"deg)"),top:"".concat(o/2,"%")}},c))}s.propTypes={angle:i.default.number,length:o.isMarkLength,name:i.default.string.isRequired,number:i.default.oneOfType([i.default.number,i.default.string]),width:o.isMarkWidth}},29705:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.default.createElement(i.default,e)};var r=o(n(67294)),i=o(n(15241));function o(e){return e&&e.__esModule?e:{default:e}}},49027:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(57384))&&r.__esModule?r:{default:r}).default;t.default=i},74980:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatHour=void 0;var r,i=(r=n(6107))&&r.__esModule?r:{default:r};t.formatHour=function(e,t){return t.toLocaleString(e||(0,i.default)())}},56949:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOppositeHandLength=t.isMarkWidth=t.isMarkLength=t.isHandWidth=t.isHandLength=void 0;var r=n(63421);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o=function(e,t){return function(n,o,a){var s=n[o];if((0,r.isDefined)(s)){if("number"!=typeof s)return new Error("Invalid prop `".concat(o,"` of type `").concat(i(s),"` supplied to `").concat(a,"`, expected `number`."));if(s<e||s>t)return new Error("Invalid prop `".concat(o,"` of type `").concat(i(s),"` supplied to `").concat(a,"`, length must be between ").concat(e," and ").concat(t,"."))}return null}},a=o(0,100);t.isHandLength=a;var s=o(-100,100);t.isOppositeHandLength=s;var l=function(e,t,n){var o=e[t];if((0,r.isDefined)(o)){if("number"!=typeof o)return new Error("Invalid prop `".concat(t,"` of type `").concat(i(o),"` supplied to `").concat(n,"`, expected `number`."));if(o<0)return new Error("Invalid prop `".concat(t,"` of type `").concat(i(o),"` supplied to `").concat(n,"`, width must be greater or equal to 0."))}return null};t.isHandWidth=l;var c=a;t.isMarkLength=c;var u=l;t.isMarkWidth=u},63421:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=function(e){return void 0!==e}},11768:function(e,t,n){"use strict";var r=n(34155);var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var o=s(n(76489)),a=s(n(27418));function s(e){return e&&e.__esModule?e:{default:e}}var l="undefined"==typeof document||void 0!==r&&r.env&&!1,c={},u=void 0;function d(){return u&&!u.headersSent}function p(e,t){var n=l?c:o.default.parse(document.cookie),r=n&&n[e];if(void 0===t&&(t=!r||"{"!==r[0]&&"["!==r[0]),!t)try{r=JSON.parse(r)}catch(e){}return r}function f(e){var t=l?c:o.default.parse(document.cookie);if(void 0===e&&(e=!t||"{"!==t[0]&&"["!==t[0]),!e)try{t=JSON.parse(t)}catch(e){}return t}function h(e){var t=l?c:o.default.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var i={};return i[r]=t[r],(0,a.default)({},n,i)}),{}):t:{}}function m(e,t,n){c[e]=t,"object"===(void 0===t?"undefined":i(t))&&(c[e]=JSON.stringify(t)),l||(document.cookie=o.default.serialize(e,c[e],n)),d()&&u.cookie&&u.cookie(e,t,n)}function g(e,t){delete c[e],t=void 0===t?{}:"string"==typeof t?{path:t}:(0,a.default)({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=o.default.serialize(e,"",t)),d()&&u.clearCookie&&u.clearCookie(e,t)}function v(e){c=e?o.default.parse(e):{}}function y(e,t){return e.cookie?c=e.cookie:e.cookies?c=e.cookies:e.headers&&e.headers.cookie?v(e.headers.cookie):c={},u=t,function(){u=null,c={}}}t.ZP={setRawCookie:v,load:p,loadAll:f,select:h,save:m,remove:g,plugToRequest:y}},4322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(68528)),s=n(27113),l=n(17333),c=["maxDate","minDate","month","year"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){var t=e.maxDate,n=e.minDate,i=e.month,s=e.year,u=p(e,c),f=i?(0,o.getDaysInMonth)(new Date(s,i-1,1)):31;function h(e){return e&&s===(0,o.getYear)(e).toString()&&i===(0,o.getMonthHuman)(e).toString()}var m=(0,l.safeMin)(f,h(t)&&(0,o.getDate)(t)),g=(0,l.safeMax)(1,h(n)&&(0,o.getDate)(n));return r.default.createElement(a.default,d({max:m,min:g,name:"day"},u))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,inputRef:s.isRef,maxDate:s.isMaxDate,minDate:s.isMinDate,month:i.default.string,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string,year:i.default.string}},68528:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var i=d(n(67294)),o=d(n(45697)),a=d(n(7091)),s=d(n(27901)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(3746)),c=n(27113);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}var p="undefined"!=typeof window&&/(MSIE|Trident\/|Edge\/)/.test(window.navigator.userAgent),f="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);function h(e){var t=e.target;p?requestAnimationFrame((function(){return t.select()})):t.select()}function m(e){if(document.fonts){var t=(0,l.getFontShorthand)(e);if(t)document.fonts.check(t)||document.fonts.addEventListener("loadingdone",(function(){(0,l.default)(e)}))}}function g(e){return function(t){if(!f){var n=t.key,r=t.target,i=r.value,o=1===n.length&&/\d/.test(n),a=function(e){return e&&"selectionStart"in e&&null!==e.selectionStart?e.value.slice(e.selectionStart,e.selectionEnd):"getSelection"in window?window.getSelection().toString():null}(r);o&&(a||i.length<e)||t.preventDefault()}}}function v(e){var t=e.ariaLabel,n=e.autoFocus,r=e.className,o=e.disabled,c=e.inputRef,u=e.max,d=e.min,p=e.name,f=e.nameForClass,v=e.onChange,y=e.onKeyDown,b=e.onKeyUp,w=e.placeholder,_=void 0===w?"--":w,S=e.required,x=e.showLeadingZeros,E=e.step,k=e.value,C=x&&k&&k<10&&("0"===k||!k.toString().startsWith("0")),T=u?u.toString().length:null;return[C&&i.default.createElement("span",{key:"leadingZero",className:"".concat(r,"__leadingZero")},"0"),i.default.createElement("input",{key:"input","aria-label":t,autoComplete:"off",autoFocus:n,className:(0,a.default)("".concat(r,"__input"),"".concat(r,"__").concat(f||p),C&&"".concat(r,"__input--hasLeadingZero")),"data-input":"true",disabled:o,inputMode:"numeric",max:u,min:d,name:p,onChange:v,onFocus:h,onKeyDown:y,onKeyPress:g(T),onKeyUp:function(e){(0,l.default)(e.target),b&&b(e)},placeholder:_,ref:(0,s.default)(l.default,m,c),required:S,step:E,type:"number",value:null!==k?k:""})]}v.propTypes={ariaLabel:o.default.string,autoFocus:o.default.bool,className:o.default.string.isRequired,disabled:o.default.bool,inputRef:c.isRef,max:o.default.number,min:o.default.number,name:o.default.string,nameForClass:o.default.string,onChange:o.default.func,onKeyDown:o.default.func,onKeyUp:o.default.func,placeholder:o.default.string,required:o.default.bool,showLeadingZeros:o.default.bool,step:o.default.number,value:o.default.string}},90629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(68528)),s=n(27113),l=n(17333),c=["maxDate","minDate","year"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){var t=e.maxDate,n=e.minDate,i=e.year,s=p(e,c);function u(e){return e&&i===(0,o.getYear)(e).toString()}var f=(0,l.safeMin)(12,u(t)&&(0,o.getMonthHuman)(t)),h=(0,l.safeMax)(1,u(n)&&(0,o.getMonthHuman)(n));return r.default.createElement(a.default,d({max:f,min:h,name:"month"},s))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,inputRef:s.isRef,maxDate:s.isMaxDate,minDate:s.isMinDate,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string,year:i.default.string}},40939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r=d(n(67294)),i=d(n(45697)),o=d(n(7091)),a=n(51363),s=n(62443),l=n(27113),c=n(17333),u=["ariaLabel","className","inputRef","locale","maxDate","minDate","placeholder","short","value","year"];function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){var t=e.ariaLabel,n=e.className,i=e.inputRef,l=e.locale,d=e.maxDate,h=e.minDate,g=e.placeholder,v=void 0===g?"--":g,y=e.short,b=e.value,w=e.year,_=m(e,u);function S(e){return e&&w===(0,a.getYear)(e).toString()}var x=(0,c.safeMin)(12,S(d)&&(0,a.getMonthHuman)(d)),E=(0,c.safeMax)(1,S(h)&&(0,a.getMonthHuman)(h)),k=f(Array(12)).map((function(e,t){return new Date(2019,t,1)})),C="month",T=y?s.formatShortMonth:s.formatMonth;return r.default.createElement("select",p({"aria-label":t,className:(0,o.default)("".concat(n,"__input"),"".concat(n,"__").concat(C)),"data-input":"true","data-select":"true",name:C,ref:i,value:null!==b?b:""},_),!b&&r.default.createElement("option",{value:""},v),k.map((function(e){var t=(0,a.getMonthHuman)(e),n=t<E||t>x;return r.default.createElement("option",{key:t,disabled:n,value:t},T(l,e))})))}g.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,inputRef:l.isRef,locale:i.default.string,maxDate:l.isMaxDate,minDate:l.isMinDate,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,short:i.default.bool,value:i.default.string,year:i.default.string}},66931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(68528)),s=n(27113),l=n(17333),c=["maxDate","minDate","placeholder","valueType"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){var t=e.maxDate,n=e.minDate,i=e.placeholder,s=void 0===i?"----":i,u=e.valueType,f=p(e,c),h=(0,l.safeMin)(275760,t&&(0,o.getYear)(t)),m=(0,l.safeMax)(1,n&&(0,o.getYear)(n)),g="century"===u?10:1;return r.default.createElement(a.default,d({max:h,min:m,name:"year",placeholder:s,step:g},f))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,inputRef:s.isRef,maxDate:s.isMaxDate,minDate:s.isMinDate,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,value:i.default.string,valueType:s.isValueType}},62443:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatShortMonth=t.formatMonth=void 0,t.getFormatter=a;var r,i=(r=n(6107))&&r.__esModule?r:{default:r};var o=new Map;function a(e){return function(t,n){var r=t||(0,i.default)();o.has(r)||o.set(r,new Map);var a=o.get(r);return a.has(e)||a.set(e,new Intl.DateTimeFormat(r,e).format),a.get(e)(n)}}function s(e){return function(t,n){return a(e)(t,function(e){var t=new Date(e);return new Date(t.setHours(12))}(n))}}var l=s({month:"long"});t.formatMonth=l;var c=s({month:"short"});t.formatShortMonth=c},27113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValueType=t.isRef=t.isMinDate=t.isMaxDate=void 0;var r,i=(r=n(45697))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,l=[].concat(function(e){if(Array.isArray(e))return a(e)}(s=["century","decade","year","month"].slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["day"]),c=i.default.oneOf(l);t.isValueType=c;t.isMinDate=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.maxDate;return i&&r>i?new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, minDate cannot be larger than maxDate.")):null};t.isMaxDate=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.minDate;return i&&r<i?new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, maxDate cannot be smaller than minDate.")):null};var u=i.default.oneOfType([i.default.func,i.default.shape({current:i.default.any})]);t.isRef=u},17333:function(e,t){"use strict";function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return null!==e&&!1!==e&&!Number.isNaN(Number(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.between=function(e,t,n){if(t&&t>e)return t;if(n&&n<e)return n;return e},t.safeMax=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Math.max.apply(Math,n(t.filter(i)))},t.safeMin=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Math.min.apply(Math,n(t.filter(i)))}},34525:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(67294)),o=S(n(45697)),a=n(51363),s=S(n(4322)),l=S(n(90629)),c=S(n(40939)),u=S(n(66931)),d=S(n(688)),p=S(n(9452)),f=S(n(74075)),h=S(n(77260)),m=S(n(75239)),g=S(n(53802)),v=S(n(26790)),y=n(99555),b=n(18606),w=n(70736),_=n(92609);function S(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||D(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=A(e);if(t){var o=A(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}(this,n)}}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var I=new Date;I.setFullYear(1,0,1),I.setHours(0,0,0,0);var N=new Date(864e13),j=["hour","minute","second"];function B(e,t){return e&&!t||!e&&t||e&&t&&e.getTime()!==t.getTime()}function F(e,t,n,r){return t===(0,a.getYear)(e).toString()&&n===(0,a.getMonthHuman)(e).toString()&&r===(0,a.getDate)(e).toString()}function H(e,t){if(!e)return null;var n=Array.isArray(e)&&2===e.length?e[t]:e;if(!n)return null;var r=function(e){return e instanceof Date?e:new Date(e)}(n);if(isNaN(r.getTime()))throw new Error("Invalid date: ".concat(e));return r}function z(e,t){var n=e.value,r=e.minDate,i=e.maxDate,o=H(n,t);return o?(0,_.between)(o,r,i):null}var V=function(e){return z(e,0)};function U(e){return"INPUT"===e.tagName&&"number"===e.type}function $(e,t){var n=e;do{n=n[t]}while(n&&!U(n));return n}function G(e){e&&e.focus()}var q=(0,y.getNumberFormatter)({useGrouping:!1}),W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(w,e);var t,n,r,o=O(w);function w(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return P(M(e=o.call.apply(o,[this].concat(n))),"state",{amPm:null,year:null,month:null,day:null,hour:null,minute:null,second:null}),P(M(e),"dayInput",(0,i.createRef)()),P(M(e),"monthInput",(0,i.createRef)()),P(M(e),"yearInput",(0,i.createRef)()),P(M(e),"amPmInput",(0,i.createRef)()),P(M(e),"hour12Input",(0,i.createRef)()),P(M(e),"hour24Input",(0,i.createRef)()),P(M(e),"minuteInput",(0,i.createRef)()),P(M(e),"secondInput",(0,i.createRef)()),P(M(e),"onClick",(function(e){e.target===e.currentTarget&&G(e.target.children[1])})),P(M(e),"onKeyDown",(function(t){switch(t.key){case"ArrowLeft":case"ArrowRight":case e.dateDivider:case e.timeDivider:t.preventDefault(),G($(t.target,"ArrowLeft"===t.key?"previousElementSibling":"nextElementSibling"))}})),P(M(e),"onKeyUp",(function(e){var t=e.key,n=e.target;if(!isNaN(parseInt(t,10))){var r=n.value,i=n.getAttribute("max");if(10*r>i||r.length>=i.length){G($(n,"nextElementSibling"))}}})),P(M(e),"onChange",(function(t){var n=t.target,r=n.name,i=n.value;switch(r){case"hour12":e.setState((function(e){return{hour:i?(0,b.convert12to24)(parseInt(i,10),e.amPm).toString():""}}),e.onChangeExternal);break;case"hour24":e.setState({hour:i},e.onChangeExternal);break;default:e.setState(P({},r,i),e.onChangeExternal)}})),P(M(e),"onChangeNative",(function(t){var n=e.props.onChange,r=t.target.value;n&&n(function(){if(!r)return null;var e=k(r.split("T"),2),t=e[0],n=e[1],i=k(t.split("-"),3),o=i[0],a=i[1],s=i[2],l=parseInt(o,10),c=parseInt(a,10)-1||0,u=parseInt(s,10)||1,d=k(n.split(":"),3),p=d[0],f=d[1],h=d[2],m=parseInt(p,10)||0,g=parseInt(f,10)||0,v=parseInt(h,10)||0,y=new Date;return y.setFullYear(l,c,u),y.setHours(m,g,v,0),y}(),!1)})),P(M(e),"onChangeAmPm",(function(t){var n=t.target.value;e.setState({amPm:n},e.onChangeExternal)})),P(M(e),"onChangeExternal",(function(){var t=e.props.onChange;if(t){var n=[e.amPmInput.current,e.dayInput.current,e.monthInput.current,e.yearInput.current,e.hour12Input.current,e.hour24Input.current,e.minuteInput.current,e.secondInput.current].filter(Boolean),r=n.slice(1),i={};if(n.forEach((function(e){i[e.name]=e.value})),r.every((function(e){return!e.value})))t(null,!1);else if(n.every((function(e){return e.value&&e.validity.valid}))){var o=parseInt(i.year,10)||(new Date).getFullYear(),a=parseInt(i.month||1,10)-1,s=parseInt(i.day||1,10),l=parseInt(i.hour24||(0,b.convert12to24)(i.hour12,i.amPm)||0,10),c=parseInt(i.minute||0,10),u=parseInt(i.second||0,10),d=new Date;d.setFullYear(o,a,s),d.setHours(l,c,u,0),t(d,!1)}}})),P(M(e),"renderDay",(function(t,n){var r=e.props,o=r.autoFocus,a=r.dayAriaLabel,l=r.dayPlaceholder,c=r.showLeadingZeros,u=e.state,d=u.day,p=u.month,f=u.year;if(t&&t.length>2)throw new Error("Unsupported token: ".concat(t));var h=t&&2===t.length;return i.default.createElement(s.default,E({key:"day"},e.commonInputProps,{ariaLabel:a,autoFocus:0===n&&o,inputRef:e.dayInput,month:p,placeholder:l,showLeadingZeros:h||c,value:d,year:f}))})),P(M(e),"renderMonth",(function(t,n){var r=e.props,o=r.autoFocus,a=r.locale,s=r.monthAriaLabel,u=r.monthPlaceholder,d=r.showLeadingZeros,p=e.state,f=p.month,h=p.year;if(t&&t.length>4)throw new Error("Unsupported token: ".concat(t));if(t.length>2)return i.default.createElement(c.default,E({key:"month"},e.commonInputProps,{ariaLabel:s,autoFocus:0===n&&o,inputRef:e.monthInput,locale:a,placeholder:u,short:3===t.length,value:f,year:h}));var m=t&&2===t.length;return i.default.createElement(l.default,E({key:"month"},e.commonInputProps,{ariaLabel:s,autoFocus:0===n&&o,inputRef:e.monthInput,placeholder:u,showLeadingZeros:m||d,value:f,year:h}))})),P(M(e),"renderYear",(function(t,n){var r=e.props,o=r.autoFocus,a=r.yearAriaLabel,s=r.yearPlaceholder,l=e.state.year;return i.default.createElement(u.default,E({key:"year"},e.commonInputProps,{ariaLabel:a,autoFocus:0===n&&o,inputRef:e.yearInput,placeholder:s,value:l,valueType:"day"}))})),P(M(e),"renderHour",(function(t,n){return/h/.test(t)?e.renderHour12(t,n):e.renderHour24(t,n)})),P(M(e),"renderHour12",(function(t,n){var r=e.props,o=r.autoFocus,a=r.hourAriaLabel,s=r.hourPlaceholder,l=e.state,c=l.amPm,u=l.hour;if(t&&t.length>2)throw new Error("Unsupported token: ".concat(t));var p=t&&2===t.length;return i.default.createElement(d.default,E({key:"hour12"},e.commonInputProps,{amPm:c,ariaLabel:a,autoFocus:0===n&&o,inputRef:e.hour12Input,placeholder:s,showLeadingZeros:p,value:u}))})),P(M(e),"renderHour24",(function(t,n){var r=e.props,o=r.autoFocus,a=r.hourAriaLabel,s=r.hourPlaceholder,l=e.state.hour;if(t&&t.length>2)throw new Error("Unsupported token: ".concat(t));var c=t&&2===t.length;return i.default.createElement(p.default,E({key:"hour24"},e.commonInputProps,{ariaLabel:a,autoFocus:0===n&&o,inputRef:e.hour24Input,placeholder:s,showLeadingZeros:c,value:l}))})),P(M(e),"renderMinute",(function(t,n){var r=e.props,o=r.autoFocus,a=r.minuteAriaLabel,s=r.minutePlaceholder,l=e.state,c=l.hour,u=l.minute;if(t&&t.length>2)throw new Error("Unsupported token: ".concat(t));var d=t&&2===t.length;return i.default.createElement(f.default,E({key:"minute"},e.commonInputProps,{ariaLabel:a,autoFocus:0===n&&o,hour:c,inputRef:e.minuteInput,placeholder:s,showLeadingZeros:d,value:u}))})),P(M(e),"renderSecond",(function(t,n){var r=e.props,o=r.autoFocus,a=r.secondAriaLabel,s=r.secondPlaceholder,l=e.state,c=l.hour,u=l.minute,d=l.second;if(t&&t.length>2)throw new Error("Unsupported token: ".concat(t));var p=!t||2===t.length;return i.default.createElement(h.default,E({key:"second"},e.commonInputProps,{ariaLabel:a,autoFocus:0===n&&o,hour:c,inputRef:e.secondInput,minute:u,placeholder:s,showLeadingZeros:p,value:d}))})),P(M(e),"renderAmPm",(function(t,n){var r=e.props,o=r.amPmAriaLabel,a=r.autoFocus,s=r.locale,l=e.state.amPm;return i.default.createElement(m.default,E({key:"ampm"},e.commonInputProps,{ariaLabel:o,autoFocus:0===n&&a,inputRef:e.amPmInput,locale:s,onChange:e.onChangeAmPm,value:l}))})),e}return t=w,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.minDate,r=e.maxDate,i={};e.isWidgetOpen!==t.isWidgetOpen&&(i.isWidgetOpen=e.isWidgetOpen);var o=V({value:e.value,minDate:n,maxDate:r}),s=[o,t.value];if(i.isCalendarOpen||B.apply(void 0,L(s.map((function(e){return V({value:e,minDate:n,maxDate:r})}))))||B.apply(void 0,L(s.map((function(e){return z({value:e,minDate:n,maxDate:r},1)}))))){if(o){var l=k((0,b.convert24to12)((0,a.getHours)(o)),2);i.amPm=l[1],i.year=(0,a.getYear)(o).toString(),i.month=(0,a.getMonthHuman)(o).toString(),i.day=(0,a.getDate)(o).toString(),i.hour=(0,a.getHours)(o).toString(),i.minute=(0,a.getMinutes)(o).toString(),i.second=(0,a.getSeconds)(o).toString()}else i.amPm=null,i.year=null,i.month=null,i.day=null,i.hour=null,i.minute=null,i.second=null;i.value=o}return i}}],(n=[{key:"formatTime",get:function(){var e=this.props.maxDetail,t={hour:"numeric"},n=j.indexOf(e);return n>=1&&(t.minute="numeric"),n>=2&&(t.second="numeric"),(0,y.getFormatter)(t)}},{key:"formatNumber",get:function(){return q}},{key:"dateDivider",get:function(){return this.datePlaceholder.match(/[^0-9a-z]/i)[0]}},{key:"timeDivider",get:function(){return this.timePlaceholder.match(/[^0-9a-z]/i)[0]}},{key:"datePlaceholder",get:function(){var e=this.props.locale,t=new Date(2017,11,11),n=(0,y.formatDate)(e,t),r=["y","M","d"],i=n;return["year","month","day"].forEach((function(n,o){var a,s,l=(a=n,s=t,(0,y.getFormatter)(P({useGrouping:!1},a,"numeric"))(e,s).match(/\d{1,}/)),c=r[o];i=i.replace(l,c)})),i=i.replace("17","y")}},{key:"timePlaceholder",get:function(){var e=this.props.locale,t=new Date(2017,0,1,21,13,14);return this.formatTime(e,t).replace(this.formatNumber(e,9),"h").replace(this.formatNumber(e,21),"H").replace(this.formatNumber(e,13),"mm").replace(this.formatNumber(e,14),"ss").replace(new RegExp((0,_.getAmPmLabels)(e).join("|")),"a")}},{key:"placeholder",get:function(){var e=this.props.format;return e||"".concat(this.datePlaceholder," ").concat(this.timePlaceholder)}},{key:"maxTime",get:function(){var e=this.props.maxDate;if(!e)return null;var t=this.state;return F(e,t.year,t.month,t.day)?(0,a.getHoursMinutesSeconds)(e):null}},{key:"minTime",get:function(){var e=this.props.minDate;if(!e)return null;var t=this.state;return F(e,t.year,t.month,t.day)?(0,a.getHoursMinutesSeconds)(e):null}},{key:"commonInputProps",get:function(){var e=this.props,t=e.className,n=e.disabled,r=e.isWidgetOpen,i=e.maxDate,o=e.minDate,a=e.required;return{className:t,disabled:n,maxDate:i||N,minDate:o||I,onChange:this.onChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,placeholder:"--",required:a||r}}},{key:"commonTimeInputProps",get:function(){return{maxTime:this.maxTime,minTime:this.minTime}}},{key:"valueType",get:function(){return this.props.maxDetail}},{key:"renderCustomInputs",value:function(){var e=this.placeholder,t=this.props.format;return function(e,t,n){var r=[],o=new RegExp(Object.keys(t).map((function(e){return"".concat(e,"+")})).join("|"),"g"),a=e.match(o);return e.split(o).reduce((function(e,o,s){var l=o&&i.default.createElement(g.default,{key:"separator_".concat(s)},o),c=[].concat(L(e),[l]),u=a&&a[s];if(u){var d=t[u]||t[Object.keys(t).find((function(e){return u.match(e)}))];!n&&r.includes(d)?c.push(u):(c.push(d(u,s)),r.push(d))}return c}),[])}(e,{d:this.renderDay,M:this.renderMonth,y:this.renderYear,h:this.renderHour,H:this.renderHour,m:this.renderMinute,s:this.renderSecond,a:this.renderAmPm},void 0!==t)}},{key:"renderNativeInput",value:function(){var e=this.props,t=e.disabled,n=e.maxDate,r=e.minDate,o=e.name,a=e.nativeInputAriaLabel,s=e.required,l=this.state.value;return i.default.createElement(v.default,{key:"time",ariaLabel:a,disabled:t,maxDate:n||N,minDate:r||I,name:o,onChange:this.onChangeNative,required:s,value:l,valueType:this.valueType})}},{key:"render",value:function(){var e=this.props.className;return i.default.createElement("div",{className:e,onClick:this.onClick},this.renderNativeInput(),this.renderCustomInputs())}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),w}(i.PureComponent);t.default=W,W.defaultProps={maxDetail:"minute",name:"datetime"};var Z=o.default.oneOfType([o.default.string,o.default.instanceOf(Date)]);W.propTypes={amPmAriaLabel:o.default.string,autoFocus:o.default.bool,className:o.default.string.isRequired,dayAriaLabel:o.default.string,dayPlaceholder:o.default.string,disabled:o.default.bool,format:o.default.string,hourAriaLabel:o.default.string,hourPlaceholder:o.default.string,isWidgetOpen:o.default.bool,locale:o.default.string,maxDate:w.isMaxDate,maxDetail:o.default.oneOf(j),minDate:w.isMinDate,minuteAriaLabel:o.default.string,minutePlaceholder:o.default.string,monthAriaLabel:o.default.string,monthPlaceholder:o.default.string,name:o.default.string,nativeInputAriaLabel:o.default.string,onChange:o.default.func,required:o.default.bool,secondAriaLabel:o.default.string,secondPlaceholder:o.default.string,showLeadingZeros:o.default.bool,value:o.default.oneOfType([Z,o.default.arrayOf(Z)]),yearAriaLabel:o.default.string,yearPlaceholder:o.default.string}},26790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(67294)),i=s(n(45697)),o=n(51363),a=n(70736);function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.ariaLabel,n=e.disabled,i=e.maxDate,a=e.minDate,s=e.name,l=e.onChange,c=e.required,u=e.value,d=e.valueType,p=function(){switch(d){case"hour":return function(e){return"".concat((0,o.getISOLocalDate)(e),"T").concat((0,o.getHours)(e),":00")};case"minute":return function(e){return"".concat((0,o.getISOLocalDate)(e),"T").concat((0,o.getHoursMinutes)(e))};case"second":return o.getISOLocalDateTime;default:throw new Error("Invalid valueType.")}}(),f=function(){switch(d){case"hour":return 3600;case"minute":return 60;case"second":return 1;default:throw new Error("Invalid valueType.")}}();return r.default.createElement("input",{"aria-label":t,disabled:n,max:i?p(i):null,min:a?p(a):null,name:s,onChange:l,onFocus:function(e){e.stopPropagation()},required:c,step:f,style:{visibility:"hidden",position:"absolute",zIndex:"-999"},type:"datetime-local",value:u?p(u):""})}l.propTypes={ariaLabel:i.default.string,disabled:i.default.bool,maxDate:a.isMaxDate,minDate:a.isMinDate,name:i.default.string,onChange:i.default.func,required:i.default.bool,value:i.default.oneOfType([i.default.string,i.default.instanceOf(Date)]),valueType:a.isValueType}},46873:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(67294)),o=g(n(45697)),a=g(n(68435)),s=g(n(7091)),l=g(n(81749)),c=g(n(4846)),u=g(n(49027)),d=g(n(34525)),p=n(70736),f=["calendarClassName","className","maxDetail","onChange","value"],h=["clockClassName","className","maxDetail","onChange","value"],m=["onChange"];function g(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function y(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}(this,n)}}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=["hour","minute","second"],M="react-datetime-picker",A=["mousedown","focusin","touchstart"],P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(p,e);var t,n,r,o=E(p);function p(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(k(e=o.call.apply(o,[this].concat(n))),"state",{}),T(k(e),"onOutsideAction",(function(t){var n="composedPath"in t?t.composedPath()[0]:t.target;e.wrapper&&!e.wrapper.contains(n)&&e.closeWidgets()})),T(k(e),"onDateChange",(function(t,n){var r=e.props.value;if(r){var i=new Date(t);i.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e.onChange(i,n)}else e.onChange(t,n)})),T(k(e),"onChange",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.props.closeWidgets,r=e.props.onChange;n&&e.closeWidgets(),r&&r(t)})),T(k(e),"onFocus",(function(t){var n=e.props,r=n.disabled,i=n.onFocus,o=n.openWidgetsOnFocus;if(i&&i(t),!r&&o){if("true"===t.target.getAttribute("data-select"))return;switch(t.target.name){case"day":case"month":case"year":e.openCalendar();break;case"hour12":case"hour24":case"minute":case"second":e.openClock()}}})),T(k(e),"onKeyDown",(function(t){"Escape"===t.key&&e.closeWidgets()})),T(k(e),"openClock",(function(){e.setState({isCalendarOpen:!1,isClockOpen:!0})})),T(k(e),"openCalendar",(function(){e.setState({isCalendarOpen:!0,isClockOpen:!1})})),T(k(e),"toggleCalendar",(function(){e.setState((function(e){return{isCalendarOpen:!e.isCalendarOpen,isClockOpen:!1}}))})),T(k(e),"closeWidgets",(function(){e.setState((function(e){return e.isCalendarOpen||e.isClockOpen?{isCalendarOpen:!1,isClockOpen:!1}:null}))})),T(k(e),"stopPropagation",(function(e){return e.stopPropagation()})),T(k(e),"clear",(function(){return e.onChange(null)})),e}return t=p,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return e.isCalendarOpen!==t.isCalendarOpenProps&&(n.isCalendarOpen=e.isCalendarOpen,n.isCalendarOpenProps=e.isCalendarOpen),e.isClockOpen!==t.isClockOpenProps&&(n.isClockOpen=e.isClockOpen,n.isClockOpenProps=e.isClockOpen),n}}],(n=[{key:"componentDidMount",value:function(){this.handleOutsideActionListeners()}},{key:"componentDidUpdate",value:function(e,t){var n=this.state,r=n.isCalendarOpen,i=n.isClockOpen,o=this.props,a=o.onCalendarClose,s=o.onCalendarOpen,l=o.onClockClose,c=o.onClockOpen;if((r||i)!==(t.isCalendarOpen||t.isClockOpen)&&this.handleOutsideActionListeners(),r!==t.isCalendarOpen){var u=r?s:a;u&&u()}if(i!==t.isClockOpen){var d=i?c:l;d&&d()}}},{key:"componentWillUnmount",value:function(){this.handleOutsideActionListeners(!1)}},{key:"eventProps",get:function(){return(0,a.default)(this.props)}},{key:"handleOutsideActionListeners",value:function(e){var t=this,n=this.state,r=n.isCalendarOpen,i=n.isClockOpen,o=(void 0!==e?e:r||i)?"addEventListener":"removeEventListener";A.forEach((function(e){return document[o](e,t.onOutsideAction)})),document[o]("keydown",this.onKeyDown)}},{key:"renderInputs",value:function(){var e=this.props,t=e.amPmAriaLabel,n=e.autoFocus,r=e.calendarAriaLabel,o=e.calendarIcon,a=e.clearAriaLabel,s=e.clearIcon,l=e.dayAriaLabel,c=e.dayPlaceholder,u=e.disableCalendar,p=e.disabled,f=e.format,h=e.hourAriaLabel,m=e.hourPlaceholder,g=e.locale,v=e.maxDate,y=e.maxDetail,_=e.minDate,S=e.minuteAriaLabel,x=e.minutePlaceholder,E=e.monthAriaLabel,k=e.monthPlaceholder,C=e.name,T=e.nativeInputAriaLabel,O=e.required,A=e.secondAriaLabel,P=e.secondPlaceholder,L=e.showLeadingZeros,D=e.value,R=e.yearAriaLabel,I=e.yearPlaceholder,N=this.state,j=N.isCalendarOpen,B=N.isClockOpen,F=w([].concat(D),1)[0],H={amPmAriaLabel:t,dayAriaLabel:l,hourAriaLabel:h,minuteAriaLabel:S,monthAriaLabel:E,nativeInputAriaLabel:T,secondAriaLabel:A,yearAriaLabel:R},z={dayPlaceholder:c,hourPlaceholder:m,minutePlaceholder:x,monthPlaceholder:k,secondPlaceholder:P,yearPlaceholder:I};return i.default.createElement("div",{className:"".concat(M,"__wrapper")},i.default.createElement(d.default,b({},H,z,{autoFocus:n,className:"".concat(M,"__inputGroup"),disabled:p,format:f,isWidgetOpen:j||B,locale:g,maxDate:v,maxDetail:y,minDate:_,name:C,onChange:this.onChange,placeholder:this.placeholder,required:O,showLeadingZeros:L,value:F})),null!==s&&i.default.createElement("button",{"aria-label":a,className:"".concat(M,"__clear-button ").concat(M,"__button"),disabled:p,onClick:this.clear,onFocus:this.stopPropagation,type:"button"},s),null!==o&&!u&&i.default.createElement("button",{"aria-label":r,className:"".concat(M,"__calendar-button ").concat(M,"__button"),disabled:p,onBlur:this.resetValue,onClick:this.toggleCalendar,onFocus:this.stopPropagation,type:"button"},o))}},{key:"renderCalendar",value:function(){var e=this.props.disableCalendar,t=this.state.isCalendarOpen;if(null===t||e)return null;var n=this.props,r=n.calendarClassName,o=(n.className,n.maxDetail,n.onChange,n.value),a=y(n,f),u="".concat(M,"__calendar");return i.default.createElement(c.default,null,i.default.createElement("div",{ref:function(e){e&&!t&&e.removeAttribute("style")},className:(0,s.default)(u,"".concat(u,"--").concat(t?"open":"closed"))},i.default.createElement(l.default,b({className:r,onChange:this.onDateChange,value:o||null},a))))}},{key:"renderClock",value:function(){var e=this.props.disableClock,t=this.state.isClockOpen;if(null===t||e)return null;var n=this.props,r=n.clockClassName,o=(n.className,n.maxDetail),a=(n.onChange,n.value),l=y(n,h),d="".concat(M,"__clock"),p=w([].concat(a),1)[0],f=O.indexOf(o);return i.default.createElement(c.default,null,i.default.createElement("div",{ref:function(e){e&&!t&&e.removeAttribute("style")},className:(0,s.default)(d,"".concat(d,"--").concat(t?"open":"closed"))},i.default.createElement(u.default,b({className:r,renderMinuteHand:f>0,renderSecondHand:f>1,value:p},l))))}},{key:"render",value:function(){var e=this,t=this.eventProps,n=this.props,r=n.className,o=n.disabled,a=this.state.isOpen,l=(t.onChange,y(t,m));return i.default.createElement("div",b({className:(0,s.default)(M,"".concat(M,"--").concat(a?"open":"closed"),"".concat(M,"--").concat(o?"disabled":"enabled"),r)},l,{onFocus:this.onFocus,ref:function(t){t&&(e.wrapper=t)}}),this.renderInputs(),this.renderCalendar(),this.renderClock())}}])&&S(t.prototype,n),r&&S(t,r),Object.defineProperty(t,"prototype",{writable:!1}),p}(i.PureComponent);t.default=P;var L={xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19",stroke:"black",strokeWidth:2},D=i.default.createElement("svg",b({},L,{className:"".concat(M,"__calendar-button__icon ").concat(M,"__button__icon")}),i.default.createElement("rect",{fill:"none",height:"15",width:"15",x:"2",y:"2"}),i.default.createElement("line",{x1:"6",x2:"6",y1:"0",y2:"4"}),i.default.createElement("line",{x1:"13",x2:"13",y1:"0",y2:"4"})),R=i.default.createElement("svg",b({},L,{className:"".concat(M,"__clear-button__icon ").concat(M,"__button__icon")}),i.default.createElement("line",{x1:"4",x2:"15",y1:"4",y2:"15"}),i.default.createElement("line",{x1:"15",x2:"4",y1:"4",y2:"15"}));P.defaultProps={calendarIcon:D,clearIcon:R,closeWidgets:!0,isCalendarOpen:null,isClockOpen:null,maxDetail:"minute",openWidgetsOnFocus:!0};var I=o.default.oneOfType([o.default.string,o.default.instanceOf(Date)]);P.propTypes={amPmAriaLabel:o.default.string,autoFocus:o.default.bool,calendarAriaLabel:o.default.string,calendarClassName:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),calendarIcon:o.default.node,className:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),clearAriaLabel:o.default.string,clearIcon:o.default.node,clockClassName:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),closeWidgets:o.default.bool,dayAriaLabel:o.default.string,dayPlaceholder:o.default.string,disableCalendar:o.default.bool,disableClock:o.default.bool,disabled:o.default.bool,format:o.default.string,hourAriaLabel:o.default.string,hourPlaceholder:o.default.string,isCalendarOpen:o.default.bool,isClockOpen:o.default.bool,locale:o.default.string,maxDate:p.isMaxDate,maxDetail:o.default.oneOf(O),minDate:p.isMinDate,minuteAriaLabel:o.default.string,minutePlaceholder:o.default.string,monthAriaLabel:o.default.string,monthPlaceholder:o.default.string,name:o.default.string,nativeInputAriaLabel:o.default.string,onCalendarClose:o.default.func,onCalendarOpen:o.default.func,onChange:o.default.func,onClockClose:o.default.func,onClockOpen:o.default.func,onFocus:o.default.func,openWidgetsOnFocus:o.default.bool,required:o.default.bool,secondAriaLabel:o.default.string,secondPlaceholder:o.default.string,showLeadingZeros:o.default.bool,value:o.default.oneOfType([I,o.default.arrayOf(I)]),yearAriaLabel:o.default.string,yearPlaceholder:o.default.string}},53802:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=o(n(67294)),i=o(n(45697));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.children;return r.default.createElement("span",{className:"react-datetime-picker__inputGroup__divider"},t)}a.propTypes={children:i.default.node}},38591:function(e,t,n){"use strict";t.Z=void 0,n(6966),n(20915);var r,i=(r=n(46873))&&r.__esModule?r:{default:r};n(21);var o=i.default;t.Z=o},99555:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDate=void 0,t.getFormatter=a,t.getNumberFormatter=function(e){return function(t,n){var r=t||(0,i.default)();s.has(r)||s.set(r,new Map);var o=s.get(r);return o.has(e)||o.set(e,new Intl.NumberFormat(r,e).format),o.get(e)(n)}};var r,i=(r=n(6107))&&r.__esModule?r:{default:r};var o=new Map;function a(e){return function(t,n){var r=t||(0,i.default)();o.has(r)||o.set(r,new Map);var a=o.get(r);return a.has(e)||a.set(e,new Intl.DateTimeFormat(r,e).format),a.get(e)(n)}}var s=new Map;var l=a({day:"numeric",month:"numeric",year:"numeric"});t.formatDate=l},18606:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convert12to24=function(e,t){var n=parseInt(e,10);"am"===t&&12===n?n=0:"pm"===t&&n<12&&(n+=12);return n},t.convert24to12=function(e){return[e%12||12,e<12?"am":"pm"]}},70736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValueType=t.isMinDate=t.isMaxDate=void 0;var r,i=(r=n(45697))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=[].concat(["hour","minute","second"]);t.isMinDate=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.maxDate;return i&&r>i?new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, minDate cannot be larger than maxDate.")):null};t.isMaxDate=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=e.minDate;return i&&r<i?new Error("Invalid prop `".concat(t,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, maxDate cannot be smaller than minDate.")):null};var s=i.default.oneOf(a);t.isValueType=s},92609:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.between=function(e,t,n){if(t&&t>e)return t;if(n&&n<e)return n;return e},t.getAmPmLabels=function(e){var t=s(e,new Date(2017,0,1,9)),n=s(e,new Date(2017,0,1,21)),r=i(t.split(a),2),o=r[0],l=r[1],c=i(n.split(a),2),u=c[0],d=c[1];if(void 0!==d){if(o!==u)return[o,u].map((function(e){return e.trim()}));if(l!==d)return[l,d].map((function(e){return e.trim()}))}return["AM","PM"]};var r=n(99555);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=new RegExp("[".concat(["9","Ù©"].join(""),"]")),s=(0,r.getFormatter)({hour:"numeric"})},85518:function(e,t,n){"use strict";var r=n(25108);var i,o=n(67294),a=(i=o)&&"object"==typeof i&&"default"in i?i.default:i,s=n(23451),l=new s,c=l.getBrowser(),u=l.getCPU(),d=l.getDevice(),p=l.getEngine(),f=l.getOS(),h=l.getUA(),m=function(e){return l.setUA(e)},g=function(e){if(e){var t=new s(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}r.error("No userAgent string was provided")},v=Object.freeze({ClientUAInstance:l,browser:c,cpu:u,device:d,engine:p,os:f,ua:h,setUa:m,parseUserAgent:g});function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M="mobile",A="tablet",P="smarttv",L="console",D="wearable",R="embedded",I=void 0,N={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},j={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},B={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},F=function(e){return e||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},H=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},z=function(e){var t=H();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},V=function(e,t,n,r){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{vendor:F(t.vendor),model:F(t.model),os:F(n.name),osVersion:F(n.version),ua:F(r)})};var U=function(e){return e.type===M},$=function(e){return e.type===A},G=function(e){var t=e.type;return t===M||t===A},q=function(e){return e.type===P},W=function(e){return e.type===I},Z=function(e){return e.type===D},Y=function(e){return e.type===L},K=function(e){return e.type===R},Q=function(e){var t=e.vendor;return F(t)},X=function(e){var t=e.model;return F(t)},J=function(e){var t=e.type;return F(t,"browser")},ee=function(e){return e.name===j.Android},te=function(e){return e.name===j.Windows},ne=function(e){return e.name===j.MAC_OS},re=function(e){return e.name===j.WindowsPhone},ie=function(e){return e.name===j.IOS},oe=function(e){var t=e.version;return F(t)},ae=function(e){var t=e.name;return F(t)},se=function(e){return e.name===N.Chrome},le=function(e){return e.name===N.Firefox},ce=function(e){return e.name===N.Chromium},ue=function(e){return e.name===N.Edge},de=function(e){return e.name===N.Yandex},pe=function(e){var t=e.name;return t===N.Safari||t===N.MobileSafari},fe=function(e){return e.name===N.MobileSafari},he=function(e){return e.name===N.Opera},me=function(e){var t=e.name;return t===N.InternetExplorer||t===N.Ie},ge=function(e){return e.name===N.MIUI},ve=function(e){return e.name===N.SamsungBrowser},ye=function(e){var t=e.version;return F(t)},be=function(e){var t=e.major;return F(t)},we=function(e){var t=e.name;return F(t)},_e=function(e){var t=e.name;return F(t)},Se=function(e){var t=e.version;return F(t)},xe=function(){var e=H(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},Ee=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},ke=function(){var e=H();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Ce=function(){return z("iPad")},Te=function(){return z("iPhone")},Oe=function(){return z("iPod")},Me=function(e){return F(e)};function Ae(e){var t=e||v,n=t.device,r=t.browser,i=t.os,o=t.engine,a=t.ua;return{isSmartTV:q(n),isConsole:Y(n),isWearable:Z(n),isEmbedded:K(n),isMobileSafari:fe(r)||Ce(),isChromium:ce(r),isMobile:G(n)||Ce(),isMobileOnly:U(n),isTablet:$(n)||Ce(),isBrowser:W(n),isDesktop:W(n),isAndroid:ee(i),isWinPhone:re(i),isIOS:ie(i)||Ce(),isChrome:se(r),isFirefox:le(r),isSafari:pe(r),isOpera:he(r),isIE:me(r),osVersion:oe(i),osName:ae(i),fullBrowserVersion:ye(r),browserVersion:be(r),browserName:we(r),mobileVendor:Q(n),mobileModel:X(n),engineName:_e(o),engineVersion:Se(o),getUA:Me(a),isEdge:ue(r)||Ee(a),isYandex:de(r),deviceType:J(n),isIOS13:ke(),isIPad13:Ce(),isIPhone13:Te(),isIPod13:Oe(),isElectron:xe(),isEdgeChromium:Ee(a),isLegacyEdge:ue(r)&&!Ee(a),isWindows:te(i),isMacOs:ne(i),isMIUI:ge(r),isSamsungBrowser:ve(r)}}var Pe=q(d),Le=Y(d),De=Z(d),Re=K(d),Ie=fe(c)||Ce(),Ne=ce(c),je=G(d)||Ce(),Be=U(d),Fe=$(d)||Ce(),He=W(d),ze=W(d),Ve=ee(f),Ue=re(f),$e=ie(f)||Ce(),Ge=se(c),qe=le(c),We=pe(c),Ze=he(c),Ye=me(c),Ke=oe(f),Qe=ae(f),Xe=ye(c),Je=be(c),et=we(c),tt=Q(d),nt=X(d),rt=_e(p),it=Se(p),ot=Me(h),at=ue(c)||Ee(h),st=de(c),lt=J(d),ct=ke(),ut=Ce(),dt=Te(),pt=Oe(),ft=xe(),ht=Ee(h),mt=ue(c)&&!Ee(h),gt=te(f),vt=ne(f),yt=ge(c),bt=ve(c);function wt(e){var t=e||window.navigator.userAgent;return g(t)}t.Dt=Ve,t.gn=$e,t.tq=je,t.UA=Be},64448:function(e,t,n){"use strict";var r=n(25108),i=n(67294),o=n(27418),a=n(63840);function s(e){for(var t="https://webcf.waybackmachine.org/web/20240801092516/https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!i)throw Error(s(227));var l=new Set,c={};function u(e,t){d(e,t),d(e+"Capture",t)}function d(e,t){for(c[e]=t,e=0;e<t.length;e++)l.add(t[e])}var p=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h=Object.prototype.hasOwnProperty,m={},g={};function v(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function w(e){return e[1].toUpperCase()}function _(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!h.call(g,e)||!h.call(m,e)&&(f.test(e)?g[e]=!0:(m[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,w);y[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,w);y[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,w);y[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=60103,E=60106,k=60107,C=60108,T=60114,O=60109,M=60110,A=60112,P=60113,L=60120,D=60115,R=60116,I=60121,N=60128,j=60129,B=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var H=Symbol.for;x=H("react.element"),E=H("react.portal"),k=H("react.fragment"),C=H("react.strict_mode"),T=H("react.profiler"),O=H("react.provider"),M=H("react.context"),A=H("react.forward_ref"),P=H("react.suspense"),L=H("react.suspense_list"),D=H("react.memo"),R=H("react.lazy"),I=H("react.block"),H("react.scope"),N=H("react.opaque.id"),j=H("react.debug_trace_mode"),B=H("react.offscreen"),F=H("react.legacy_hidden")}var z,V="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}function $(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var G=!1;function q(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$(e):""}function W(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=q(e.type,!1);case 11:return e=q(e.type.render,!1);case 22:return e=q(e.type._render,!1);case 1:return e=q(e.type,!0);default:return""}}function Z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case E:return"Portal";case T:return"Profiler";case C:return"StrictMode";case P:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case D:return Z(e.type);case I:return Z(e._render);case R:t=e._payload,e=e._init;try{return Z(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ee(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ne(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function re(e,t){ne(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ie(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function se(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(s(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(s(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(s(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ue(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function de(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge,ve=(ge=function(e,t){if(e.namespaceURI!==pe.svg||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function _e(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=_e(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var xe=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(s(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(s(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(s(62))}}function ke(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Oe=null,Me=null;function Ae(e){if(e=ri(e)){if("function"!=typeof Te)throw Error(s(280));var t=e.stateNode;t&&(t=oi(t),Te(e.stateNode,e.type,t))}}function Pe(e){Oe?Me?Me.push(e):Me=[e]:Oe=e}function Le(){if(Oe){var e=Oe,t=Me;if(Me=Oe=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function De(e,t){return e(t)}function Re(e,t,n,r,i){return e(t,n,r,i)}function Ie(){}var Ne=De,je=!1,Be=!1;function Fe(){null===Oe&&null===Me||(Ie(),Le())}function He(e,t){var n=e.stateNode;if(null===n)return null;var r=oi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}var ze=!1;if(p)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(ge){ze=!1}function Ue(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var $e=!1,Ge=null,qe=!1,We=null,Ze={onError:function(e){$e=!0,Ge=e}};function Ye(e,t,n,r,i,o,a,s,l){$e=!1,Ge=null,Ue.apply(Ze,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Ke(e)!==e)throw Error(s(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Xe(i),e;if(o===r)return Xe(i),t;o=o.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,it,ot=!1,at=[],st=null,lt=null,ct=null,ut=new Map,dt=new Map,pt=[],ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function gt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=ht(t,n,r,i,o),null!==t&&(null!==(t=ri(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function vt(e){var t=ni(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Qe(n)))return e.blockedOn=t,void it(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ri(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){yt(e)&&n.delete(t)}function wt(){for(ot=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ri(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==st&&yt(st)&&(st=null),null!==lt&&yt(lt)&&(lt=null),null!==ct&&yt(ct)&&(ct=null),ut.forEach(bt),dt.forEach(bt)}function _t(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,wt)))}function St(e){function t(t){return _t(t,e)}if(0<at.length){_t(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&_t(st,e),null!==lt&&_t(lt,e),null!==ct&&_t(ct,e),ut.forEach(t),dt.forEach(t),n=0;n<pt.length;n++)(r=pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<pt.length&&null===(n=pt[0]).blockedOn;)vt(n),null===n.blockedOn&&pt.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Et={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},kt={},Ct={};function Tt(e){if(kt[e])return kt[e];if(!Et[e])return e;var t,n=Et[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return kt[e]=n[t];return e}p&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete Et.animationend.animation,delete Et.animationiteration.animation,delete Et.animationstart.animation),"TransitionEvent"in window||delete Et.transitionend.transition);var Ot=Tt("animationend"),Mt=Tt("animationiteration"),At=Tt("animationstart"),Pt=Tt("transitionend"),Lt=new Map,Dt=new Map,Rt=["abort","abort",Ot,"animationEnd",Mt,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Pt,"transitionEnd","waiting","waiting"];function It(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Dt.set(r,t),Lt.set(r,i),u(i,[r])}}(0,a.unstable_now)();var Nt=8;function jt(e){if(0!=(1&e))return Nt=15,1;if(0!=(2&e))return Nt=14,2;if(0!=(4&e))return Nt=13,4;var t=24&e;return 0!==t?(Nt=12,t):0!=(32&e)?(Nt=11,32):0!==(t=192&e)?(Nt=10,t):0!=(256&e)?(Nt=9,256):0!==(t=3584&e)?(Nt=8,t):0!=(4096&e)?(Nt=7,4096):0!==(t=4186112&e)?(Nt=6,t):0!==(t=62914560&e)?(Nt=5,t):67108864&e?(Nt=4,67108864):0!=(134217728&e)?(Nt=3,134217728):0!==(t=805306368&e)?(Nt=2,t):0!=(1073741824&e)?(Nt=1,1073741824):(Nt=8,e)}function Bt(e,t){var n=e.pendingLanes;if(0===n)return Nt=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Nt=15;else if(0!==(o=134217727&n)){var l=o&~a;0!==l?(r=jt(l),i=Nt):0!==(s&=o)&&(r=jt(s),i=Nt)}else 0!==(o=n&~a)?(r=jt(o),i=Nt):0!==s&&(r=jt(s),i=Nt);if(0===r)return 0;if(r=n&((0>(r=31-$t(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(jt(t),i<=Nt)return t;Nt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-$t(t)),r|=e[n],t&=~i;return r}function Ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ht(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Ht(10,t):e;case 10:return 0===(e=zt(192&~t))?Ht(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(s(358,e))}function zt(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-$t(t)]=n}var $t=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Gt(e)/qt|0)|0},Gt=Math.log,qt=Math.LN2;var Wt=a.unstable_UserBlockingPriority,Zt=a.unstable_runWithPriority,Yt=!0;function Kt(e,t,n,r){je||Ie();var i=Xt,o=je;je=!0;try{Re(i,e,t,n,r)}finally{(je=o)||Fe()}}function Qt(e,t,n,r){Zt(Wt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var i;if(Yt)if((i=0==(4&t))&&0<at.length&&-1<ft.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var o=Jt(e,t,n,r);if(null===o)i&&mt(e,r);else{if(i){if(-1<ft.indexOf(e))return e=ht(o,e,t,n,r),void at.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return st=gt(st,e,t,n,r,i),!0;case"dragenter":return lt=gt(lt,e,t,n,r,i),!0;case"mouseover":return ct=gt(ct,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ut.set(o,gt(ut.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,dt.set(o,gt(dt.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;mt(e,r)}Ir(e,t,r,null,n)}}}function Jt(e,t,n,r){var i=Ce(r);if(null!==(i=ni(i))){var o=Ke(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Qe(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Ir(e,t,r,i,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,i="value"in en?en.value:en.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return nn=i.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function sn(){return!1}function ln(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?an:sn,this.isPropagationStopped=sn,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,un,dn,pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=ln(pn),hn=o({},pn,{view:0,detail:0}),mn=ln(hn),gn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,un=e.screenY-dn.screenY):un=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),vn=ln(gn),yn=ln(o({},gn,{dataTransfer:0})),bn=ln(o({},hn,{relatedTarget:0})),wn=ln(o({},pn,{animationName:0,elapsedTime:0,pseudoElement:0})),_n=o({},pn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sn=ln(_n),xn=ln(o({},pn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function On(){return Tn}var Mn=o({},hn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=ln(Mn),Pn=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=ln(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Dn=ln(o({},pn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=ln(Rn),Nn=[9,13,27,32],jn=p&&"CompositionEvent"in window,Bn=null;p&&"documentMode"in document&&(Bn=document.documentMode);var Fn=p&&"TextEvent"in window&&!Bn,Hn=p&&(!jn||Bn&&8<Bn&&11>=Bn),zn=String.fromCharCode(32),Vn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){Pe(r),0<(t=jr(t,"onChange")).length&&(n=new fn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Kn=null;function Qn(e){Mr(e,0)}function Xn(e){if(X(ii(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(p){var tr;if(p){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ir(){Yn&&(Yn.detachEvent("onpropertychange",or),Kn=Yn=null)}function or(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];if(Zn(t,Kn,e,Ce(e)),e=Qn,je)e(t);else{je=!0;try{De(e,t)}finally{je=!1,Fe()}}}}function ar(e,t,n){"focusin"===e?(ir(),Kn=n,(Yn=t).attachEvent("onpropertychange",or)):"focusout"===e&&ir()}function sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function lr(e,t){if("click"===e)return Xn(t)}function cr(e,t){if("input"===e||"change"===e)return Xn(t)}var ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},dr=Object.prototype.hasOwnProperty;function pr(e,t){if(ur(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function fr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=fr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=p&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,_r=null,Sr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==br||br!==J(r)||("selectionStart"in(r=br)&&vr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&pr(_r,r)||(_r=r,0<(r=jr(wr,"onSelect")).length&&(t=new fn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}It("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),It("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),It(Rt,2);for(var Er="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;kr<Er.length;kr++)Dt.set(Er[kr],0);d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,a,l,c){if(Ye.apply(this,arguments),$e){if(!$e)throw Error(s(198));var u=Ge;$e=!1,Ge=null,qe||(qe=!0,We=u)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Or(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Or(i,s,c),o=l}}}if(qe)throw e=We,qe=!1,We=null,e}function Ar(e,t){var n=ai(t),r=e+"__bubble";n.has(r)||(Rr(t,e,2,!1),n.add(r))}var Pr="_reactListening"+Math.random().toString(36).slice(2);function Lr(e){e[Pr]||(e[Pr]=!0,l.forEach((function(t){Tr.has(t)||Dr(t,!1,e,null),Dr(t,!0,e,null)})))}function Dr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Tr.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=ai(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Rr(o,e,i,t),a.add(s))}function Rr(e,t,n,r){var i=Dt.get(t);switch(void 0===i?2:i){case 0:i=Kt;break;case 1:i=Qt;break;default:i=Xt}n=i.bind(null,t,n,e),i=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ir(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ni(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Be)return e(t,n);Be=!0;try{return Ne(e,t,n)}finally{Be=!1,Fe()}}((function(){var r=o,i=Ce(n),a=[];e:{var s=Lt.get(e);if(void 0!==s){var l=fn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ln;break;case Ot:case Mt:case At:l=wn;break;case Pt:l=Dn;break;case"scroll":l=mn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=Sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=He(h,p))&&u.push(Nr(h,m,f)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!ni(c)&&!c[ei])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ni(c):null)&&(c!==(d=Ke(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=vn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:ii(l),f=null==c?s:ii(c),(s=new u(m,h+"leave",l,n,i)).target=d,s.relatedTarget=f,m=null,ni(i)===r&&((u=new u(p,h+"enter",c,n,i)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Br(f))h++;for(f=0,m=p;m;m=Br(m))f++;for(;0<h-f;)u=Br(u),h--;for(;0<f-h;)p=Br(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Br(u),p=Br(p)}u=null}else u=null;null!==l&&Fr(a,s,l,u,!1),null!==c&&null!==d&&Fr(a,d,c,u,!0)}if("select"===(l=(s=r?ii(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Jn;else if(Wn(s))if(er)g=cr;else{g=sr;var v=ar}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=lr);switch(g&&(g=g(e,r))?Zn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&oe(s,"number",s.value)),v=r?ii(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(br=v,wr=r,_r=null);break;case"focusout":_r=wr=br=null;break;case"mousedown":Sr=!0;break;case"contextmenu":case"mouseup":case"dragend":Sr=!1,xr(a,n,i);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":xr(a,n,i)}var y;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Hn&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gn&&(y=rn()):(tn="value"in(en=i)?en.value:en.textContent,Gn=!0)),0<(v=jr(r,b)).length&&(b=new xn(b,e,null,n,i),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=$n(n))&&(b.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(Vn=!0,zn);case"textInput":return(e=t.data)===zn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!jn&&Un(e,t)?(e=rn(),nn=tn=en=null,Gn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=jr(r,"onBeforeInput")).length&&(i=new xn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Mr(a,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=He(e,n))&&r.unshift(Nr(e,o,i)),null!=(o=He(e,t))&&r.push(Nr(e,o,i))),e=e.return}return r}function Br(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=He(n,o))&&a.unshift(Nr(n,l,s)):i||null!=(l=He(n,o))&&a.push(Nr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Hr(){}var zr=null,Vr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function $r(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Gr="function"==typeof setTimeout?setTimeout:void 0,qr="function"==typeof clearTimeout?clearTimeout:void 0;function Wr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Zr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Kr=0;var Qr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Qr,Jr="__reactProps$"+Qr,ei="__reactContainer$"+Qr,ti="__reactEvents$"+Qr;function ni(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ei]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Xr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ri(e){return!(e=e[Xr]||e[ei])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ii(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(s(33))}function oi(e){return e[Jr]||null}function ai(e){var t=e[ti];return void 0===t&&(t=e[ti]=new Set),t}var si=[],li=-1;function ci(e){return{current:e}}function ui(e){0>li||(e.current=si[li],si[li]=null,li--)}function di(e,t){li++,si[li]=e.current,e.current=t}var pi={},fi=ci(pi),hi=ci(!1),mi=pi;function gi(e,t){var n=e.type.contextTypes;if(!n)return pi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vi(e){return null!=(e=e.childContextTypes)}function yi(){ui(hi),ui(fi)}function bi(e,t,n){if(fi.current!==pi)throw Error(s(168));di(fi,t),di(hi,n)}function wi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(s(108,Z(t)||"Unknown",i));return o({},n,r)}function _i(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pi,mi=fi.current,di(fi,e),di(hi,hi.current),!0}function Si(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=wi(e,t,mi),r.__reactInternalMemoizedMergedChildContext=e,ui(hi),ui(fi),di(fi,e)):ui(hi),di(hi,n)}var xi=null,Ei=null,ki=a.unstable_runWithPriority,Ci=a.unstable_scheduleCallback,Ti=a.unstable_cancelCallback,Oi=a.unstable_shouldYield,Mi=a.unstable_requestPaint,Ai=a.unstable_now,Pi=a.unstable_getCurrentPriorityLevel,Li=a.unstable_ImmediatePriority,Di=a.unstable_UserBlockingPriority,Ri=a.unstable_NormalPriority,Ii=a.unstable_LowPriority,Ni=a.unstable_IdlePriority,ji={},Bi=void 0!==Mi?Mi:function(){},Fi=null,Hi=null,zi=!1,Vi=Ai(),Ui=1e4>Vi?Ai:function(){return Ai()-Vi};function $i(){switch(Pi()){case Li:return 99;case Di:return 98;case Ri:return 97;case Ii:return 96;case Ni:return 95;default:throw Error(s(332))}}function Gi(e){switch(e){case 99:return Li;case 98:return Di;case 97:return Ri;case 96:return Ii;case 95:return Ni;default:throw Error(s(332))}}function qi(e,t){return e=Gi(e),ki(e,t)}function Wi(e,t,n){return e=Gi(e),Ci(e,t,n)}function Zi(){if(null!==Hi){var e=Hi;Hi=null,Ti(e)}Yi()}function Yi(){if(!zi&&null!==Fi){zi=!0;var e=0;try{var t=Fi;qi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),Ci(Li,Zi),t}finally{zi=!1}}}var Ki=S.ReactCurrentBatchConfig;function Qi(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xi=ci(null),Ji=null,eo=null,to=null;function no(){to=eo=Ji=null}function ro(e){var t=Xi.current;ui(Xi),e.type._context._currentValue=t}function io(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function oo(e,t){Ji=e,to=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ja=!0),e.firstContext=null)}function ao(e,t){if(to!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(to=e,t=1073741823),t={context:e,observedBits:t,next:null},null===eo){if(null===Ji)throw Error(s(308));eo=t,Ji.dependencies={lanes:0,firstContext:t,responders:null}}else eo=eo.next=t;return e._currentValue}var so=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function uo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function po(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ho(e,t,n,r){var i=e.updateQueue;so=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==s&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(p=i.baseState,s=0,d=u=c=null;;){l=a.lane;var f=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=m.payload)?h.call(f,p,l):h))break e;p=o({},p,l);break e;case 2:so=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=f,c=p):d=d.next=f,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Vs|=s,e.lanes=s,e.memoizedState=p}}function mo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(s(191,i));i.call(r)}}}var go=(new i.Component).refs;function vo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yo={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fl(),i=hl(e),o=uo(r,i);o.payload=t,null!=n&&(o.callback=n),po(e,o),ml(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fl(),i=hl(e),o=uo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),po(e,o),ml(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fl(),r=hl(e),i=uo(n,r);i.tag=2,null!=t&&(i.callback=t),po(e,i),ml(e,r,n)}};function bo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!pr(n,r)||!pr(i,o))}function wo(e,t,n){var r=!1,i=pi,o=t.contextType;return"object"==typeof o&&null!==o?o=ao(o):(i=vi(t)?mi:fi.current,o=(r=null!=(r=t.contextTypes))?gi(e,i):pi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function _o(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function So(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=go,lo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=ao(o):(o=vi(t)?mi:fi.current,i.context=gi(e,o)),ho(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(vo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&yo.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var xo=Array.isArray;function Eo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===go&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function ko(e,t){if("textarea"!==e.type)throw Error(s(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Co(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Wl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ql(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Eo(e,t,n),r.return=e,r):((r=Zl(n.type,n.key,n.props,null,e.mode,r)).ref=Eo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Yl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ql(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Zl(t.type,t.key,t.props,null,e.mode,n)).ref=Eo(e,null,t),n.return=e,n;case E:return(t=Xl(t,e.mode,n)).return=e,t}if(xo(t)||U(t))return(t=Yl(t,e.mode,n,null)).return=e,t;ko(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?n.type===k?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case E:return n.key===i?u(e,t,n,r):null}if(xo(n)||U(n))return null!==i?null:d(e,t,n,r,null);ko(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return e=e.get(null===r.key?n:r.key)||null,r.type===k?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(xo(r)||U(r))return d(t,e=e.get(n)||null,r,i,null);ko(t,r)}return null}function m(i,a,s,l){for(var c=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(i,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),a=o(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(i,d),c;if(null===d){for(;m<s.length;m++)null!==(d=p(i,s[m],l))&&(a=o(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);m<s.length;m++)null!==(g=h(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=o(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(i,e)})),c}function g(i,a,l,c){var u=U(l);if("function"!=typeof u)throw Error(s(150));if(null==(l=u.call(l)))throw Error(s(151));for(var d=u=null,m=a,g=a=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),a=o(b,a,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(i,m),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(i,y.value,c))&&(a=o(y,a,g),null===d?u=y:d.sibling=y,d=y);return u}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=h(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),a=o(y,a,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===k&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case x:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(o.type===k){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=Eo(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===k?((r=Yl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Zl(o.type,o.key,o.props,null,e.mode,l)).ref=Eo(e,r,o),l.return=e,e=l)}return a(e);case E:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xl(o,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Ql(o,e.mode,l)).return=e,e=r),a(e);if(xo(o))return m(e,r,o,l);if(U(o))return g(e,r,o,l);if(u&&ko(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(s(152,Z(e.type)||"Component"))}return n(e,r)}}var To=Co(!0),Oo=Co(!1),Mo={},Ao=ci(Mo),Po=ci(Mo),Lo=ci(Mo);function Do(e){if(e===Mo)throw Error(s(174));return e}function Ro(e,t){switch(di(Lo,t),di(Po,e),di(Ao,Mo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ui(Ao),di(Ao,t)}function Io(){ui(Ao),ui(Po),ui(Lo)}function No(e){Do(Lo.current);var t=Do(Ao.current),n=he(t,e.type);t!==n&&(di(Po,e),di(Ao,n))}function jo(e){Po.current===e&&(ui(Ao),ui(Po))}var Bo=ci(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ho=null,zo=null,Vo=!1;function Uo(e,t){var n=Gl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function $o(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Go(e){if(Vo){var t=zo;if(t){var n=t;if(!$o(e,t)){if(!(t=Zr(n.nextSibling))||!$o(e,t))return e.flags=-1025&e.flags|2,Vo=!1,void(Ho=e);Uo(Ho,n)}Ho=e,zo=Zr(t.firstChild)}else e.flags=-1025&e.flags|2,Vo=!1,Ho=e}}function qo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ho=e}function Wo(e){if(e!==Ho)return!1;if(!Vo)return qo(e),Vo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!$r(t,e.memoizedProps))for(t=zo;t;)Uo(e,t),t=Zr(t.nextSibling);if(qo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){zo=Zr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}zo=null}}else zo=Ho?Zr(e.stateNode.nextSibling):null;return!0}function Zo(){zo=Ho=null,Vo=!1}var Yo=[];function Ko(){for(var e=0;e<Yo.length;e++)Yo[e]._workInProgressVersionPrimary=null;Yo.length=0}var Qo=S.ReactCurrentDispatcher,Xo=S.ReactCurrentBatchConfig,Jo=0,ea=null,ta=null,na=null,ra=!1,ia=!1;function oa(){throw Error(s(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function sa(e,t,n,r,i,o){if(Jo=o,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qo.current=null===e||null===e.memoizedState?Da:Ra,e=n(r,i),ia){o=0;do{if(ia=!1,!(25>o))throw Error(s(301));o+=1,na=ta=null,t.updateQueue=null,Qo.current=Ia,e=n(r,i)}while(ia)}if(Qo.current=La,t=null!==ta&&null!==ta.next,Jo=0,na=ta=ea=null,ra=!1,t)throw Error(s(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(s(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function ua(e,t){return"function"==typeof t?t(e):t}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=ta,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=a=o=null,c=i;do{var u=c.lane;if((Jo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(a=l=d,o=r):l=l.next=d,ea.lanes|=u,Vs|=u}c=c.next}while(null!==c&&c!==i);null===l?o=r:l.next=a,ur(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function pa(e){var t=ca(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=e(o,a.action),a=a.next}while(a!==i);ur(o,t.memoizedState)||(ja=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function fa(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Jo&e)===e)&&(t._workInProgressVersionPrimary=r,Yo.push(t))),e)return n(t._source);throw Yo.push(t),Error(s(350))}function ha(e,t,n,r){var i=Rs;if(null===i)throw Error(s(349));var o=t._getVersion,a=o(t._source),l=Qo.current,c=l.useState((function(){return fa(i,t,n)})),u=c[1],d=c[0];c=na;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var g=ea;return e.memoizedState={refs:f,source:t,subscribe:r},l.useEffect((function(){f.getSnapshot=n,f.setSnapshot=u;var e=o(t._source);if(!ur(a,e)){e=n(t._source),ur(d,e)||(u(e),e=hl(g),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,s=e;0<s;){var l=31-$t(s),c=1<<l;r[l]|=e,s&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=hl(g);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),ur(h,n)&&ur(m,t)&&ur(p,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:d}).dispatch=u=Pa.bind(null,ea,e),c.queue=e,c.baseQueue=null,d=fa(i,t,n),c.memoizedState=c.baseState=d),d}function ma(e,t,n){return ha(ca(),e,t,n)}function ga(e){var t=la();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e}).dispatch=Pa.bind(null,ea,e),[t.memoizedState,e]}function va(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ya(e){return e={current:e},la().memoizedState=e}function ba(){return ca().memoizedState}function wa(e,t,n,r){var i=la();ea.flags|=e,i.memoizedState=va(1|t,n,void 0,void 0===r?null:r)}function _a(e,t,n,r){var i=ca();r=void 0===r?null:r;var o=void 0;if(null!==ta){var a=ta.memoizedState;if(o=a.destroy,null!==r&&aa(r,a.deps))return void va(t,n,o,r)}ea.flags|=e,i.memoizedState=va(1|t,n,o,r)}function Sa(e,t){return wa(516,4,e,t)}function xa(e,t){return _a(516,4,e,t)}function Ea(e,t){return _a(4,2,e,t)}function ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!=n?n.concat([e]):null,_a(4,2,ka.bind(null,t,e),n)}function Ta(){}function Oa(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ma(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t){var n=$i();qi(98>n?98:n,(function(){e(!0)})),qi(97<n?97:n,(function(){var n=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=n}}))}function Pa(e,t,n){var r=fl(),i=hl(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===ea||null!==a&&a===ea)ia=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,ur(l,s))return}catch(e){}ml(e,i,r)}}var La={readContext:ao,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Da={readContext:ao,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ao,useEffect:Sa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wa(4,2,ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Pa.bind(null,ea,e),[r.memoizedState,e]},useRef:ya,useState:ga,useDebugValue:Ta,useDeferredValue:function(e){var t=ga(e),n=t[0],r=t[1];return Sa((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return ya(e=Aa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(Vo){var e=!1,t=function(e){return{$$typeof:N,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Kr++).toString(36))),Error(s(355))})),n=ga(t)[1];return 0==(2&ea.mode)&&(ea.flags|=516,va(5,(function(){n("r:"+(Kr++).toString(36))}),void 0,null)),t}return ga(t="r:"+(Kr++).toString(36)),t},unstable_isNewReconciler:!1},Ra={readContext:ao,useCallback:Oa,useContext:ao,useEffect:xa,useImperativeHandle:Ca,useLayoutEffect:Ea,useMemo:Ma,useReducer:da,useRef:ba,useState:function(){return da(ua)},useDebugValue:Ta,useDeferredValue:function(e){var t=da(ua),n=t[0],r=t[1];return xa((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=da(ua)[0];return[ba().current,e]},useMutableSource:ma,useOpaqueIdentifier:function(){return da(ua)[0]},unstable_isNewReconciler:!1},Ia={readContext:ao,useCallback:Oa,useContext:ao,useEffect:xa,useImperativeHandle:Ca,useLayoutEffect:Ea,useMemo:Ma,useReducer:pa,useRef:ba,useState:function(){return pa(ua)},useDebugValue:Ta,useDeferredValue:function(e){var t=pa(ua),n=t[0],r=t[1];return xa((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=pa(ua)[0];return[ba().current,e]},useMutableSource:ma,useOpaqueIdentifier:function(){return pa(ua)[0]},unstable_isNewReconciler:!1},Na=S.ReactCurrentOwner,ja=!1;function Ba(e,t,n,r){t.child=null===e?Oo(t,null,n,r):To(t,e.child,n,r)}function Fa(e,t,n,r,i){n=n.render;var o=t.ref;return oo(t,i),r=sa(e,t,n,r,o,i),null===e||ja?(t.flags|=1,Ba(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,as(e,t,i))}function Ha(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||ql(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,r,i,o))}return a=e.child,0==(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:pr)(i,r)&&e.ref===t.ref)?as(e,t,o):(t.flags|=1,(e=Wl(a,r)).ref=t.ref,e.return=t,t.child=e)}function za(e,t,n,r,i,o){if(null!==e&&pr(e.memoizedProps,r)&&e.ref===t.ref){if(ja=!1,0==(o&i))return t.lanes=e.lanes,as(e,t,o);0!=(16384&e.flags)&&(ja=!0)}return $a(e,t,n,r,o)}function Va(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},xl(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},xl(t,e),null;t.memoizedState={baseLanes:0},xl(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,xl(t,r);return Ba(e,t,i,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function $a(e,t,n,r,i){var o=vi(n)?mi:fi.current;return o=gi(t,o),oo(t,i),n=sa(e,t,n,r,o,i),null===e||ja?(t.flags|=1,Ba(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,as(e,t,i))}function Ga(e,t,n,r,i){if(vi(n)){var o=!0;_i(t)}else o=!1;if(oo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wo(t,n,r),So(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ao(c):c=gi(t,c=vi(n)?mi:fi.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&_o(t,a,r,c),so=!1;var p=t.memoizedState;a.state=p,ho(t,r,a,i),l=t.memoizedState,s!==r||p!==l||hi.current||so?("function"==typeof u&&(vo(t,n,u,r),l=t.memoizedState),(s=so||bo(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,co(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Qi(t.type,s),a.props=c,d=t.pendingProps,p=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ao(l):l=gi(t,l=vi(n)?mi:fi.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&_o(t,a,r,l),so=!1,p=t.memoizedState,a.state=p,ho(t,r,a,i);var h=t.memoizedState;s!==d||p!==h||hi.current||so?("function"==typeof f&&(vo(t,n,f,r),h=t.memoizedState),(c=so||bo(t,n,c,r,p,h,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return qa(e,t,n,r,o,i)}function qa(e,t,n,r,i,o){Ua(e,t);var a=0!=(64&t.flags);if(!r&&!a)return i&&Si(t,n,!1),as(e,t,o);r=t.stateNode,Na.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=To(t,e.child,null,o),t.child=To(t,null,s,o)):Ba(e,t,s,o),t.memoizedState=r.state,i&&Si(t,n,!0),t.child}function Wa(e){var t=e.stateNode;t.pendingContext?bi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bi(0,t.context,!1),Ro(e,t.containerInfo)}var Za,Ya,Ka,Qa,Xa={dehydrated:null,retryLane:0};function Ja(e,t,n){var r,i=t.pendingProps,o=Bo.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),di(Bo,1&o),null===e?(void 0!==i.fallback&&Go(t),e=i.children,o=i.fallback,a?(e=es(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"==typeof i.unstable_expectedLoadTime?(e=es(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Kl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=ns(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,i):(n=ts(e,t,i.children,n),t.memoizedState=null,n))}function es(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Kl(t,i,0,null),n=Yl(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function ts(e,t,n,r){var i=e.child;return e=i.sibling,n=Wl(i,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ns(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Wl(a,s),null!==e?r=Wl(e,r):(r=Yl(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function rs(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),io(e.return,t)}function is(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function os(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ba(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rs(e,n);else if(19===e.tag)rs(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(di(Bo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),is(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}is(t,!0,n,null,o,t.lastEffect);break;case"together":is(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function as(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Vs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=Wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ss(e,t){if(!Vo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ls(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return vi(t.type)&&yi(),null;case 3:return Io(),ui(hi),ui(fi),Ko(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Wo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ya(t),null;case 5:jo(t);var i=Do(Lo.current);if(n=t.type,null!==e&&null!=t.stateNode)Ka(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(s(166));return null}if(e=Do(Ao.current),Wo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Xr]=t,r[Jr]=a,n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Ar(Cr[e],r);break;case"source":Ar("error",r);break;case"img":case"image":case"link":Ar("error",r),Ar("load",r);break;case"details":Ar("toggle",r);break;case"input":te(r,a),Ar("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ar("invalid",r);break;case"textarea":ce(r,a),Ar("invalid",r)}for(var l in Ee(n,a),e=null,a)a.hasOwnProperty(l)&&(i=a[l],"children"===l?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):c.hasOwnProperty(l)&&null!=i&&"onScroll"===l&&Ar("scroll",r));switch(n){case"input":Q(r),ie(r,a,!0);break;case"textarea":Q(r),de(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Hr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(l=9===i.nodeType?i:i.ownerDocument,e===pe.html&&(e=fe(n)),e===pe.html?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Xr]=t,e[Jr]=r,Za(e,t,!1,!1),t.stateNode=e,l=ke(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),i=r;break;case"iframe":case"object":case"embed":Ar("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Ar(Cr[i],e);i=r;break;case"source":Ar("error",e),i=r;break;case"img":case"image":case"link":Ar("error",e),Ar("load",e),i=r;break;case"details":Ar("toggle",e),i=r;break;case"input":te(e,r),i=ee(e,r),Ar("invalid",e);break;case"option":i=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Ar("invalid",e);break;case"textarea":ce(e,r),i=le(e,r),Ar("invalid",e);break;default:i=r}Ee(n,i);var u=i;for(a in u)if(u.hasOwnProperty(a)){var d=u[a];"style"===a?Se(e,d):"dangerouslySetInnerHTML"===a?null!=(d=d?d.__html:void 0)&&ve(e,d):"children"===a?"string"==typeof d?("textarea"!==n||""!==d)&&ye(e,d):"number"==typeof d&&ye(e,""+d):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(c.hasOwnProperty(a)?null!=d&&"onScroll"===a&&Ar("scroll",e):null!=d&&_(e,a,d,l))}switch(n){case"input":Q(e),ie(e,r,!1);break;case"textarea":Q(e),de(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Y(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?se(e,!!r.multiple,a,!1):null!=r.defaultValue&&se(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Hr)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qa(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));n=Do(Lo.current),Do(Ao.current),Wo(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return ui(Bo),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wo(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?0===Fs&&(Fs=3):(0!==Fs&&3!==Fs||(Fs=4),null===Rs||0==(134217727&Vs)&&0==(134217727&Us)||bl(Rs,Ns))),(r||n)&&(t.flags|=4),null);case 4:return Io(),Ya(t),null===e&&Lr(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(ui(Bo),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(l=r.rendering))if(a)ss(r,!1);else{if(0!==Fs||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(l=Fo(e))){for(t.flags|=64,ss(r,!1),null!==(a=l.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return di(Bo,1&Bo.current|2),t.child}e=e.sibling}null!==r.tail&&Ui()>Ws&&(t.flags|=64,a=!0,ss(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Fo(l))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ss(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate&&!Vo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=64,a=!0,ss(r,!1),t.lanes=33554432);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=Bo.current,di(Bo,a?1&t|2:1&t),n):null;case 23:case 24:return El(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(s(156,t.tag))}function cs(e){switch(e.tag){case 1:vi(e.type)&&yi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Io(),ui(hi),ui(fi),Ko(),0!=(64&(t=e.flags)))throw Error(s(285));return e.flags=-4097&t|64,e;case 5:return jo(e),null;case 13:return ui(Bo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ui(Bo),null;case 4:return Io(),null;case 10:return ro(e),null;case 23:case 24:return El(),null;default:return null}}function us(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ds(e,t){try{r.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Za=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(){},Ka=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Do(Ao.current);var a,s=null;switch(n){case"input":i=ee(e,i),r=ee(e,r),s=[];break;case"option":i=ae(e,i),r=ae(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=le(e,i),r=le(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Hr)}for(d in Ee(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var l=i[d];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(c.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(l=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&u!==l&&(null!=u||null!=l))if("style"===d)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(c.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Ar("scroll",e),s||l===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===N?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Qa=function(e,t,n,r){n!==r&&(t.flags|=4)};var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=uo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qs||(Qs=!0,Xs=r),ds(0,t)},n}function hs(e,t,n){(n=uo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return ds(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Js?Js=new Set([this]):Js.add(this),ds(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ms="function"==typeof WeakSet?WeakSet:Set;function gs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zl(e,t)}else t.current=null}function vs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(s(163))}function ys(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(Bl(n,e),jl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&mo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}mo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(s(163))}function bs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=_e("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ws(e,t){if(Ei&&"function"==typeof Ei.onCommitFiberUnmount)try{Ei.onCommitFiberUnmount(xi,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))Bl(t,n);else{r=t;try{i()}catch(e){zl(r,e)}}n=n.next}while(n!==e)}break;case 1:if(gs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zl(t,e)}break;case 5:gs(t);break;case 4:Cs(e,t)}}function _s(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ss(e){return 5===e.tag||3===e.tag||4===e.tag}function xs(e){e:{for(var t=e.return;null!==t;){if(Ss(t))break e;t=t.return}throw Error(s(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(s(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ss(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Es(e,n,t):ks(e,n,t)}function Es(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Hr));else if(4!==r&&null!==(e=e.child))for(Es(e,t,n),e=e.sibling;null!==e;)Es(e,t,n),e=e.sibling}function ks(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ks(e,t,n),e=e.sibling;null!==e;)ks(e,t,n),e=e.sibling}function Cs(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(s(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var a=e,l=i,c=l;;)if(ws(a,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(a=n,l=i.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(ws(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Ts(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ne(n,r),ke(e,i),t=ke(e,r),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];"style"===a?Se(n,l):"dangerouslySetInnerHTML"===a?ve(n,l):"children"===a?ye(n,l):_(n,a,l,t)}switch(e){case"input":re(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?se(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?se(n,!!r.multiple,r.defaultValue,!0):se(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(s(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 13:return null!==t.memoizedState&&(qs=Ui(),bs(t.child,!0)),void Os(t);case 19:return void Os(t);case 23:case 24:return void bs(t,null!==t.memoizedState)}throw Error(s(163))}function Os(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ms),t.forEach((function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ms(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var As=Math.ceil,Ps=S.ReactCurrentDispatcher,Ls=S.ReactCurrentOwner,Ds=0,Rs=null,Is=null,Ns=0,js=0,Bs=ci(0),Fs=0,Hs=null,zs=0,Vs=0,Us=0,$s=0,Gs=null,qs=0,Ws=1/0;function Zs(){Ws=Ui()+500}var Ys,Ks=null,Qs=!1,Xs=null,Js=null,el=!1,tl=null,nl=90,rl=[],il=[],ol=null,al=0,sl=null,ll=-1,cl=0,ul=0,dl=null,pl=!1;function fl(){return 0!=(48&Ds)?Ui():-1!==ll?ll:ll=Ui()}function hl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===$i()?1:2;if(0===cl&&(cl=zs),0!==Ki.transition){0!==ul&&(ul=null!==Gs?Gs.pendingLanes:0),e=cl;var t=4186112&~ul;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=$i(),0!=(4&Ds)&&98===e?e=Ht(12,cl):e=Ht(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),cl),e}function ml(e,t,n){if(50<al)throw al=0,sl=null,Error(s(185));if(null===(e=gl(e,t)))return null;Ut(e,t,n),e===Rs&&(Us|=t,4===Fs&&bl(e,Ns));var r=$i();1===t?0!=(8&Ds)&&0==(48&Ds)?wl(e):(vl(e,n),0===Ds&&(Zs(),Zi())):(0==(4&Ds)||98!==r&&99!==r||(null===ol?ol=new Set([e]):ol.add(e)),vl(e,n)),Gs=e}function gl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function vl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-$t(a),c=1<<l,u=o[l];if(-1===u){if(0==(c&r)||0!=(c&i)){u=t,jt(c);var d=Nt;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);a&=~c}if(r=Bt(e,e===Rs?Ns:0),t=Nt,0===r)null!==n&&(n!==ji&&Ti(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ji&&Ti(n)}15===t?(n=wl.bind(null,e),null===Fi?(Fi=[n],Hi=Ci(Li,Yi)):Fi.push(n),n=ji):14===t?n=Wi(99,wl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(s(358,e))}}(t),n=Wi(n,yl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function yl(e){if(ll=-1,ul=cl=0,0!=(48&Ds))throw Error(s(327));var t=e.callbackNode;if(Nl()&&e.callbackNode!==t)return null;var n=Bt(e,e===Rs?Ns:0);if(0===n)return null;var r=n,i=Ds;Ds|=16;var o=Tl();for(Rs===e&&Ns===r||(Zs(),kl(e,r));;)try{Al();break}catch(t){Cl(e,t)}if(no(),Ps.current=o,Ds=i,null!==Is?r=0:(Rs=null,Ns=0,r=Fs),0!=(zs&Us))kl(e,0);else if(0!==r){if(2===r&&(Ds|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(n=Ft(e))&&(r=Ol(e,n))),1===r)throw t=Hs,kl(e,0),bl(e,n),vl(e,Ui()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(s(345));case 2:case 5:Dl(e);break;case 3:if(bl(e,n),(62914560&n)===n&&10<(r=qs+500-Ui())){if(0!==Bt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){fl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Gr(Dl.bind(null,e),r);break}Dl(e);break;case 4:if(bl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-$t(n);o=1<<a,(a=r[a])>i&&(i=a),n&=~o}if(n=i,10<(n=(120>(n=Ui()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*As(n/1960))-n)){e.timeoutHandle=Gr(Dl.bind(null,e),n);break}Dl(e);break;default:throw Error(s(329))}}return vl(e,Ui()),e.callbackNode===t?yl.bind(null,e):null}function bl(e,t){for(t&=~$s,t&=~Us,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-$t(t),r=1<<n;e[n]=-1,t&=~r}}function wl(e){if(0!=(48&Ds))throw Error(s(327));if(Nl(),e===Rs&&0!=(e.expiredLanes&Ns)){var t=Ns,n=Ol(e,t);0!=(zs&Us)&&(n=Ol(e,t=Bt(e,t)))}else n=Ol(e,t=Bt(e,0));if(0!==e.tag&&2===n&&(Ds|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(t=Ft(e))&&(n=Ol(e,t))),1===n)throw n=Hs,kl(e,0),bl(e,t),vl(e,Ui()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dl(e),vl(e,Ui()),null}function _l(e,t){var n=Ds;Ds|=1;try{return e(t)}finally{0===(Ds=n)&&(Zs(),Zi())}}function Sl(e,t){var n=Ds;Ds&=-2,Ds|=8;try{return e(t)}finally{0===(Ds=n)&&(Zs(),Zi())}}function xl(e,t){di(Bs,js),js|=t,zs|=t}function El(){js=Bs.current,ui(Bs)}function kl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qr(n)),null!==Is)for(n=Is.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yi();break;case 3:Io(),ui(hi),ui(fi),Ko();break;case 5:jo(r);break;case 4:Io();break;case 13:case 19:ui(Bo);break;case 10:ro(r);break;case 23:case 24:El()}n=n.return}Rs=e,Is=Wl(e.current,null),Ns=js=zs=t,Fs=0,Hs=null,$s=Us=Vs=0}function Cl(e,t){for(;;){var n=Is;try{if(no(),Qo.current=La,ra){for(var r=ea.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ra=!1}if(Jo=0,na=ta=ea=null,ia=!1,Ls.current=null,null===n||null===n.return){Fs=1,Hs=t,Is=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Ns,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Bo.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var v=new Set;v.add(c),p.updateQueue=v}else g.add(c);if(0==(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=uo(-1,1);y.tag=2,po(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ps,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var w=Vl.bind(null,o,c,s);c.then(w,w)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((Z(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fs&&(Fs=2),l=us(l,s),p=a;do{switch(p.tag){case 3:o=l,p.flags|=4096,t&=-t,p.lanes|=t,fo(p,fs(0,o,t));break e;case 1:o=l;var _=p.type,S=p.stateNode;if(0==(64&p.flags)&&("function"==typeof _.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Js||!Js.has(S)))){p.flags|=4096,t&=-t,p.lanes|=t,fo(p,hs(p,o,t));break e}}p=p.return}while(null!==p)}Ll(n)}catch(e){t=e,Is===n&&null!==n&&(Is=n=n.return);continue}break}}function Tl(){var e=Ps.current;return Ps.current=La,null===e?La:e}function Ol(e,t){var n=Ds;Ds|=16;var r=Tl();for(Rs===e&&Ns===t||kl(e,t);;)try{Ml();break}catch(t){Cl(e,t)}if(no(),Ds=n,Ps.current=r,null!==Is)throw Error(s(261));return Rs=null,Ns=0,Fs}function Ml(){for(;null!==Is;)Pl(Is)}function Al(){for(;null!==Is&&!Oi();)Pl(Is)}function Pl(e){var t=Ys(e.alternate,e,js);e.memoizedProps=e.pendingProps,null===t?Ll(e):Is=t,Ls.current=null}function Ll(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ls(n,t,js)))return void(Is=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&js)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=cs(t)))return n.flags&=2047,void(Is=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Is=t);Is=t=e}while(null!==t);0===Fs&&(Fs=5)}function Dl(e){var t=$i();return qi(99,Rl.bind(null,e,t)),null}function Rl(e,t){do{Nl()}while(null!==tl);if(0!=(48&Ds))throw Error(s(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-$t(o),u=1<<c;i[c]=0,a[c]=-1,l[c]=-1,o&=~u}if(null!==ol&&0==(24&r)&&ol.has(e)&&ol.delete(e),e===Rs&&(Is=Rs=null,Ns=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=Ds,Ds|=32,Ls.current=null,zr=Yt,vr(a=gr())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,p=-1,f=-1,h=0,m=0,g=a,v=null;t:for(;;){for(var y;g!==l||0!==o&&3!==g.nodeType||(p=d+o),g!==c||0!==u&&3!==g.nodeType||(f=d+u),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===a)break t;if(v===l&&++h===o&&(p=d),v===c&&++m===u&&(f=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}l=-1===p||-1===f?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;Vr={focusedElem:a,selectionRange:l},Yt=!1,dl=null,pl=!1,Ks=r;do{try{Il()}catch(e){if(null===Ks)throw Error(s(330));zl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);dl=null,Ks=r;do{try{for(a=e;null!==Ks;){var b=Ks.flags;if(16&b&&ye(Ks.stateNode,""),128&b){var w=Ks.alternate;if(null!==w){var _=w.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(1038&b){case 2:xs(Ks),Ks.flags&=-3;break;case 6:xs(Ks),Ks.flags&=-3,Ts(Ks.alternate,Ks);break;case 1024:Ks.flags&=-1025;break;case 1028:Ks.flags&=-1025,Ts(Ks.alternate,Ks);break;case 4:Ts(Ks.alternate,Ks);break;case 8:Cs(a,l=Ks);var S=l.alternate;_s(l),null!==S&&_s(S)}Ks=Ks.nextEffect}}catch(e){if(null===Ks)throw Error(s(330));zl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);if(_=Vr,w=gr(),b=_.focusedElem,a=_.selectionRange,w!==b&&b&&b.ownerDocument&&mr(b.ownerDocument.documentElement,b)){null!==a&&vr(b)&&(w=a.start,void 0===(_=a.end)&&(_=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(_,b.value.length)):(_=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(_=_.getSelection(),l=b.textContent.length,S=Math.min(a.start,l),a=void 0===a.end?S:Math.min(a.end,l),!_.extend&&S>a&&(l=a,a=S,S=l),l=hr(b,S),o=hr(b,a),l&&o&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==o.node||_.focusOffset!==o.offset)&&((w=w.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),S>a?(_.addRange(w),_.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),_.addRange(w))))),w=[];for(_=b;_=_.parentNode;)1===_.nodeType&&w.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(_=w[b]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Yt=!!zr,Vr=zr=null,e.current=n,Ks=r;do{try{for(b=e;null!==Ks;){var x=Ks.flags;if(36&x&&ys(b,Ks.alternate,Ks),128&x){w=void 0;var E=Ks.ref;if(null!==E){var k=Ks.stateNode;Ks.tag,w=k,"function"==typeof E?E(w):E.current=w}}Ks=Ks.nextEffect}}catch(e){if(null===Ks)throw Error(s(330));zl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);Ks=null,Bi(),Ds=i}else e.current=n;if(el)el=!1,tl=e,nl=t;else for(Ks=r;null!==Ks;)t=Ks.nextEffect,Ks.nextEffect=null,8&Ks.flags&&((x=Ks).sibling=null,x.stateNode=null),Ks=t;if(0===(r=e.pendingLanes)&&(Js=null),1===r?e===sl?al++:(al=0,sl=e):al=0,n=n.stateNode,Ei&&"function"==typeof Ei.onCommitFiberRoot)try{Ei.onCommitFiberRoot(xi,n,void 0,64==(64&n.current.flags))}catch(e){}if(vl(e,Ui()),Qs)throw Qs=!1,e=Xs,Xs=null,e;return 0!=(8&Ds)||Zi(),null}function Il(){for(;null!==Ks;){var e=Ks.alternate;pl||null===dl||(0!=(8&Ks.flags)?et(Ks,dl)&&(pl=!0):13===Ks.tag&&Ms(e,Ks)&&et(Ks,dl)&&(pl=!0));var t=Ks.flags;0!=(256&t)&&vs(e,Ks),0==(512&t)||el||(el=!0,Wi(97,(function(){return Nl(),null}))),Ks=Ks.nextEffect}}function Nl(){if(90!==nl){var e=97<nl?97:nl;return nl=90,qi(e,Fl)}return!1}function jl(e,t){rl.push(t,e),el||(el=!0,Wi(97,(function(){return Nl(),null})))}function Bl(e,t){il.push(t,e),el||(el=!0,Wi(97,(function(){return Nl(),null})))}function Fl(){if(null===tl)return!1;var e=tl;if(tl=null,0!=(48&Ds))throw Error(s(331));var t=Ds;Ds|=32;var n=il;il=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=i.destroy;if(i.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===o)throw Error(s(330));zl(o,e)}}for(n=rl,rl=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var l=i.create;i.destroy=l()}catch(e){if(null===o)throw Error(s(330));zl(o,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ds=t,Zi(),!0}function Hl(e,t,n){po(e,t=fs(0,t=us(n,t),1)),t=fl(),null!==(e=gl(e,1))&&(Ut(e,1,t),vl(e,t))}function zl(e,t){if(3===e.tag)Hl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Hl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r))){var i=hs(n,e=us(t,e),1);if(po(n,i),i=fl(),null!==(n=gl(n,1)))Ut(n,1,i),vl(n,i);else if("function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Vl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=fl(),e.pingedLanes|=e.suspendedLanes&n,Rs===e&&(Ns&n)===n&&(4===Fs||3===Fs&&(62914560&Ns)===Ns&&500>Ui()-qs?kl(e,0):$s|=n),vl(e,t)}function Ul(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===$i()?1:2:(0===cl&&(cl=zs),0===(t=zt(62914560&~cl))&&(t=4194304))),n=fl(),null!==(e=gl(e,t))&&(Ut(e,t,n),vl(e,n))}function $l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Gl(e,t,n,r){return new $l(e,t,n,r)}function ql(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wl(e,t){var n=e.alternate;return null===n?((n=Gl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zl(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)ql(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case k:return Yl(n.children,i,o,t);case j:a=8,i|=16;break;case C:a=8,i|=1;break;case T:return(e=Gl(12,n,t,8|i)).elementType=T,e.type=T,e.lanes=o,e;case P:return(e=Gl(13,n,t,i)).type=P,e.elementType=P,e.lanes=o,e;case L:return(e=Gl(19,n,t,i)).elementType=L,e.lanes=o,e;case B:return Kl(n,i,o,t);case F:return(e=Gl(24,n,t,i)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:a=10;break e;case M:a=9;break e;case A:a=11;break e;case D:a=14;break e;case R:a=16,r=null;break e;case I:a=22;break e}throw Error(s(130,null==e?e:typeof e,""))}return(t=Gl(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Yl(e,t,n,r){return(e=Gl(7,e,r,t)).lanes=n,e}function Kl(e,t,n,r){return(e=Gl(23,e,r,t)).elementType=B,e.lanes=n,e}function Ql(e,t,n){return(e=Gl(6,e,null,t)).lanes=n,e}function Xl(e,t,n){return(t=Gl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function ec(e,t,n,r){var i=t.current,o=fl(),a=hl(i);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(s(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(s(171))}if(1===n.tag){var c=n.type;if(vi(c)){n=wi(n,c,l);break e}}n=l}else n=pi;return null===t.context?t.context=n:t.pendingContext=n,(t=uo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(i,t),ml(i,a,o),a}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ic(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Jl(e,t,null!=n&&!0===n.hydrate),t=Gl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,lo(t),e[ei]=n.current,Lr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function oc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=tc(a);s.call(e)}}ec(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ic(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=tc(a);l.call(e)}}Sl((function(){ec(t,a,e,i)}))}return tc(a)}function sc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!oc(t))throw Error(s(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Ys=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||hi.current)ja=!0;else{if(0==(n&r)){switch(ja=!1,t.tag){case 3:Wa(t),Zo();break;case 5:No(t);break;case 1:vi(t.type)&&_i(t);break;case 4:Ro(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;di(Xi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Ja(e,t,n):(di(Bo,1&Bo.current),null!==(t=as(e,t,n))?t.sibling:null);di(Bo,1&Bo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return os(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),di(Bo,Bo.current),r)break;return null;case 23:case 24:return t.lanes=0,Va(e,t,n)}return as(e,t,n)}ja=0!=(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=gi(t,fi.current),oo(t,n),i=sa(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vi(r)){var o=!0;_i(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,lo(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&vo(t,r,a,e),i.updater=yo,t.stateNode=i,i._reactInternals=t,So(t,r,e,n),t=qa(null,t,r,!0,o,n)}else t.tag=0,Ba(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===D)return 14}return 2}(i),e=Qi(i,e),o){case 0:t=$a(null,t,i,e,n);break e;case 1:t=Ga(null,t,i,e,n);break e;case 11:t=Fa(null,t,i,e,n);break e;case 14:t=Ha(null,t,i,Qi(i.type,e),r,n);break e}throw Error(s(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,$a(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ga(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 3:if(Wa(t),r=t.updateQueue,null===e||null===r)throw Error(s(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),ho(t,r,null,n),(r=t.memoizedState.element)===i)Zo(),t=as(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(zo=Zr(t.stateNode.containerInfo.firstChild),Ho=t,o=Vo=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Yo.push(o);for(n=Oo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ba(e,t,r,n),Zo();t=t.child}return t;case 5:return No(t),null===e&&Go(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,$r(r,i)?a=null:null!==o&&$r(r,o)&&(t.flags|=16),Ua(e,t),Ba(e,t,a,n),t.child;case 6:return null===e&&Go(t),null;case 13:return Ja(e,t,n);case 4:return Ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=To(t,null,r,n):Ba(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 7:return Ba(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ba(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(di(Xi,l._currentValue),l._currentValue=o,null!==a)if(l=a.value,0===(o=ur(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(a.children===i.children&&!hi.current){t=as(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){a=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===l.tag&&((u=uo(-1,n&-n)).tag=2,po(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),io(l.return,n),c.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}Ba(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,oo(t,n),r=r(i=ao(i,o.unstable_observedBits)),t.flags|=1,Ba(e,t,r,n),t.child;case 14:return o=Qi(i=t.type,t.pendingProps),Ha(e,t,i,o=Qi(i.type,o),r,n);case 15:return za(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,vi(r)?(e=!0,_i(t)):e=!1,oo(t,n),wo(t,r,i),So(t,r,i,n),qa(null,t,r,!0,e,n);case 19:return os(e,t,n);case 23:case 24:return Va(e,t,n)}throw Error(s(156,t.tag))},ic.prototype.render=function(e){ec(e,this._internalRoot,null,null)},ic.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[ei]=null}))},tt=function(e){13===e.tag&&(ml(e,4,fl()),rc(e,4))},nt=function(e){13===e.tag&&(ml(e,67108864,fl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=fl(),n=hl(e);ml(e,n,t),rc(e,n)}},it=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(re(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=oi(r);if(!i)throw Error(s(90));X(r),re(r,i)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&se(e,!!n.multiple,t,!1)}},De=_l,Re=function(e,t,n,r,i){var o=Ds;Ds|=4;try{return qi(98,e.bind(null,t,n,r,i))}finally{0===(Ds=o)&&(Zs(),Zi())}},Ie=function(){0==(49&Ds)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,vl(e,Ui())}))}Zi()}(),Nl())},Ne=function(e,t){var n=Ds;Ds|=2;try{return e(t)}finally{0===(Ds=n)&&(Zs(),Zi())}};var lc={Events:[ri,ii,oi,Pe,Le,Nl,{current:!1}]},cc={findFiberByHostInstance:ni,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{xi=dc.inject(uc),Ei=dc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,t.createPortal=sc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ds;if(0!=(48&n))return e(t);Ds|=1;try{if(e)return qi(99,e.bind(null,t))}finally{Ds=n,Zi()}},t.hydrate=function(e,t,n){if(!oc(t))throw Error(s(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!oc(t))throw Error(s(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!oc(e))throw Error(s(40));return!!e._reactRootContainer&&(Sl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[ei]=null}))})),!0)},t.unstable_batchedUpdates=_l,t.unstable_createPortal=function(e,t){return sc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!oc(n))throw Error(s(200));if(null==e||void 0===e._reactInternals)throw Error(s(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},73935:function(e,t,n){"use strict";var r=n(25108);!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){r.error(e)}}(),e.exports=n(64448)},85294:function(e,t,n){var r=n(25108);e.exports=function(e,t){"use strict";function n(e,t){return e(t={exports:{}},t.exports),t.exports}function i(e){return function(){return e}}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var o=function(){};o.thatReturns=i,o.thatReturnsFalse=i(!1),o.thatReturnsTrue=i(!0),o.thatReturnsNull=i(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e};var a=o,s=function(e){};function l(e,t,n,r,i,o,a,l){if(s(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,l],d=0;(c=new Error(t.replace(/%s/g,(function(){return u[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}s=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")};var c=l,u=a,d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=0,a="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));void 0!==r&&r.error(a);try{throw new Error(a)}catch(e){}};u=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];d.apply(void 0,[t].concat(r))}};var p=u,f=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;function g(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function v(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}var y=v()?Object.assign:function(e,t){for(var n,r,i=g(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))h.call(n,a)&&(i[a]=n[a]);if(f){r=f(n);for(var s=0;s<r.length;s++)m.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},b="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",w=c,_=p,S=b,x={};function E(e,t,n,r,i){for(var o in e)if(e.hasOwnProperty(o)){var a;try{w("function"==typeof e[o],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",r||"React class",n,o,typeof e[o]),a=e[o](t,o,r,n,null,S)}catch(e){a=e}if(_(!a||a instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,o,typeof a),a instanceof Error&&!(a.message in x)){x[a.message]=!0;var s=i?i():"";_(!1,"Failed %s type: %s%s",n,a.message,null!=s?s:"")}}}var k=E,C=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";function o(e){var t=e&&(n&&e[n]||e[i]);if("function"==typeof t)return t}var s="<<anonymous>>",l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(),arrayOf:g,element:v(),instanceOf:w,node:E(),objectOf:S,oneOf:_,oneOfType:x,shape:C,exact:T};function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){this.message=e,this.stack=""}function f(e){var n={},i=0;function o(o,a,l,u,f,h,m){if(u=u||s,h=h||l,m!==b)if(t)c(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if(void 0!==r){var g=u+":"+l;!n[g]&&i<3&&(p(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,u),n[g]=!0,i++)}return null==a[l]?o?null===a[l]?new d("The "+f+" `"+h+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+f+" `"+h+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,l,u,f,h)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){function t(t,n,r,i,o,a){var s=t[n];return A(s)!==e?new d("Invalid "+i+" `"+o+"` of type `"+P(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}return f(t)}function m(){return f(a.thatReturnsNull)}function g(e){function t(t,n,r,i,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new d("Invalid "+i+" `"+o+"` of type `"+A(a)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<a.length;s++){var l=e(a,s,r,i,o+"["+s+"]",b);if(l instanceof Error)return l}return null}return f(t)}function v(){function t(t,n,r,i,o){var a=t[n];return e(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+A(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return f(t)}function w(e){function t(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||s;return new d("Invalid "+i+" `"+o+"` of type `"+D(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return f(t)}function _(e){if(!Array.isArray(e))return p(!1,"Invalid argument supplied to oneOf, expected an instance of array."),a.thatReturnsNull;function t(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(u(a,e[s]))return null;return new d("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return f(t)}function S(e){function t(t,n,r,i,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],s=A(a);if("object"!==s)return new d("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var l in a)if(a.hasOwnProperty(l)){var c=e(a,l,r,i,o+"."+l,b);if(c instanceof Error)return c}return null}return f(t)}function x(e){if(!Array.isArray(e))return p(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),a.thatReturnsNull;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return p(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",L(n),t),a.thatReturnsNull}function r(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,b))return null;return new d("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}return f(r)}function E(){function e(e,t,n,r,i){return O(e[t])?null:new d("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}function C(e){function t(t,n,r,i,o){var a=t[n],s=A(a);if("object"!==s)return new d("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var c=e[l];if(c){var u=c(a,l,r,i,o+"."+l,b);if(u)return u}}return null}return f(t)}function T(e){function t(t,n,r,i,o){var a=t[n],s=A(a);if("object"!==s)return new d("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");var l=y({},t[n],e);for(var c in l){var u=e[c];if(!u)return new d("Invalid "+i+" `"+o+"` key `"+c+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=u(a,c,r,i,o+"."+c,b);if(p)return p}return null}return f(t)}function O(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(O);if(null===t||e(t))return!0;var n=o(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!O(r.value))return!1}else for(;!(r=i.next()).done;){var a=r.value;if(a&&!O(a[1]))return!1}return!0;default:return!1}}function M(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}function A(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":M(t,e)?"symbol":t}function P(e){if(null==e)return""+e;var t=A(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function L(e){var t=P(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function D(e){return e.constructor&&e.constructor.name?e.constructor.name:s}return d.prototype=Error.prototype,l.checkPropTypes=k,l.PropTypes=l,l},T=n((function(e){var t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,n=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r=!0;e.exports=C(n,r)})),O=n((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i))e.push(n.apply(null,i));else if("object"===o)for(var a in i)t.call(i,a)&&i[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=n:window.classNames=n}()}));function M(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]}function A(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)}function P(e){return"number"==typeof e&&!isNaN(e)}function L(e){return parseInt(e,10)}function D(e,t,n){if(e[t])return new Error("Invalid prop "+t+" passed to "+n+" - do not set this, set it on the child.")}var R=["Moz","Webkit","O","ms"];function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n<R.length;n++)if(N(e,R[n])in t)return R[n];return""}function N(e,t){return t?""+t+j(e):e}function j(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}var B=I(),F=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},H=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),z=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},$=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},G=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),q="";function W(e,t){return q||(q=M(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return A(e[t])}))),!!A(e[q])&&e[q](t)}function Z(e,t,n){var r=e;do{if(W(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1}function Y(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)}function K(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)}function Q(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=L(n.borderTopWidth),t+=L(n.borderBottomWidth)}function X(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=L(n.borderLeftWidth),t+=L(n.borderRightWidth)}function J(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=L(n.paddingTop),t-=L(n.paddingBottom)}function ee(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=L(n.paddingLeft),t-=L(n.paddingRight)}function te(e,t){var n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:e.clientX+t.scrollLeft-n.left,y:e.clientY+t.scrollTop-n.top}}function ne(e,t){var n=ie(e,t,"px");return z({},N("transform",B),n)}function re(e,t){return ie(e,t,"")}function ie(e,t,n){var r="translate("+e.x+n+","+e.y+n+")";return t&&(r="translate("+("string"==typeof t.x?t.x:t.x+n)+", "+("string"==typeof t.y?t.y:t.y+n)+")"+r),r}function oe(e,t){return e.targetTouches&&M(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&M(e.changedTouches,(function(e){return t===e.identifier}))}function ae(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0}function se(e){if(e){var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&ue(e.body,"react-draggable-transparent-selection")}}function le(e){try{e&&e.body&&de(e.body,"react-draggable-transparent-selection"),e.selection?e.selection.empty():window.getSelection().removeAllRanges()}catch(e){}}function ce(){return V({touchAction:"none"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function ue(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)"+t+"(?!\\S)"))||(e.className+=" "+t)}function de(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)"+t+"(?!\\S)","g"),"")}function pe(e,t,n){if(!e.props.bounds)return[t,n];var r=e.props.bounds;r="string"==typeof r?r:be(r);var i=we(e);if("string"==typeof r){var o=i.ownerDocument,a=o.defaultView,s=void 0;if(!((s="parent"===r?i.parentNode:o.querySelector(r))instanceof a.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');var l=a.getComputedStyle(i),c=a.getComputedStyle(s);r={left:-i.offsetLeft+L(c.paddingLeft)+L(l.marginLeft),top:-i.offsetTop+L(c.paddingTop)+L(l.marginTop),right:ee(s)-X(i)-i.offsetLeft+L(c.paddingRight)-L(l.marginRight),bottom:J(s)-Q(i)-i.offsetTop+L(c.paddingBottom)-L(l.marginBottom)}}return P(r.right)&&(t=Math.min(t,r.right)),P(r.bottom)&&(n=Math.min(n,r.bottom)),P(r.left)&&(t=Math.max(t,r.left)),P(r.top)&&(n=Math.max(n,r.top)),[t,n]}function fe(e,t,n){return[Math.round(t/e[0])*e[0],Math.round(n/e[1])*e[1]]}function he(e){return"both"===e.props.axis||"x"===e.props.axis}function me(e){return"both"===e.props.axis||"y"===e.props.axis}function ge(e,t,n){var r="number"==typeof t?oe(e,t):null;if("number"==typeof t&&!r)return null;var i=we(n);return te(r||e,n.props.offsetParent||i.offsetParent||i.ownerDocument.body)}function ve(e,t,n){var r=e.state,i=!P(r.lastX),o=we(e);return i?{node:o,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:o,deltaX:t-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:t,y:n}}function ye(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function be(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function we(t){var n=e.findDOMNode(t);if(!n)throw new Error("<DraggableCore>: Unmounted during event!");return n}function _e(){}var Se={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},xe=Se.mouse,Ee=function(n){function r(){var t,n,i;F(this,r);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=i=$(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(a))),i.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},i.handleDragStart=function(t){if(i.props.onMouseDown(t),!i.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode(i);if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(i.props.disabled||!(t.target instanceof r.defaultView.Node)||i.props.handle&&!Z(t.target,i.props.handle,n)||i.props.cancel&&Z(t.target,i.props.cancel,n))){var o=ae(t);i.setState({touchIdentifier:o});var a=ge(t,o,i);if(null!=a){var s=a.x,l=a.y,c=ve(i,s,l);_e("calling",i.props.onStart),!1!==i.props.onStart(t,c)&&(i.props.enableUserSelectHack&&se(r),i.setState({dragging:!0,lastX:s,lastY:l}),Y(r,xe.move,i.handleDrag),Y(r,xe.stop,i.handleDragStop))}}},i.handleDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=ge(e,i.state.touchIdentifier,i);if(null!=t){var n=t.x,r=t.y;if(Array.isArray(i.props.grid)){var o=n-i.state.lastX,a=r-i.state.lastY,s=fe(i.props.grid,o,a),l=G(s,2);if(o=l[0],a=l[1],!o&&!a)return;n=i.state.lastX+o,r=i.state.lastY+a}var c=ve(i,n,r);if(!1!==i.props.onDrag(e,c))i.setState({lastX:n,lastY:r});else try{i.handleDragStop(new MouseEvent("mouseup"))}catch(e){var u=document.createEvent("MouseEvents");u.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),i.handleDragStop(u)}}},i.handleDragStop=function(t){if(i.state.dragging){var n=ge(t,i.state.touchIdentifier,i);if(null!=n){var r=n.x,o=n.y,a=ve(i,r,o),s=e.findDOMNode(i);s&&i.props.enableUserSelectHack&&le(s.ownerDocument),i.setState({dragging:!1,lastX:NaN,lastY:NaN}),i.props.onStop(t,a),s&&(K(s.ownerDocument,xe.move,i.handleDrag),K(s.ownerDocument,xe.stop,i.handleDragStop))}}},i.onMouseDown=function(e){return xe=Se.mouse,i.handleDragStart(e)},i.onMouseUp=function(e){return xe=Se.mouse,i.handleDragStop(e)},i.onTouchStart=function(e){return xe=Se.touch,i.handleDragStart(e)},i.onTouchEnd=function(e){return xe=Se.touch,i.handleDragStop(e)},$(i,n)}return U(r,n),H(r,[{key:"componentWillUnmount",value:function(){var t=e.findDOMNode(this);if(t){var n=t.ownerDocument;K(n,Se.mouse.move,this.handleDrag),K(n,Se.touch.move,this.handleDrag),K(n,Se.mouse.stop,this.handleDragStop),K(n,Se.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&le(n)}}},{key:"render",value:function(){return t.cloneElement(t.Children.only(this.props.children),{style:ce(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),r}(t.Component);Ee.displayName="DraggableCore",Ee.propTypes={allowAnyClick:T.bool,disabled:T.bool,enableUserSelectHack:T.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:T.arrayOf(T.number),scale:T.number,handle:T.string,cancel:T.string,onStart:T.func,onDrag:T.func,onStop:T.func,onMouseDown:T.func,className:D,style:D,transform:D},Ee.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}};var ke=function(n){function i(e){F(this,i);var t=$(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return t.onDragStart=function(e,n){if(!1===t.props.onStart(e,ye(t,n)))return!1;t.setState({dragging:!0,dragged:!0})},t.onDrag=function(e,n){if(!t.state.dragging)return!1;var r=ye(t,n),i={x:r.x,y:r.y};if(t.props.bounds){var o=i.x,a=i.y;i.x+=t.state.slackX,i.y+=t.state.slackY;var s=pe(t,i.x,i.y),l=G(s,2),c=l[0],u=l[1];i.x=c,i.y=u,i.slackX=t.state.slackX+(o-i.x),i.slackY=t.state.slackY+(a-i.y),r.x=i.x,r.y=i.y,r.deltaX=i.x-t.state.x,r.deltaY=i.y-t.state.y}if(!1===t.props.onDrag(e,r))return!1;t.setState(i)},t.onDragStop=function(e,n){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,ye(t,n)))return!1;var r={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var i=t.props.position,o=i.x,a=i.y;r.x=o,r.y=a}t.setState(r)},t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||r.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return U(i,n),H(i,[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&e.findDOMNode(this)instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,n={},r=null,i=!Boolean(this.props.position)||this.state.dragging,o=this.props.position||this.props.defaultPosition,a={x:he(this)&&i?this.state.x:o.x,y:me(this)&&i?this.state.y:o.y};this.state.isElementSVG?r=re(a,this.props.positionOffset):n=ne(a,this.props.positionOffset);var s=this.props,l=s.defaultClassName,c=s.defaultClassNameDragging,u=s.defaultClassNameDragged,d=t.Children.only(this.props.children),p=O(d.props.className||"",l,(z(e={},c,this.state.dragging),z(e,u,this.state.dragged),e));return t.createElement(Ee,V({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(d,{className:p,style:V({},d.props.style,n),transform:r}))}}]),i}(t.Component);return ke.displayName="Draggable",ke.propTypes=V({},Ee.propTypes,{axis:T.oneOf(["both","x","y","none"]),bounds:T.oneOfType([T.shape({left:T.number,right:T.number,top:T.number,bottom:T.number}),T.string,T.oneOf([!1])]),defaultClassName:T.string,defaultClassNameDragging:T.string,defaultClassNameDragged:T.string,defaultPosition:T.shape({x:T.number,y:T.number}),positionOffset:T.shape({x:T.oneOfType([T.number,T.string]),y:T.oneOfType([T.number,T.string])}),position:T.shape({x:T.number,y:T.number}),className:D,style:D,transform:D}),ke.defaultProps=V({},Ee.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null,scale:1}),ke.default=ke,ke.DraggableCore=Ee,ke}(n(73935),n(67294))},35800:function(e,t,n){!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=n(t);function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}var a=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))},s={error:null},l=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state=s,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}o(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var n=t.prototype;return n.reset=function(){this.setState(s)},n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},n.componentDidUpdate=function(e,t){var n,r,i=this.state.error,o=this.props.resetKeys;null!==i&&null!==t.error&&a(e.resetKeys,o)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,o),this.reset())},n.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,i=t.FallbackComponent,o=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(o))return o;if("function"==typeof n)return n(a);if(i)return r.createElement(i,a);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);function c(e,t){var n=function(n){return r.createElement(l,t,r.createElement(e,n))},i=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+i+")",n}function u(e){var t=r.useState(null),n=t[0],i=t[1];if(null!=e)throw e;if(null!=n)throw n;return i}e.ErrorBoundary=l,e.useErrorHandler=u,e.withErrorBoundary=c,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(67294))},69590:function(e,t,n){var r=n(25108),i="undefined"!=typeof Element,o="function"==typeof Map,a="function"==typeof Set,s="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function l(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,c,u;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if(o&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(r=u.next()).done;)if(!t.has(r.value[0]))return!1;for(u=e.entries();!(r=u.next()).done;)if(!l(r.value[1],t.get(r.value[0])))return!1;return!0}if(a&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(r=u.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(c=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,c[r]))return!1;if(i&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==c[r]&&"__v"!==c[r]&&"__o"!==c[r]||!e.$$typeof)&&!l(e[c[r]],t[c[r]]))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return l(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return r.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},151:function(e,t,n){var r,i=n(25108);"undefined"!=typeof self&&self,r=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.warn("[react-ga]",e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.toString().replace(/^\s+|\s+$/g,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrackers=O,t.default=void 0,t.event=N,t.exception=j,t.ga=A,t.initialize=M,t.modalview=R,t.outboundLink=F,t.pageview=D,t.plugin=void 0,t.send=L,t.set=P,t.testModeAPI=void 0,t.timing=I;var r=d(n(3)),i=d(n(7)),o=d(n(1)),a=d(n(8)),s=d(n(0)),l=d(n(9)),c=d(n(10)),u=["category","action","label","value","nonInteraction","transport"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y="undefined"==typeof window||"undefined"==typeof document,b=!1,w=!0,_=!1,S=!0,x=!0,E=function(){var e;return _?c.default.ga.apply(c.default,arguments):!y&&(window.ga?(e=window).ga.apply(e,arguments):(0,s.default)("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function k(e){return(0,r.default)(e,w,x)}function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0];if("function"==typeof E){if("string"!=typeof i)return void(0,s.default)("ga command must be a string");!S&&Array.isArray(e)||E.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){E.apply(void 0,g(["".concat(e,".").concat(i)].concat(n.slice(1))))}))}}function T(e,t){e?t&&(t.debug&&!0===t.debug&&(b=!0),!1===t.titleCase&&(w=!1),!1===t.redactEmail&&(x=!1),t.useExistingGa)||(t&&t.gaOptions?E("create",e,t.gaOptions):E("create",e,"auto")):(0,s.default)("gaTrackingID is required in initialize()")}function O(e,t){return Array.isArray(e)?e.forEach((function(e){"object"===m(e)?T(e.trackingId,e):(0,s.default)("All configs must be an object")})):T(e,t),!0}function M(e,t){if(t&&!0===t.testMode)_=!0;else{if(y)return;t&&!0===t.standardImplementation||(0,a.default)(t)}S=!t||"boolean"!=typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,O(e,t)}function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(E.apply(void 0,t),b&&((0,l.default)("called ga('arguments');"),(0,l.default)("with arguments: ".concat(JSON.stringify(t))))),window.ga}function P(e,t){e?"object"===m(e)?(0===Object.keys(e).length&&(0,s.default)("empty `fieldsObject` given to .set()"),C(t,"set",e),b&&((0,l.default)("called ga('set', fieldsObject);"),(0,l.default)("with fieldsObject: ".concat(JSON.stringify(e))))):(0,s.default)("Expected `fieldsObject` arg to be an Object"):(0,s.default)("`fieldsObject` is required in .set()")}function L(e,t){C(t,"send",e),b&&((0,l.default)("called ga('send', fieldObject);"),(0,l.default)("with fieldObject: ".concat(JSON.stringify(e))),(0,l.default)("with trackers: ".concat(JSON.stringify(t))))}function D(e,t,n){if(e){var r=(0,o.default)(e);if(""!==r){var i={};if(n&&(i.title=n),C(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},i)),b){(0,l.default)("called ga('send', 'pageview', path);");var a="";n&&(a=" and title: ".concat(n)),(0,l.default)("with path: ".concat(r).concat(a))}}else(0,s.default)("path cannot be an empty string in .pageview()")}else(0,s.default)("path is required in .pageview()")}function R(e,t){if(e){var n=(0,i.default)((0,o.default)(e));if(""!==n){var r="/modal/".concat(n);C(t,"send","pageview",r),b&&((0,l.default)("called ga('send', 'pageview', path);"),(0,l.default)("with path: ".concat(r)))}else(0,s.default)("modalName cannot be an empty string or a single / in .modalview()")}else(0,s.default)("modalName is required in .modalview(modalName)")}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,i=e.label,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n&&"number"==typeof r){var a={hitType:"timing",timingCategory:k(t),timingVar:k(n),timingValue:r};i&&(a.timingLabel=k(i)),L(a,o)}else(0,s.default)("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,i=e.value,o=e.nonInteraction,a=e.transport,l=p(e,u),c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n){var d={hitType:"event",eventCategory:k(t),eventAction:k(n)};r&&(d.eventLabel=k(r)),void 0!==i&&("number"!=typeof i?(0,s.default)("Expected `args.value` arg to be a Number."):d.eventValue=i),void 0!==o&&("boolean"!=typeof o?(0,s.default)("`args.nonInteraction` must be a boolean."):d.nonInteraction=o),void 0!==a&&("string"!=typeof a?(0,s.default)("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(a)&&(0,s.default)("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),d.transport=a)),Object.keys(l).filter((function(e){return"dimension"===e.substr(0,9)})).forEach((function(e){d[e]=l[e]})),Object.keys(l).filter((function(e){return"metric"===e.substr(0,6)})).forEach((function(e){d[e]=l[e]})),L(d,c)}else(0,s.default)("args.category AND args.action are required in event()")}function j(e,t){var n=e.description,r=e.fatal,i={hitType:"exception"};n&&(i.exDescription=k(n)),void 0!==r&&("boolean"!=typeof r?(0,s.default)("`args.fatal` must be a boolean."):i.exFatal=r),L(i,t)}var B={require:function(e,t,n){if(e){var r=(0,o.default)(e);if(""!==r){var i=n?"".concat(n,".require"):"require";if(t){if("object"!==m(t))return void(0,s.default)("Expected `options` arg to be an Object");0===Object.keys(t).length&&(0,s.default)("Empty `options` given to .require()"),A(i,r,t),b&&(0,l.default)("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else A(i,r),b&&(0,l.default)("called ga('require', '".concat(r,"');"))}else(0,s.default)("`name` cannot be an empty string in .require()")}else(0,s.default)("`name` is required in .require()")},execute:function(e,t){for(var n,r,i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];if(1===o.length?n=o[0]:(r=o[0],n=o[1]),"string"!=typeof e)(0,s.default)("Expected `pluginName` arg to be a String.");else if("string"!=typeof t)(0,s.default)("Expected `action` arg to be a String.");else{var c="".concat(e,":").concat(t);n=n||null,r&&n?(A(c,r,n),b&&((0,l.default)("called ga('".concat(c,"');")),(0,l.default)('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(A(c,n),b&&((0,l.default)("called ga('".concat(c,"');")),(0,l.default)("with payload: ".concat(JSON.stringify(n))))):(A(c),b&&(0,l.default)("called ga('".concat(c,"');")))}}};function F(e,t,n){if("function"==typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:k(e.label)},i=!1,o=setTimeout((function(){i=!0,t()}),250);r.hitCallback=function(){clearTimeout(o),i||t()},L(r,n)}else(0,s.default)("args.label is required in outboundLink()");else(0,s.default)("hitCallback function is required")}t.plugin=B;var H=c.default;t.testModeAPI=H;var z={initialize:M,ga:A,set:P,send:L,pageview:D,modalview:R,timing:I,event:N,exception:j,plugin:B,outboundLink:F,testModeAPI:c.default};t.default=z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=e||"";return t&&(o=(0,i.default)(e)),n&&(o=(0,r.default)(o)),o};var r=o(n(4)),i=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)?((0,r.default)("This arg looks like an email address, redacting."),a):e};var r=o(n(0)),i=o(n(5));function o(e){return e&&e.__esModule?e:{default:e}}var a="REDACTED (Potential Email Address)"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&-1!==e.indexOf("@")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(o)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))};var r,i=(r=n(1))&&r.__esModule?r:{default:r},o=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"/"===e.substring(0,1)?e.substring(1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!r){r=!0;var t="https://webcf.waybackmachine.org/web/20240801092516/https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://webcf.waybackmachine.org/web/20240801092516/https://www.google-analytics.com/analytics_debug.js");var n=e&&e.onerror;!function(e,t,r,i,o,a,s){e.GoogleAnalyticsObject=o,e[o]=e[o]||function(){(e[o].q=e[o].q||[]).push(arguments)},e[o].l=1*new Date,a=t.createElement(r),s=t.getElementsByTagName(r)[0],a.async=1,a.src=i,a.onerror=n,s.parentNode.insertBefore(a,s)}(window,document,"script",t,"ga")}};var r=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.info("[react-ga]",e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaCalls=t.default=void 0;var r=[];t.gaCalls=r;var i={calls:r,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.push([].concat(t))},resetCalls:function(){r.length=0}};t.default=i},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.timing=t.testModeAPI=t.set=t.send=t.plugin=t.pageview=t.outboundLink=t.modalview=t.initialize=t.ga=t.exception=t.event=t.default=t.addTrackers=t.OutboundLink=void 0;var i,o=(i=n(12))&&i.__esModule?i:{default:i},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(2));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=a.initialize;t.initialize=d;var p=a.addTrackers;t.addTrackers=p;var f=a.ga;t.ga=f;var h=a.set;t.set=h;var m=a.send;t.send=m;var g=a.pageview;t.pageview=g;var v=a.modalview;t.modalview=v;var y=a.timing;t.timing=y;var b=a.event;t.event=b;var w=a.exception;t.exception=w;var _=a.plugin;t.plugin=_;var S=a.outboundLink;t.outboundLink=S;var x=a.testModeAPI;t.testModeAPI=x,o.default.origTrackLink=o.default.trackLink,o.default.trackLink=a.outboundLink;var E=o.default;t.OutboundLink=E;var k=c(c({},a),{},{OutboundLink:E});t.default=k},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(13)),o=l(n(14)),a=l(n(0)),s=["to","target"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}(this,n)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b="_blank",w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(a,e);var t,n,r,o=m(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(g(e=o.call.apply(o,[this].concat(n))),"handleClick",(function(t){var n=e.props,r=n.target,i=n.eventLabel,o=n.to,s=n.onClick,l=n.trackerNames,c={label:i},u=r!==b,d=!(t.ctrlKey||t.shiftKey||t.metaKey||1===t.button);u&&d?(t.preventDefault(),a.trackLink(c,(function(){window.location.href=o}),l)):a.trackLink(c,(function(){}),l),s&&s(t)})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.to,n=e.target,r=d(d({},p(e,s)),{},{target:n,href:t,onClick:this.handleClick});return n===b&&(r.rel="".concat(r.rel?r.rel:""," noopener noreferrer").trim()),delete r.eventLabel,delete r.trackerNames,i.default.createElement("a",r)}}])&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.Component);t.default=w,y(w,"trackLink",(function(){(0,a.default)("ga tracking not enabled")})),w.propTypes={eventLabel:o.default.string.isRequired,target:o.default.string,to:o.default.string,onClick:o.default.func,trackerNames:o.default.arrayOf(o.default.string)},w.defaultProps={target:null,to:null,onClick:null,trackerNames:null}},function(t,n){t.exports=e},function(e,n){e.exports=t}])},e.exports=r(n(67294),n(45697))},56421:function(e,t,n){"use strict";var r,i=n(96425),o=(r=i)&&r.__esModule?r:{default:r};var a={tags:function(e){var t=e.id,n=e.events,r=e.dataLayer,i=e.dataLayerName,a=e.preview,s=">m_auth="+e.auth,l=">m_preview="+a;return t||(0,o.default)("GTM Id is required"),{iframe:'\n <iframe src="https://webcf.waybackmachine.org/web/20240801092516/https://www.googletagmanager.com/ns.html?id='+t+s+l+'>m_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(n).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://webcf.waybackmachine.org/web/20240801092516/https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+l+">m_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+i+"','"+t+"');",dataLayerVar:this.dataLayer(r,i)}},dataLayer:function(e,t){return"\n window."+t+" = window."+t+" || [];\n window."+t+".push("+JSON.stringify(e)+")"}};e.exports=a},58676:function(e,t,n){"use strict";var r,i=n(56421),o=(r=i)&&r.__esModule?r:{default:r};var a={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=o.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,n=e.events,r=void 0===n?{}:n,i=e.dataLayer,o=e.dataLayerName,a=void 0===o?"dataLayer":o,s=e.auth,l=void 0===s?"":s,c=e.preview,u=void 0===c?"":c,d=this.gtm({id:t,events:r,dataLayer:i||void 0,dataLayerName:a,auth:l,preview:u});i&&document.head.appendChild(d.dataScript),document.head.insertBefore(d.script(),document.head.childNodes[0]),document.body.insertBefore(d.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,r=void 0===n?"dataLayer":n;if(window[r])return window[r].push(t);var i=o.default.dataLayer(t,r),a=this.dataScript(i);document.head.insertBefore(a,document.head.childNodes[0])}};e.exports=a},1785:function(e,t,n){"use strict";var r,i=n(58676),o=(r=i)&&r.__esModule?r:{default:r};e.exports=o.default},96425:function(e,t,n){"use strict";var r=n(25108);Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){r.warn("[react-gtm]",e)}},15482:function(e,t,n){"use strict";var r=n(25108);function i(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o,a,s,l,c=i(n(45697)),u=i(n(83524)),d=i(n(69590)),p=i(n(67294)),f=i(n(27418)),h="bodyAttributes",m="htmlAttributes",g="titleAttributes",v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},y=(Object.keys(v).map((function(e){return v[e]})),"charset"),b="cssText",w="href",_="http-equiv",S="innerHTML",x="itemprop",E="name",k="property",C="rel",T="src",O="target",M={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A="defaultTitle",P="defer",L="encodeSpecialCharacters",D="onChangeClientState",R="titleTemplate",I=Object.keys(M).reduce((function(e,t){return e[M[t]]=t,e}),{}),N=[v.NOSCRIPT,v.SCRIPT,v.STYLE],j="data-react-helmet",B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},V=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},U=function(e){var t=Z(e,v.TITLE),n=Z(e,R);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Z(e,A);return t||r||void 0},$=function(e){return Z(e,D)||function(){}},G=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return H({},e,t)}),{})},q=function(e,t){return t.filter((function(e){return void 0!==e[v.BASE]})).map((function(e){return e[v.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},W=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&J("Helmet: "+e+' should be of type "Array". Instead found type "'+B(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],l=s.toLowerCase();-1===t.indexOf(l)||n===C&&"canonical"===e[n].toLowerCase()||l===C&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==S&&s!==b&&s!==x||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],l=f({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},Z=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Y=(o=Date.now(),function(e){var t=Date.now();t-o>16?(o=t,e(t)):setTimeout((function(){Y(e)}),0)}),K=function(e){return clearTimeout(e)},Q="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Y:n.g.requestAnimationFrame||Y,X="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||K:n.g.cancelAnimationFrame||K,J=function(e){return r&&"function"==typeof r.warn&&r.warn(e)},ee=null,te=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,p=e.titleAttributes;ie(v.BODY,r),ie(v.HTML,i),re(d,p);var f={baseTag:oe(v.BASE,n),linkTags:oe(v.LINK,o),metaTags:oe(v.META,a),noscriptTags:oe(v.NOSCRIPT,s),scriptTags:oe(v.SCRIPT,c),styleTags:oe(v.STYLE,u)},h={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,h,m)},ne=function(e){return Array.isArray(e)?e.join(""):e},re=function(e,t){void 0!==e&&document.title!==e&&(document.title=ne(e)),ie(v.TITLE,t)},ie=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(j),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d--)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute(j):n.getAttribute(j)!==a.join(",")&&n.setAttribute(j,a.join(","))}},oe=function(e,t){var n=document.head||document.querySelector(v.HEAD),r=n.querySelectorAll(e+"["+j+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===S)n.innerHTML=t.innerHTML;else if(r===b)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(j,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},ae=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[M[n]||n]=e[n],t}),t)},le=function(e,t,n){switch(e){case v.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[j]=!0,i=se(n,r),[p.createElement(v.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=ae(n),o=ne(t);return i?"<"+e+" "+j+'="true" '+i+">"+V(o,r)+"</"+e+">":"<"+e+" "+j+'="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case h:case m:return{toComponent:function(){return se(t)},toString:function(){return ae(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[j]=!0,r);return Object.keys(t).forEach((function(e){var n=M[e]||e;if(n===S||n===b){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),p.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===S||e===b)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===N.indexOf(e);return t+"<"+e+" "+j+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},ce=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,p=e.titleAttributes;return{base:le(v.BASE,t,r),bodyAttributes:le(h,n,r),htmlAttributes:le(m,i,r),link:le(v.LINK,o,r),meta:le(v.META,a,r),noscript:le(v.NOSCRIPT,s,r),script:le(v.SCRIPT,l,r),style:le(v.STYLE,c,r),title:le(v.TITLE,{title:d,titleAttributes:p},r)}},ue=u((function(e){return{baseTag:q([w,O],e),bodyAttributes:G(h,e),defer:Z(e,P),encode:Z(e,L),htmlAttributes:G(m,e),linkTags:W(v.LINK,[C,w],e),metaTags:W(v.META,[E,y,_,k,x],e),noscriptTags:W(v.NOSCRIPT,[S],e),onChangeClientState:$(e),scriptTags:W(v.SCRIPT,[T,S],e),styleTags:W(v.STYLE,[b],e),title:U(e),titleAttributes:G(g,e)}}),(function(e){ee&&X(ee),e.defer?ee=Q((function(){te(e,(function(){ee=null}))})):(te(e),ee=null)}),ce)((function(){return null})),de=(a=ue,l=s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case v.SCRIPT:case v.NOSCRIPT:return{innerHTML:t};case v.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return H({},r,((t={})[n.type]=[].concat(r[n.type]||[],[H({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case v.TITLE:return H({},i,((t={})[r.type]=a,t.titleAttributes=H({},o),t));case v.BODY:return H({},i,{bodyAttributes:H({},o)});case v.HTML:return H({},i,{htmlAttributes:H({},o)})}return H({},i,((n={})[r.type]=H({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=H({},t);return Object.keys(e).forEach((function(t){var r;n=H({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return p.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[I[n]||n]=e[n],t}),t)}(z(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=z(e,["children"]),r=H({},n);return t&&(r=this.mapChildrenToProps(t,r)),p.createElement(a,r)},F(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(p.Component),s.propTypes={base:c.object,bodyAttributes:c.object,children:c.oneOfType([c.arrayOf(c.node),c.node]),defaultTitle:c.string,defer:c.bool,encodeSpecialCharacters:c.bool,htmlAttributes:c.object,link:c.arrayOf(c.object),meta:c.arrayOf(c.object),noscript:c.arrayOf(c.object),onChangeClientState:c.func,script:c.arrayOf(c.object),style:c.arrayOf(c.object),title:c.string,titleAttributes:c.object,titleTemplate:c.string},s.defaultProps={defer:!0,encodeSpecialCharacters:!0},s.peek=a.peek,s.rewind=function(){var e=a.rewind();return e||(e=ce({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},l);de.renderStatic=de.rewind,t.ql=de,t.ZP=de},28838:function(e,t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=void 0;t.o=function(){if(void 0!==r)return r;var e="object"===("undefined"==typeof document?"undefined":n(document))?document.createElement("canvas"):{};return r=0===e.toDataURL("image/webp").indexOf("data:image/webp")}},4225:function(e,t,n){var r=n(67294);function i(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,t}var o=i(r);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}var l=new Map,c=new WeakMap,u=0,d=void 0;function p(e){return Object.keys(e).sort().filter((function(t){return void 0!==e[t]})).map((function(t){return t+"_"+("root"===t?(n=e.root)?(c.has(n)||(u+=1,c.set(n,u.toString())),c.get(n)):"0":e[t]);var n})).toString()}function f(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=d),void 0===window.IntersectionObserver&&void 0!==r){var i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=function(e){var t=p(e),n=l.get(t);if(!n){var r,i=new Map,o=new IntersectionObserver((function(t){t.forEach((function(t){var n,o=t.isIntersecting&&r.some((function(e){return t.intersectionRatio>=e}));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEach((function(e){e(o,t)}))}))}),e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},l.set(t,n)}return n}(n),a=o.id,s=o.observer,c=o.elements,u=c.get(e)||[];return c.has(e)||c.set(e,u),u.push(t),s.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(c.delete(e),s.unobserve(e)),0===c.size&&(s.disconnect(),l.delete(a))}}var h=["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function m(e){return"function"!=typeof e.children}var g=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){n.node&&(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),m(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.componentDidUpdate=function(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())},i.componentWillUnmount=function(){this.unobserve(),this.node=null},i.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=f(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},a)}},i.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},i.render=function(){if(!m(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var r=this.props,i=r.children,s=r.as,l=r.tag,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(r,h);return o.createElement(s||l||"div",a({ref:this.handleNode},c),i)},r}(o.Component);g.displayName="InView",g.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1},t.df=g,t.YD=function(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,a=t.trackVisibility,s=t.rootMargin,l=t.root,c=t.triggerOnce,u=t.skip,d=t.initialInView,p=t.fallbackInView,h=o.useRef(),m=o.useState({inView:!!d}),g=m[0],v=m[1],y=o.useCallback((function(e){void 0!==h.current&&(h.current(),h.current=void 0),u||e&&(h.current=f(e,(function(e,t){v({inView:e,entry:t}),t.isIntersecting&&c&&h.current&&(h.current(),h.current=void 0)}),{root:l,rootMargin:s,threshold:n,trackVisibility:a,delay:i},p))}),[Array.isArray(n)?n.toString():n,l,s,c,u,a,p,i]);r.useEffect((function(){h.current||!g.entry||c||u||v({inView:!!d})}));var b=[y,g.inView,g.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}},97132:function(e,t,n){"use strict";t.vU=t.YB=t.XN=t.Pj=t._H=void 0;var r=n(50841),i=n(67030),o=r.__importStar(n(97807));t.XN=o.default;var a=r.__importDefault(n(93677));t.YB=a.default;var s=r.__importStar(n(51518));t.Pj=s.default,r.__importDefault(n(35531)).default,r.__importDefault(n(12139)).default;var l=r.__importDefault(n(26679));t._H=l.default,r.__importDefault(n(84781)).default;var c=n(48856);t.vU=function(e){return e},(0,i.createFormattedComponent)("formatDate"),(0,i.createFormattedComponent)("formatTime"),(0,i.createFormattedComponent)("formatNumber"),(0,i.createFormattedComponent)("formatList"),(0,i.createFormattedComponent)("formatDisplayName"),(0,i.createFormattedDateTimePartsComponent)("formatDate"),(0,i.createFormattedDateTimePartsComponent)("formatTime");var u=n(67030)},67030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFormattedComponent=t.createFormattedDateTimePartsComponent=t.FormattedListParts=t.FormattedNumberParts=void 0;var r,i,o=n(50841),a=o.__importStar(n(67294)),s=o.__importDefault(n(93677));!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(i||(i={}));t.FormattedNumberParts=function(e){var t=(0,s.default)(),n=e.value,r=e.children,i=o.__rest(e,["value","children"]);return r(t.formatNumberToParts(n,i))},t.FormattedNumberParts.displayName="FormattedNumberParts";t.FormattedListParts=function(e){var t=(0,s.default)(),n=e.value,r=e.children,i=o.__rest(e,["value","children"]);return r(t.formatListToParts(n,i))},t.FormattedNumberParts.displayName="FormattedNumberParts",t.createFormattedDateTimePartsComponent=function(e){var t=function(t){var n=(0,s.default)(),r=t.value,i=t.children,a=o.__rest(t,["value","children"]),l="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(l,a):n.formatTimeToParts(l,a))};return t.displayName=i[e],t},t.createFormattedComponent=function(e){var t=function(t){var n=(0,s.default)(),r=t.value,i=t.children,l=o.__rest(t,["value","children"]),c=n[e](r,l);if("function"==typeof i)return i(c);var u=n.textComponent||a.Fragment;return a.createElement(u,null,c)};return t.displayName=r[e],t}},84781:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50841),i=r.__importStar(n(67294)),o=r.__importDefault(n(93677)),a=function(e){var t=(0,o.default)(),n=e.from,a=e.to,s=e.children,l=r.__rest(e,["from","to","children"]),c=t.formatDateTimeRange(n,a,l);if("function"==typeof s)return s(c);var u=t.textComponent||i.Fragment;return i.createElement(u,null,c)};a.displayName="FormattedDateTimeRange",t.default=a},97807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.Provider=void 0;var r=n(50841),i=r.__importStar(n(67294)),o=r.__importDefault(n(8679)),a=n(42358);var s="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?i.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=i.createContext(null)),l=s.Consumer,c=s.Provider;t.Provider=c,t.Context=s,t.default=function(e,t){var n,s=t||{},c=s.intlPropName,u=void 0===c?"intl":c,d=s.forwardRef,p=void 0!==d&&d,f=s.enforceContext,h=void 0===f||f,m=function(t){return i.createElement(l,null,(function(n){var o;h&&(0,a.invariantIntlContext)(n);var s=((o={})[u]=n,o);return i.createElement(e,r.__assign({},t,s,{ref:p?t.forwardedRef:null}))}))};return m.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),m.WrappedComponent=e,p?(0,o.default)(i.forwardRef((function(e,t){return i.createElement(m,r.__assign({},e,{forwardedRef:t}))})),e):(0,o.default)(m,e)}},26679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50841),i=r.__importStar(n(67294)),o=r.__importDefault(n(93677)),a=n(42358);function s(e){var t=(0,o.default)(),n=t.formatMessage,r=t.textComponent,a=void 0===r?i.Fragment:r,s=e.id,l=e.description,c=e.defaultMessage,u=e.values,d=e.children,p=e.tagName,f=void 0===p?a:p,h=n({id:s,description:l,defaultMessage:c},u,{ignoreTag:e.ignoreTag});return"function"==typeof d?d(Array.isArray(h)?h:[h]):f?i.createElement(f,null,i.Children.toArray(h)):i.createElement(i.Fragment,null,h)}s.displayName="FormattedMessage";var l=i.memo(s,(function(e,t){var n=e.values,i=r.__rest(e,["values"]),o=t.values,s=r.__rest(t,["values"]);return(0,a.shallowEqual)(o,n)&&(0,a.shallowEqual)(i,s)}));l.displayName="MemoizedFormattedMessage",t.default=l},12139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50841),i=r.__importStar(n(67294)),o=r.__importDefault(n(93677)),a=function(e){var t=(0,o.default)(),n=t.formatPlural,r=t.textComponent,a=e.value,s=e.other,l=e.children,c=e[n(a,e)]||s;return"function"==typeof l?l(c):r?i.createElement(r,null,c):c};a.defaultProps={type:"cardinal"},a.displayName="FormattedPlural",t.default=a},51518:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIntl=void 0;var r=n(50841),i=n(48856),o=r.__importStar(n(67294)),a=n(42358),s=n(97807),l=n(95260);function c(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function u(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t[n]=(0,l.isFormatXMLElementFn)(r)?(0,a.assignUniqueKeysToParts)(r):r,t}),{}):e}var d=function(e,t,n,a){for(var s=[],l=4;l<arguments.length;l++)s[l-4]=arguments[l];var c=u(a),d=i.formatMessage.apply(void 0,r.__spreadArray([e,t,n,c],s,!1));return Array.isArray(d)?o.Children.toArray(d):d};t.createIntl=function(e,t){var n=e.defaultRichTextElements,o=r.__rest(e,["defaultRichTextElements"]),s=u(n),l=(0,i.createIntl)(r.__assign(r.__assign(r.__assign({},a.DEFAULT_INTL_CONFIG),o),{defaultRichTextElements:s}),t),c={locale:l.locale,timeZone:l.timeZone,fallbackOnEmptyString:l.fallbackOnEmptyString,formats:l.formats,defaultLocale:l.defaultLocale,defaultFormats:l.defaultFormats,messages:l.messages,onError:l.onError,defaultRichTextElements:s};return r.__assign(r.__assign({},l),{formatMessage:d.bind(null,c,l.formatters),$t:d.bind(null,c,l.formatters)})};var p=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.cache=(0,i.createIntlCache)(),n.state={cache:n.cache,intl:(0,t.createIntl)(c(n.props),n.cache),prevConfig:c(n.props)},n}return r.__extends(n,e),n.getDerivedStateFromProps=function(e,n){var r=n.prevConfig,i=n.cache,o=c(e);return(0,a.shallowEqual)(r,o)?null:{intl:(0,t.createIntl)(o,i),prevConfig:o}},n.prototype.render=function(){return(0,a.invariantIntlContext)(this.state.intl),o.createElement(s.Provider,{value:this.state.intl},this.props.children)},n.displayName="IntlProvider",n.defaultProps=a.DEFAULT_INTL_CONFIG,n}(o.PureComponent);t.default=p},35531:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50841),i=r.__importStar(n(67294)),o=n(78264),a=r.__importDefault(n(93677)),s=3600;function l(e){var t=Math.abs(e);return t<60?"second":t<s?"minute":t<86400?"hour":"day"}function c(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return s;default:return 86400}}var u=["second","minute","hour"];function d(e){return void 0===e&&(e="second"),u.indexOf(e)>-1}var p=function(e){var t=(0,a.default)(),n=t.formatRelativeTime,o=t.textComponent,s=e.children,l=n(e.value||0,e.unit,r.__rest(e,["children","value","unit"]));return"function"==typeof s?s(l):o?i.createElement(o,null,l):i.createElement(i.Fragment,null,l)},f=function(e){var t=e.value,n=e.unit,a=e.updateIntervalInSeconds,u=r.__rest(e,["value","unit","updateIntervalInSeconds"]);(0,o.invariant)(!a||!(!a||!d(n)),"Cannot schedule update with unit longer than hour");var f,h=i.useState(),m=h[0],g=h[1],v=i.useState(0),y=v[0],b=v[1],w=i.useState(0),_=w[0],S=w[1];n===m&&t===y||(b(t||0),g(n),S(d(n)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*s}}(t,n):0)),i.useEffect((function(){function e(){clearTimeout(f)}if(e(),!a||!d(n))return e;var t=_-a,r=l(t);if("day"===r)return e;var i=c(r),o=t-t%i,s=o>=_?o-i:o,u=Math.abs(s-_);return _!==s&&(f=setTimeout((function(){return S(s)}),1e3*u)),e}),[_,a,n]);var x=t||0,E=n;if(d(n)&&"number"==typeof _&&a){var k=c(E=l(_));x=Math.round(_/k)}return i.createElement(p,r.__assign({value:x,unit:E},u))};f.displayName="FormattedRelativeTime",f.defaultProps={value:0,unit:"second"},t.default=f},93677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50841).__importStar(n(67294)),i=n(97807),o=n(42358);t.default=function(){var e=r.useContext(i.Context);return(0,o.invariantIntlContext)(e),e}},42358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowEqual=t.assignUniqueKeysToParts=t.DEFAULT_INTL_CONFIG=t.invariantIntlContext=void 0;var r=n(50841),i=r.__importStar(n(67294)),o=n(78264),a=n(48856);t.invariantIntlContext=function(e){(0,o.invariant)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")},t.DEFAULT_INTL_CONFIG=r.__assign(r.__assign({},a.DEFAULT_INTL_CONFIG),{textComponent:i.Fragment}),t.assignUniqueKeysToParts=function(e){return function(t){return e(i.Children.toArray(t))}},t.shallowEqual=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||_(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=_},59864:function(e,t,n){"use strict";e.exports=n(69921)},1216:function(e,t,n){"use strict";t.be=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(67294),o=d(i),a=d(n(45697)),s=n(54081),l=d(n(38315)),c=d(n(38282)),u=d(n(40821));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=0,g=0,v=0,y=0,b="data-lazyload-listened",w=[],_=[],S=!1;try{var x=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("test",null,x)}catch(e){}var E=!!S&&{capture:!1,passive:!0},k=function(e){var t=e.ref;if(t instanceof HTMLElement){var n=(0,l.default)(t),r=e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?function(e,t){var n=e.ref,r=void 0,i=void 0,o=void 0,a=void 0;try{var s=t.getBoundingClientRect();r=s.top,i=s.left,o=s.height,a=s.width}catch(e){r=m,i=g,o=y,a=v}var l=window.innerHeight||document.documentElement.clientHeight,c=window.innerWidth||document.documentElement.clientWidth,u=Math.max(r,0),d=Math.max(i,0),p=Math.min(l,r+o)-u,f=Math.min(c,i+a)-d,h=void 0,b=void 0,w=void 0,_=void 0;try{var S=n.getBoundingClientRect();h=S.top,b=S.left,w=S.height,_=S.width}catch(e){h=m,b=g,w=y,_=v}var x=h-u,E=b-d,k=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return x-k[0]<=p&&x+w+k[1]>=0&&E-k[0]<=f&&E+_+k[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,r=void 0;try{var i=t.getBoundingClientRect();n=i.top,r=i.height}catch(e){n=m,r=y}var o=window.innerHeight||document.documentElement.clientHeight,a=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-a[0]<=o&&n+r+a[1]>=0}(e);r?e.visible||(e.props.once&&_.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},C=function(){_.forEach((function(e){var t=w.indexOf(e);-1!==t&&w.splice(t,1)})),_=[]},T=function(){for(var e=0;e<w.length;++e){var t=w[e];k(t)}C()},O=void 0,M=null,A=function(e){function t(e){p(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.visible=!1,n.setRef=n.setRef.bind(n),n}return h(t,e),r(t,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"==typeof t&&(e=e.document.querySelector(t));var n=void 0!==this.props.debounce&&"throttle"===O||"debounce"===O&&void 0===this.props.debounce;if(n&&((0,s.off)(e,"scroll",M,E),(0,s.off)(window,"resize",M,E),M=null),M||(void 0!==this.props.debounce?(M=(0,c.default)(T,"number"==typeof this.props.debounce?this.props.debounce:300),O="debounce"):void 0!==this.props.throttle?(M=(0,u.default)(T,"number"==typeof this.props.throttle?this.props.throttle:300),O="throttle"):M=T),this.props.overflow){var r=(0,l.default)(this.ref);if(r&&"function"==typeof r.getAttribute){var i=+r.getAttribute(b)+1;1===i&&r.addEventListener("scroll",M,E),r.setAttribute(b,i)}}else if(0===w.length||n){var o=this.props,a=o.scroll,d=o.resize;a&&(0,s.on)(e,"scroll",M,E),d&&(0,s.on)(window,"resize",M,E)}w.push(this),k(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=(0,l.default)(this.ref);if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(b)-1;0===t?(e.removeEventListener("scroll",M,E),e.removeAttribute(b)):e.setAttribute(b,t)}}var n=w.indexOf(this);-1!==n&&w.splice(n,1),0===w.length&&"undefined"!=typeof window&&((0,s.off)(window,"resize",M,E),(0,s.off)(window,"scroll",M,E))}},{key:"setRef",value:function(e){e&&(this.ref=e)}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.children,r=e.placeholder,i=e.className,a=e.classNamePrefix,s=e.style;return o.default.createElement("div",{className:a+"-wrapper "+i,ref:this.setRef,style:s},this.visible?n:r||o.default.createElement("div",{style:{height:t},className:a+"-placeholder"}))}}]),t}(i.Component);A.propTypes={className:a.default.string,classNamePrefix:a.default.string,once:a.default.bool,height:a.default.oneOfType([a.default.number,a.default.string]),offset:a.default.oneOfType([a.default.number,a.default.arrayOf(a.default.number)]),overflow:a.default.bool,resize:a.default.bool,scroll:a.default.bool,children:a.default.node,throttle:a.default.oneOfType([a.default.number,a.default.bool]),debounce:a.default.oneOfType([a.default.number,a.default.bool]),placeholder:a.default.node,scrollContainer:a.default.oneOfType([a.default.string,a.default.object]),unmountIfInvisible:a.default.bool,style:a.default.object},A.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};t.ZP=A,t.be=T},38282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=function l(){var c=+new Date-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(o,i),r||(o=null,i=null)))};return function(){o=this,i=arguments,a=+new Date;var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(o,i),o=null,i=null),s}}},54081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,r){r=r||!1,e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,r){r=r||!1,e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)}},38315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,r=e;r;){if(!r.parentNode)return e.ownerDocument||document.documentElement;var i=window.getComputedStyle(r),o=i.position,a=i.overflow,s=i["overflow-x"],l=i["overflow-y"];if("static"===o&&t)r=r.parentNode;else{if(n.test(a)&&n.test(s)&&n.test(l))return r;r=r.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},40821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i;return t||(t=250),function(){var o=n||this,a=+new Date,s=arguments;r&&a<r+t?(clearTimeout(i),i=setTimeout((function(){r=a,e.apply(o,s)}),t)):(r=a,e.apply(o,s))}}},69227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),a=(r=o)&&r.__esModule?r:{default:r},s=n(45697);var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scriptLoaderId="id"+n.constructor.idCount++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onError,n=e.onLoad,r=e.url;this.constructor.loadedScripts[r]?n():this.constructor.erroredScripts[r]?t():this.constructor.scriptObservers[r]?this.constructor.scriptObservers[r][this.scriptLoaderId]=this.props:(this.constructor.scriptObservers[r]=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.scriptLoaderId,this.props),this.createScript())}},{key:"componentWillUnmount",value:function(){var e=this.props.url,t=this.constructor.scriptObservers[e];t&&delete t[this.scriptLoaderId]}},{key:"createScript",value:function(){var e=this,t=this.props,n=t.onCreate,r=t.url,i=t.attributes,o=document.createElement("script");n(),i&&Object.keys(i).forEach((function(e){return o.setAttribute(e,i[e])})),o.src=r,o.hasAttribute("async")||(o.async=1);var a=function(t){var n=e.constructor.scriptObservers[r];Object.keys(n).forEach((function(i){t(n[i])&&delete e.constructor.scriptObservers[r][e.scriptLoaderId]}))};o.onload=function(){e.constructor.loadedScripts[r]=!0,a((function(e){return e.onLoad(),!0}))},o.onerror=function(){e.constructor.erroredScripts[r]=!0,a((function(e){return e.onError(),!0}))},document.body.appendChild(o)}},{key:"render",value:function(){return null}}]),t}(a.default.Component);l.propTypes={attributes:s.PropTypes.object,onCreate:s.PropTypes.func,onError:s.PropTypes.func.isRequired,onLoad:s.PropTypes.func.isRequired,url:s.PropTypes.string.isRequired},l.defaultProps={attributes:{},onCreate:function(){},onError:function(){},onLoad:function(){}},l.scriptObservers={},l.loadedScripts={},l.erroredScripts={},l.idCount=0,t.default=l,e.exports=t.default},55003:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(67294)),o=s(n(73935)),a=s(n(45697));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){o.default.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=i.default.cloneElement(this.props.children)),this.portal=o.default.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(i.default.Component);t.default=l,l.propTypes={children:a.default.node.isRequired,node:a.default.any}},65343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(67294)),o=l(n(45697)),a=l(n(73935)),s=n(22798);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return s.canUseDOM?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),a.default.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(i.default.Component);c.propTypes={children:o.default.node.isRequired,node:o.default.any},t.default=c},75184:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(73935)),i=a(n(65343)),o=a(n(55003));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;s=r.default.createPortal?i.default:o.default,t.default=s},97979:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(67294)),o=s(n(45697)),a=s(n(75184));function s(e){return e&&e.__esModule?e:{default:e}}var l=27,c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?i.default.createElement(a.default,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===l&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(i.default.Component);c.propTypes={children:o.default.func.isRequired,defaultOpen:o.default.bool,node:o.default.any,closeOnEsc:o.default.bool,closeOnOutsideClick:o.default.bool,onOpen:o.default.func,onClose:o.default.func},c.defaultProps={onOpen:function(){},onClose:function(){}},t.default=c},32923:function(e,t,n){"use strict";t.h_=void 0;var r=o(n(75184)),i=o(n(97979));function o(e){return e&&e.__esModule?e:{default:e}}t.h_=r.default,i.default},22798:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},49656:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(97898),o=r(n(67294)),a=n(55648);n(45697),n(87641);var s=r(n(26018));function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function u(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(i[n]=e[n]);return i}var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=a.createBrowserHistory(t.props),t}return c(t,e),t.prototype.render=function(){return o.createElement(i.Router,{history:this.history,children:this.props.children})},t}(o.Component),p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=a.createHashHistory(t.props),t}return c(t,e),t.prototype.render=function(){return o.createElement(i.Router,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e,t){return"function"==typeof e?e(t):e},h=function(e,t){return"string"==typeof e?a.createLocation(e,null,null,t):e},m=function(e){return e},g=o.forwardRef;void 0===g&&(g=m);var v=g((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,a=u(e,["innerRef","navigate","onClick"]),s=a.target,c=l({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=m!==g&&t||n,o.createElement("a",c)})),y=g((function(e,t){var n=e.component,r=void 0===n?v:n,a=e.replace,c=e.to,d=e.innerRef,p=u(e,["component","replace","to","innerRef"]);return o.createElement(i.__RouterContext.Consumer,null,(function(e){e||s(!1);var n=e.history,i=h(f(c,e.location),e.location),u=i?n.createHref(i):"",v=l({},p,{href:u,navigate:function(){var t=f(c,e.location);(a?n.replace:n.push)(t)}});return m!==g?v.ref=t||d:v.innerRef=d,o.createElement(r,v)}))})),b=function(e){return e},w=o.forwardRef;void 0===w&&(w=b);var _=w((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,a=e.activeClassName,c=void 0===a?"active":a,d=e.activeStyle,p=e.className,m=e.exact,g=e.isActive,v=e.location,_=e.strict,S=e.style,x=e.to,E=e.innerRef,k=u(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to","innerRef"]);return o.createElement(i.__RouterContext.Consumer,null,(function(e){e||s(!1);var n=v||e.location,a=h(f(x,n),n),u=a.pathname,C=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=C?i.matchPath(n.pathname,{path:C,exact:m,strict:_}):null,O=!!(g?g(T,n):T),M=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(p,c):p,A=O?l({},S,{},d):S,P=l({"aria-current":O&&r||null,className:M,style:A,to:a},k);return b!==w?P.ref=t||E:P.innerRef=E,o.createElement(y,P)}))}));Object.keys(i).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})),t.BrowserRouter=d,t.HashRouter=p,t.Link=y,t.NavLink=_},79042:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(67294));n(45697);var o=n(55648);n(87641);var a=r(n(68349)),s=r(n(26018)),l=r(n(14779));n(59864);var c=r(n(8679));function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function p(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(i[n]=e[n]);return i}var f=function(e){var t=a();return t.displayName=e,t}("Router"),h=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}d(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.createElement(f.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(i.Component),m=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=o.createMemoryHistory(t.props),t}return d(t,e),t.prototype.render=function(){return i.createElement(h,{history:this.history,children:this.props.children})},t}(i.Component),g=function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.Component);var v={},y=1e4,b=0;function w(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(v[e])return v[e];var t=l.compile(e);return b<y&&(v[e]=t,b++),t}(e)(t,{pretty:!0})}var _={},S=1e4,x=0;function E(e,t){void 0===t&&(t={}),"string"!=typeof t&&!Array.isArray(t)||(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,c=n.sensitive,u=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=_[n]||(_[n]={});if(r[e])return r[e];var i=[],o={regexp:l(e,i,t),keys:i};return x<S&&(r[e]=o,x++),o}(n,{end:o,strict:s,sensitive:u}),i=r.regexp,a=r.keys,c=i.exec(e);if(!c)return null;var d=c[0],p=c.slice(1),f=e===d;return o&&!f?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:f,params:a.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var k=function(e){function t(){return e.apply(this,arguments)||this}return d(t,e),t.prototype.render=function(){var e=this;return i.createElement(f.Consumer,null,(function(t){t||s(!1);var n=e.props.location||t.location,r=u({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?E(n.pathname,e.props):t.match}),o=e.props,a=o.children,l=o.component,c=o.render;return Array.isArray(a)&&0===a.length&&(a=null),i.createElement(f.Provider,{value:r},r.match?a?"function"==typeof a?a(r):a:l?i.createElement(l,r):c?c(r):null:"function"==typeof a?a(r):null)}))},t}(i.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:u({},t,{pathname:t.pathname.substr(n.length)})}function O(e){return"string"==typeof e?e:o.createPath(e)}function M(e){return function(){s(!1)}}function A(){}var P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return A},t.handleBlock=function(){return A},t}d(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,i=void 0===r?"":r,a=n.context,s=void 0===a?{}:a;s.action=t,s.location=function(e,t){return e?u({},t,{pathname:C(e)+t.pathname}):t}(i,o.createLocation(e)),s.url=O(s.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,a=void 0===r?{}:r,s=e.location,l=void 0===s?"/":s,c=p(e,["basename","context","location"]),d={createHref:function(e){return C(n+O(e))},action:"POP",location:T(n,o.createLocation(l)),push:this.handlePush,replace:this.handleReplace,go:M(),goBack:M(),goForward:M(),listen:this.handleListen,block:this.handleBlock};return i.createElement(h,u({},c,{history:d,staticContext:a}))},t}(i.Component),L=function(e){function t(){return e.apply(this,arguments)||this}return d(t,e),t.prototype.render=function(){var e=this;return i.createElement(f.Consumer,null,(function(t){t||s(!1);var n,r,o=e.props.location||t.location;return i.Children.forEach(e.props.children,(function(e){if(null==r&&i.isValidElement(e)){var a=(n=e).props.path||e.props.from;r=a?E(o.pathname,u({},e.props,{path:a})):t.match}})),r?i.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.Component);var D=i.useContext;function R(){return D(f).location}t.MemoryRouter=m,t.Prompt=function(e){var t=e.message,n=e.when,r=void 0===n||n;return i.createElement(f.Consumer,null,(function(e){if(e||s(!1),!r||e.staticContext)return null;var n=e.history.block;return i.createElement(g,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))},t.Redirect=function(e){var t=e.computedMatch,n=e.to,r=e.push,a=void 0!==r&&r;return i.createElement(f.Consumer,null,(function(e){e||s(!1);var r=e.history,l=e.staticContext,c=a?r.push:r.replace,d=o.createLocation(t?"string"==typeof n?w(n,t.params):u({},n,{pathname:w(n.pathname,t.params)}):n);return l?(c(d),null):i.createElement(g,{onMount:function(){c(d)},onUpdate:function(e,t){var n=o.createLocation(t.to);o.locationsAreEqual(n,u({},d,{key:n.key}))||c(d)},to:n})}))},t.Route=k,t.Router=h,t.StaticRouter=P,t.Switch=L,t.__RouterContext=f,t.generatePath=w,t.matchPath=E,t.useHistory=function(){return D(f).history},t.useLocation=R,t.useParams=function(){var e=D(f).match;return e?e.params:{}},t.useRouteMatch=function(e){return e?E(R().pathname,e):D(f).match},t.withRouter=function(e){function t(t){var n=t.wrappedComponentRef,r=p(t,["wrappedComponentRef"]);return i.createElement(f.Consumer,null,(function(t){return t||s(!1),i.createElement(e,u({},r,t,{ref:n}))}))}var n="withRouter("+(e.displayName||e.name)+")";return t.displayName=n,t.WrappedComponent=e,c(t,e)}},97898:function(e,t,n){"use strict";e.exports=n(79042)},68349:function(e,t,n){"use strict";var r=n(67294),i=n(7867),o=n(45697);n(87641);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(r),l=a(i),c=a(o),u=1073741823,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var p=s.default.createContext||function(e,t){var n,i,o,a="__create-react-context-"+((d[o="__global_unique_id__"]=(d[o]||0)+1)+"__"),s=function(e){function n(){var t,n,r;return(t=e.apply(this,arguments)||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}l.default(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;!function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,i)?(n="function"==typeof t?t(r,i):u,0!==(n|=0)&&this.emitter.set(e.value,n)):n=0}},r.render=function(){return this.props.children},n}(r.Component);s.childContextTypes=((n={})[a]=c.default.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}l.default(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((i={})[a]=c.default.object,i),{Provider:s,Consumer:p}};e.exports=p},83524:function(e,t,n){"use strict";var r,i=n(67294),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},70028:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var i=s(n(67294)),o=s(n(94184)),a=n(58439);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,u(u({},n),r)):i.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(i.default.PureComponent);t.PrevArrow=b;var w=function(e){m(n,e);var t=v(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,u(u({},n),r)):i.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(i.default.PureComponent);t.NextArrow=w},61127:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(67294))&&r.__esModule?r:{default:r};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},95488:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var i=s(n(67294)),o=s(n(94184)),a=n(58439);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(f,e);var t,n,r,s=p(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),s.apply(this,arguments)}return t=f,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,f=t.slideCount,h=t.currentSlide,m=(e={slideCount:f,slidesToScroll:d,slidesToShow:p,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:r,onMouseLeave:s},v=[],y=0;y<m;y++){var b=(y+1)*d-1,w=u?b:(0,a.clamp)(b,0,f-1),_=w-(d-1),S=u?_:(0,a.clamp)(_,0,f-1),x=(0,o.default)({"slick-active":u?h>=S&&h<=w:h===S}),E={message:"dots",index:y,slidesToScroll:d,currentSlide:h},k=this.clickHandler.bind(this,E);v=v.concat(i.default.createElement("li",{key:y,className:x},i.default.cloneElement(this.props.customPaging(y),{onClick:k})))}return i.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}],n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),f}(i.default.PureComponent);t.Dots=h},67727:function(e,t,n){"use strict";var r;t.Z=void 0;var i=((r=n(30957))&&r.__esModule?r:{default:r}).default;t.Z=i},80385:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},13891:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(67294)),i=f(n(80385)),o=f(n(91296)),a=f(n(94184)),s=n(58439),l=n(51502),c=n(95488),u=n(70028),d=f(n(32018)),p=["animating"];function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function g(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}(this,n)}}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(x,e);var t,n,f,v=_(x);function x(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),E(S(t=v.call(this,e)),"listRefHandler",(function(e){return t.list=e})),E(S(t),"trackRefHandler",(function(e){return t.track=e})),E(S(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),E(S(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(y(y({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=y({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),E(S(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),E(S(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(y(y({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=y(y({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),E(S(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),E(S(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=y(y({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),E(S(t),"updateState",(function(e,n,i){var o=(0,s.initializedState)(e);e=y(y(y({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=y(y({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)})),E(S(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,s.getPreClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var f=r.default.Children.count(t.props.children),h=y(y(y({},t.props),t.state),{},{slideCount:f}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+f,g=100/t.props.slidesToShow*m,v=100/m,b=-v*((0,s.getPreClones)(h)+t.state.currentSlide)*g/100;return t.props.centerMode&&(b+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:b+"%"}}})),E(S(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),E(S(t),"progressiveLazyLoad",(function(){for(var e=[],n=y(y({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),E(S(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(y(y(y({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),f=d.state,h=d.nextState;if(f){o&&o(u,f.currentSlide);var m=f.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&m.length>0&&a(m),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,(function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),h&&(t.animationEndCallback=setTimeout((function(){var e=h.animating,n=g(h,p);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(f.currentSlide),delete t.animationEndCallback}))}),l))}))}})),E(S(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=y(y({},t.props),t.state),i=(0,s.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),E(S(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),E(S(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility);""!==n&&t.changeSlide({message:n})})),E(S(t),"selectHandler",(function(e){t.changeSlide(e)})),E(S(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),E(S(t),"enableBodyScroll",(function(){window.ontouchmove=null})),E(S(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),E(S(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),E(S(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),E(S(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),E(S(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),E(S(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),E(S(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),E(S(t),"play",(function(){var e;if(!(0,s.canGoNext)(y(y({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll,t.slideHandler(e)})),E(S(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),E(S(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),E(S(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(S(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(S(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(S(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(S(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),E(S(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),E(S(t),"render",(function(){var e,n,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=y(y({},t.props),t.state),p=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(p=y(y({},p),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var h=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;h=y(y({},h),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,h)}var v=(0,s.extractObject)(d,["rtl","infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,v),i=r.default.createElement(u.NextArrow,v));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var _=y(y({},b),w),S=t.props.touchMove,x={className:"slick-list",style:_,onClick:t.clickHandler,onMouseDown:S?t.swipeStart:null,onMouseMove:t.state.dragging&&S?t.swipeMove:null,onMouseUp:S?t.swipeEnd:null,onMouseLeave:t.state.dragging&&S?t.swipeEnd:null,onTouchStart:S?t.swipeStart:null,onTouchMove:t.state.dragging&&S?t.swipeMove:null,onTouchEnd:S?t.touchEnd:null,onTouchCancel:t.state.dragging&&S?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},E="ltr";1==t.props.rtl&&(E="rtl");var k={className:o,style:y({},t.props.style),dir:E};return t.props.unslick&&(x={className:"slick-list"},k={className:o}),r.default.createElement("div",k,t.props.unslick?"":n,r.default.createElement("div",m({ref:t.listRefHandler},x),r.default.createElement(l.Track,m({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=y(y({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=y(y({},t.state),n),t}return t=x,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==h(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&b(t.prototype,n),f&&b(t,f),Object.defineProperty(t,"prototype",{writable:!1}),x}(r.default.Component);t.InnerSlider=k},30957:function(e,t,n){"use strict";var r=n(25108);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(67294)),a=n(13891),s=u(n(80973)),l=u(n(61127)),c=n(58439);function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,n)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,c.canUseDOM)()&&n(24974),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(p,e);var t,n,i,u=g(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),b(v(t=u.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),b(v(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),b(v(t),"slickNext",(function(){return t.innerSlider.slickNext()})),b(v(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),b(v(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),b(v(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=p,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?(0,s.default)({minWidth:0,maxWidth:n}):(0,s.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,c.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,s.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f(f(f({},l.default),this.props),t[0].settings):f(f({},l.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var i=o.default.Children.toArray(this.props.children);i=i.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(r.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],c=null,u=0;u<i.length;u+=e.rows*e.slidesPerRow){for(var p=[],h=u;h<u+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var m=[],g=h;g<h+e.slidesPerRow&&(e.variableWidth&&i[g].props.style&&(c=i[g].props.style.width),!(g>=i.length));g+=1)m.push(o.default.cloneElement(i[g],{key:100*u+10*h+g,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(o.default.createElement("div",{key:10*u+h},m))}e.variableWidth?s.push(o.default.createElement("div",{key:u,style:{width:c}},p)):s.push(o.default.createElement("div",{key:u},p))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:v},i)}return s.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(a.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}])&&h(t.prototype,n),i&&h(t,i),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.default.Component);t.default=_},51502:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var i=s(n(67294)),o=s(n(94184)),a=n(58439);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t,n,r,i,o;return r=(o=e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},b=function(e){var t,n=[],r=[],s=[],l=i.default.Children.count(e.children),c=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,(function(d,p){var f,h={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:i.default.createElement("div",null);var g=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(m(m({},e),{},{index:p})),b=f.props.className||"",w=v(m(m({},e),{},{index:p}));if(n.push(i.default.cloneElement(f,{key:"original"+y(f,p),"data-index":p,className:(0,o.default)(w,b),tabIndex:"-1","aria-hidden":!w["slick-active"],style:m(m({outline:"none"},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var _=l-p;l!==e.slidesToShow&&(_<=(0,a.getPreClones)(e)&&!e.rtl||p<(0,a.getPreClones)(e)&&e.rtl)&&((t=-_)>=c&&(f=d),w=v(m(m({},e),{},{index:t})),r.push(i.default.cloneElement(f,{key:"precloned"+y(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+p)<u&&(f=d),w=v(m(m({},e),{},{index:t})),s.push(i.default.cloneElement(f,{key:"postcloned"+y(f,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(w,b),"aria-hidden":!w["slick-active"],style:m(m({},f.props.style||{}),g),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}})),r.concat(n,s)},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,n,r,o=d(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=o.call.apply(o,[this].concat(n))),"node",null),g(p(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=b(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default.PureComponent);t.Track=w},58439:function(e,t,n){"use strict";var r=n(25108);Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var i,o=(i=n(67294))&&i.__esModule?i:{default:i};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){return Math.max(t,Math.min(e,n))}var u=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=u;var d=function(e){for(var t=[],n=p(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=d;t.getRequiredLazySlides=function(e){for(var t=[],n=p(e),r=f(e),i=n;i<r;i++)t.push(i);return t};var p=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=p;var f=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=f;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var g=function(e){return e&&e.offsetWidth||0};t.getWidth=g;var v=function(e){return e&&e.offsetHeight||0};t.getHeight=v;var y=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0;return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!0===a?"right":"left":i>=135&&i<=225?!0===a?"left":"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var b=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=b;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=o.default.Children.count(e.children),r=e.listRef,i=Math.ceil(g(r)),a=e.trackRef&&e.trackRef.node,l=Math.ceil(g(a));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var u=r&&v(r.querySelector('[data-index="0"]')),p=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide,h=e.lazyLoadedList||[],m=d(s(s({},e),{},{currentSlide:f,lazyLoadedList:h})),y={slideCount:n,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:p,lazyLoadedList:h=h.concat(m)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,a=e.slideCount,l=e.lazyLoad,u=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,y,w,_=o,S={},x={},T=i?o:c(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?_=o+a:o>=a&&(_=o-a),l&&g.indexOf(_)<0&&(g=g.concat(_)),S={animating:!0,currentSlide:_,lazyLoadedList:g,targetSlide:_},x={animating:!1,targetSlide:_}}else v=_,_<0?(v=_+a,i?a%f!=0&&(v=a-a%f):v=0):!b(e)&&_>u?_=v=u:p&&_>=a?(_=i?a:a-1,v=i?0:a-1):_>=a&&(v=_-a,i?a%f!=0&&(v=0):v=a-h),!i&&_+h>=a&&(v=a-h),y=C(s(s({},e),{},{slideIndex:_})),w=C(s(s({},e),{},{slideIndex:v})),i||(y===w&&(_=v),y=w),l&&(g=g.concat(d(s(s({},e),{},{currentSlide:_})))),m?(S={animating:!0,currentSlide:v,trackStyle:k(s(s({},e),{},{left:y})),lazyLoadedList:g,targetSlide:T},x={animating:!1,currentSlide:v,trackStyle:E(s(s({},e),{},{left:w})),swipeLeft:null,targetSlide:T}):S={currentSlide:v,trackStyle:E(s(s({},e),{},{left:w})),lazyLoadedList:g,targetSlide:T};return{state:S,nextState:x}};t.changeSlide=function(e,t){var n,r,i,o,a=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(n=c%a!=0?0:(c-u)%a,"previous"===t.message)o=u-(i=0===n?a:l-n),p&&!f&&(o=-1===(r=u-i)?c-1:r),f||(o=d-a);else if("next"===t.message)o=u+(i=0===n?a:n),p&&!f&&(o=(u+a)%c+n),f||(o=d+a);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,f){var h=A(s(s({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=c:o<t.currentSlide&&"right"===h&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o};t.keyHandler=function(e,t){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t||(e.keyCode,e.keyCode),""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&u(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,p=t.edgeDragged,f=t.onEdge,h=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,w=t.infinite,_=t.touchObject,S=t.swipeEvent,x=t.listHeight,k=t.listWidth;if(!n){if(r)return u(e);i&&o&&a&&u(e);var T,O={},M=C(t);_.curX=e.touches?e.touches[0].pageX:e.clientX,_.curY=e.touches?e.touches[0].pageY:e.clientY,_.swipeLength=Math.round(Math.sqrt(Math.pow(_.curX-_.startX,2)));var A=Math.round(Math.sqrt(Math.pow(_.curY-_.startY,2)));if(!a&&!m&&A>10)return{scrolling:!0};a&&(_.swipeLength=A);var P=_.curX>_.startX?1:-1;a&&(P=_.curY>_.startY?1:-1);var L=Math.ceil(g/v),D=y(t.touchObject,a,l),R=_.swipeLength;return w||(0===c&&("right"===D||"down"===D)||c+1>=L&&("left"===D||"up"===D)||!b(t)&&("left"===D||"up"===D))&&(R=_.swipeLength*d,!1===p&&f&&(f(D),O.edgeDragged=!0)),!h&&S&&(S(D),O.swiped=!0),T=i?M+R*(x/k)*P:l?M-R*P:M+R*P,a&&(T=M+R*P),O=s(s({},O),{},{touchObject:_,swipeLeft:T,trackStyle:E(s(s({},t),{},{left:T}))}),Math.abs(_.curX-_.startX)<.8*Math.abs(_.curY-_.startY)?O:(_.swipeLength>10&&(O.swiping=!0,u(e)),O)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,p=t.scrolling,f=t.onSwipe,h=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!n)return r&&u(e),{};var v=l?c/a:o/a,b=y(i,l,t.rtl),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return w;if(!i.swipeLength)return w;if(i.swipeLength>v){var x,E;u(e),f&&f(b);var T=g?m:h;switch(b){case"left":case"up":E=T+S(t),x=d?_(t,E):E,w.currentDirection=0;break;case"right":case"down":E=T-S(t),x=d?_(t,E):E,w.currentDirection=1;break;default:x=T}w.triggerSlideHandler=x}else{var O=C(t);w.trackStyle=k(s(s({},t),{},{left:O}))}return w};var w=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=w;var _=function(e,t){var n=w(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=_;var S=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every((function(r){if(e.vertical){if(r.offsetTop+v(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+g(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=S;var x=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:r.error("Keys Missing:",e)};t.checkSpecKeys=x;var E=function(e){var t,n;x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","rtl"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=M(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.left;!0===e.rtl&&(o=-o);var a=e.vertical?"translate3d(0px, "+o+"px, 0px)":"translate3d("+o+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+o+"px, 0px)":"translate3d("+o+"px, 0px, 0px)",c=e.vertical?"translateY("+o+"px)":"translateX("+o+"px)";i=s(s({},i),{},{WebkitTransform:a,transform:l,msTransform:c})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=E;var k=function(e){x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=k;var C=function(e){if(e.unslick)return 0;x(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,f=e.slideHeight,h=e.fade,m=e.vertical;if(h||1===e.slideCount)return 0;var g=0;if(o?(g=-T(e),s%c!=0&&r+c>s&&(g=-(r>s?l-(r-s):s%c)),a&&(g+=parseInt(l/2))):(s%c!=0&&r+c>s&&(g=l-s%c),a&&(g=parseInt(l/2))),t=m?r*f*-1+g*f:r*u*-1+g*u,!0===p){var v,y=i&&i.node;if(v=r+T(e),t=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=o?r+T(e):r,n=y&&y.children[v],t=0;for(var b=0;b<v;b++)t-=y&&y.children[b]&&y.children[b].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=C;var T=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=T;var O=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=O;var M=function(e){return 1===e.slideCount?1:T(e)+e.slideCount+O(e)};t.getTotalSlides=M;var A=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+P(e)?"left":"right":e.targetSlide<e.currentSlide-L(e)?"right":"left"};t.siblingDirection=A;var P=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=P;var L=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=L;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},75239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=u(n(7091)),a=n(51363),s=n(60125),l=n(92625),c=n(69412);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){var t=e.ariaLabel,n=e.className,i=e.disabled,l=e.inputRef,u=e.locale,p=e.maxTime,f=e.minTime,h=e.onChange,m=e.required,g=e.value,v=f&&"pm"===(0,s.convert24to12)((0,a.getHours)(f))[1],y=p&&"am"===(0,s.convert24to12)((0,a.getHours)(p))[1],b="amPm",w=d((0,c.getAmPmLabels)(u),2),_=w[0],S=w[1];return r.default.createElement("select",{"aria-label":t,className:(0,o.default)("".concat(n,"__input"),"".concat(n,"__").concat(b)),"data-input":"true","data-select":"true",disabled:i,name:b,onChange:h,ref:l,required:m,value:null!==g?g:""},!g&&r.default.createElement("option",{value:""},"--"),r.default.createElement("option",{disabled:v,value:"am"},_),r.default.createElement("option",{disabled:y,value:"pm"},S))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,inputRef:l.isRef,locale:i.default.string,maxTime:l.isTime,minTime:l.isTime,onChange:i.default.func,required:i.default.bool,value:i.default.oneOf(["am","pm"])}},688:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r=d(n(67294)),i=d(n(45697)),o=n(51363),a=d(n(3501)),s=n(60125),l=n(92625),c=n(69412),u=["amPm","hour","maxTime","minTime","value"];function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){var t,n,i,l,d=e.amPm,h=(e.hour,e.maxTime),g=e.minTime,v=e.value,y=m(e,u),b=(0,c.safeMin)(12,h&&(t=f((0,s.convert24to12)((0,o.getHours)(h)),2),n=t[0],t[1]!==d?null:n)),w=(0,c.safeMax)(1,g&&(i=f((0,s.convert24to12)((0,o.getHours)(g)),2),l=i[0],i[1]!==d||12===l?null:l)),_=v?(0,s.convert24to12)(v)[0].toString():"";return r.default.createElement(a.default,p({max:b,min:w,name:"hour12",nameForClass:"hour",value:_},y))}g.propTypes={amPm:i.default.string,ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,hour:i.default.string,inputRef:l.isRef,maxTime:l.isTime,minTime:l.isTime,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string}},9452:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(3501)),s=n(92625),l=n(69412),c=["hour","maxTime","minTime"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){e.hour;var t=e.maxTime,n=e.minTime,i=p(e,c),s=(0,l.safeMin)(23,t&&(0,o.getHours)(t)),u=(0,l.safeMax)(0,n&&(0,o.getHours)(n));return r.default.createElement(a.default,d({max:s,min:u,name:"hour24",nameForClass:"hour"},i))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,hour:i.default.string,inputRef:s.isRef,maxTime:s.isTime,minTime:s.isTime,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string}},3501:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var i=d(n(67294)),o=d(n(45697)),a=d(n(7091)),s=d(n(27901)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(3746)),c=n(92625);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}var p="undefined"!=typeof window&&/(MSIE|Trident\/|Edge\/)/.test(window.navigator.userAgent),f="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);function h(e){var t=e.target;p?requestAnimationFrame((function(){return t.select()})):t.select()}function m(e){if(document.fonts){var t=(0,l.getFontShorthand)(e);if(t)document.fonts.check(t)||document.fonts.addEventListener("loadingdone",(function(){(0,l.default)(e)}))}}function g(e){return function(t){if(!f){var n=t.key,r=t.target,i=r.value,o=1===n.length&&/\d/.test(n),a=function(e){return e&&"selectionStart"in e&&null!==e.selectionStart?e.value.slice(e.selectionStart,e.selectionEnd):"getSelection"in window?window.getSelection().toString():null}(r);o&&(a||i.length<e)||t.preventDefault()}}}function v(e){var t=e.ariaLabel,n=e.autoFocus,r=e.className,o=e.disabled,c=e.inputRef,u=e.max,d=e.min,p=e.name,f=e.nameForClass,v=e.onChange,y=e.onKeyDown,b=e.onKeyUp,w=e.placeholder,_=void 0===w?"--":w,S=e.required,x=e.showLeadingZeros,E=e.step,k=e.value,C=x&&k&&k<10&&("0"===k||!k.toString().startsWith("0")),T=u?u.toString().length:null;return[C&&i.default.createElement("span",{key:"leadingZero",className:"".concat(r,"__leadingZero")},"0"),i.default.createElement("input",{key:"input","aria-label":t,autoComplete:"off",autoFocus:n,className:(0,a.default)("".concat(r,"__input"),"".concat(r,"__").concat(f||p),C&&"".concat(r,"__input--hasLeadingZero")),"data-input":"true",disabled:o,inputMode:"numeric",max:u,min:d,name:p,onChange:v,onFocus:h,onKeyDown:y,onKeyPress:g(T),onKeyUp:function(e){(0,l.default)(e.target),b&&b(e)},placeholder:_,ref:(0,s.default)(l.default,m,c),required:S,step:E,type:"number",value:null!==k?k:""})]}v.propTypes={ariaLabel:o.default.string,autoFocus:o.default.bool,className:o.default.string.isRequired,disabled:o.default.bool,inputRef:c.isRef,max:o.default.number,min:o.default.number,name:o.default.string,nameForClass:o.default.string,onChange:o.default.func,onKeyDown:o.default.func,onKeyUp:o.default.func,placeholder:o.default.string,required:o.default.bool,showLeadingZeros:o.default.bool,step:o.default.number,value:o.default.string}},74075:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(3501)),s=n(92625),l=n(69412),c=["hour","maxTime","minTime","showLeadingZeros"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){var t=e.hour,n=e.maxTime,i=e.minTime,s=e.showLeadingZeros,u=void 0===s||s,f=p(e,c);function h(e){return e&&t===(0,o.getHours)(e).toString()}var m=(0,l.safeMin)(59,h(n)&&(0,o.getMinutes)(n)),g=(0,l.safeMax)(0,h(i)&&(0,o.getMinutes)(i));return r.default.createElement(a.default,d({max:m,min:g,name:"minute",showLeadingZeros:u},f))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,hour:i.default.string,inputRef:s.isRef,maxTime:s.isTime,minTime:s.isTime,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string}},77260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=u(n(67294)),i=u(n(45697)),o=n(51363),a=u(n(3501)),s=n(92625),l=n(69412),c=["hour","maxTime","minTime","minute","showLeadingZeros"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){var t=e.hour,n=e.maxTime,i=e.minTime,s=e.minute,u=e.showLeadingZeros,f=void 0===u||u,h=p(e,c);function m(e){return e&&t===(0,o.getHours)(e).toString()&&s===(0,o.getMinutes)(e).toString()}var g=(0,l.safeMin)(59,m(n)&&(0,o.getSeconds)(n)),v=(0,l.safeMax)(0,m(i)&&(0,o.getSeconds)(i));return r.default.createElement(a.default,d({max:g,min:v,name:"second",showLeadingZeros:f},h))}f.propTypes={ariaLabel:i.default.string,className:i.default.string.isRequired,disabled:i.default.bool,hour:i.default.string,inputRef:s.isRef,maxTime:s.isTime,minTime:s.isTime,minute:i.default.string,onChange:i.default.func,onKeyDown:i.default.func,onKeyUp:i.default.func,placeholder:i.default.string,required:i.default.bool,showLeadingZeros:i.default.bool,value:i.default.string}},74892:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormatter=function(e){return function(t,n){var r=t||(0,i.default)();o.has(r)||o.set(r,new Map);var a=o.get(r);return a.has(e)||a.set(e,new Intl.DateTimeFormat(r,e).format),a.get(e)(n)}},t.getNumberFormatter=function(e){return function(t,n){var r=t||(0,i.default)();a.has(r)||a.set(r,new Map);var o=a.get(r);return o.has(e)||o.set(e,new Intl.NumberFormat(r,e).format),o.get(e)(n)}};var r,i=(r=n(6107))&&r.__esModule?r:{default:r};var o=new Map;var a=new Map},60125:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convert12to24=function(e,t){var n=parseInt(e,10);"am"===t&&12===n?n=0:"pm"===t&&n<12&&(n+=12);return n},t.convert24to12=function(e){return[e%12||12,e<12?"am":"pm"]}},92625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValueType=t.isTime=t.isRef=void 0;var r,i=(r=n(45697))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=[].concat(["hour","minute","second"]),s=/^(([0-1])?[0-9]|2[0-3]):[0-5][0-9](:([0-5][0-9]))?$/;t.isTime=function(e,t,n){var r=e[t];return r&&!s.test(r)?new Error("Invalid prop `".concat(t,"` of type `").concat("undefined"==typeof minDate?"undefined":o(minDate),"` supplied to `").concat(n,"`, expected time in HH:mm(:ss) format.")):null};var l=i.default.oneOf(a);t.isValueType=l;var c=i.default.oneOfType([i.default.func,i.default.shape({current:i.default.any})]);t.isRef=c},69412:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAmPmLabels=function(e){var t=c(e,new Date(2017,0,1,9)),n=c(e,new Date(2017,0,1,21)),r=o(t.split(l),2),i=r[0],a=r[1],s=o(n.split(l),2),u=s[0],d=s[1];if(void 0!==d){if(i!==u)return[i,u].map((function(e){return e.trim()}));if(a!==d)return[a,d].map((function(e){return e.trim()}))}return["AM","PM"]},t.safeMax=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Math.max.apply(Math,i(t.filter(u)))},t.safeMin=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Math.min.apply(Math,i(t.filter(u)))};var r=n(74892);function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=new RegExp("[".concat(["9","Ù©"].join(""),"]")),c=(0,r.getFormatter)({hour:"numeric"});function u(e){return null!==e&&!1!==e&&!Number.isNaN(Number(e))}},64786:function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;var r=String(e).match(/\d+/g);if(null==r||r.length<=2)return t;var i=r.map((function(e){return parseInt(e)})),o=(u=i,Array.isArray(u)?u:Array.from(u)),a=o[0],s=o[1],l=o.slice(2),c=[a,s-1].concat(n(l));return new Date(Date.UTC.apply(Date,n(c)));var u}},66466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){1!==e&&(t+="s");return e+" "+t+" "+n};!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(67294))},63235:function(e,t,n){"use strict";t.Z=function(e){return function(t,n,r,o,a,s){var l=s();"week"!==n||e.week||e.weeks||(t=Math.round(Math.abs(o-l)/864e5),n="day");var c=i(t,l-o,null!=e.numbers?e.numbers:void 0),u=[];if("ago"===r&&e.prefixAgo&&u.push(c(e.prefixAgo)),"from now"===r&&e.prefixFromNow&&u.push(c(e.prefixFromNow)),t>1){var d=e[n+"s"]||e[n]||"%d "+n;u.push(c(d))}else{var p=e[n]||e[n+"s"]||"%d "+n;u.push(c(p))}"ago"===r&&e.suffixAgo&&u.push(c(e.suffixAgo)),"from now"===r&&e.suffixFromNow&&u.push(c(e.suffixFromNow));var f="string"==typeof e.wordSeparator?e.wordSeparator:" ";return u.join(f)}};!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(67294));var r=function(e,t){return e&&10===e.length?String(t).split("").map((function(t){return t.match(/^[0-9]$/)?e[parseInt(t)]:t})).join(""):String(t)},i=function(e,t,n){return function(i){return"function"==typeof i?i(e,t).replace(/%d/g,r(n,e)):i.replace(/%d/g,r(n,e))}}},85986:function(e,t,n){"use strict";var r=n(25108);var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(67294)),l=u(n(66466)),c=u(n(64786));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=s.Component,f=3600,h=86400,m=7*h,g=30*h,v=365*h,y=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),i.isStillMounted=!1,i.tick=function(e){if(i.isStillMounted&&i.props.live){var t=(0,c.default)(i.props.date).valueOf();if(t){var n=i.props.now(),o=Math.round(Math.abs(n-t)/1e3),a=o<60?1e3:o<f?6e4:o<h?36e5:0,s=Math.min(Math.max(a,1e3*i.props.minPeriod),1e3*i.props.maxPeriod);s&&(i.timeoutId&&clearTimeout(i.timeoutId),i.timeoutId=setTimeout(i.tick,s)),e||i.forceUpdate()}else r.warn("[react-timeago] Invalid Date provided")}},d(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.props.live&&this.tick(!0)}},{key:"componentDidUpdate",value:function(e){this.props.live===e.live&&this.props.date===e.date||(!this.props.live&&this.timeoutId&&clearTimeout(this.timeoutId),this.tick())}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1,this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0)}},{key:"render",value:function(){var e=this.props,t=e.date,n=e.formatter,r=e.component,a=(e.live,e.minPeriod,e.maxPeriod,e.title),u=e.now,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["date","formatter","component","live","minPeriod","maxPeriod","title","now"]),p=(0,c.default)(t).valueOf();if(!p)return null;var y=u(),b=Math.round(Math.abs(y-p)/1e3),w=p<y?"ago":"from now",_=b<60?[Math.round(b),"second"]:b<f?[Math.round(b/60),"minute"]:b<h?[Math.round(b/f),"hour"]:b<m?[Math.round(b/h),"day"]:b<g?[Math.round(b/m),"week"]:b<v?[Math.round(b/g),"month"]:[Math.round(b/v),"year"],S=o(_,2),x=S[0],E=S[1],k=void 0===a?"string"==typeof t?t:(0,c.default)(t).toISOString().substr(0,16).replace("T"," "):a,C="time"===r?Object.assign({},d,{dateTime:(0,c.default)(t).toISOString()}):d,T=l.default.bind(null,x,E,w);return s.createElement(r,i({},C,{title:k}),n(x,E,w,p,T,u))}}]),t}(p);y.displayName="TimeAgo",y.defaultProps={live:!0,component:"time",minPeriod:0,maxPeriod:1/0,formatter:l.default,now:function(){return Date.now()}},t.Z=y},24517:function(e,t){"use strict";function n(e,t){return t[0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5]}var r={prefixAgo:"منذ",prefixFromNow:"بعد",suffixAgo:null,suffixFromNow:null,second:function(e){return n(e,["أقل من ثانية","ثانية واØدة","ثانيتين","%d ثوانÙ","%d ثانية","%d ثانية"])},seconds:function(e){return n(e,["أقل من ثانية","ثانية واØدة","ثانيتين","%d ثوانÙ","%d ثانية","%d ثانية"])},minute:function(e){return n(e,["أقل من دقيقة","دقيقة واØدة","دقيقتين","%d دقائق","%d دقيقة","دقيقة"])},minutes:function(e){return n(e,["أقل من دقيقة","دقيقة واØدة","دقيقتين","%d دقائق","%d دقيقة","دقيقة"])},hour:function(e){return n(e,["أقل من ساعة","ساعة واØدة","ساعتين","%d ساعات","%d ساعة","%d ساعة"])},hours:function(e){return n(e,["أقل من ساعة","ساعة واØدة","ساعتين","%d ساعات","%d ساعة","%d ساعة"])},day:function(e){return n(e,["أقل من يوم","يوم واØد","يومين","%d أيام","%d يومًا","%d يوم"])},days:function(e){return n(e,["أقل من يوم","يوم واØد","يومين","%d أيام","%d يومًا","%d يوم"])},month:function(e){return n(e,["أقل من شهر","شهر واØد","شهرين","%d أشهر","%d شهرًا","%d شهر"])},months:function(e){return n(e,["أقل من شهر","شهر واØد","شهرين","%d أشهر","%d شهرًا","%d شهر"])},year:function(e){return n(e,["أقل من عام","عام واØد","%d عامين","%d أعوام","%d عامًا"])},years:function(e){return n(e,["أقل من عام","عام واØد","عامين","%d أعوام","%d عامًا","%d عام"])}};t.Z=r},56354:function(e,t){"use strict";t.Z={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:"",suffixFromNow:"",seconds:"wenigen Sekunden",minute:"etwa einer Minute",minutes:"%d Minuten",hour:"etwa einer Stunde",hours:"%d Stunden",day:"etwa einem Tag",days:"%d Tagen",month:"etwa einem Monat",months:"%d Monaten",year:"etwa einem Jahr",years:"%d Jahren"}},15269:function(e,t){"use strict";t.Z={prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" "}},76390:function(e,t){"use strict";t.Z={prefixAgo:"hace",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos de un minuto",minute:"un minuto",minutes:"unos %d minutos",hour:"una hora",hours:"%d horas",day:"un dÃa",days:"%d dÃas",month:"un mes",months:"%d meses",year:"un año",years:"%d años"}},86478:function(e,t){"use strict";t.Z={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"environ une minute",minutes:"environ %d minutes",hour:"environ une heure",hours:"environ %d heures",day:"environ un jour",days:"environ %d jours",month:"environ un mois",months:"environ %d mois",year:"un an",years:"%d ans"}},63762:function(e,t){"use strict";function n(e,t,n){var r=e%10;return r>1&&r<5&&(e>20||e<10)?t:n}var r={prefixAgo:null,prefixFromNow:"za",suffixAgo:"temu",suffixFromNow:null,seconds:"mniej niż minutÄ™",minute:"minutÄ™",minutes:function(e){return n(e,"%d minuty","%d minut")},hour:"godzinÄ™",hours:function(e){return n(e,"%d godziny","%d godzin")},day:"dzieÅ„",days:"%d dni",month:"miesiÄ…c",months:function(e){return n(e,"%d miesiÄ…ce","%d miesiÄ™cy")},year:"rok",years:function(e){return n(e,"%d lata","%d lat")}};t.Z=r},60794:function(e,t){"use strict";function n(e,t,n,r){var i=e%10;return 1===i&&(1===e||e>20)?t:i>1&&i<5&&(e>20||e<10)?n:r}var r={prefixAgo:null,prefixFromNow:"через",suffixAgo:"назад",suffixFromNow:null,seconds:"меньше минуты",minute:"минуту",minutes:function(e){return n(e,"%d минуту","%d минуты","%d минут")},hour:"чаÑ",hours:function(e){return n(e,"%d чаÑ","%d чаÑа","%d чаÑов")},day:"день",days:function(e){return n(e,"%d день","%d днÑ","%d дней")},month:"меÑÑц",months:function(e){return n(e,"%d меÑÑц","%d меÑÑца","%d меÑÑцев")},year:"год",years:function(e){return n(e,"%d год","%d года","%d лет")}};t.Z=r},17319:function(e,t){"use strict";t.Z={suffixAgo:"önce",suffixFromNow:null,seconds:"1 dakikadan",minute:"1 dakika",minutes:"%d dakika",hour:"1 saat",hours:"%d saat",day:"1 gün",days:"%d gün",month:"1 ay",months:"%d ay",year:"1 yıl",years:"%d yıl"}},52541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YMInitializer=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(67294)),i=s(n(45697)),o=s(n(27343)),a=n(53746);function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,d(t).apply(this,arguments))}var n,i,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){(0,o.default)(this.props.accounts,this.props.options,this.props.version);var e=document.createElement("script"),t=this.props.attrs;e.type="text/javascript",e.async=!0,e.src=(0,a.scriptPath)(this.props.version),Object.keys(t).map((function(n){e.__proto__.hasOwnProperty(n)&&e.setAttribute(n,t[n])})),this.insertPoint.insertBefore(e,null)}},{key:"render",value:function(){var e=this;return r.default.createElement(this.props.containerElement,{ref:function(t){e.insertPoint=t}},this.props.children)}}])&&c(n.prototype,i),s&&c(n,s),t}(r.Component);t.YMInitializer=f,f.displayName="YMInitializer",f.propTypes={accounts:i.default.arrayOf(i.default.number).isRequired,containerElement:i.default.string,options:i.default.object,attrs:i.default.object,version:i.default.oneOf(["1","2"])},f.defaultProps={containerElement:"div",options:{},attrs:{},version:"1"}},53746:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callbackQueueName=function(e){if("1"===e)return"yandex_metrika_callbacks";if("2"===e)return"yandex_metrika_callbacks2";n()},t.scriptPath=function(e){if("1"===e)return"https://mc.yandex.ru/metrika/watch.js";if("2"===e)return"https://mc.yandex.ru/metrika/tag.js";n()},t.trackerConstructorName=function(e){if("1"===e)return"Metrika";if("2"===e)return"Metrika2";n()},t.trackerInstanceName=function(e){return"yaCounter".concat(e)},t.trackerVersionName=function(e){return"yaCounterVersion".concat(e)},t.accountListName=void 0;function n(){throw new Error("invalid Ya.Metrika version")}t.accountListName="yandex_metrika_accounts"},63282:function(e,t,n){"use strict";var r=n(25108);Object.defineProperty(t,"OR",{enumerable:!0,get:function(){return o.YMInitializer}}),t.ZP=void 0;var i=n(53746),o=n(52541);function a(e,t){try{for(var n,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];(n=window[(0,i.trackerInstanceName)(e)])[t].apply(n,a)}catch(e){r.warn(e)}}function s(){return"undefined"!=typeof window?window[i.accountListName]:[]}function l(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(e){var t=window[(0,i.trackerVersionName)(e)],r=window[(0,i.callbackQueueName)(t)];r?r.push((function(){return a.apply(void 0,[e].concat(n))})):a.apply(void 0,[e].concat(n))}))}}function c(e){return l(s().filter(e))}var u=function(){return l(s()).apply(void 0,arguments)};t.ZP=u},27343:function(e,t,n){"use strict";var r=n(25108);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1",o=(0,i.callbackQueueName)(n);window[i.accountListName]=window[i.accountListName]||[],window[i.accountListName]=window[i.accountListName].concat(e),window[o]=window[o]||[],window[o].push((function(){e.forEach((function(e){var o={id:e};try{window[(0,i.trackerInstanceName)(e)]=new(Ya[(0,i.trackerConstructorName)(n)])(Object.assign(o,t))}catch(e){r.warn(e)}}))})),e.forEach((function(e){window[(0,i.trackerVersionName)(e)]=n}))};var i=n(53746)},67527:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=c(n(45697)),a=c(n(67294)),s=c(n(9586)),l=c(n(11062));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return i({},e,{playerVars:i({},e.playerVars,{autoplay:0,start:0,end:0})})}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onPlayerReady=function(e){return n.props.onReady(e)},n.onPlayerError=function(e){return n.props.onError(e)},n.onPlayerStateChange=function(e){switch(n.props.onStateChange(e),e.data){case t.PlayerState.ENDED:n.props.onEnd(e);break;case t.PlayerState.PLAYING:n.props.onPlay(e);break;case t.PlayerState.PAUSED:n.props.onPause(e)}},n.onPlayerPlaybackRateChange=function(e){return n.props.onPlaybackRateChange(e)},n.onPlayerPlaybackQualityChange=function(e){return n.props.onPlaybackQualityChange(e)},n.createPlayer=function(){if("undefined"!=typeof document){var e=i({},n.props.opts,{videoId:n.props.videoId});n.internalPlayer=(0,l.default)(n.container,e),n.internalPlayer.on("ready",n.onPlayerReady),n.internalPlayer.on("error",n.onPlayerError),n.internalPlayer.on("stateChange",n.onPlayerStateChange),n.internalPlayer.on("playbackRateChange",n.onPlayerPlaybackRateChange),n.internalPlayer.on("playbackQualityChange",n.onPlayerPlaybackQualityChange)}},n.resetPlayer=function(){return n.internalPlayer.destroy().then(n.createPlayer)},n.updatePlayer=function(){n.internalPlayer.getIframe().then((function(e){n.props.id?e.setAttribute("id",n.props.id):e.removeAttribute("id"),n.props.className?e.setAttribute("class",n.props.className):e.removeAttribute("class")}))},n.updateVideo=function(){if(void 0!==n.props.videoId&&null!==n.props.videoId){var e=!1,t={videoId:n.props.videoId};"playerVars"in n.props.opts&&(e=1===n.props.opts.playerVars.autoplay,"start"in n.props.opts.playerVars&&(t.startSeconds=n.props.opts.playerVars.start),"end"in n.props.opts.playerVars&&(t.endSeconds=n.props.opts.playerVars.end)),e?n.internalPlayer.loadVideoById(t):n.internalPlayer.cueVideoById(t)}else n.internalPlayer.stopVideo()},n.refContainer=function(e){n.container=e},n.container=null,n.internalPlayer=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.createPlayer()}},{key:"componentDidUpdate",value:function(e){(function(e,t){return e.id!==t.id||e.className!==t.className})(e,this.props)&&this.updatePlayer(),function(e,t){return!(0,s.default)(u(e.opts),u(t.opts))}(e,this.props)&&this.resetPlayer(),function(e,t){if(e.videoId!==t.videoId)return!0;var n=e.opts.playerVars||{},r=t.opts.playerVars||{};return n.start!==r.start||n.end!==r.end}(e,this.props)&&this.updateVideo()}},{key:"componentWillUnmount",value:function(){this.internalPlayer.destroy()}},{key:"render",value:function(){return a.default.createElement("div",{className:this.props.containerClassName},a.default.createElement("div",{id:this.props.id,className:this.props.className,ref:this.refContainer}))}}]),t}(a.default.Component);d.propTypes={videoId:o.default.string,id:o.default.string,className:o.default.string,containerClassName:o.default.string,opts:o.default.objectOf(o.default.any),onReady:o.default.func,onError:o.default.func,onPlay:o.default.func,onPause:o.default.func,onEnd:o.default.func,onStateChange:o.default.func,onPlaybackRateChange:o.default.func,onPlaybackQualityChange:o.default.func},d.defaultProps={id:null,className:null,opts:{},containerClassName:"",onReady:function(){},onError:function(){},onPlay:function(){},onPause:function(){},onEnd:function(){},onStateChange:function(){},onPlaybackRateChange:function(){},onPlaybackQualityChange:function(){}},d.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5},t.Z=d},9586:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty;e.exports=function e(i,o){if(i===o)return!0;if(i&&o&&"object"==typeof i&&"object"==typeof o){var a,s,l,c=t(i),u=t(o);if(c&&u){if((s=i.length)!=o.length)return!1;for(a=s;0!=a--;)if(!e(i[a],o[a]))return!1;return!0}if(c!=u)return!1;var d=i instanceof Date,p=o instanceof Date;if(d!=p)return!1;if(d&&p)return i.getTime()==o.getTime();var f=i instanceof RegExp,h=o instanceof RegExp;if(f!=h)return!1;if(f&&h)return i.toString()==o.toString();var m=n(i);if((s=m.length)!==n(o).length)return!1;for(a=s;0!=a--;)if(!r.call(o,m[a]))return!1;for(a=s;0!=a--;)if(!e(i[l=m[a]],o[l]))return!1;return!0}return i!=i&&o!=o}},72408:function(e,t,n){"use strict";var r=n(27418),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://webcf.waybackmachine.org/web/20240801092516/https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var w={current:null},_=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var k=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===r?"."+C(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(k,"$&/")+"/"),T(a,t,n,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+C(s=e[c],c);l+=T(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=T(s=s.value,t,n,u=r+C(s,c++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function O(e,t,n){if(null==e)return e;var r=[],i=0;return T(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function M(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var A={current:null};function P(){var e=A.current;if(null===e)throw Error(f(321));return e}var L={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(f(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var o=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)_.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version="17.0.2"},67294:function(e,t,n){"use strict";e.exports=n(72408)},35666:function(e){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c=t.regeneratorRuntime;if(c)e.exports=c;else{(c=t.regeneratorRuntime=e.exports).wrap=b;var u="suspendedStart",d="suspendedYield",p="executing",f="completed",h={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==r&&i.call(v,a)&&(m=v);var y=x.prototype=_.prototype=Object.create(m);S.prototype=y.constructor=x,x.constructor=S,x[l]=S.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(y),e},c.awrap=function(e){return{__await:e}},E(k.prototype),k.prototype[s]=function(){return this},c.AsyncIterator=k,c.async=function(e,t,n,r){var i=new k(b(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=A,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),h}}}function b(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new M(r||[]);return o._invoke=function(e,t,n){var r=u;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=w(e,t,n);if("normal"===l.type){if(r=n.done?f:d,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function S(){}function x(){}function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e){function t(n,r,o,a){var s=w(e[n],e,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}var n;this._invoke=function(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}}function C(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},32018:function(e,t,n){e.exports=function(){"use strict";var e=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),t="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},o=2;function a(e,t){var n=!1,r=!1,a=0;function s(){n&&(n=!1,e()),r&&c()}function l(){i(s)}function c(){var e=Date.now();if(n){if(e-a<o)return;r=!0}else n=!0,r=!1,setTimeout(l,t);a=e}return c}var s=20,l=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=a(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){t&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){t&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},f=x(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function g(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=h(o)}return t}function v(e){var t=e.getBBox();return x(0,0,t.width,t.height)}function y(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=p(e).getComputedStyle(e),i=g(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),l=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+a)!==n&&(l-=m(r,"top","bottom")+a)),!w(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return x(i.left,i.top,s,l)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function w(e){return e===p(e).document.documentElement}function _(e){return t?b(e)?v(e):y(e):f}function S(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return d(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function x(e,t,n,r){return{x:e,y:t,width:n,height:r}}var E=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=x(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=_(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){function e(e,t){var n=S(t);d(this,{target:e,contentRect:n})}return e}(),C=function(){function t(t,n,r){if(this.activeObservations_=[],this.observations_=new e,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new E(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),T="undefined"!=typeof WeakMap?new WeakMap:new e,O=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new C(t,n,this);T.set(this,r)}return e}();return["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}})),void 0!==r.ResizeObserver?r.ResizeObserver:O}()},53149:function(e){"use strict";function t(e){return"/"===e.charAt(0)}function n(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}e.exports=function(e,r){void 0===r&&(r="");var i,o=e&&e.split("/")||[],a=r&&r.split("/")||[],s=e&&t(e),l=r&&t(r),c=s||l;if(e&&t(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";if(a.length){var u=a[a.length-1];i="."===u||".."===u||""===u}else i=!1;for(var d=0,p=a.length;0<=p;p--){var f=a[p];"."===f?n(a,p):".."===f?(n(a,p),d++):d&&(n(a,p),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&t(a[0])||a.unshift("");var h=a.join("/");return i&&"/"!==h.substr(-1)&&(h+="/"),h}},14149:function(e,t,n){"use strict";e.exports=n(53149)},89509:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},60053:function(e,t,n){"use strict";var r,i,o,a,s=n(25108);if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var c=Date,u=c.now();t.unstable_now=function(){return c.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var d=null,p=null,f=function(){if(null!==d)try{var e=t.unstable_now();d(!0,e),d=null}catch(e){throw setTimeout(f,0),e}};r=function(e){null!==d?setTimeout(r,0,e):(d=e,setTimeout(f,0))},i=function(e,t){p=setTimeout(e,t)},o=function(){clearTimeout(p)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,m=window.clearTimeout;if(void 0!==s){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&s.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&s.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,y=null,b=-1,w=5,_=0;t.unstable_shouldYield=function(){return t.unstable_now()>=_},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?s.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,x=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();_=e+w;try{y(!0,e)?x.postMessage(null):(v=!1,y=null)}catch(e){throw x.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,x.postMessage(null))},i=function(e,n){b=h((function(){e(t.unstable_now())}),n)},o=function(){m(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<T(i,t)))break e;e[r]=t,e[n]=i,n=r}}function k(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>T(a,n))void 0!==l&&0>T(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>T(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],M=[],A=1,P=null,L=3,D=!1,R=!1,I=!1;function N(e){for(var t=k(M);null!==t;){if(null===t.callback)C(M);else{if(!(t.startTime<=e))break;C(M),t.sortIndex=t.expirationTime,E(O,t)}t=k(M)}}function j(e){if(I=!1,N(e),!R)if(null!==k(O))R=!0,r(B);else{var t=k(M);null!==t&&i(j,t.startTime-e)}}function B(e,n){R=!1,I&&(I=!1,o()),D=!0;var r=L;try{for(N(n),P=k(O);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"==typeof a){P.callback=null,L=P.priorityLevel;var s=a(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?P.callback=s:P===k(O)&&C(O),N(n)}else C(O);P=k(O)}if(null!==P)var l=!0;else{var c=k(M);null!==c&&i(j,c.startTime-n),l=!1}return l}finally{P=null,L=r,D=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||D||(R=!0,r(B))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return k(O)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:A++,callback:n,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,E(M,e),null===k(O)&&e===k(M)&&(I?o():I=!0,i(j,a-s))):(e.sortIndex=l,E(O,e),R||D||(R=!0,r(B))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},33988:function(e){"use strict";var t;t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=t},42830:function(e,t,n){e.exports=i;var r=n(17187).EventEmitter;function i(){r.call(this)}n(35717)(i,r),i.Readable=n(56577),i.Writable=n(20323),i.Duplex=n(68656),i.Transform=n(94473),i.PassThrough=n(2366),i.finished=n(81086),i.pipeline=n(56472),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},58106:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,a,s;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},68656:function(e,t,n){"use strict";var r=n(34155),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var o=n(56577),a=n(20323);n(35717)(u,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var c=s[l];u.prototype[c]||(u.prototype[c]=a.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},2366:function(e,t,n){"use strict";e.exports=i;var r=n(94473);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(35717)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},56577:function(e,t,n){"use strict";var r,i=n(34155);e.exports=k,k.ReadableState=E;n(17187).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n(83194),s=n(48764).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,u=n(40964);c=u&&u.debuglog?u.debuglog("stream"):function(){};var d,p,f,h=n(39686),m=n(71029),g=n(30094).getHighWaterMark,v=n(58106).q,y=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,_=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(35717)(k,a);var S=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function E(e,t,i){r=r||n(68656),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n(32553).s),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function k(e){if(r=r||n(68656),!(this instanceof k))return new k(e);var t=this instanceof r;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function C(e,t,n,r,i){c("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)S(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?S(e,new _):T(e,a,t,!0);else if(a.ended)S(e,new b);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):L(e,a)):T(e,a,t,!1)}else r||(a.reading=!1,L(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function T(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),L(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),C(this,e,t,!1,n)},k.prototype.unshift=function(e){return C(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){d||(d=n(32553).s);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(P,e))}function P(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function L(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(D,e,t))}function D(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(c("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){c("readable nexttick read 0"),e.read(0)}function N(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function F(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(H,t,e))}function H(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function z(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}k.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?F(this):A(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&F(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(n,t))),null===(r=e>0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&F(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){S(this,new w("_read()"))},k.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,c("pipe count=%d opts=%j",r.pipesCount,t);var a=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?l:g;function s(t,i){c("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",g),n.removeListener("data",p),d=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){c("onend"),e.end()}r.endEmitted?i.nextTick(a):n.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,j(e))}}(n);e.on("drain",u);var d=!1;function p(t){c("ondata");var i=e.write(t);c("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==z(r.pipes,e))&&!d&&(c("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function f(t){c("onerror",t),g(),e.removeListener("error",f),0===o(e,"error")&&S(e,t)}function h(){e.removeListener("finish",m),g()}function m(){c("onfinish"),e.removeListener("close",h),g()}function g(){c("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",n),r.flowing||(c("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,c("on readable",r.length,r.reading),r.length?A(this):r.reading||i.nextTick(I,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(R,this),n},k.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(R,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(N,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<x.length;o++)e.on(x[o],this.emit.bind(this,x[o]));return this._read=function(t){c("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=n(20828)),p(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=B,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===f&&(f=n(31265)),f(k,e,t)})},94473:function(e,t,n){"use strict";e.exports=u;var r=n(58106).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(68656);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush((function(t,n){p(e,t,n)}))}function p(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(35717)(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},20323:function(e,t,n){"use strict";var r,i=n(34155);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=k,k.WritableState=E;var a={deprecate:n(94927)},s=n(83194),l=n(48764).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,d=n(71029),p=n(30094).getHighWaterMark,f=n(58106).q,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,w=f.ERR_STREAM_WRITE_AFTER_END,_=f.ERR_UNKNOWN_ENCODING,S=d.errorOrDestroy;function x(){}function E(e,t,a){r=r||n(68656),e=e||{},"boolean"!=typeof a&&(a=t instanceof r),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(P,e,t),e._writableState.errorEmitted=!0,S(e,r)):(o(r),e._writableState.errorEmitted=!0,S(e,r),P(e,t))}(e,n,r,t,o);else{var a=M(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),r?i.nextTick(T,e,n,a,o):T(e,n,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function k(e){var t=this instanceof(r=r||n(68656));if(!t&&!u.call(k,this))return new k(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function C(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),P(e,t)}function O(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,C(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(C(e,t,!1,t.objectMode?1:c.length,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function M(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&S(e,n),t.prefinished=!0,e.emit("prefinish"),P(e,t)}))}function P(e,t){var n=M(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(35717)(k,s),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===k&&(e&&e._writableState instanceof E)}})):u=function(e){return e instanceof this},k.prototype.pipe=function(){S(this,new v)},k.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,s=!o.objectMode&&(r=e,l.isBuffer(r)||r instanceof c);return s&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=x),o.ending?function(e,t){var n=new w;S(e,n),i.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var o;return null===n?o=new b:"string"==typeof n||t.objectMode||(o=new h("chunk",["string","Buffer"],n)),!o||(S(e,o),i.nextTick(r,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,r,i,o);return c}(this,o,s,e,t,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=d.destroy,k.prototype._undestroy=d.undestroy,k.prototype._destroy=function(e,t){t(e)}},20828:function(e,t,n){"use strict";var r,i=n(34155);function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(81086),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[f].read();null!==n&&(e[d]=null,e[s]=null,e[l]=null,t(h(n,!1)))}}function g(e){i.nextTick(m,e)}var v=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((o(r={get stream(){return this[f]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,n){i.nextTick((function(){e[c]?n(e[c]):t(h(void 0,!0))}))}));var n,r=this[d];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[u]?n(h(void 0,!0)):t[p](n,r)}),r)}}(r,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(h(o,!1));n=new Promise(this[p])}return this[d]=n,n}},Symbol.asyncIterator,(function(){return this})),o(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,n=Object.create(y,(o(t={},f,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var r=n[f].read();r?(n[d]=null,n[s]=null,n[l]=null,e(h(r,!1))):(n[s]=e,n[l]=t)},writable:!0}),t));return n[d]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[d]=null,n[s]=null,n[l]=null,t(e)),void(n[c]=e)}var r=n[s];null!==r&&(n[d]=null,n[s]=null,n[l]=null,r(h(void 0,!0))),n[u]=!0})),e.on("readable",g.bind(null,n)),n}},39686:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=n(48764).Buffer,c=n(69862).inspect,u=c&&c.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,r;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,n,r,i=l.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,n=i,r=a,l.prototype.copy.call(t,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:u,value:function(e,t){return c(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},71029:function(e,t,n){"use strict";var r=n(34155);function i(e,t){a(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(a,this,e)):r.nextTick(a,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(o,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t?(r.nextTick(o,n),t(e)):r.nextTick(o,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},81086:function(e,t,n){"use strict";var r=n(58106).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,l=function(){t.writable||u()},c=t._writableState&&t._writableState.finished,u=function(){s=!1,c=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,p=function(){a=!1,d=!0,s||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},m=function(){t.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",u),t.on("abort",h),t.req?m():t.on("request",m)),t.on("end",p),t.on("finish",u),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",u),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",u),t.removeListener("end",p),t.removeListener("error",f),t.removeListener("close",h)}}},31265:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},56472:function(e,t,n){"use strict";var r;var i=n(58106).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function c(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var u,d=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var p=t.map((function(e,i){var o=i<t.length-1;return function(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(81086)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var l=!1;return function(t){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}(e,o,i>0,(function(e){u||(u=e),e&&p.forEach(l),o||(p.forEach(l),d(u))}))}));return t.reduce(c)}},30094:function(e,t,n){"use strict";var r=n(58106).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},83194:function(e,t,n){e.exports=n(17187).EventEmitter},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},32553:function(e,t,n){"use strict";var r=n(89509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if(i=a(t[r]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if(i=a(t[r]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},87854:function(e,t,n){e.exports=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var t=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n};function r(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var i=r((function(e,t){!function(t,n){e.exports=n()}(0,(function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=(o||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,o):n(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))})),o=r((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),a=function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")},s=o.svg,l=o.xlink,c={};c[s.name]=s.uri,c[l.name]=l.uri;var u=function(e,t){void 0===e&&(e="");var n=i(c,t||{});return"<svg "+a(n)+">"+e+"</svg>"},d=function(e){function n(){e.apply(this,arguments)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(e){return new n({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},n.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},n.prototype.render=function(){var e=this.stringify();return t(u(e)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,r),n}(e);return d}()},95348:function(e,t,n){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var t=e((function(e,t){!function(t,n){e.exports=n()}(0,(function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=(o||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,o):n(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))}));function r(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map((function(e){e(n)})),(e["*"]||[]).map((function(e){e(t,n)}))}}}var i=e((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),o=function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")},a=i.svg,s=i.xlink,l={};l[a.name]=a.uri,l[s.name]=s.uri;var c,u=function(e,n){void 0===e&&(e="");var r=t(l,n||{});return"<svg "+o(r)+">"+e+"</svg>"},d=i.svg,p=i.xlink,f={attrs:(c={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},c[d.name]=d.uri,c[p.name]=p.uri,c)},h=function(e){this.config=t(f,e||{}),this.symbols=[]};h.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},h.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},h.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},h.prototype.has=function(e){return null!==this.find(e)},h.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var m=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};m.prototype.stringify=function(){return this.content},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var g=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},v=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return g(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(m),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},w={isChrome:function(){return/chrome/i.test(navigator.userAgent)},isFirefox:function(){return/firefox/i.test(navigator.userAgent)},isIE:function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},isEdge:function(){return/edge/i.test(navigator.userAgent)}},_=function(e,t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)},S=function(e){var t=[];return b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})),t},x=function(e){return(e||window.location.href).split("#")[0]},E=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){_(e,{oldUrl:r,newUrl:n})}))}])},k="linearGradient, radialGradient, pattern, mask, clipPath",C=function(e,t){return void 0===t&&(t=k),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e};function T(e,t){return b(e).reduce((function(e,n){if(!n.attributes)return e;var r=b(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[])}var O=i.xlink.uri,M="xlink:href",A=/[{}|\\\^\[\]`"<>]/g;function P(e){return e.replace(A,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}function L(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function D(e,t,n){return b(e).forEach((function(e){var r=e.getAttribute(M);if(r&&0===r.indexOf(t)){var i=r.replace(t,n);e.setAttributeNS(O,M,i)}})),e}var R,I=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],N=I.map((function(e){return"["+e+"]"})).join(","),j=function(e,t,n,r){var i=P(n),o=P(r);T(e.querySelectorAll(N),(function(e){var t=e.localName,n=e.value;return-1!==I.indexOf(t)&&-1!==n.indexOf("url("+i)})).forEach((function(e){return e.value=e.value.replace(new RegExp(L(i),"g"),o)})),D(t,i,o)},B={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},F=function(e){function n(n){var i=this;void 0===n&&(n={}),e.call(this,t(y,n));var o=r();this._emitter=o,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(n),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");o.on(B.MOUNT,(function(){return i.updateUrls("#",s)}))}var l=this._handleLocationChange.bind(this);this._handleLocationChange=l,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,l),a.locationChangeAngularEmitter&&E(a.locationChangeEvent),o.on(B.MOUNT,(function(e){a.moveGradientsOutsideSymbol&&C(e)})),o.on(B.SYMBOL_MOUNT,(function(e){a.moveGradientsOutsideSymbol&&C(e.parentNode),(w.isIE()||w.isEdge())&&S(e)}))}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},n.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=w.isFirefox())},n.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},n.prototype.add=function(t){var n=this,r=e.prototype.add.call(this,t);return this.isMounted&&r&&(t.mount(n.node),this._emitter.emit(B.SYMBOL_MOUNT,t.node)),r},n.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(B.SYMBOL_MOUNT,e.node)})),b(r.querySelectorAll("symbol")).forEach((function(e){var t=v.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(B.MOUNT,r),r},n.prototype.destroy=function(){var e=this,t=e.config,n=e.symbols,r=e._emitter;n.forEach((function(e){return e.destroy()})),r.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},n.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e,i=n.render();return this.node=i,t&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(B.MOUNT,i),i},n.prototype.render=function(){return g(this.stringify())},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},n.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return j(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(n.prototype,i),n}(h),H=e((function(e){var t;t=function(){var e,t=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,e=function(){for(n.removeEventListener(i,e),o=1;e=t.shift();)e()}),function(e){o?setTimeout(e,0):t.push(e)}},e.exports=t()})),z="__SVG_SPRITE_NODE__",V="__SVG_SPRITE__";window[V]?R=window[V]:(R=new F({attrs:{id:z,"aria-hidden":"true"}}),window[V]=R);var U=function(){var e=document.getElementById(z);e?R.attach(e):R.mount(document.body,!0)};return document.body?U():H(U),R}()},26547:function(e,t,n){var r=n(34155),i=n(42830);function o(e,t,n){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var o=!1,a=!1,s=[],l=!1,c=new i;function u(){for(;s.length&&!c.paused;){var e=s.shift();if(null===e)return c.emit("end");c.emit("data",e)}}return c.readable=c.writable=!0,c.paused=!1,c.autoDestroy=!(n&&!1===n.autoDestroy),c.write=function(t){return e.call(this,t),!c.paused},c.queue=c.push=function(e){return l||(null===e&&(l=!0),s.push(e),u()),c},c.on("end",(function(){c.readable=!1,!c.writable&&c.autoDestroy&&r.nextTick((function(){c.destroy()}))})),c.end=function(e){if(!o)return o=!0,arguments.length&&c.write(e),c.writable=!1,t.call(c),!c.readable&&c.autoDestroy&&c.destroy(),c},c.destroy=function(){if(!a)return a=!0,o=!0,s.length=0,c.writable=c.readable=!1,c.emit("close"),c},c.pause=function(){if(!c.paused)return c.paused=!0,c},c.resume=function(){return c.paused&&(c.paused=!1,c.emit("resume")),u(),c.paused||c.emit("drain"),c},c}e.exports=o,o.through=o},26018:function(e){"use strict";var t="Invariant failed";e.exports=function(e,n){if(!e)throw new Error(t)}},87641:function(e,t,n){"use strict";n(25108);e.exports=function(e,t){}},83786:function(e,t,n){"use strict";n(25108);var r=n(516),i="tippy-content",o="tippy-backdrop",a="tippy-arrow",s="tippy-svg-arrow",l={passive:!0,capture:!0};function c(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function u(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function d(e,t){return"function"==typeof e?e.apply(void 0,t):e}function p(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function f(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function h(e){return[].concat(e)}function m(e,t){-1===e.indexOf(t)&&e.push(t)}function g(e){return e.split("-")[0]}function v(e){return[].slice.call(e)}function y(){return document.createElement("div")}function b(e){return["Element","Fragment"].some((function(t){return u(e,t)}))}function w(e){return u(e,"MouseEvent")}function _(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function S(e){return b(e)?[e]:function(e){return u(e,"NodeList")}(e)?v(e):Array.isArray(e)?e:v(document.querySelectorAll(e))}function x(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function E(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function k(e){var t=h(e)[0];return t&&t.ownerDocument||document}function C(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var T={isTouch:!1},O=0;function M(){T.isTouch||(T.isTouch=!0,window.performance&&document.addEventListener("mousemove",A))}function A(){var e=performance.now();e-O<20&&(T.isTouch=!1,document.removeEventListener("mousemove",A)),O=e}function P(){var e=document.activeElement;if(_(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var L="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",D=/MSIE |Trident\//.test(L);var R={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},I=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},R,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),N=Object.keys(I);function j(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t}),{});return Object.assign({},e,{},t)}function B(e,t){var n=Object.assign({},t,{content:d(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(j(Object.assign({},I,{plugins:t}))):N).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},I.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var F=function(){return"innerHTML"};function H(e,t){e[F()]=t}function z(e){var t=y();return!0===e?t.className=a:(t.className=s,b(e)?t.appendChild(e):H(t,e)),t}function V(e,t){b(t.content)?(H(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?H(e,t.content):e.textContent=t.content)}function U(e){var t=e.firstElementChild,n=v(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(i)})),arrow:n.find((function(e){return e.classList.contains(a)||e.classList.contains(s)})),backdrop:n.find((function(e){return e.classList.contains(o)}))}}function $(e){var t=y(),n=y();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=y();function o(n,r){var i=U(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||V(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(z(r.arrow))):o.appendChild(z(r.arrow)):s&&o.removeChild(s)}return r.className=i,r.setAttribute("data-state","hidden"),V(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}$.$$tippy=!0;var G=1,q=[],W=[];function Z(e,t){var n,i,o,a,s,u,f,b,_,S=B(e,Object.assign({},I,{},j((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),O=!1,M=!1,A=!1,P=!1,L=[],R=p(ye,S.interactiveDebounce),N=G++,F=(_=S.plugins).filter((function(e,t){return _.indexOf(e)===t})),H={id:N,reference:e,popper:y(),popperInstance:null,props:S,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:F,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(a)},setProps:function(t){0;if(H.state.isDestroyed)return;ie("onBeforeUpdate",[H,t]),ge();var n=H.props,r=B(e,Object.assign({},H.props,{},t,{ignoreAttributes:!0}));H.props=r,me(),n.interactiveDebounce!==r.interactiveDebounce&&(se(),R=p(ye,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?h(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");ae(),re(),$&&$(n,r);H.popperInstance&&(Se(),Ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ie("onAfterUpdate",[H,t])},setContent:function(e){H.setProps({content:e})},show:function(){0;var e=H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=T.isTouch&&!H.props.touch,i=c(H.props.duration,0,I.duration);if(e||t||n||r)return;if(J().hasAttribute("disabled"))return;if(ie("onShow",[H],!1),!1===H.props.onShow(H))return;H.state.isVisible=!0,X()&&(V.style.visibility="visible");re(),de(),H.state.isMounted||(V.style.transition="none");if(X()){var o=te();x([o.box,o.content],0)}f=function(){if(H.state.isVisible&&!P){if(P=!0,V.offsetHeight,V.style.transition=H.props.moveTransition,X()&&H.props.animation){var e=te(),t=e.box,n=e.content;x([t,n],i),E([t,n],"visible")}oe(),ae(),m(W,H),H.state.isMounted=!0,ie("onMount",[H]),H.props.animation&&X()&&function(e,t){fe(e,t)}(i,(function(){H.state.isShown=!0,ie("onShown",[H])}))}},function(){var e,t=H.props.appendTo,n=J();e=H.props.interactive&&t===I.appendTo||"parent"===t?n.parentNode:d(t,[n]);e.contains(V)||e.appendChild(V);Se(),!1}()},hide:function(){0;var e=!H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=c(H.props.duration,1,I.duration);if(e||t||n)return;if(ie("onHide",[H],!1),!1===H.props.onHide(H))return;H.state.isVisible=!1,H.state.isShown=!1,P=!1,O=!1,X()&&(V.style.visibility="hidden");if(se(),pe(),re(),X()){var i=te(),o=i.box,a=i.content;H.props.animation&&(x([o,a],r),E([o,a],"hidden"))}oe(),ae(),H.props.animation?X()&&function(e,t){fe(e,(function(){!H.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&t()}))}(r,H.unmount):H.unmount()},hideWithInteractivity:function(e){0;ee().addEventListener("mousemove",R),m(q,R),R(e)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){0;H.state.isVisible&&H.hide();if(!H.state.isMounted)return;xe(),Ee().forEach((function(e){e._tippy.unmount()})),V.parentNode&&V.parentNode.removeChild(V);W=W.filter((function(e){return e!==H})),H.state.isMounted=!1,ie("onHidden",[H])},destroy:function(){0;if(H.state.isDestroyed)return;H.clearDelayTimeouts(),H.unmount(),ge(),delete e._tippy,H.state.isDestroyed=!0,ie("onDestroy",[H])}};if(!S.render)return H;var z=S.render(H),V=z.popper,$=z.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+H.id,H.popper=V,e._tippy=H,V._tippy=H;var Z=F.map((function(e){return e.fn(H)})),Y=e.hasAttribute("aria-expanded");return me(),ae(),re(),ie("onCreate",[H]),S.showOnCreate&&ke(),V.addEventListener("mouseenter",(function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()})),V.addEventListener("mouseleave",(function(e){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&(ee().addEventListener("mousemove",R),R(e))})),H;function K(){var e=H.props.touch;return Array.isArray(e)?e:[e,0]}function Q(){return"hold"===K()[0]}function X(){var e;return!!(null==(e=H.props.render)?void 0:e.$$tippy)}function J(){return b||e}function ee(){var e=J().parentNode;return e?k(e):document}function te(){return U(V)}function ne(e){return H.state.isMounted&&!H.state.isVisible||T.isTouch||s&&"focus"===s.type?0:c(H.props.delay,e?0:1,I.delay)}function re(){V.style.pointerEvents=H.props.interactive&&H.state.isVisible?"":"none",V.style.zIndex=""+H.props.zIndex}function ie(e,t,n){var r;(void 0===n&&(n=!0),Z.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=H.props)[e].apply(r,t)}function oe(){var t=H.props.aria;if(t.content){var n="aria-"+t.content,r=V.id;h(H.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(H.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function ae(){!Y&&H.props.aria.expanded&&h(H.props.triggerTarget||e).forEach((function(e){H.props.interactive?e.setAttribute("aria-expanded",H.state.isVisible&&e===J()?"true":"false"):e.removeAttribute("aria-expanded")}))}function se(){ee().removeEventListener("mousemove",R),q=q.filter((function(e){return e!==R}))}function le(e){if(!(T.isTouch&&(A||"mousedown"===e.type)||H.props.interactive&&V.contains(e.target))){if(J().contains(e.target)){if(T.isTouch)return;if(H.state.isVisible&&H.props.trigger.indexOf("click")>=0)return}else ie("onClickOutside",[H,e]);!0===H.props.hideOnClick&&(H.clearDelayTimeouts(),H.hide(),M=!0,setTimeout((function(){M=!1})),H.state.isMounted||pe())}}function ce(){A=!0}function ue(){A=!1}function de(){var e=ee();e.addEventListener("mousedown",le,!0),e.addEventListener("touchend",le,l),e.addEventListener("touchstart",ue,l),e.addEventListener("touchmove",ce,l)}function pe(){var e=ee();e.removeEventListener("mousedown",le,!0),e.removeEventListener("touchend",le,l),e.removeEventListener("touchstart",ue,l),e.removeEventListener("touchmove",ce,l)}function fe(e,t){var n=te().box;function r(e){e.target===n&&(C(n,"remove",r),t())}if(0===e)return t();C(n,"remove",u),C(n,"add",r),u=r}function he(t,n,r){void 0===r&&(r=!1),h(H.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),L.push({node:e,eventType:t,handler:n,options:r})}))}function me(){var e;Q()&&(he("touchstart",ve,{passive:!0}),he("touchend",be,{passive:!0})),(e=H.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(he(e,ve),e){case"mouseenter":he("mouseleave",be);break;case"focus":he(D?"focusout":"blur",we);break;case"focusin":he("focusout",we)}}))}function ge(){L.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),L=[]}function ve(e){var t,n=!1;if(H.state.isEnabled&&!_e(e)&&!M){var r="focus"===(null==(t=s)?void 0:t.type);s=e,b=e.currentTarget,ae(),!H.state.isVisible&&w(e)&&q.forEach((function(t){return t(e)})),"click"===e.type&&(H.props.trigger.indexOf("mouseenter")<0||O)&&!1!==H.props.hideOnClick&&H.state.isVisible?n=!0:ke(e),"click"===e.type&&(O=!n),n&&!r&&Ce(e)}}function ye(e){var t=e.target,n=J().contains(t)||V.contains(t);if("mousemove"!==e.type||!n){var r=Ee().concat(V).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:S}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=g(i.placement),s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-r+l>o,f=r-t.bottom-c>o,h=t.left-n+u>o,m=n-t.right-d>o;return p||f||h||m}))})(r,e)&&(se(),Ce(e))}}function be(e){_e(e)||H.props.trigger.indexOf("click")>=0&&O||(H.props.interactive?H.hideWithInteractivity(e):Ce(e))}function we(e){H.props.trigger.indexOf("focusin")<0&&e.target!==J()||H.props.interactive&&e.relatedTarget&&V.contains(e.relatedTarget)||Ce(e)}function _e(e){return!!T.isTouch&&Q()!==e.type.indexOf("touch")>=0}function Se(){xe();var t=H.props,n=t.popperOptions,i=t.placement,o=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=X()?U(V).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||J()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(X()){var n=te().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},u];X()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),H.popperInstance=r.createPopper(c,V,Object.assign({},n,{placement:i,onFirstUpdate:f,modifiers:d}))}function xe(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function Ee(){return v(V.querySelectorAll("[data-tippy-root]"))}function ke(e){H.clearDelayTimeouts(),e&&ie("onTrigger",[H,e]),de();var t=ne(!0),n=K(),r=n[0],o=n[1];T.isTouch&&"hold"===r&&o&&(t=o),t?i=setTimeout((function(){H.show()}),t):H.show()}function Ce(e){if(H.clearDelayTimeouts(),ie("onUntrigger",[H,e]),H.state.isVisible){if(!(H.props.trigger.indexOf("mouseenter")>=0&&H.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&O)){var t=ne(!1);t?o=setTimeout((function(){H.state.isVisible&&H.hide()}),t):a=requestAnimationFrame((function(){H.hide()}))}}else pe()}}function Y(e,t){void 0===t&&(t={});var n=I.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",M,l),window.addEventListener("blur",P);var r=Object.assign({},t,{plugins:n}),i=S(e).reduce((function(e,t){var n=t&&Z(t,r);return n&&e.push(n),e}),[]);return b(e)?i[0]:i}Y.defaultProps=I,Y.setDefaultProps=function(e){Object.keys(e).forEach((function(t){I[t]=e[t]}))},Y.currentInput=T;var K={mouseover:"mouseenter",focusin:"focus",click:"click"};var Q={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return{};var n=U(e.popper),r=n.box,i=n.content,a=e.props.animateFill?function(){var e=y();return e.className=o,E([e],"hidden"),e}():null;return{onCreate:function(){a&&(r.insertBefore(a,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(a){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));i.style.transitionDelay=Math.round(t/10)+"ms",a.style.transitionDuration=e,E([a],"visible")}},onShow:function(){a&&(a.style.transitionDuration="0ms")},onHide:function(){a&&E([a],"hidden")}}}};var X={clientX:0,clientY:0},J=[];function ee(e){var t=e.clientX,n=e.clientY;X={clientX:t,clientY:n}}var te={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=k(e.props.triggerTarget||t),r=!1,i=!1,o=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",d)}function c(){n.removeEventListener("mousemove",d)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function d(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),l=o-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=a;"initial"===i&&(n=e.left+l,r=e.top+c);var s="horizontal"===i?e.top:r,u="vertical"===i?e.right:n,d="horizontal"===i?e.bottom:r,p="vertical"===i?e.left:n;return{width:u-p,height:d-s,top:s,right:u,bottom:d,left:p}}})}function p(){e.props.followCursor&&(J.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ee)}(n))}function f(){0===(J=J.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ee)}(n)}return{onCreate:p,onDestroy:f,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&a.followCursor!==o&&(f(),o?(p(),!e.state.isMounted||i||s()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!i&&(o&&(d(X),o=!1),s()||l())},onTrigger:function(e,t){w(t)&&(X={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),o=!0)}}}};var ne={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,i=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var o=i.state;e.props.inlinePositioning&&(t!==o.placement&&e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===e,s=i.top,l=o.bottom,c=a?i.left:o.left,u=a?i.right:o.right;return{top:s,bottom:l,left:c,right:u,width:u-c,height:l-s};case"left":case"right":var d=Math.min.apply(Math,n.map((function(e){return e.left}))),p=Math.max.apply(Math,n.map((function(e){return e.right}))),f=n.filter((function(t){return"left"===e?t.left===d:t.right===p})),h=f[0].top,m=f[f.length-1].bottom;return{top:h,bottom:m,left:d,right:p,width:p-d,height:m-h};default:return t}}(g(e),n.getBoundingClientRect(),v(n.getClientRects()),r)}(o.placement)}}),t=o.placement)}};function a(){var t;i||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,o),i=!0,e.setProps(t),i=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(w(n)){var i=v(e.reference.getClientRects()),o=i.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}));r=i.indexOf(o)}},onUntrigger:function(){r=-1}}}};var re={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,o=null;function a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,l=r("popper")?n.getBoundingClientRect():null;(s&&ie(i,s)||l&&ie(o,l))&&e.popperInstance&&e.popperInstance.update(),i=s,o=l,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function ie(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}Y.setDefaultProps({render:$}),t.ZP=Y,t.Cv=te},23451:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",p="name",f="type",h="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",w="smarttv",_="wearable",S="embedded",x="Amazon",E="Apple",k="ASUS",C="BlackBerry",T="Browser",O="Chrome",M="Firefox",A="Google",P="Huawei",L="LG",D="Microsoft",R="Motorola",I="Opera",N="Samsung",j="Sharp",B="Sony",F="Xiaomi",H="Zebra",z="Facebook",V="Chromium OS",U="Mac OS",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===c&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},W=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Z=function(e,t){for(var n,r,i,s,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!c&&p[n];)if(c=p[n++].exec(e))for(i=0;i<f.length;i++)u=c[++r],typeof(s=f[i])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):o:this[s[0]]=u?s[1].call(this,u,s[2]):o:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):o):this[s]=u||o;d+=2}},Y=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(G(t[n][r],e))return"?"===n?o:n}else if(G(t[n],e))return"?"===n?o:n;return e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,m],[/opios[\/ ]+([\w\.]+)/i],[m,[p,I+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[p,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[p,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[p,"Smart Lenovo "+T]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+T],m],[/\bfocus\/([\w\.]+)/i],[m,[p,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[p,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[p,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[p,"MIUI "+T]],[/fxios\/([-\w\.]+)/i],[m,[p,M]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+T]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+T],m],[/samsungbrowser\/([\w\.]+)/i],[m,[p,N+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[p,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,O+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[p,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[m,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[p,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,m],[/(cobalt)\/([\w\.]+)/i],[p,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,q]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,N],[f,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,N],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,E],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,E],[f,b]],[/(macintosh);/i],[d,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,j],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,P],[f,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,P],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,F],[f,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,F],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,R],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,R],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,L],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,L],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,y]],[/(pixel c)\b/i],[d,[h,A],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,A],[f,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,B],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,B],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,x],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,x],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,C],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,k],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,k],[f,y]],[/(nexus 9)/i],[d,[h,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,b]],[/(surface duo)/i],[d,[h,D],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,y]],[/(u304aa)/i],[d,[h,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,b]],[/(sprint) (\w+)/i],[h,d,[f,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,D],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,H],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,H],[f,y]],[/smart-tv.+(samsung)/i],[h,[f,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,N],[f,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,L],[f,w]],[/(apple) ?tv/i],[h,[d,E+" TV"],[f,w]],[/crkey/i],[[d,O+"cast"],[h,A],[f,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,x],[f,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,j],[f,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,B],[f,w]],[/(mitv-\w{5}) bui/i],[d,[h,F],[f,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,W],[d,W],[f,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[d,[h,B],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,D],[f,v]],[/((pebble))app/i],[h,d,[f,_]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,E],[f,_]],[/droid.+; (glass) \d/i],[d,[h,A],[f,_]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,H],[f,_]],[/(quest( 2| pro)?)/i],[d,[h,z],[f,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,S]],[/(aeobc)\b/i],[d,[h,x],[f,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[m,Y,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,Y,K],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,U],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,m],[/\(bb(10);/i],[m,[p,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[p,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[p,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,m],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,m]]},X=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof X))return new X(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:o,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Q,t):Q,_=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=o,t[m]=o,Z.call(t,r,w.browser),t[u]=typeof(e=t[m])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,_&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,Z.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[d]=o,e[f]=o,Z.call(e,r,w.device),_&&!e[f]&&v&&v.mobile&&(e[f]=y),_&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[p]=o,e[m]=o,Z.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[p]=o,e[m]=o,Z.call(e,r,w.os),_&&!e[p]&&v&&"Unknown"!=v.platform&&(e[p]=v.platform.replace(/chrome os/i,V).replace(/macos/i,U)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>500?W(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.37",X.BROWSER=$([p,m,u]),X.CPU=$([g]),X.DEVICE=$([d,h,f,v,y,w,b,_,S]),X.ENGINE=X.OS=$([p,m]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===o||(e.exports=r):typeof i!==s&&(i.UAParser=X);var J=typeof i!==s&&(i.jQuery||i.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"==typeof window?window:this)},38706:function(e){"use strict";e.exports=function(e,t,n){return 0===e.length?e:t?(n||e.sort(t),function(e,t){for(var n=1,r=e.length,i=e[0],o=e[0],a=1;a<r;++a)if(o=i,t(i=e[a],o)){if(a===n){n++;continue}e[n++]=i}return e.length=n,e}(e,t)):(n||e.sort(),function(e){for(var t=1,n=e.length,r=e[0],i=e[0],o=1;o<n;++o,i=r)if(i=r,(r=e[o])!==i){if(o===t){t++;continue}e[t++]=r}return e.length=t,e}(e))}},38264:function(e,t,n){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(e){return!1}})()||function(){var i=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof i){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var o=e[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},o=i.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++)e.call(t,n[i],r,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=i}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)r=o[n].split("="),this.append(i(r[0]),r.length>1?i(r[1]):"")}})}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new e.URLSearchParams(this.search),s=!0,l=!0,c=this;["append","delete","set"].forEach((function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),s&&(l=!1,c.search=a.toString(),l=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,l&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},94927:function(e,t,n){var r=n(25108);function i(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(i("noDeprecation"))return e;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?r.trace(t):r.warn(t),n=!0}return e.apply(this,arguments)}}},20384:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},55955:function(e,t,n){"use strict";var r=n(82584),i=n(48662),o=n(86430),a=n(85692);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===u(e)}function y(e){return"[object Set]"===u(e)}function b(e){return"[object WeakMap]"===u(e)}function w(e){return"[object WeakSet]"===u(e)}function _(e){return"[object ArrayBuffer]"===u(e)}function S(e){return"undefined"!=typeof ArrayBuffer&&(_.working?_(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===u(e)}function E(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},_.working="undefined"!=typeof ArrayBuffer&&_(new ArrayBuffer),t.isArrayBuffer=S,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var k="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(e){return"[object SharedArrayBuffer]"===u(e)}function T(e){return void 0!==k&&(void 0===C.working&&(C.working=C(new k)),C.working?C(e):e instanceof k)}function O(e){return g(e,d)}function M(e){return g(e,p)}function A(e){return g(e,f)}function P(e){return l&&g(e,h)}function L(e){return c&&g(e,m)}t.isSharedArrayBuffer=T,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===u(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===u(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===u(e)},t.isGeneratorObject=function(e){return"[object Generator]"===u(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===u(e)},t.isNumberObject=O,t.isStringObject=M,t.isBooleanObject=A,t.isBigIntObject=P,t.isSymbolObject=L,t.isBoxedPrimitive=function(e){return O(e)||M(e)||A(e)||P(e)||L(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(S(e)||T(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},89539:function(e,t,n){var r=n(34155),i=n(25108),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},a=/%[sdj%]/g;t.format=function(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(a,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<i;s=r[++n])y(s)||!x(s)?o+=" "+s:o+=" "+u(s);return o},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),o=!0}return e.apply(this,arguments)}};var s={},l=/^$/;if(r.env.NODE_DEBUG){var c=r.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+c+"$","i")}function u(e,n){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&t._extend(r,n),_(r.showHidden)&&(r.showHidden=!1),_(r.depth)&&(r.depth=2),_(r.colors)&&(r.colors=!1),_(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=d),f(r,e,r.depth)}function d(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function p(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return w(i)||(i=f(e,i,r)),i}var o=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(C(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(S(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return h(n)}var c,u="",d=!1,p=["{","}"];(g(n)&&(d=!0,p=["[","]"]),C(n))&&(u=" [Function"+(n.name?": "+n.name:"")+"]");return S(n)&&(u=" "+RegExp.prototype.toString.call(n)),E(n)&&(u=" "+Date.prototype.toUTCString.call(n)),k(n)&&(u=" "+h(n)),0!==a.length||d&&0!=n.length?r<0?S(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=d?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)A(t,String(a))?o.push(m(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(m(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return m(e,n,r,s,t,d)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,u,p)):p[0]+u+p[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),A(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=y(n)?f(e,l.value,null):f(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function y(e){return null===e}function b(e){return"number"==typeof e}function w(e){return"string"==typeof e}function _(e){return void 0===e}function S(e){return x(e)&&"[object RegExp]"===T(e)}function x(e){return"object"==typeof e&&null!==e}function E(e){return x(e)&&"[object Date]"===T(e)}function k(e){return x(e)&&("[object Error]"===T(e)||e instanceof Error)}function C(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!s[e])if(l.test(e)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(55955),t.isArray=g,t.isBoolean=v,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=w,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=S,t.types.isRegExp=S,t.isObject=x,t.isDate=E,t.types.isDate=E,t.isError=k,t.types.isNativeError=k,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(20384);var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;i.log("%s - %s",(e=new Date,n=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":"),[e.getDate(),M[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(35717),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function L(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!=typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(a.bind(null,null,e))}),(function(e){r.nextTick(L.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},90825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);var i=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")};t.default=i},17593:function(e,t,n){"use strict";Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return a.default}});var r=s(n(24922)),i=s(n(86964)),o=s(n(28509)),a=s(n(15669));function s(e){return e&&e.__esModule?e:{default:e}}},40489:function(e,t){"use strict";function n(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function r(e,t,r,i,o,a){return n((s=n(n(t,e),n(i,a)))<<(l=o)|s>>>32-l,r);var s,l}function i(e,t,n,i,o,a,s){return r(t&n|~t&i,e,t,o,a,s)}function o(e,t,n,i,o,a,s){return r(t&i|n&~i,e,t,o,a,s)}function a(e,t,n,i,o,a,s){return r(t^n^i,e,t,o,a,s)}function s(e,t,n,i,o,a,s){return r(n^(t|~i),e,t,o,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var r=0;r<t.length;r++)e[r]=t.charCodeAt(r)}return function(e){var t,n,r,i=[],o=32*e.length,a="0123456789abcdef";for(t=0;t<o;t+=8)n=e[t>>5]>>>t%32&255,r=parseInt(a.charAt(n>>>4&15)+a.charAt(15&n),16),i.push(r);return i}(function(e,t){var r,l,c,u,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,f=-271733879,h=-1732584194,m=271733878;for(r=0;r<e.length;r+=16)l=p,c=f,u=h,d=m,p=i(p,f,h,m,e[r],7,-680876936),m=i(m,p,f,h,e[r+1],12,-389564586),h=i(h,m,p,f,e[r+2],17,606105819),f=i(f,h,m,p,e[r+3],22,-1044525330),p=i(p,f,h,m,e[r+4],7,-176418897),m=i(m,p,f,h,e[r+5],12,1200080426),h=i(h,m,p,f,e[r+6],17,-1473231341),f=i(f,h,m,p,e[r+7],22,-45705983),p=i(p,f,h,m,e[r+8],7,1770035416),m=i(m,p,f,h,e[r+9],12,-1958414417),h=i(h,m,p,f,e[r+10],17,-42063),f=i(f,h,m,p,e[r+11],22,-1990404162),p=i(p,f,h,m,e[r+12],7,1804603682),m=i(m,p,f,h,e[r+13],12,-40341101),h=i(h,m,p,f,e[r+14],17,-1502002290),p=o(p,f=i(f,h,m,p,e[r+15],22,1236535329),h,m,e[r+1],5,-165796510),m=o(m,p,f,h,e[r+6],9,-1069501632),h=o(h,m,p,f,e[r+11],14,643717713),f=o(f,h,m,p,e[r],20,-373897302),p=o(p,f,h,m,e[r+5],5,-701558691),m=o(m,p,f,h,e[r+10],9,38016083),h=o(h,m,p,f,e[r+15],14,-660478335),f=o(f,h,m,p,e[r+4],20,-405537848),p=o(p,f,h,m,e[r+9],5,568446438),m=o(m,p,f,h,e[r+14],9,-1019803690),h=o(h,m,p,f,e[r+3],14,-187363961),f=o(f,h,m,p,e[r+8],20,1163531501),p=o(p,f,h,m,e[r+13],5,-1444681467),m=o(m,p,f,h,e[r+2],9,-51403784),h=o(h,m,p,f,e[r+7],14,1735328473),p=a(p,f=o(f,h,m,p,e[r+12],20,-1926607734),h,m,e[r+5],4,-378558),m=a(m,p,f,h,e[r+8],11,-2022574463),h=a(h,m,p,f,e[r+11],16,1839030562),f=a(f,h,m,p,e[r+14],23,-35309556),p=a(p,f,h,m,e[r+1],4,-1530992060),m=a(m,p,f,h,e[r+4],11,1272893353),h=a(h,m,p,f,e[r+7],16,-155497632),f=a(f,h,m,p,e[r+10],23,-1094730640),p=a(p,f,h,m,e[r+13],4,681279174),m=a(m,p,f,h,e[r],11,-358537222),h=a(h,m,p,f,e[r+3],16,-722521979),f=a(f,h,m,p,e[r+6],23,76029189),p=a(p,f,h,m,e[r+9],4,-640364487),m=a(m,p,f,h,e[r+12],11,-421815835),h=a(h,m,p,f,e[r+15],16,530742520),p=s(p,f=a(f,h,m,p,e[r+2],23,-995338651),h,m,e[r],6,-198630844),m=s(m,p,f,h,e[r+7],10,1126891415),h=s(h,m,p,f,e[r+14],15,-1416354905),f=s(f,h,m,p,e[r+5],21,-57434055),p=s(p,f,h,m,e[r+12],6,1700485571),m=s(m,p,f,h,e[r+3],10,-1894986606),h=s(h,m,p,f,e[r+10],15,-1051523),f=s(f,h,m,p,e[r+1],21,-2054922799),p=s(p,f,h,m,e[r+8],6,1873313359),m=s(m,p,f,h,e[r+15],10,-30611744),h=s(h,m,p,f,e[r+6],15,-1560198380),f=s(f,h,m,p,e[r+13],21,1309151649),p=s(p,f,h,m,e[r+4],6,-145523070),m=s(m,p,f,h,e[r+11],10,-1120210379),h=s(h,m,p,f,e[r+2],15,718787259),f=s(f,h,m,p,e[r+9],21,-343485551),p=n(p,l),f=n(f,c),h=n(h,u),m=n(m,d);return[p,f,h,m]}(function(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e[t/8])<<t%32;return n}(e),8*e.length))};t.default=l},86827:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),r=new Uint8Array(16)},83558:function(e,t){"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){var t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var o=unescape(encodeURIComponent(e));e=new Array(o.length);for(var a=0;a<o.length;a++)e[a]=o.charCodeAt(a)}e.push(128);var s=e.length/4+2,l=Math.ceil(s/16),c=new Array(l);for(a=0;a<l;a++){c[a]=new Array(16);for(var u=0;u<16;u++)c[a][u]=e[64*a+4*u]<<24|e[64*a+4*u+1]<<16|e[64*a+4*u+2]<<8|e[64*a+4*u+3]}for(c[l-1][14]=8*(e.length-1)/Math.pow(2,32),c[l-1][14]=Math.floor(c[l-1][14]),c[l-1][15]=8*(e.length-1)&4294967295,a=0;a<l;a++){for(var d=new Array(80),p=0;p<16;p++)d[p]=c[a][p];for(p=16;p<80;p++)d[p]=r(d[p-3]^d[p-8]^d[p-14]^d[p-16],1);var f=i[0],h=i[1],m=i[2],g=i[3],v=i[4];for(p=0;p<80;p++){var y=Math.floor(p/20),b=r(f,5)+n(y,h,m,g)+v+t[y]+d[p]>>>0;v=g,g=m,m=r(h,30)>>>0,h=f,f=b}i[0]=i[0]+f>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+m>>>0,i[3]=i[3]+g>>>0,i[4]=i[4]+v>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};t.default=i},24922:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=s(n(86827)),a=s(n(90825));function s(e){return e&&e.__esModule?e:{default:e}}var l=0,c=0;var u=function(e,t,n){var s=t&&n||0,u=t||[],d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==p){var f=e.random||(e.rng||o.default)();null==d&&(d=r=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=i=16383&(f[6]<<8|f[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=h-l+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||h>l)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=h,c=m,i=p;var v=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;u[s++]=v>>>24&255,u[s++]=v>>>16&255,u[s++]=v>>>8&255,u[s++]=255&v;var y=h/4294967296*1e4&268435455;u[s++]=y>>>8&255,u[s++]=255&y,u[s++]=y>>>24&15|16,u[s++]=y>>>16&255,u[s++]=p>>>8|128,u[s++]=255&p;for(var b=0;b<6;++b)u[s+b]=d[b];return t||(0,a.default)(u)};t.default=u},86964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(79137)),i=o(n(40489));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v3",48,i.default);t.default=a},79137:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,r,o,a){var s=o&&a||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)),"string"==typeof r&&(r=function(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,(function(e){t.push(parseInt(e,16))})),t}(r)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(r)||16!==r.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var l=n(r.concat(e));if(l[6]=15&l[6]|t,l[8]=63&l[8]|128,o)for(var c=0;c<16;++c)o[s+c]=l[c];return o||(0,i.default)(l)};try{r.name=e}catch(e){}return r.DNS=o,r.URL=a,r},t.URL=t.DNS=void 0;var r,i=(r=n(90825))&&r.__esModule?r:{default:r};const o="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=o;const a="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=a},28509:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(86827)),i=o(n(90825));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r.default)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||(0,i.default)(a)};t.default=a},15669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(79137)),i=o(n(83558));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)("v5",80,i.default);t.default=a},37307:function(e){"use strict";function t(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}e.exports=function e(n,r){if(n===r)return!0;if(null==n||null==r)return!1;if(Array.isArray(n))return Array.isArray(r)&&n.length===r.length&&n.every((function(t,n){return e(t,r[n])}));if("object"!=typeof n&&"object"!=typeof r)return!1;var i=t(n),o=t(r);return i!==n||o!==r?e(i,o):Object.keys(Object.assign({},n,r)).every((function(t){return e(n[t],r[t])}))}},54545:function(e,t,n){"use strict";e.exports=n(37307)},86430:function(e,t,n){"use strict";var r=n(94029),i=n(63083),o=n(55559),a=n(21924),s=n(27296),l=a("Object.prototype.toString"),c=n(96410)(),u="undefined"==typeof globalThis?n.g:globalThis,d=i(),p=a("String.prototype.slice"),f=Object.getPrototypeOf,h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};r(d,c&&s&&f?function(e){var t=new u[e];if(Symbol.toStringTag in t){var n=f(t),r=s(n,Symbol.toStringTag);if(!r){var i=f(n);r=s(i,Symbol.toStringTag)}m["$"+e]=o(r.get)}}:function(e){var t=new u[e];m["$"+e]=o(t.slice)});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=p(l(e),8,-1);return h(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(m,(function(n,r){if(!t)try{n(e),t=p(r,1)}catch(e){}})),t}(e)}return s?function(e){var t=!1;return r(m,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=p(r,1))}catch(e){}})),t}(e):null}},66006:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(22275),o=(r=i)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},89125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(11227)),i=s(n(66006)),o=s(n(65279)),a=s(n(28255));function s(e){return e&&e.__esModule?e:{default:e}}const l=(0,r.default)("youtube-player"),c={proxyEvents:e=>{const t={};for(const n of o.default){const r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=t=>{l('event "%s"',r,t),e.trigger(n,t)}}return t},promisifyPlayer:(e,t=!1)=>{const n={};for(const r of a.default)t&&i.default[r]?n[r]=(...t)=>e.then((e=>{const n=i.default[r],o=e.getPlayerState(),a=e[r].apply(e,t);return n.stateChangeRequired||Array.isArray(n.acceptableStates)&&!n.acceptableStates.includes(o)?new Promise((t=>{const r=()=>{const i=e.getPlayerState();let o;"number"==typeof n.timeout&&(o=setTimeout((()=>{e.removeEventListener("onStateChange",r),t()}),n.timeout)),Array.isArray(n.acceptableStates)&&n.acceptableStates.includes(i)&&(e.removeEventListener("onStateChange",r),clearTimeout(o),t())};e.addEventListener("onStateChange",r)})).then((()=>a)):a})):n[r]=(...t)=>e.then((e=>e[r].apply(e,t)));return n}};t.default=c,e.exports=t.default},22275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},65279:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},28255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],e.exports=t.default},11062:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(33988)),i=a(n(89125)),o=a(n(55900));function a(e){return e&&e.__esModule?e:{default:e}}let s;t.default=(e,t={},n=!1)=>{const a=(0,r.default)();if(s||(s=(0,o.default)(a)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=i.default.proxyEvents(a);const l=new Promise((n=>{if("object"==typeof e&&e.playVideo instanceof Function){n(e)}else s.then((r=>{const i=new r.Player(e,t);return a.on("ready",(()=>{n(i)})),null}))})),c=i.default.promisifyPlayer(l,n);return c.on=a.on,c.off=a.off,c},e.exports=t.default},55900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(49090),o=(r=i)&&r.__esModule?r:{default:r};t.default=e=>new Promise((t=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);{const t="http:"===window.location.protocol?"http:":"https:";(0,o.default)(t+"//webcf.waybackmachine.org/web/20240801092516/https://www.youtube.com/iframe_api",(t=>{t&&e.trigger("error",t)}))}const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{n&&n(),t(window.YT)}})),e.exports=t.default},66115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,n){var r=n(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},75263:function(e,t,n){var r=n(18698).default;function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},51363:function(e,t){"use strict";function n(e,t,n){return function(r,i){void 0===i&&(i=n);var o=e(r)+i;return t(o)}}function r(e){return function(t){return new Date(e(t).getTime()-1)}}function i(e,t){return function(n){return[e(n),t(n)]}}function o(e){if(e instanceof Date)return e.getFullYear();if("number"==typeof e)return e;var t=parseInt(e,10);if("string"==typeof e&&!isNaN(t))return t;throw new Error("Failed to get year from date: ".concat(e,"."))}function a(e){if(e instanceof Date)return e.getMonth();throw new Error("Failed to get month from date: ".concat(e,"."))}function s(e){if(e instanceof Date)return e.getMonth()+1;throw new Error("Failed to get human-readable month from date: ".concat(e,"."))}function l(e){if(e instanceof Date)return e.getDate();throw new Error("Failed to get year from date: ".concat(e,"."))}function c(e){if(e instanceof Date)return e.getHours();if("string"==typeof e){var t=e.split(":");if(t.length>=2){var n=t[0];if(n){var r=parseInt(n,10);if(!isNaN(r))return r}}}throw new Error("Failed to get hours from date: ".concat(e,"."))}function u(e){if(e instanceof Date)return e.getMinutes();if("string"==typeof e){var t=e.split(":");if(t.length>=2){var n=t[1]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get minutes from date: ".concat(e,"."))}function d(e){if(e instanceof Date)return e.getSeconds();if("string"==typeof e){var t=e.split(":");if(t.length>=2){var n=t[2]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get seconds from date: ".concat(e,"."))}function p(e){var t=o(e),n=t+(1-t)%100,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}function f(e){var t=o(e),n=t+(1-t)%10,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}function h(e){var t=o(e),n=new Date;return n.setFullYear(t,0,1),n.setHours(0,0,0,0),n}function m(e,t){return function(n,r){void 0===r&&(r=t);var i=o(n),s=a(n)+r,l=new Date;return l.setFullYear(i,s,1),l.setHours(0,0,0,0),e(l)}}function g(e){var t=o(e),n=a(e),r=new Date;return r.setFullYear(t,n,1),r.setHours(0,0,0,0),r}function v(e,t){return function(n,r){void 0===r&&(r=t);var i=o(n),s=a(n),c=l(n)+r,u=new Date;return u.setFullYear(i,s,c),u.setHours(0,0,0,0),e(u)}}function y(e){var t=o(e),n=a(e),r=l(e),i=new Date;return i.setFullYear(t,n,r),i.setHours(0,0,0,0),i}function b(e,t){void 0===t&&(t=2);var n="".concat(e);return n.length>=t?e:"0000".concat(n).slice(-t)}function w(e){var t=b(c(e)),n=b(u(e)),r=b(d(e));return"".concat(t,":").concat(n,":").concat(r)}function _(e){var t=b(o(e),4),n=b(s(e)),r=b(l(e));return"".concat(t,"-").concat(n,"-").concat(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.getISOLocalDateTime=t.getISOLocalDate=t.getISOLocalMonth=t.getHoursMinutesSeconds=t.getHoursMinutes=t.getDaysInMonth=t.getDayRange=t.getNextDayEnd=t.getPreviousDayEnd=t.getDayEnd=t.getNextDayStart=t.getPreviousDayStart=t.getDayStart=t.getMonthRange=t.getNextMonthEnd=t.getPreviousMonthEnd=t.getMonthEnd=t.getNextMonthStart=t.getPreviousMonthStart=t.getMonthStart=t.getYearRange=t.getNextYearEnd=t.getPreviousYearEnd=t.getYearEnd=t.getNextYearStart=t.getPreviousYearStart=t.getYearStart=t.getDecadeRange=t.getNextDecadeEnd=t.getPreviousDecadeEnd=t.getDecadeEnd=t.getNextDecadeStart=t.getPreviousDecadeStart=t.getDecadeStart=t.getCenturyRange=t.getNextCenturyEnd=t.getPreviousCenturyEnd=t.getCenturyEnd=t.getNextCenturyStart=t.getPreviousCenturyStart=t.getCenturyStart=t.getMilliseconds=t.getSeconds=t.getMinutes=t.getHours=t.getDate=t.getMonthHuman=t.getMonth=t.getYear=void 0,t.getYear=o,t.getMonth=a,t.getMonthHuman=s,t.getDate=l,t.getHours=c,t.getMinutes=u,t.getSeconds=d,t.getMilliseconds=function(e){if(e instanceof Date)return e.getMilliseconds();if("string"==typeof e){var t=e.split(":");if(t.length>=2){var n=(t[2]||"0").split(".")[1]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get seconds from date: ".concat(e,"."))},t.getCenturyStart=p,t.getPreviousCenturyStart=n(o,p,-100),t.getNextCenturyStart=n(o,p,100),t.getCenturyEnd=r(t.getNextCenturyStart),t.getPreviousCenturyEnd=n(o,t.getCenturyEnd,-100),t.getNextCenturyEnd=n(o,t.getCenturyEnd,100),t.getCenturyRange=i(p,t.getCenturyEnd),t.getDecadeStart=f,t.getPreviousDecadeStart=n(o,f,-10),t.getNextDecadeStart=n(o,f,10),t.getDecadeEnd=r(t.getNextDecadeStart),t.getPreviousDecadeEnd=n(o,t.getDecadeEnd,-10),t.getNextDecadeEnd=n(o,t.getDecadeEnd,10),t.getDecadeRange=i(f,t.getDecadeEnd),t.getYearStart=h,t.getPreviousYearStart=n(o,h,-1),t.getNextYearStart=n(o,h,1),t.getYearEnd=r(t.getNextYearStart),t.getPreviousYearEnd=n(o,t.getYearEnd,-1),t.getNextYearEnd=n(o,t.getYearEnd,1),t.getYearRange=i(h,t.getYearEnd),t.getMonthStart=g,t.getPreviousMonthStart=m(g,-1),t.getNextMonthStart=m(g,1),t.getMonthEnd=r(t.getNextMonthStart),t.getPreviousMonthEnd=m(t.getMonthEnd,-1),t.getNextMonthEnd=m(t.getMonthEnd,1),t.getMonthRange=i(g,t.getMonthEnd),t.getDayStart=y,t.getPreviousDayStart=v(y,-1),t.getNextDayStart=v(y,1),t.getDayEnd=r(t.getNextDayStart),t.getPreviousDayEnd=v(t.getDayEnd,-1),t.getNextDayEnd=v(t.getDayEnd,1),t.getDayRange=i(y,t.getDayEnd),t.getDaysInMonth=function(e){return l((0,t.getMonthEnd)(e))},t.getHoursMinutes=function(e){var t=b(c(e)),n=b(u(e));return"".concat(t,":").concat(n)},t.getHoursMinutesSeconds=w,t.getISOLocalMonth=function(e){var t=b(o(e),4),n=b(s(e));return"".concat(t,"-").concat(n)},t.getISOLocalDate=_,t.getISOLocalDateTime=function(e){return"".concat(_(e),"T").concat(w(e))}},63083:function(e,t,n){"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},14602:function(e,t){"use strict";function n(e){return e.getBoundingClientRect()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return{get collidedTop(){return n(e).top<n(t).top},get collidedBottom(){return n(e).bottom>n(t).bottom},get collidedLeft(){return n(e).left<n(t).left},get collidedRight(){return n(e).right>n(t).right},get overflowTop(){return n(t).top-n(e).top},get overflowBottom(){return n(e).bottom-n(t).bottom},get overflowLeft(){return n(t).left-n(e).left},get overflowRight(){return n(e).right-n(t).right}}}},68435:function(e,t){"use strict";var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.allEvents=t.changeEvents=t.otherEvents=t.transitionEvents=t.animationEvents=t.wheelEvents=t.uiEvents=t.pointerEvents=t.touchEvents=t.selectionEvents=t.dragEvents=t.mouseEvents=t.mediaEvents=t.keyboardEvents=t.imageEvents=t.formEvents=t.focusEvents=t.compositionEvents=t.clipboardEvents=void 0,t.clipboardEvents=["onCopy","onCut","onPaste"],t.compositionEvents=["onCompositionEnd","onCompositionStart","onCompositionUpdate"],t.focusEvents=["onFocus","onBlur"],t.formEvents=["onInput","onInvalid","onReset","onSubmit"],t.imageEvents=["onLoad","onError"],t.keyboardEvents=["onKeyDown","onKeyPress","onKeyUp"],t.mediaEvents=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],t.mouseEvents=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],t.dragEvents=["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],t.selectionEvents=["onSelect"],t.touchEvents=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],t.pointerEvents=["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],t.uiEvents=["onScroll"],t.wheelEvents=["onWheel"],t.animationEvents=["onAnimationStart","onAnimationEnd","onAnimationIteration"],t.transitionEvents=["onTransitionEnd"],t.otherEvents=["onToggle"],t.changeEvents=["onChange"],t.allEvents=n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n([],t.clipboardEvents,!0),t.compositionEvents,!0),t.focusEvents,!0),t.formEvents,!0),t.imageEvents,!0),t.keyboardEvents,!0),t.mediaEvents,!0),t.mouseEvents,!0),t.dragEvents,!0),t.selectionEvents,!0),t.touchEvents,!0),t.pointerEvents,!0),t.uiEvents,!0),t.wheelEvents,!0),t.animationEvents,!0),t.transitionEvents,!0),t.changeEvents,!0),t.otherEvents,!0),t.default=function(e,n){var r={};return t.allEvents.forEach((function(t){var i=e[t];i&&(r[t]=n?function(e){return i(e,n(t))}:i)})),r}},27901:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);return n.length<=1?n[0]||null:function(e){n.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}},44269:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=l(n(67294)),p=n(73935),f=u(n(45697)),h=u(n(14602)),m=u(n(87641)),g="undefined"!=typeof document,v=g&&"CSS"in window&&"supports"in window.CSS&&CSS.supports("display","contents"),y=g&&"MutationObserver"in window;function b(e){return e.charAt(0).toUpperCase()+e.slice(1)}function w(e){for(var t=e.parentElement;t;){if(window.getComputedStyle(t).overflow.split(" ").every((function(e){return"auto"===e||"scroll"===e})))return t;t=t.parentElement}return document.documentElement}function _(e){var t=e.axis,n=e.container,r=e.element,i=e.invertAxis,o=e.scrollContainer,a=e.secondary,s=e.spacing,l=window.getComputedStyle(r),c=n.parentElement;if(c){var u=(0,h.default)(c,o),d=(0,h.default)(c,document.documentElement),p="x"===t,f=p?"left":"top",g=p?"right":"bottom",v=p?"width":"height",y="overflow".concat(b(f)),w="overflow".concat(b(g)),_="scroll".concat(b(f)),S=b(v),x="offset".concat(S),E="client".concat(S),k="min-".concat(v),C=o[x]-o[E],T="object"==typeof s?s[f]:s,O=-Math.max(u[y],d[y]+document.documentElement[_])-T,M="object"==typeof s?s[g]:s,A=-Math.max(u[w],d[w]-document.documentElement[_])-M-C;a&&(O+=c[E],A+=c[E]);var P=r[x];(i?I()||N():N()||I())||function(){var e=O>A,t=l.getPropertyValue(k),n=t?parseInt(t,10):null;function i(e){(0,m.default)(!n||e>=n,"<Fit />'s child will not fit anywhere with its current ".concat(k," of ").concat(n,"px."));var t=Math.max(e,n||0);(0,m.default)(!1,"<Fit />'s child needed to have its ".concat(v," decreased to ").concat(t,"px.")),r.style[v]="".concat(t,"px")}e?(i(O),L()):(i(A),D())}()}function L(){r.style[f]="auto",r.style[g]=a?"0":"100%"}function D(){r.style[f]=a?"0":"100%",r.style[g]="auto"}function R(e,t){var n=P<=e;return n&&t(),n}function I(){return R(O,L)}function N(){return R(A,D)}}function S(e){var t=e.invertAxis,n=e.invertSecondaryAxis,r=c(e,["invertAxis","invertSecondaryAxis"]);!function(e){_(e)}(o(o({},r),{invertAxis:t})),function(e){_(o(o({},e),{axis:"x"===e.axis?"y":"x",secondary:!0}))}(o(o({},r),{invertAxis:n}))}var x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fit=function(){var e=t,n=e.scrollContainer,r=e.container,i=e.element;if(n&&r&&i){var o=i.clientWidth,a=i.clientHeight;if(t.elementWidth!==o||t.elementHeight!==a){t.elementWidth=o,t.elementHeight=a;var s=r.parentElement;if(s){"absolute"!==window.getComputedStyle(i).position&&(i.style.position="absolute");var l=window.getComputedStyle(s).position;"relative"!==l&&"absolute"!==l&&(s.style.position="relative");var c=t.props,u=c.invertAxis,d=c.invertSecondaryAxis,p=c.mainAxis,f=void 0===p?"y":p,h=c.spacing;S({axis:f,container:r,element:i,invertAxis:u,invertSecondaryAxis:d,scrollContainer:n,spacing:void 0===h?8:h})}}}},t}return i(t,e),t.prototype.componentDidMount=function(){var e=this;if(!v){var t=(0,p.findDOMNode)(this);if(!(t&&t instanceof HTMLElement))return;this.container=t,this.element=t,this.scrollContainer=w(t)}this.fit();y&&this.element&&new MutationObserver((function(){e.fit()})).observe(this.element,{attributes:!0,attributeFilter:["class","style"]})},t.prototype.render=function(){var e=this,t=this.props.children,n=d.default.Children.only(t);return v?d.default.createElement("span",{ref:function(t){e.container=t;var n=t&&t.firstElementChild;n&&n instanceof HTMLElement&&(e.element=n,e.scrollContainer=w(n))},style:{display:"contents"}},n):n},t.propTypes={children:f.default.node.isRequired,invertAxis:f.default.bool,invertSecondaryAxis:f.default.bool,mainAxis:f.default.oneOf(["x","y"]),spacing:f.default.oneOfType([f.default.number,f.default.shape({bottom:f.default.number.isRequired,left:f.default.number.isRequired,right:f.default.number.isRequired,top:f.default.number.isRequired})])},t}(d.Component);t.default=x},4846:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fit=void 0;var i=r(n(44269));t.Fit=i.default,t.default=i.default},59364:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},3746:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateInputWidth=t.measureText=t.getFontShorthand=void 0;var n,r=["normal","small-caps"];function i(e){if(!e)return"";var t=window.getComputedStyle(e);if(t.font)return t.font;if(!(""!==t.fontFamily))return"";var n=r.includes(t.fontVariant)?t.fontVariant:"normal";return"".concat(t.fontStyle," ").concat(n," ").concat(t.fontWeight," ").concat(t.fontSize," / ").concat(t.lineHeight," ").concat(t.fontFamily)}function o(e,t){var r=(n||(n=document.createElement("canvas"))).getContext("2d");if(!r)return null;r.font=t;var i=r.measureText(e).width;return Math.ceil(i)}function a(e){if("undefined"==typeof document||!e)return null;var t=i(e),n=o(e.value||e.placeholder,t);return null===n?null:(e.style.width="".concat(n,"px"),n)}t.getFontShorthand=i,t.measureText=o,t.updateInputWidth=a,t.default=a},85983:function(e,t,n){"use strict";if(n.d(t,{RR:function(){return l},cv:function(){return c},oo:function(){return o},uY:function(){return u},x7:function(){return s}}),/^(3633|7058)$/.test(n.j))var r=n(71347);function i(e,t,n){let{reference:i,floating:o}=e;const a=(0,r.Qq)(t),s=(0,r.Wh)(t),l=(0,r.I4)(s),c=(0,r.k3)(t),u="y"===a,d=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;let h;switch(c){case"top":h={x:d,y:i.y-o.height};break;case"bottom":h={x:d,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-o.width,y:p};break;default:h={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1)}return h}const o=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=i(u,r,c),f=r,h={},m=0;for(let n=0;n<l.length;n++){const{name:a,fn:g}=l[n],{x:v,y:y,data:b,reset:w}=await g({x:d,y:p,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,p=null!=y?y:p,h={...h,[a]:{...h[a],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:d,y:p}=i(u,f,c))),n=-1)}return{x:d,y:p,placement:f,strategy:o,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=(0,r.ku)(t,e),m=(0,r.yd)(h),g=l[f?"floating"===p?"reference":"floating":p],v=(0,r.JB)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y="floating"===p?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),w=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},_=(0,r.JB)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:c}):y);return{top:(v.top-_.top+m.top)/w.y,bottom:(_.bottom-v.bottom+m.bottom)/w.y,left:(v.left-_.left+m.left)/w.x,right:(_.right-v.right+m.right)/w.x}}const s=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r.ku)(e,t)||{};if(null==u)return{};const p=(0,r.yd)(d),f={x:n,y:i},h=(0,r.Wh)(o),m=(0,r.I4)(h),g=await s.getDimensions(u),v="y"===h,y=v?"top":"left",b=v?"bottom":"right",w=v?"clientHeight":"clientWidth",_=a.reference[m]+a.reference[h]-f[h]-a.floating[m],S=f[h]-a.reference[h],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let E=x?x[w]:0;E&&await(null==s.isElement?void 0:s.isElement(x))||(E=l.floating[w]||a.floating[m]);const k=_/2-S/2,C=E/2-g[m]/2-1,T=(0,r.VV)(p[y],C),O=(0,r.VV)(p[b],C),M=T,A=E-g[m]-O,P=E/2-g[m]/2+k,L=(0,r.uZ)(M,P,A),D=!c.arrow&&null!=(0,r.hp)(o)&&P!==L&&a.reference[m]/2-(P<M?T:O)-g[m]/2<0,R=D?P<M?P-M:P-A:0;return{[h]:f[h]+R,data:{[h]:L,centerOffset:P-L-R,...D&&{alignmentOffset:R}},reset:D}}});const l=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=(0,r.ku)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.k3)(o),w=(0,r.k3)(c)===c,_=await(null==u.isRTL?void 0:u.isRTL(d.floating)),S=h||(w||!v?[(0,r.pw)(c)]:(0,r.gy)(c));h||"none"===g||S.push(...(0,r.KX)(c,v,g,_));const x=[c,...S],E=await a(t,y),k=[];let C=(null==(i=s.flip)?void 0:i.overflows)||[];if(p&&k.push(E[b]),f){const e=(0,r.i8)(o,l,_);k.push(E[e[0]],E[e[1]])}if(C=[...C,{placement:o,overflows:k}],!k.every((e=>e<=0))){var T,O;const e=((null==(T=s.flip)?void 0:T.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(O=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(m){case"bestFit":{var M;const e=null==(M=C.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:M[0];e&&(n=e);break}case"initialPlacement":n=c}if(o!==n)return{reset:{placement:n}}}return{}}}};const c=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:a,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:i,elements:o}=e,a=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,r.k3)(n),l=(0,r.hp)(n),c="y"===(0,r.Qq)(n),u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,p=(0,r.ku)(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return l&&"number"==typeof m&&(h="end"===l?-1*m:m),c?{x:h*d,y:f*u}:{x:f*u,y:h*d}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:{...c,placement:s}}}}},u=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),d={x:n,y:i},p=await a(t,u),f=(0,r.Qq)((0,r.k3)(o)),h=(0,r.Rn)(f);let m=d[h],g=d[f];if(s){const e="y"===h?"bottom":"right",t=m+p["y"===h?"top":"left"],n=m-p[e];m=(0,r.uZ)(t,m,n)}if(l){const e="y"===f?"bottom":"right",t=g+p["y"===f?"top":"left"],n=g-p[e];g=(0,r.uZ)(t,g,n)}const v=c.fn({...t,[h]:m,[f]:g});return{...v,data:{x:v.x-n,y:v.y-i}}}}}},71347:function(e,t,n){"use strict";n.d(t,{Fp:function(){return i},GW:function(){return a},I4:function(){return m},JB:function(){return E},KX:function(){return _},NM:function(){return o},Qq:function(){return g},Rn:function(){return h},VV:function(){return r},Wh:function(){return v},gy:function(){return b},hp:function(){return f},i8:function(){return y},k3:function(){return p},ku:function(){return d},pw:function(){return S},uZ:function(){return u},yd:function(){return x},ze:function(){return s}});const r=Math.min,i=Math.max,o=Math.round,a=Math.floor,s=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(e,t,n){return i(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(p(e))?"y":"x"}function v(e){return h(g(e))}function y(e,t,n){void 0===n&&(n=!1);const r=f(e),i=v(e),o=m(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=S(a)),[a,S(a)]}function b(e){const t=S(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>c[e]))}function _(e,t,n,r){const i=f(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(w)))),o}function S(e){return e.replace(/left|right|bottom|top/g,(e=>l[e]))}function x(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function E(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},76093:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},65154:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},41246:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},52306:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},80361:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},91234:function(e,t,n){"use strict";n.d(t,{J5:function(){return mo},SF:function(){return a.SF},Tg:function(){return un},ZT:function(){return sn},jZ:function(){return cn},q9:function(){return an}});var r,i,o,a=n(63313),s=n(34155),l=n(25108),c=Object.create,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,f=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,m=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),g=(e,t,n)=>(n=null!=e?c(f(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of p(t))!h.call(e,i)&&i!==n&&u(e,i,{get:()=>t[i],enumerable:!(r=d(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:u(n,"default",{value:e,enumerable:!0}),e)),v=m(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),y=m(((e,t)=>{var n=v();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),b=m(((e,t)=>{var n=y(),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);t.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}})),w=m(((e,t)=>{var n=b(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}})),_=m(((e,t)=>{var n=b(),r=v(),i=w(),o=Object,a=n("".split);t.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o})),S=m(((e,t)=>{t.exports=function(e){return null==e}})),x=m(((e,t)=>{var n=S(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}})),E=m(((e,t)=>{var n=_(),r=x();t.exports=function(e){return n(r(e))}})),k=m(((e,t)=>{t.exports=function(){}})),C=m(((e,t)=>{t.exports={}})),T=m(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||e||Function("return this")()})),O=m(((e,t)=>{var n="object"==typeof document&&document.all,r=typeof n>"u"&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}})),M=m(((e,t)=>{var n=O(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),A=m(((e,t)=>{var n=T(),r=M(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),P=m(((e,t)=>{var n=M(),r=O(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}})),L=m(((e,t)=>{var n=v();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),D=m(((e,t)=>{var n=T(),r=P(),i=n.document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}})),R=m(((e,t)=>{var n=L(),r=v(),i=D();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),I=m(((e,t)=>{var n=L(),r=v();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),N=m(((e,t)=>{var n=P(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}})),j=m(((e,t)=>{var n=y(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),B=m(((e,t)=>{t.exports={}})),F=m(((e,t)=>{var n=B(),r=T(),i=M(),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),H=m(((e,t)=>{var n=b();t.exports=n({}.isPrototypeOf)})),z=m(((e,t)=>{t.exports=typeof navigator<"u"&&String(navigator.userAgent)||""})),V=m(((e,t)=>{var n,r,i=T(),o=z(),a=i.process,s=i.Deno,l=a&&a.versions||s&&s.version,c=l&&l.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&((!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&((n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]))),t.exports=r})),U=m(((e,t)=>{var n=V(),r=v(),i=T().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),$=m(((e,t)=>{var n=U();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),G=m(((e,t)=>{var n=F(),r=M(),i=H(),o=$(),a=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}})),q=m(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return"Object"}}})),W=m(((e,t)=>{var n=M(),r=q(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}})),Z=m(((e,t)=>{var n=W(),r=S();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),Y=m(((e,t)=>{var n=j(),r=M(),i=P(),o=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||"string"!==t&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o("Can't convert object to primitive value")}})),K=m(((e,t)=>{t.exports=!0})),Q=m(((e,t)=>{var n=T(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),X=m(((e,t)=>{var n=T(),r=Q(),i="__core-js_shared__",o=n[i]||r(i,{});t.exports=o})),J=m(((e,t)=>{var n=K(),r=X();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js"})})),ee=m(((e,t)=>{var n=x(),r=Object;t.exports=function(e){return r(n(e))}})),te=m(((e,t)=>{var n=b(),r=ee(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),ne=m(((e,t)=>{var n=b(),r=0,i=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}})),re=m(((e,t)=>{var n=T(),r=J(),i=te(),o=ne(),a=U(),s=$(),l=n.Symbol,c=r("wks"),u=s?l.for||l:l&&l.withoutSetter||o;t.exports=function(e){return i(c,e)||(c[e]=a&&i(l,e)?l[e]:u("Symbol."+e)),c[e]}})),ie=m(((e,t)=>{var n=j(),r=P(),i=G(),o=Z(),a=Y(),s=re(),l=TypeError,c=s("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var s,u=o(e,c);if(u){if(void 0===t&&(t="default"),s=n(u,e,t),!r(s)||i(s))return s;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),oe=m(((e,t)=>{var n=ie(),r=G();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),ae=m((e=>{var t=L(),n=R(),r=I(),i=N(),o=oe(),a=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",d="writable";e.f=t?r?function(e,t,n){if(i(e),t=o(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:c in n?n[c]:r[c],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=o(t),i(r),n)try{return s(e,t,r)}catch{}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),se=m(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),le=m(((e,t)=>{var n=L(),r=ae(),i=se();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),ce=m(((e,t)=>{var n=J(),r=ne(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),ue=m(((e,t)=>{t.exports={}})),de=m(((e,t)=>{var n,r,i,o,a,s=A(),l=T(),c=P(),u=le(),d=te(),p=X(),f=ce(),h=ue(),m="Object already initialized",g=l.TypeError,v=l.WeakMap;s||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw g(m);return t.facade=e,o.set(e,t),t},r=function(e){return o.get(e)||{}},i=function(e){return o.has(e)}):(h[a=f("state")]=!0,n=function(e,t){if(d(e,a))throw g(m);return t.facade=e,u(e,a,t),t},r=function(e){return d(e,a)?e[a]:{}},i=function(e){return d(e,a)}),t.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}})),pe=m(((e,t)=>{var n=y(),r=Function.prototype,i=r.apply,o=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})})),fe=m(((e,t)=>{var n=w(),r=b();t.exports=function(e){if("Function"===n(e))return r(e)}})),he=m((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),me=m((e=>{var t=L(),n=j(),r=he(),i=se(),o=E(),a=oe(),s=te(),l=R(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=o(e),t=a(t),l)try{return c(e,t)}catch{}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),ge=m(((e,t)=>{var n=v(),r=M(),i=/#|\.prototype\./,o=function(e,t){var i=s[a(e)];return i==c||i!=l&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),ve=m(((e,t)=>{var n=fe(),r=W(),i=y(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),ye=m(((e,t)=>{var n=T(),r=pe(),i=fe(),o=M(),a=me().f,s=ge(),l=B(),c=ve(),u=le(),d=te(),p=function(e){var t=function(n,i,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,i)}return new e(n,i,o)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,f,h,m,g,v,y,b,w,_=e.target,S=e.global,x=e.stat,E=e.proto,k=S?n:x?n[_]:(n[_]||{}).prototype,C=S?l:l[_]||u(l,_,{})[_],T=C.prototype;for(m in t)f=!(r=s(S?m:_+(x?".":"#")+m,e.forced))&&k&&d(k,m),v=C[m],f&&(e.dontCallGetSet?y=(w=a(k,m))&&w.value:y=k[m]),g=f&&y?y:t[m],(!f||typeof v!=typeof g)&&(b=e.bind&&f?c(g,n):e.wrap&&f?p(g):E&&o(g)?i(g):g,(e.sham||g&&g.sham||v&&v.sham)&&u(b,"sham",!0),u(C,m,b),E&&(d(l,h=_+"Prototype")||u(l,h,{}),u(l[h],m,g),e.real&&T&&(r||!T[m])&&u(T,m,g)))}})),be=m(((e,t)=>{var n=L(),r=te(),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),s=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:l}})),we=m(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),_e=m(((e,t)=>{var n=we();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Se=m(((e,t)=>{var n=_e(),r=Math.max,i=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}})),xe=m(((e,t)=>{var n=_e(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),Ee=m(((e,t)=>{var n=xe();t.exports=function(e){return n(e.length)}})),ke=m(((e,t)=>{var n=E(),r=Se(),i=Ee(),o=function(e){return function(t,o,a){var s,l=n(t),c=i(l),u=r(a,c);if(e&&o!=o){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),Ce=m(((e,t)=>{var n=b(),r=te(),i=E(),o=ke().indexOf,a=ue(),s=n([].push);t.exports=function(e,t){var n,l=i(e),c=0,u=[];for(n in l)!r(a,n)&&r(l,n)&&s(u,n);for(;t.length>c;)r(l,n=t[c++])&&(~o(u,n)||s(u,n));return u}})),Te=m(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),Oe=m(((e,t)=>{var n=Ce(),r=Te();t.exports=Object.keys||function(e){return n(e,r)}})),Me=m((e=>{var t=L(),n=I(),r=ae(),i=N(),o=E(),a=Oe();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n,s=o(t),l=a(t),c=l.length,u=0;c>u;)r.f(e,n=l[u++],s[n]);return e}})),Ae=m(((e,t)=>{var n=F();t.exports=n("document","documentElement")})),Pe=m(((e,t)=>{var n,r=N(),i=Me(),o=Te(),a=ue(),s=Ae(),l=D(),c=ce(),u="prototype",d="script",p=c("IE_PROTO"),f=function(){},h=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch{}g=typeof document<"u"?document.domain&&n?m(n):function(){var e,t=l("iframe"),n="java"+d+":";return t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F}():m(n);for(var e=o.length;e--;)delete g[u][o[e]];return g()};a[p]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=r(e),n=new f,f[u]=null,n[p]=e):n=g(),void 0===t?n:i.f(n,t)}})),Le=m(((e,t)=>{var n=v();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),De=m(((e,t)=>{var n=te(),r=M(),i=ee(),o=ce(),a=Le(),s=o("IE_PROTO"),l=Object,c=l.prototype;t.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var o=t.constructor;return r(o)&&t instanceof o?o.prototype:t instanceof l?c:null}})),Re=m(((e,t)=>{var n=le();t.exports=function(e,t,r,i){return i&&i.enumerable?e[t]=r:n(e,t,r),e}})),Ie=m(((e,t)=>{var n,r,i,o=v(),a=M(),s=P(),l=Pe(),c=De(),u=Re(),d=re(),p=K(),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(n=r):h=!0),!s(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:p&&(n=l(n)),a(n[f])||u(n,f,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}})),Ne=m(((e,t)=>{var n={};n[re()("toStringTag")]="z",t.exports="[object z]"===String(n)})),je=m(((e,t)=>{var n=Ne(),r=M(),i=w(),o=re()("toStringTag"),a=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i:function(e){var t,n,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch{}}(t=a(e),o))?n:s?i(t):"Object"==(l=i(t))&&r(t.callee)?"Arguments":l}})),Be=m(((e,t)=>{var n=Ne(),r=je();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),Fe=m(((e,t)=>{var n=Ne(),r=ae().f,i=le(),o=te(),a=Be(),s=re()("toStringTag");t.exports=function(e,t,l,c){if(e){var u=l?e:e.prototype;o(u,s)||r(u,s,{configurable:!0,value:t}),c&&!n&&i(u,"toString",a)}}})),He=m(((e,t)=>{var n=Ie().IteratorPrototype,r=Pe(),i=se(),o=Fe(),a=C(),s=function(){return this};t.exports=function(e,t,l,c){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!c,l)}),o(e,u,!1,!0),a[u]=s,e}})),ze=m(((e,t)=>{var n=b(),r=W();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch{}}})),Ve=m(((e,t)=>{var n=M(),r=String,i=TypeError;t.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+r(e)+" as a prototype")}})),Ue=m(((e,t)=>{var n=ze(),r=N(),i=Ve();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch{}return function(n,o){return r(n),i(o),t?e(n,o):n.__proto__=o,n}}():void 0)})),$e=m(((e,t)=>{var n=ye(),r=j(),i=K(),o=be(),a=M(),s=He(),l=De(),c=Ue(),u=Fe(),d=le(),p=Re(),f=re(),h=C(),m=Ie(),g=o.PROPER,v=o.CONFIGURABLE,y=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=f("iterator"),_="keys",S="values",x="entries",E=function(){return this};t.exports=function(e,t,o,f,m,k,C){s(o,t,f);var T,O,M,A=function(e){if(e===m&&I)return I;if(!b&&e in D)return D[e];switch(e){case _:case S:case x:return function(){return new o(this,e)}}return function(){return new o(this)}},P=t+" Iterator",L=!1,D=e.prototype,R=D[w]||D["@@iterator"]||m&&D[m],I=!b&&R||A(m),N="Array"==t&&D.entries||R;if(N&&((T=l(N.call(new e)))!==Object.prototype&&T.next&&(!i&&l(T)!==y&&(c?c(T,y):a(T[w])||p(T,w,E)),u(T,P,!0,!0),i&&(h[P]=E))),g&&m==S&&R&&R.name!==S&&(!i&&v?d(D,"name",S):(L=!0,I=function(){return r(R,this)})),m)if(O={values:A(S),keys:k?I:A(_),entries:A(x)},C)for(M in O)(b||L||!(M in D))&&p(D,M,O[M]);else n({target:t,proto:!0,forced:b||L},O);return(!i||C)&&D[w]!==I&&p(D,w,I,{name:m}),h[t]=I,O}})),Ge=m(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),qe=m(((e,t)=>{var n=E(),r=k(),i=C(),o=de(),a=ae().f,s=$e(),l=Ge(),c=K(),u=L(),d="Array Iterator",p=o.set,f=o.getterFor(d);t.exports=s(Array,"Array",(function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var h=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==h.name)try{a(h,"name",{value:"values"})}catch{}})),We=m(((e,t)=>{var n=re(),r=C(),i=n("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}})),Ze=m(((e,t)=>{var n=je(),r=Z(),i=S(),o=C(),a=re()("iterator");t.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}})),Ye=m(((e,t)=>{var n=j(),r=W(),i=N(),o=q(),a=Ze(),s=TypeError;t.exports=function(e,t){var l=arguments.length<2?a(e):t;if(r(l))return i(n(l,e));throw s(o(e)+" is not iterable")}})),Ke=m(((e,t)=>{var n=j(),r=N(),i=Z();t.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}})),Qe=m(((e,t)=>{var n=ve(),r=j(),i=N(),o=q(),a=We(),s=Ee(),l=H(),c=Ye(),u=Ze(),d=Ke(),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},h=f.prototype;t.exports=function(e,t,m){var g,v,y,b,w,_,S,x=m&&m.that,E=!(!m||!m.AS_ENTRIES),k=!(!m||!m.IS_RECORD),C=!(!m||!m.IS_ITERATOR),T=!(!m||!m.INTERRUPTED),O=n(t,x),M=function(e){return g&&d(g,"normal",e),new f(!0,e)},A=function(e){return E?(i(e),T?O(e[0],e[1],M):O(e[0],e[1])):T?O(e,M):O(e)};if(k)g=e.iterator;else if(C)g=e;else{if(!(v=u(e)))throw p(o(e)+" is not iterable");if(a(v)){for(y=0,b=s(e);b>y;y++)if((w=A(e[y]))&&l(h,w))return w;return new f(!1)}g=c(e,v)}for(_=k?e.next:g.next;!(S=r(_,g)).done;){try{w=A(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(h,w))return w}return new f(!1)}})),Xe=m(((e,t)=>{var n=oe(),r=ae(),i=se();t.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}})),Je=m((()=>{var e=ye(),t=Qe(),n=Xe();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,(function(e,t){n(r,e,t)}),{AS_ENTRIES:!0}),r}})})),et=m(((e,t)=>{qe(),Je();var n=B();t.exports=n.Object.fromEntries})),tt=m(((e,t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),nt=m((()=>{qe();var e,t,n,r=tt(),i=T(),o=je(),a=le(),s=C(),l=re()("toStringTag");for(n in r)(t=(e=i[n])&&e.prototype)&&o(t)!==l&&a(t,l,n),s[n]=s.Array})),rt=m(((e,t)=>{var n=et();nt(),t.exports=n})),it=m(((e,t)=>{var n=rt();t.exports=n})),ot=m((()=>{})),at=m(((e,t)=>{var n=w();t.exports=typeof s<"u"&&"process"==n(s)})),st=m(((e,t)=>{var n=ae();t.exports=function(e,t,r){return n.f(e,t,r)}})),lt=m(((e,t)=>{var n=F(),r=st(),i=re(),o=L(),a=i("species");t.exports=function(e){var t=n(e);o&&t&&!t[a]&&r(t,a,{configurable:!0,get:function(){return this}})}})),ct=m(((e,t)=>{var n=H(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw r("Incorrect invocation")}})),ut=m(((e,t)=>{var n=b(),r=M(),i=X(),o=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),t.exports=i.inspectSource})),dt=m(((e,t)=>{var n=b(),r=v(),i=M(),o=je(),a=F(),s=ut(),l=function(){},c=[],u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),f=!d.exec(l),h=function(e){if(!i(e))return!1;try{return u(l,c,e),!0}catch{return!1}},m=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,s(e))}catch{return!0}};m.sham=!0,t.exports=!u||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h})),pt=m(((e,t)=>{var n=dt(),r=q(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a constructor")}})),ft=m(((e,t)=>{var n=N(),r=pt(),i=S(),o=re()("species");t.exports=function(e,t){var a,s=n(e).constructor;return void 0===s||i(a=n(s)[o])?t:r(a)}})),ht=m(((e,t)=>{var n=b();t.exports=n([].slice)})),mt=m(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}})),gt=m(((e,t)=>{var n=z();t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)})),vt=m(((e,t)=>{var n,r,i,o,a=T(),s=pe(),l=ve(),c=M(),u=te(),d=v(),p=Ae(),f=ht(),h=D(),m=mt(),g=gt(),y=at(),b=a.setImmediate,w=a.clearImmediate,_=a.process,S=a.Dispatch,x=a.Function,E=a.MessageChannel,k=a.String,C=0,O={},A="onreadystatechange";d((function(){n=a.location}));var P=function(e){if(u(O,e)){var t=O[e];delete O[e],t()}},L=function(e){return function(){P(e)}},R=function(e){P(e.data)},I=function(e){a.postMessage(k(e),n.protocol+"//"+n.host)};(!b||!w)&&(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=f(arguments,1);return O[++C]=function(){s(t,void 0,n)},r(C),C},w=function(e){delete O[e]},y?r=function(e){_.nextTick(L(e))}:S&&S.now?r=function(e){S.now(L(e))}:E&&!g?(o=(i=new E).port2,i.port1.onmessage=R,r=l(o.postMessage,o)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(I)?(r=I,a.addEventListener("message",R,!1)):r=A in h("script")?function(e){p.appendChild(h("script"))[A]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(L(e),0)}),t.exports={set:b,clear:w}})),yt=m(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},t.exports=n})),bt=m(((e,t)=>{var n=z();t.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u"})),wt=m(((e,t)=>{var n=z();t.exports=/web0s(?!.*chrome)/i.test(n)})),_t=m(((e,t)=>{var n,r,i,o,a,s,l,c=T(),u=ve(),d=me().f,p=vt().set,f=yt(),h=gt(),m=bt(),g=wt(),v=at(),y=c.MutationObserver||c.WebKitMutationObserver,b=c.document,w=c.process,_=c.Promise,S=d(c,"queueMicrotask"),x=S&&S.value;x||(s=new f,l=function(){var e,t;for(v&&(e=w.domain)&&e.exit();t=s.get();)try{t()}catch(e){throw s.head&&n(),e}e&&e.enter()},h||v||g||!y||!b?!m&&_&&_.resolve?((o=_.resolve(void 0)).constructor=_,a=u(o.then,o),n=function(){a(l)}):v?n=function(){w.nextTick(l)}:(p=u(p,c),n=function(){p(l)}):(r=!0,i=b.createTextNode(""),new y(l).observe(i,{characterData:!0}),n=function(){i.data=r=!r}),x=function(e){s.head||n(),s.add(e)}),t.exports=x})),St=m(((e,t)=>{t.exports=function(e,t){try{1==arguments.length?l.error(e):l.error(e,t)}catch{}}})),xt=m(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),Et=m(((e,t)=>{var n=T();t.exports=n.Promise})),kt=m(((e,t)=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version})),Ct=m(((e,t)=>{var n=kt(),r=at();t.exports=!n&&!r&&"object"==typeof window&&"object"==typeof document})),Tt=m(((e,t)=>{var n=T(),r=Et(),i=M(),o=ge(),a=ut(),s=re(),l=Ct(),c=kt(),u=K(),d=V(),p=r&&r.prototype,f=s("species"),h=!1,m=i(n.PromiseRejectionEvent),g=o("Promise",(function(){var e=a(r),t=e!==String(r);if(!t&&66===d||u&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),i=function(e){e((function(){}),(function(){}))};if((n.constructor={})[f]=i,!(h=n.then((function(){}))instanceof i))return!0}return!t&&(l||c)&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:h}})),Ot=m(((e,t)=>{var n=W(),r=TypeError,i=function(e){var t,i;this.promise=new e((function(e,n){if(void 0!==t||void 0!==i)throw r("Bad Promise constructor");t=e,i=n})),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),Mt=m((()=>{var e,t,n,r=ye(),i=K(),o=at(),a=T(),s=j(),l=Re(),c=Ue(),u=Fe(),d=lt(),p=W(),f=M(),h=P(),m=ct(),g=ft(),v=vt().set,y=_t(),b=St(),w=xt(),_=yt(),S=de(),x=Et(),E=Tt(),k=Ot(),C="Promise",O=E.CONSTRUCTOR,A=E.REJECTION_EVENT,L=E.SUBCLASSING,D=S.getterFor(C),R=S.set,I=x&&x.prototype,N=x,B=I,F=a.TypeError,H=a.document,z=a.process,V=k.f,U=V,$=!!(H&&H.createEvent&&a.dispatchEvent),G="unhandledrejection",q=function(e){var t;return!(!h(e)||!f(t=e.then))&&t},Z=function(e,t){var n,r,i,o=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,d=e.domain;try{l?(a||(2===t.rejection&&ee(t),t.rejection=1),!0===l?n=o:(d&&d.enter(),n=l(o),d&&(d.exit(),i=!0)),n===e.promise?u(F("Promise-chain cycle")):(r=q(n))?s(r,n,c,u):c(n)):u(o)}catch(e){d&&!i&&d.exit(),u(e)}},Y=function(e,t){e.notified||(e.notified=!0,y((function(){for(var n,r=e.reactions;n=r.get();)Z(n,e);e.notified=!1,t&&!e.rejection&&X(e)})))},Q=function(e,t,n){var r,i;$?((r=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),a.dispatchEvent(r)):r={promise:t,reason:n},!A&&(i=a["on"+e])?i(r):e===G&&b("Unhandled promise rejection",n)},X=function(e){s(v,a,(function(){var t,n=e.facade,r=e.value;if(J(e)&&(t=w((function(){o?z.emit("unhandledRejection",r,n):Q(G,n,r)})),e.rejection=o||J(e)?2:1,t.error))throw t.value}))},J=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){s(v,a,(function(){var t=e.facade;o?z.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},te=function(e,t,n){return function(r){e(t,r,n)}},ne=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Y(e,!0))},re=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw F("Promise can't be resolved itself");var r=q(t);r?y((function(){var n={done:!1};try{s(r,t,te(re,n,e),te(ne,n,e))}catch(t){ne(n,t,e)}})):(e.value=t,e.state=1,Y(e,!1))}catch(t){ne({done:!1},t,e)}}};if(O&&(B=(N=function(t){m(this,B),p(t),s(e,this);var n=D(this);try{t(te(re,n),te(ne,n))}catch(e){ne(n,e)}}).prototype,(e=function(e){R(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:0,value:void 0})}).prototype=l(B,"then",(function(e,t){var n=D(this),r=V(g(this,N));return n.parent=!0,r.ok=!f(e)||e,r.fail=f(t)&&t,r.domain=o?z.domain:void 0,0==n.state?n.reactions.add(r):y((function(){Z(r,n)})),r.promise})),t=function(){var t=new e,n=D(t);this.promise=t,this.resolve=te(re,n),this.reject=te(ne,n)},k.f=V=function(e){return e===N||undefined===e?new t(e):U(e)},!i&&f(x)&&I!==Object.prototype)){n=I.then,L||l(I,"then",(function(e,t){var r=this;return new N((function(e,t){s(n,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch{}c&&c(I,B)}r({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:N}),u(N,C,!1,!0),d(C)})),At=m(((e,t)=>{var n,r,i=re()("iterator"),o=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){o=!0}})[i]=function(){return this},Array.from(r,(function(){throw 2}))}catch{}t.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n}})),Pt=m(((e,t)=>{var n=Et(),r=At(),i=Tt().CONSTRUCTOR;t.exports=i||!r((function(e){n.all(e).then(void 0,(function(){}))}))})),Lt=m((()=>{var e=ye(),t=j(),n=W(),r=Ot(),i=xt(),o=Qe();e({target:"Promise",stat:!0,forced:Pt()},{all:function(e){var a=this,s=r.f(a),l=s.resolve,c=s.reject,u=i((function(){var r=n(a.resolve),i=[],s=0,u=1;o(e,(function(e){var n=s++,o=!1;u++,t(r,a,e).then((function(e){o||(o=!0,i[n]=e,--u||l(i))}),c)})),--u||l(i)}));return u.error&&c(u.value),s.promise}})})),Dt=m((()=>{var e,t=ye(),n=K(),r=Tt().CONSTRUCTOR,i=Et(),o=F(),a=M(),s=Re(),l=i&&i.prototype;t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&a(i)&&(e=o("Promise").prototype.catch,l.catch!==e&&s(l,"catch",e,{unsafe:!0}))})),Rt=m((()=>{var e=ye(),t=j(),n=W(),r=Ot(),i=xt(),o=Qe();e({target:"Promise",stat:!0,forced:Pt()},{race:function(e){var a=this,s=r.f(a),l=s.reject,c=i((function(){var r=n(a.resolve);o(e,(function(e){t(r,a,e).then(s.resolve,l)}))}));return c.error&&l(c.value),s.promise}})})),It=m((()=>{var e=ye(),t=j(),n=Ot();e({target:"Promise",stat:!0,forced:Tt().CONSTRUCTOR},{reject:function(e){var r=n.f(this);return t(r.reject,void 0,e),r.promise}})})),Nt=m(((e,t)=>{var n=N(),r=P(),i=Ot();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var o=i.f(e);return(0,o.resolve)(t),o.promise}})),jt=m((()=>{var e=ye(),t=F(),n=K(),r=Et(),i=Tt().CONSTRUCTOR,o=Nt(),a=t("Promise"),s=n&&!i;e({target:"Promise",stat:!0,forced:n||i},{resolve:function(e){return o(s&&this===a?r:this,e)}})})),Bt=m((()=>{Mt(),Lt(),Dt(),Rt(),It(),jt()})),Ft=m((()=>{var e,t=ye(),n=K(),r=Et(),i=v(),o=F(),a=M(),s=ft(),l=Nt(),c=Re(),u=r&&r.prototype;t({target:"Promise",proto:!0,real:!0,forced:!!r&&i((function(){u.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,o("Promise")),n=a(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!n&&a(r)&&(e=o("Promise").prototype.finally,u.finally!==e&&c(u,"finally",e,{unsafe:!0}))})),Ht=m(((e,t)=>{var n=F();t.exports=n})),zt=m(((e,t)=>{ot(),Bt(),Ft();var n=Ht();t.exports=n("Promise","finally")})),Vt=m(((e,t)=>{var n=zt();t.exports=n})),Ut=m(((e,t)=>{var n=Vt();t.exports=n})),$t=m((()=>{var e=ye(),t=ee(),n=Ee(),r=_e(),i=k();e({target:"Array",proto:!0},{at:function(e){var i=t(this),o=n(i),a=r(e),s=a>=0?a:o+a;return s<0||s>=o?void 0:i[s]}}),i("at")})),Gt=m(((e,t)=>{$t();var n=Ht();t.exports=n("Array","at")})),qt=m(((e,t)=>{var n=Gt();t.exports=n})),Wt=m(((e,t)=>{var n=qt();t.exports=n})),Zt=m((()=>{})),Yt=m((()=>{})),Kt=m(((e,t)=>{var n=P(),r=w(),i=re()("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}})),Qt=m(((e,t)=>{var n=je(),r=String;t.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}})),Xt=m(((e,t)=>{var n=N();t.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),Jt=m(((e,t)=>{var n=j(),r=te(),i=H(),o=Xt(),a=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||r(e,"flags")||!i(a,e)?t:n(o,e)}})),en=m(((e,t)=>{var n=b(),r=ee(),i=Math.floor,o=n("".charAt),a=n("".replace),s=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,p){var f=n+e.length,h=u.length,m=c;return void 0!==d&&(d=r(d),m=l),a(p,m,(function(r,a){var l;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,f);case"<":l=d[s(a,1,-1)];break;default:var c=+a;if(0===c)return r;if(c>h){var p=i(c/10);return 0===p?r:p<=h?void 0===u[p-1]?o(a,1):u[p-1]+o(a,1):r}l=u[c-1]}return void 0===l?"":l}))}})),tn=m((()=>{var e=ye(),t=j(),n=b(),r=x(),i=M(),o=S(),a=Kt(),s=Qt(),l=Z(),c=Jt(),u=en(),d=re(),p=K(),f=d("replace"),h=TypeError,m=n("".indexOf),g=n("".replace),v=n("".slice),y=Math.max,w=function(e,t,n){return n>e.length?-1:""===t?n:m(e,t,n)};e({target:"String",proto:!0},{replaceAll:function(e,n){var d,b,_,S,x,E,k,C,T,O=r(this),M=0,A=0,P="";if(!o(e)){if((d=a(e))&&(b=s(r(c(e))),!~m(b,"g")))throw h("`.replaceAll` does not allow non-global regexes");if(_=l(e,f))return t(_,e,O,n);if(p&&d)return g(s(O),e,n)}for(S=s(O),x=s(e),(E=i(n))||(n=s(n)),k=x.length,C=y(1,k),M=w(S,x,0);-1!==M;)T=E?s(n(x,M,S)):u(x,S,M,[],void 0,n),P+=v(S,A,M)+T,A=M+k,M=w(S,x,M+C);return A<S.length&&(P+=v(S,A)),P}})})),nn=m(((e,t)=>{Zt(),Yt(),tn();var n=Ht();t.exports=n("String","replaceAll")})),rn=m(((e,t)=>{var n=nn();t.exports=n})),on=m(((e,t)=>{var n=rn();t.exports=n})),an=((i=an||{}).STOPPED="stopped",i.READY="ready",i.PLAYING="playing",i.PAUSED="paused",i),sn=((r=sn||{}).MPEG="MPEG",r.DASH="DASH_SEP",r.DASH_SEP="DASH_SEP",r.DASH_SEP_VK="DASH_SEP",r.DASH_WEBM="DASH_WEBM",r.DASH_WEBM_AV1="DASH_WEBM_AV1",r.DASH_WEBM_VK="DASH_WEBM",r.DASH_ONDEMAND="DASH_ONDEMAND",r.DASH_ONDEMAND_VK="DASH_ONDEMAND",r.DASH_LIVE="DASH_LIVE",r.DASH_LIVE_CMAF="DASH_LIVE_CMAF",r.DASH_LIVE_WEBM="DASH_LIVE_WEBM",r.HLS="HLS",r.HLS_ONDEMAND="HLS_ONDEMAND",r.HLS_JS="HLS",r.HLS_LIVE="HLS_LIVE",r.HLS_LIVE_CMAF="HLS_LIVE_CMAF",r.WEB_RTC_LIVE="WEB_RTC_LIVE",r),ln=(e=>(e.NOT_AVAILABLE="NOT_AVAILABLE",e.AVAILABLE="AVAILABLE",e.CONNECTING="CONNECTING",e.CONNECTED="CONNECTED",e))(ln||{}),cn=((o=cn||{}).HTTP1="http1",o.HTTP2="http2",o.QUIC="quic",o),un=(e=>(e.NONE="none",e.INLINE="inline",e.FULLSCREEN="fullscreen",e.SECOND_SCREEN="second_screen",e.PIP="pip",e.INVISIBLE="invisible",e))(un||{}),dn=class{constructor(e){this.connection$=new a.v0(void 0),this.castState$=new a.v0("NOT_AVAILABLE"),this.errorEvent$=new a.xQ,this.realCastState$=new a.v0("NOT_AVAILABLE"),this.subscription=new a.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ChromecastInitializer");let t="chrome"in window;if(this.log({message:`[constructor] receiverApplicationId: ${this.params.receiverApplicationId}, isDisabled: ${this.params.isDisabled}, isSupported: ${t}`}),e.isDisabled||!t)return;let n=(0,a.C_)(window.chrome?.cast),r=!!window.__onGCastApiAvailable;var i;n?this.initializeCastApi():(window.__onGCastApiAvailable=e=>{delete window.__onGCastApiAvailable,e&&this.initializeCastApi()},r||(i="https://webcf.waybackmachine.org/web/20240801092516/https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",new Promise(((e,t)=>{let n=document.createElement("script");n.setAttribute("src",i),n.onload=()=>e,n.onerror=()=>t,document.body.appendChild(n)}))).catch((()=>this.errorEvent$.next({id:"ChromecastLoading",category:a.qj.NETWORK,message:"Script loading failed!"}))))}connect(){cast.framework.CastContext.getInstance()?.requestSession()}disconnect(){cast.framework.CastContext.getInstance()?.getCurrentSession()?.endSession(!0)}stopMedia(){return new Promise(((e,t)=>{cast.framework.CastContext.getInstance()?.getCurrentSession()?.getMediaSession()?.stop(new chrome.cast.media.StopRequest,e,t)}))}toggleConnection(){(0,a.C_)(this.connection$.getValue())?this.disconnect():this.connect()}setVolume(e){let t=this.connection$.getValue();(0,a.SG)(t)||(t.remotePlayer.volumeLevel=e,t.remotePlayerController.setVolumeLevel())}setMuted(e){let t=this.connection$.getValue();(0,a.SG)(t)||e!==t.remotePlayer.isMuted&&t.remotePlayerController.muteOrUnmute()}destroy(){this.subscription.unsubscribe()}initListeners(){let e=new cast.framework.RemotePlayer,t=new cast.framework.RemotePlayerController(e),n=cast.framework.CastContext.getInstance();this.subscription.add((0,a.RB)(n,cast.framework.CastContextEventType.SESSION_STATE_CHANGED).subscribe((e=>{switch(e.sessionState){case cast.framework.SessionState.SESSION_STARTED:case cast.framework.SessionState.SESSION_STARTING:case cast.framework.SessionState.SESSION_RESUMED:this.contentId=n.getCurrentSession()?.getMediaSession()?.media.contentId;break;case cast.framework.SessionState.NO_SESSION:case cast.framework.SessionState.SESSION_ENDING:case cast.framework.SessionState.SESSION_ENDED:case cast.framework.SessionState.SESSION_START_FAILED:this.contentId=void 0;break;default:return(0,a.vE)(e.sessionState)}}))).add((0,a.TS)((0,a.RB)(n,cast.framework.CastContextEventType.CAST_STATE_CHANGED).pipe((0,a.bw)((e=>{this.log({message:`[cast.framework.RemotePlayerEventType.CAST_STATE_CHANGED]: ${JSON.stringify(e)}`})})),(0,a.UI)((e=>e.castState))),(0,a.$T)([n.getCastState()])).pipe((0,a.qz)(),(0,a.UI)(pn),(0,a.bw)((e=>{this.log({message:`realCastState$: ${e}`})}))).subscribe(this.realCastState$)).add(this.realCastState$.subscribe((r=>{let i="CONNECTED"===r,o=(0,a.C_)(this.connection$.getValue());if(i&&!o){let r=n.getCurrentSession();(0,a.Z3)(r);let i=r.getCastDevice(),o=r.getMediaSession()?.media.contentId;((0,a.SG)(o)||o===this.contentId)&&(this.log({message:"connection created"}),this.connection$.next({remotePlayer:e,remotePlayerController:t,session:r,castDevice:i}))}else!i&&o&&(this.log({message:"connection destroyed"}),this.connection$.next(void 0));this.castState$.next("CONNECTED"===r?(0,a.C_)(this.connection$.getValue())?"CONNECTED":"AVAILABLE":r)})))}initializeCastApi(){let e,t,n;try{e=cast.framework.CastContext.getInstance(),t=chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,n=chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED}catch{return}try{e.setOptions({receiverApplicationId:this.params.receiverApplicationId??t,autoJoinPolicy:n}),this.initListeners()}catch(e){this.errorEvent$.next({id:"ChromecastInitializer",category:a.qj.EXTERNAL_API,message:"[initializeCastApi] failed",thrown:e})}}},pn=e=>{switch(e){case cast.framework.CastState.NO_DEVICES_AVAILABLE:return"NOT_AVAILABLE";case cast.framework.CastState.NOT_CONNECTED:return"AVAILABLE";case cast.framework.CastState.CONNECTING:return"CONNECTING";case cast.framework.CastState.CONNECTED:return"CONNECTED";default:return(0,a.vE)(e)}},fn=g(it(),1),hn=g(Ut(),1),mn=(e,t=0,n=0)=>{switch(n){case 0:return e.replace("_offset_p",0===t?"":"_"+t.toFixed(0));case 1:{if(0===t)return e;let n=new URL(e);return n.searchParams.append("playback_shift",t.toFixed(0)),n.toString()}case 2:{let n=new URL(e);return n.searchParams.get("offset_p")||0!==t?(n.searchParams.set("offset_p",t.toFixed(0)),n.toString()):e}default:(0,a.vE)(n)}return e},gn=(e,t)=>{switch(t){case 0:return NaN;case 1:{let t=new URL(e);return Number(t.searchParams.get("playback_shift"))}case 2:{let t=new URL(e);return Number(t.searchParams.get("offset_p")??0)}default:(0,a.vE)(t)}},vn=(e,t,n=!1)=>{let r=e.getTransition();(n||!r||r.to===t)&&e.setState(t)},yn=class{constructor(e){this.transitionStarted$=new a.xQ,this.transitionEnded$=new a.xQ,this.transitionUpdated$=new a.xQ,this.forceChanged$=new a.xQ,this.stateChangeStarted$=(0,a.TS)(this.transitionStarted$,this.transitionUpdated$),this.stateChangeEnded$=(0,a.TS)(this.transitionEnded$,this.forceChanged$),this.state=e,this.prevState=void 0}setState(e){let t=this.transition,n=this.state;this.transition=void 0,this.prevState=n,this.state=e,t?t.to===e?this.transitionEnded$.next(t):this.forceChanged$.next({from:t.from,to:e,canceledTransition:t}):this.forceChanged$.next({from:n,to:e,canceledTransition:t})}startTransitionTo(e){let t=this.transition,n=this.state;n===e||(0,a.C_)(t)&&t.to===e||(this.prevState=n,this.state=e,t?(this.transition={from:t.from,to:e,canceledTransition:t},this.transitionUpdated$.next(this.transition)):(this.transition={from:n,to:e},this.transitionStarted$.next(this.transition)))}getTransition(){return this.transition}getState(){return this.state}getPrevState(){return this.prevState}},bn=class{constructor(e){this.subscription=new a.w0,this.loadMediaTimeoutSubscription=new a.w0,this.videoState=new yn("stopped"),this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.playbackState.getState(),r=this.params.desiredState.playbackState.getTransition(),i=this.params.desiredState.seekState.getState();if(this.log({message:`[syncPlayback] videoState: ${e}; videoTransition: ${JSON.stringify(t)}; desiredPlaybackState: ${n}; desiredPlaybackStateTransition: ${this.params.desiredState.playbackState.getTransition()}; seekState: ${JSON.stringify(i)};`}),"stopped"!==n){if(!t){if("paused"!==r?.to&&"requested"===i.state&&"stopped"!==e)return void this.seek(i.position/1e3);switch(n){case"ready":switch(e){case"playing":case"paused":case"ready":break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,a.vE)(e)}break;case"playing":switch(e){case"playing":break;case"paused":case"ready":this.videoState.startTransitionTo("playing"),this.params.connection.remotePlayerController.playOrPause();break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,a.vE)(e)}break;case"paused":switch(e){case"playing":this.videoState.startTransitionTo("paused"),this.params.connection.remotePlayerController.playOrPause();break;case"paused":break;case"ready":this.videoState.startTransitionTo("paused"),this.videoState.setState("paused");break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,a.vE)(e)}break;default:(0,a.vE)(n)}}}else"stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.stop())},this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ChromecastProvider"),this.log({message:`constructor, format: ${e.format}`}),this.params.output.isLive$.next((e=>{switch(e){case"MPEG":case"DASH_SEP":case"DASH_ONDEMAND":case"DASH_WEBM":case"DASH_WEBM_AV1":case"HLS":case"HLS_ONDEMAND":return!1;case"DASH_LIVE":case"DASH_LIVE_CMAF":case"HLS_LIVE":case"HLS_LIVE_CMAF":case"DASH_LIVE_WEBM":case"WEB_RTC_LIVE":return!0;default:return(0,a.vE)(e)}})(e.format)),this.params.output.isAudioAvailable$.next(!0),this.handleRemoteVolumeChange({volume:this.params.connection.remotePlayer.volumeLevel,muted:this.params.connection.remotePlayer.isMuted});let t=this.params.connection.session.getMediaSession();t&&this.restoreSession(t),this.subscribe()}destroy(){this.log({message:"[destroy]"}),this.subscription.unsubscribe()}subscribe(){this.subscription.add(this.loadMediaTimeoutSubscription);let e=new a.w0;this.subscription.add(e),this.subscription.add((0,a.TS)(this.videoState.stateChangeStarted$.pipe((0,a.UI)((e=>`stateChangeStarted$ ${JSON.stringify(e)}`))),this.videoState.stateChangeEnded$.pipe((0,a.UI)((e=>`stateChangeEnded$ ${JSON.stringify(e)}`)))).subscribe((e=>this.log({message:`[videoState] ${e}`}))));let t=(e,t)=>this.subscription.add(e.subscribe(t));if(this.params.output.isLive$.getValue())this.params.output.position$.next(0),this.params.output.duration$.next(0);else{let t=new a.xQ;e.add(t.pipe((0,a.Ds)(500)).subscribe((()=>{this.params.output.seekedEvent$.next()})));let n=NaN;e.add((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.CURRENT_TIME_CHANGED).subscribe((e=>{this.logRemoteEvent(e);let r=e.value;this.params.output.position$.next(r),("applying"===this.params.desiredState.seekState.getState().state||Math.abs(r-n)>5)&&t.next(r),n=r}))),e.add((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.DURATION_CHANGED).subscribe((e=>{this.logRemoteEvent(e),this.params.output.duration$.next(e.value)})))}t((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_MEDIA_LOADED_CHANGED),(t=>{this.logRemoteEvent(t),t.value?this.handleRemoteReady():(this.handleRemoteStop(),e.unsubscribe())})),t((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_PAUSED_CHANGED),(e=>{this.logRemoteEvent(e),e.value?this.handleRemotePause():this.handleRemotePlay()})),t((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.PLAYER_STATE_CHANGED),(e=>{this.logRemoteEvent(e);let{remotePlayer:t}=this.params.connection,n=e.value,r=this.params.output.isBuffering$.getValue(),i=n===chrome.cast.media.PlayerState.BUFFERING;switch(r!==i&&this.params.output.isBuffering$.next(i),n){case chrome.cast.media.PlayerState.IDLE:!this.params.output.isLive$.getValue()&&t.duration-t.currentTime<5&&this.params.output.endedEvent$.next(),this.handleRemoteStop(),vn(this.params.desiredState.playbackState,"stopped");break;case chrome.cast.media.PlayerState.PAUSED:this.handleRemotePause();break;case chrome.cast.media.PlayerState.PLAYING:this.handleRemotePlay();break;case chrome.cast.media.PlayerState.BUFFERING:break;default:(0,a.vE)(n)}})),t((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.VOLUME_LEVEL_CHANGED),(e=>{this.logRemoteEvent(e),this.handleRemoteVolumeChange({volume:e.value})})),t((0,a.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_MUTED_CHANGED),(e=>{this.logRemoteEvent(e),this.handleRemoteVolumeChange({muted:e.value})})),t((0,a.TS)(this.params.desiredState.playbackState.stateChangeStarted$,this.params.desiredState.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0)),this.syncPlayback)}restoreSession(e){this.log({message:"restoreSession"});let{remotePlayer:t}=this.params.connection;if(e.playerState!==chrome.cast.media.PlayerState.IDLE){t.isPaused?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):(this.videoState.setState("playing"),vn(this.params.desiredState.playbackState,"playing"));let e=this.params.output.isLive$.getValue();this.params.output.duration$.next(e?0:t.duration),this.params.output.position$.next(e?0:t.currentTime),this.params.desiredState.seekState.setState({state:"none"})}}prepare(){let e=this.params.format;this.log({message:`[prepare] format: ${e}`});let t=this.createMediaInfo(e),n=this.createLoadRequest(t);this.loadMedia(n)}handleRemotePause(){let e=this.videoState.getState();("paused"===this.videoState.getTransition()?.to||"playing"===e)&&(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused"))}handleRemotePlay(){let e=this.videoState.getState();("playing"===this.videoState.getTransition()?.to||"paused"===e)&&(this.videoState.setState("playing"),vn(this.params.desiredState.playbackState,"playing"))}handleRemoteReady(){"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready"),"ready"===this.params.desiredState.playbackState.getTransition()?.to&&vn(this.params.desiredState.playbackState,"ready")}handleRemoteStop(){"stopped"!==this.videoState.getState()&&this.videoState.setState("stopped")}handleRemoteVolumeChange(e){let t=this.params.output.volume$.getValue(),n={volume:e.volume??t.volume,muted:e.muted??t.muted};(n.volume!==t.volume||n.muted!=n.muted)&&this.params.output.volume$.next(n)}seek(e){this.params.output.willSeekEvent$.next();let{remotePlayer:t,remotePlayerController:n}=this.params.connection;t.currentTime=e,n.seek()}stop(){let{remotePlayerController:e}=this.params.connection;e.stop()}createMediaInfo(e){let t,n,r,i=this.params.source;switch(e){case"MPEG":{let o=i[e];(0,a.Z3)(o);let s=(0,a.IX)(Object.keys(o));(0,a.Z3)(s);let l=o[s];(0,a.Z3)(l),t=l,n="video/mp4",r=chrome.cast.media.StreamType.BUFFERED;break}case"HLS":case"HLS_ONDEMAND":{let o=i[e];(0,a.Z3)(o),t=o.url,n="application/x-mpegurl",r=chrome.cast.media.StreamType.BUFFERED;break}case"DASH_SEP":case"DASH_ONDEMAND":case"DASH_WEBM":case"DASH_WEBM_AV1":{let o=i[e];(0,a.Z3)(o),t=o.url,n="application/dash+xml",r=chrome.cast.media.StreamType.BUFFERED;break}case"DASH_LIVE_CMAF":{let o=i[e];(0,a.Z3)(o),t=o.url,n="application/dash+xml",r=chrome.cast.media.StreamType.LIVE;break}case"HLS_LIVE":case"HLS_LIVE_CMAF":{let o=i[e];(0,a.Z3)(o),t=mn(o.url),n="application/x-mpegurl",r=chrome.cast.media.StreamType.LIVE;break}case"DASH_LIVE":case"WEB_RTC_LIVE":{let e="Unsupported format for Chromecast",t=new Error(e);throw this.params.output.error$.next({id:"ChromecastProvider.createMediaInfo()",category:a.qj.VIDEO_PIPELINE,message:e,thrown:t}),t}case"DASH_LIVE_WEBM":throw new Error("DASH_LIVE_WEBM is no longer supported");default:return(0,a.vE)(e)}let o=new chrome.cast.media.MediaInfo(this.params.meta.videoId??t,n);o.contentUrl=t,o.streamType=r,o.metadata=new chrome.cast.media.GenericMediaMetadata;let{title:s,subtitle:l}=this.params.meta;return(0,a.C_)(s)&&(o.metadata.title=s),(0,a.C_)(l)&&(o.metadata.subtitle=l),o}createLoadRequest(e){let t=new chrome.cast.media.LoadRequest(e);t.autoplay=!1;let n=this.params.desiredState.seekState.getState();return"applying"===n.state||"requested"===n.state?t.currentTime=this.params.output.isLive$.getValue()?0:n.position/1e3:t.currentTime=0,t}loadMedia(e){let t=this.params.connection.session.loadMedia(e),n=new Promise(((e,t)=>{this.loadMediaTimeoutSubscription.add((0,a.Vs)(7e3).subscribe((()=>t("timeout(7000)"))))}));(0,hn.default)(Promise.race([t,n]).then((()=>{this.log({message:`[loadMedia] completed, format: ${this.params.format}`}),"applying"===this.params.desiredState.seekState.getState().state&&this.params.output.seekedEvent$.next(),this.handleRemoteReady()}),(e=>{let t=`[prepare] loadMedia failed, format: ${this.params.format}, reason: ${e}`;this.log({message:t}),this.params.output.error$.next({id:"ChromecastProvider.loadMedia",category:a.qj.VIDEO_PIPELINE,message:t,thrown:e})})),(()=>{this.loadMediaTimeoutSubscription.unsubscribe()}))}logRemoteEvent(e){this.log({message:`[remoteEvent] ${JSON.stringify(e)}`})}},wn=e=>{e.removeAttribute("src"),e.load()},_n=window.WeakMap?new WeakMap:new class{constructor(){this.attribute="data-pool-reused"}get(e){return e.hasAttribute(this.attribute)}set(e,t){e.toggleAttribute(this.attribute,t)}delete(e){e.removeAttribute(this.attribute)}},Sn=e=>{let t=e.querySelector("video"),n=!!t;return t?wn(t):(t=document.createElement("video"),e.appendChild(t)),_n.set(t,n),t.setAttribute("crossorigin","anonymous"),t.setAttribute("playsinline","playsinline"),t.controls=!1,t.setAttribute("poster","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="),t},xn=e=>{let t=_n.get(e);_n.delete(e),t?wn(e):(e=>{try{e.pause(),e.playbackRate=0,wn(e),e.remove()}catch(e){l.error(e)}})(e)},En=(e,t,n,{equal:r=((e,t)=>e===t),changed$:i,onError:o}={})=>{let s=e.getState(),l=t(),c=(0,a.SG)(i),u=new a.w0;return i&&u.add(i.subscribe((t=>{let n=e.getState();r(t,n)&&e.setState(t)}),o)),r(l,s)||(n(s),c&&e.setState(s)),u.add(e.stateChangeStarted$.subscribe((t=>{n(t.to),c&&e.setState(t.to)}),o)),u},kn=(e,t,n)=>En(t,(()=>e.loop),(t=>{(0,a.C_)(t)&&(e.loop=t)}),{onError:n}),Cn=(e,t,n,r)=>En(t,(()=>({muted:e.muted,volume:e.volume})),(t=>{(0,a.C_)(t)&&(e.muted=t.muted,e.volume=t.volume)}),{equal:(e,t)=>e===t||e?.muted===t?.muted&&e?.volume===t?.volume,changed$:n,onError:r}),Tn=(e,t,n,r)=>En(t,(()=>e.playbackRate),(t=>{(0,a.C_)(t)&&(e.playbackRate=t)}),{changed$:n,onError:r}),On=/^(3633|7058)$/.test(n.j)?En:null,Mn=(e,t)=>{if(e.id===t)return!0;let[n,r,i]=t.split("|");return e.language===r&&e.label===i},An=/^(3633|7058)$/.test(n.j)?class e{constructor(){this.available$=new a.xQ,this.current$=new a.v0(void 0),this.error$=new a.xQ,this.subscription=new a.w0,this.externalTracks=new Map,this.internalTracks=new Map}connect(e,t,n){this.video=e,this.cueSettings=t.textTrackCuesSettings,this.subscribe();let r=e=>{this.error$.next({id:"TextTracksManager",category:a.qj.WTF,message:"Generic HtmlVideoTextTrackManager error",thrown:e})};this.subscription.add(this.available$.subscribe(n.availableTextTracks$)),this.subscription.add(this.current$.subscribe(n.currentTextTrack$)),this.subscription.add(this.error$.subscribe(n.error$)),this.subscription.add(On(t.internalTextTracks,(()=>Object.values(this.internalTracks)),(e=>{(0,a.C_)(e)&&this.setInternal(e)}),{equal:(e,t)=>(0,a.C_)(e)&&(0,a.C_)(t)&&e.length===t.length&&e.every((({id:e},n)=>e===t[n].id)),changed$:this.available$.pipe((0,a.UI)((e=>e.filter((({type:e})=>"internal"===e))))),onError:r})),this.subscription.add(On(t.externalTextTracks,(()=>Object.values(this.externalTracks)),(e=>{(0,a.C_)(e)&&this.setExternal(e)}),{equal:(e,t)=>(0,a.C_)(e)&&(0,a.C_)(t)&&e.length===t.length&&e.every((({id:e},n)=>e===t[n].id)),changed$:this.available$.pipe((0,a.UI)((e=>e.filter((({type:e})=>"external"===e))))),onError:r})),this.subscription.add(On(t.currentTextTrack,(()=>{if(this.video)return;let e=this.htmlTextTracksAsArray().find((({mode:e})=>"showing"===e));return e&&this.htmlTextTrackToITextTrack(e).id}),(e=>this.select(e)),{changed$:this.current$,onError:r})),this.subscription.add(On(t.textTrackCuesSettings,(()=>({})),(()=>{if(this.video)for(let e of this.htmlTextTracksAsArray())this.applyCueSettings(e.cues),this.applyCueSettings(e.activeCues)})))}subscribe(){(0,a.Z3)(this.video);let{textTracks:e}=this.video;this.subscription.add((0,a.RB)(e,"addtrack").subscribe((()=>{let e=this.current$.getValue();e&&this.select(e)}))),this.subscription.add((0,a.TS)((0,a.RB)(e,"addtrack"),(0,a.RB)(e,"removetrack"),(0,a.$T)(["init"])).pipe((0,a.UI)((()=>this.htmlTextTracksAsArray().map((e=>this.htmlTextTrackToITextTrack(e))))),(0,a.qz)(((e,t)=>e.length===t.length&&e.every((({id:e},n)=>e===t[n].id))))).subscribe(this.available$)),this.subscription.add((0,a.TS)((0,a.RB)(e,"change"),(0,a.$T)(["init"])).pipe((0,a.UI)((()=>this.htmlTextTracksAsArray().find((({mode:e})=>"showing"===e)))),(0,a.UI)((e=>e&&this.htmlTextTrackToITextTrack(e).id)),(0,a.qz)()).subscribe(this.current$));let t=e=>this.applyCueSettings(e.target?.activeCues??null);this.subscription.add((0,a.RB)(e,"addtrack").subscribe((e=>{e.track?.addEventListener("cuechange",t);let n=e=>{let t=e.target?.cues??null;t&&t.length&&(this.applyCueSettings(e.target?.cues??null),e.target?.removeEventListener("cuechange",n))};e.track?.addEventListener("cuechange",n)}))),this.subscription.add((0,a.RB)(e,"removetrack").subscribe((e=>{e.track?.removeEventListener("cuechange",t)})))}applyCueSettings(e){if(!e||!e.length)return;let t=this.cueSettings.getState();for(let n of Array.from(e)){let e=n;(0,a.C_)(t.align)&&(e.align=t.align),(0,a.C_)(t.position)&&(e.position=t.position),(0,a.C_)(t.size)&&(e.size=t.size),(0,a.C_)(t.line)&&(e.line=t.line)}}htmlTextTracksAsArray(t=!1){(0,a.Z3)(this.video);let n=[...this.video.textTracks];return t?n:n.filter(e.isHealthyTrack)}htmlTextTrackToITextTrack(e){let{language:t,label:n}=e,r=e.id?e.id:(e=>["__",e.language,e.label].join("|"))(e),i=this.externalTracks.has(r),o=r.includes("auto");return i?{id:r,type:"external",isAuto:o,language:t,label:n,url:this.externalTracks.get(r)?.url}:{id:r,type:"internal",isAuto:o,language:t,label:n,url:this.internalTracks.get(r)?.url}}static isHealthyTrack(e){return!("metadata"===e.kind||e.groupId||""===e.id&&""===e.label&&""===e.language)}setExternal(e){this.internalTracks.size>0&&Array.from(this.internalTracks).forEach((([,e])=>this.detach(e))),e.filter((({id:e})=>!this.externalTracks.has(e))).forEach((e=>this.attach(e))),Array.from(this.externalTracks).filter((([t])=>!e.find((e=>e.id===t)))).forEach((([,e])=>this.detach(e)))}setInternal(e){let t=[...this.externalTracks];e.filter((({id:e,language:n,isAuto:r})=>!this.internalTracks.has(e)&&!t.some((([,e])=>e.language===n&&e.isAuto===r)))).forEach((e=>this.attach(e))),Array.from(this.internalTracks).filter((([t])=>!e.find((e=>e.id===t)))).forEach((([,e])=>this.detach(e)))}select(e){(0,a.Z3)(this.video);for(let e of this.htmlTextTracksAsArray(!0))e.mode="showing";for(let t of this.htmlTextTracksAsArray(!0))((0,a.SG)(e)||!Mn(t,e))&&(t.mode="disabled")}destroy(){if(this.subscription.unsubscribe(),this.video)for(let e of Array.from(this.video.getElementsByTagName("track"))){let t=e.getAttribute("id");t&&this.externalTracks.has(t)&&this.video.removeChild(e)}this.externalTracks.clear()}attach(e){(0,a.Z3)(this.video);let t=document.createElement("track");t.setAttribute("src",e.url),t.setAttribute("id",e.id),e.label&&t.setAttribute("label",e.label),e.language&&t.setAttribute("srclang",e.language),"external"===e.type?this.externalTracks.set(e.id,e):"internal"===e.type&&this.internalTracks.set(e.id,e),this.video.appendChild(t)}detach(e){(0,a.Z3)(this.video);let t=Array.prototype.find.call(this.video.getElementsByTagName("track"),(t=>t.getAttribute("id")===e.id));t&&this.video.removeChild(t),"external"===e.type?this.externalTracks.delete(e.id):"internal"===e.type&&this.internalTracks.delete(e.id)}}:null,Pn=class{constructor(){this.pausedTime=0,this.streamOffset=0,this.pauseTimestamp=0}getTotalPausedTime(){return this.pausedTime+this.getCurrentPausedTime()}getCurrentPausedTime(){return this.pauseTimestamp>0?Date.now()-this.pauseTimestamp:0}getStreamOffset(){return this.streamOffset}getTotalOffset(){return this.getTotalPausedTime()+this.streamOffset}pause(){0===this.pauseTimestamp&&(this.pauseTimestamp=Date.now())}resume(){this.pauseTimestamp>0&&(this.pausedTime+=this.getCurrentPausedTime(),this.pauseTimestamp=0)}resetTo(e,t=!1){this.streamOffset=e,this.pauseTimestamp=0,this.pausedTime=0,t&&this.pause()}},Ln=e=>{let t=e;for(;!(t instanceof Document||t instanceof ShadowRoot||null===t);)t=t?.parentNode;return t??void 0},Dn=e=>{let t=Ln(e);return!(!t||!t.fullscreenElement||t.fullscreenElement!==e)},Rn=e=>{let t,n=t=>(0,a.RB)(e,t).pipe((0,a.CB)(void 0)),r=(0,a.TS)(...["waiting","pause","canplay","play","canplaythrough","playing","seeking","seeked","ended"].map((t=>(0,a.RB)(e,t)))).pipe((0,a.UI)((t=>"ended"===t.type?e.readyState<2:e.readyState<3)),(0,a.qz)()),i=(0,a.TS)((0,a.RB)(e,"progress"),(0,a.RB)(e,"timeupdate")).pipe((0,a.UI)((()=>((e,t,n=3)=>{let r=0,i=0;for(let o=0;o<e.length;o++){let a=e.start(o),s=e.end(o);if(a<=t&&t<=s){if(r=a,i=s,!n)return{from:r,to:i};for(let t=o-1;t>=0;t--)e.end(t)+n>=r&&(r=e.start(t));for(let t=o+1;t<e.length;t++)e.start(t)-n<=i&&(i=e.end(t))}}return{from:r,to:i}})(e.buffered,e.currentTime)))),o=(0,a.G4)().browser===a.Ln.Safari?(0,a.$e)({play:n("play").pipe((0,a.IH)()),playing:n("playing")}).pipe((0,a.CB)(void 0)):n("playing"),s=(0,a.RB)(e,"volumechange").pipe((0,a.UI)((()=>({muted:e.muted,volume:e.volume})))),l=(0,a.RB)(e,"ratechange").pipe((0,a.UI)((()=>e.playbackRate))),c=(0,a.RB)(e,"error").pipe((0,a.hX)((()=>!(!e.error&&!e.played.length))),(0,a.UI)((()=>{let t=e.error;return{id:t?`MediaError#${t.code}`:"HtmlVideoError",category:a.qj.VIDEO_PIPELINE,message:t?t.message:"Error event from HTML video element",thrown:e.error??void 0}}))),u=(0,a.RB)(e,"timeupdate").pipe((0,a.UI)((()=>e.currentTime))),d=new a.xQ;u.subscribe((n=>{e.loop&&(0,a.C_)(t)&&(0,a.C_)(n)&&t>=e.duration-.3&&n<=.3&&d.next(t),t=n}));let p=(0,a.RB)(e,"enterpictureinpicture"),f=(0,a.RB)(e,"leavepictureinpicture"),h=new a.v0((e=>{let t=Ln(e);return!(!t||!t.pictureInPictureElement||t.pictureInPictureElement!==e)})(e));p.subscribe((()=>h.next(!0))),f.subscribe((()=>h.next(!1)));let m=new a.v0(Dn(e));return(0,a.RB)(e,"fullscreenchange").pipe((0,a.UI)((()=>Dn(e)))).subscribe(m),{playing$:o,pause$:n("pause").pipe((0,a.hX)((()=>!e.error))),canplay$:n("canplay"),ended$:n("ended"),looped$:d,error$:c,seeked$:n("seeked"),seeking$:n("seeking"),progress$:n("progress"),loadStart$:n("loadstart"),loadedMetadata$:n("loadedmetadata"),loadedData$:n("loadeddata"),timeUpdate$:u,durationChange$:(0,a.RB)(e,"durationchange").pipe((0,a.UI)((()=>e.duration))),isBuffering$:r,currentBuffer$:i,volumeState$:s,playbackRateState$:l,inPiP$:h,inFullscreen$:m}},In=e=>{switch(e){case"mobile":return a.SF.Q_144P;case"lowest":return a.SF.Q_240P;case"low":return a.SF.Q_360P;case"sd":case"medium":return a.SF.Q_480P;case"hd":case"high":return a.SF.Q_720P;case"fullhd":case"full":return a.SF.Q_1080P;case"quadhd":case"quad":return a.SF.Q_1440P;case"ultrahd":case"ultra":return a.SF.Q_2160P}},Nn=g(Wt(),1),jn=!1,Bn={},Fn=e=>{e(Bn)},Hn=(e,t)=>{jn&&(Bn.meta=Bn.meta??{},Bn.meta[e]=t)},zn=class{constructor(e){this.name=e}next(e){if(!jn)return;Bn.series=Bn.series??{};let t=Bn.series[this.name]??[];t.push([Date.now(),e]),Bn.series[this.name]=t}},Vn=new zn("best_bitrate"),Un=class{constructor(){this.history={}}recordSelection(e){this.history[e.id]=(0,a.zO)()}recordSwitch(e){this.last=e}clear(){this.last=void 0,this.history={}}},$n=/^(3633|7058)$/.test(n.j)?(e,{container:t,throughput:n,tuning:r,limits:i,reserve:o=0,forwardBufferHealth:s,playbackRate:l,current:c,history:u,droppedVideoMaxQualityLimit:d,abrLogger:p})=>{(0,a.Uu)(e,'Assertion "ABR Tracks is empty array" failed');let f=r.usePixelRatio?window.devicePixelRatio??1:1,h=r.limitByContainer&&t&&t.width>0&&t.height>0&&{width:t.width*f*r.containerSizeFactor,height:t.height*f*r.containerSizeFactor},m=h&&(0,a.fh)(h),g=r.considerPlaybackRate&&(0,a.C_)(l)?l:1,v=e.filter((e=>!(0,a.fP)(e.quality))).sort(((e,t)=>(0,a.t3)(e.quality,t.quality)?-1:1)),y=(0,Nn.default)(v,-1)?.quality,b=(0,Nn.default)(v,0)?.quality,w=(0,a.SG)(i)||(0,a.C_)(i.min)&&(0,a.C_)(i.max)&&(0,a.Ex)(i.max,i.min)||(0,a.C_)(i.min)&&b&&(0,a.t3)(i.min,b)||(0,a.C_)(i.max)&&y&&(0,a.Ex)(i.max,y),_=g*((e,t,n)=>(t-n)*Math.pow(2,-10*e)+n)(s??.5,r.bitrateFactorAtEmptyBuffer,r.bitrateFactorAtFullBuffer),S={},x=v.filter((e=>!m||(0,a.Ex)(e.quality,m)?!((0,a.C_)(n)&&isFinite(n)&&(0,a.C_)(e.bitrate))||n-o>=e.bitrate*_?r.lazyQualitySwitch&&(0,a.C_)(r.minBufferToSwitchUp)&&c&&!(0,a.fP)(c.quality)&&(s??0)<r.minBufferToSwitchUp&&(0,a.t3)(e.quality,c.quality)?(S[e.quality]="Buffer",!1):d&&(0,a.T8)(e.quality,d)?(S[e.quality]="DroppedFramesLimit",!1):!!(w||((0,a.SG)(i.max)||(0,a.zE)(e.quality,i.max))&&((0,a.SG)(i.min)||(0,a.T8)(e.quality,i.min)))||(S[e.quality]="FitsQualityLimits",!1):(S[e.quality]="FitsThroughput",!1):(S[e.quality]="FitsContainer",!1)))[0];x&&x.bitrate&&Vn.next(x.bitrate);let E=x??v[Math.ceil((v.length-1)/2)]??e[0];E.quality!==u?.last?.quality&&p({message:`\n [available tracks]\n\t${e.map((e=>`{ id: ${e.id}, quality: ${e.quality}, bitrate: ${e.bitrate} }`)).join("\n\t")}\n\n [tuning]\n\t${Object.entries(r??{}).map((([e,t])=>`${e}: ${t}`)).join("\n\t")}\n\n [limit params]\n containerQualityLimit: ${m},\n throughput: ${n},\n reserve: ${o},\n playbackRate: ${l},\n playbackRateFactor: ${g},\n forwardBufferHealth: ${s},\n bitrateFactor: ${_},\n minBufferToSwitchUp: ${r.minBufferToSwitchUp},\n droppedVideoMaxQualityLimit: ${d},\n limitsAreInvalid: ${w},\n maxQualityLimit: ${i?.max},\n minQualityLimit: ${i?.min},\n\n [limited tracks]\n ${Object.entries(S).map((([e,t])=>`${e}: ${t}`)).join("\n\t")||"All tracks are available"}\n\n [best track] ${x?.quality}\n [selected track] ${E?.quality}\n `});let k=E&&u&&u.history[E.id]&&(0,a.zO)()-u.history[E.id]<=r.trackCooldown&&(!u.last||E.id!==u.last.id);if(E?.id&&u&&!k&&u.recordSelection(E),k&&u?.last){let e=u.last;return u?.recordSwitch(e),p({message:`\n [last selected] ${e?.quality}\n `}),e}return u?.recordSwitch(E),E}:null,Gn=e=>new URL(e).hostname,qn=e=>{if(e instanceof DOMException&&["Failed to load because no supported source was found.","The element has no supported sources."].includes(e.message))throw e;return!(e instanceof DOMException&&(20===e.code||"AbortError"===e.name))},Wn=async e=>{let t=e.muted;try{await e.play()}catch(n){if(!qn(n))return!1;if(t)return l.warn(n),!1;e.muted=!0;try{await e.play()}catch(t){return qn(t)&&(e.muted=!1,l.warn(t)),!1}}return!0};function Zn(){return(0,a.zO)()}function Yn(e){return Zn()-e}function Kn(e){let t=e.split("/"),n=t.slice(0,t.length-1).join("/"),r=/^([a-z]+:)?\/\//i;return{resolve:(e,t,i=!1)=>{(e=>r.test(e))(e)||(e.startsWith("/")||(e="/"+e),e=n+e);let o=e.indexOf("?")>-1?"&":"?";return i&&(e+=o+"lowLat=1",o="&"),t&&(e+=o+"_rnd="+Math.floor(999999999*Math.random())),e}}}function Qn(e,t,n,r){let i,o,s,l,c,u=window.XMLHttpRequest,d=!1,p=0,f=!1,h="arraybuffer",m=7e3,g=2e3,v=()=>{if(d)return;(0,a.Z3)(l);let e,t=Yn(l);if(t<g)return e=g-t,void setTimeout(v,e);g*=2,g>m&&(g=m),o&&o.abort(),o=new u,b()},y=()=>{if(!d){if(--p>=0)return v(),void(r&&r());d=!0,c&&c(),n&&n()}},b=()=>{l=Zn(),o=new u,o.open("get",e);let n,r=0,p=0,m=()=>((0,a.Z3)(l),Math.max(l,Math.max(n||0,p||0)));if(i&&o.addEventListener("progress",(e=>{let t=Zn();i.updateChunk&&e.loaded>r&&(i.updateChunk(m(),e.loaded-r),r=e.loaded,n=t)})),s&&(o.timeout=s,o.addEventListener("timeout",(()=>y()))),o.addEventListener("load",(()=>{if(d)return;(0,a.Z3)(o);let e=o.status;if(e>=200&&e<300){if(o.response.byteLength&&i){let e=o.response.byteLength-r;e&&i.updateChunk&&i.updateChunk(m(),e)}"json"!==o.responseType||Object.values(o.response).length?(c&&c(),t(o.response)):y()}else y()})),o.addEventListener("error",(()=>{y()})),f){let e=()=>{(0,a.Z3)(o),o.readyState===XMLHttpRequest.HEADERS_RECEIVED&&(p=Zn(),o.removeEventListener("readystatechange",e))};o.addEventListener("readystatechange",e)}return o.responseType=h,o.send(),w},w={withBitrateReporting:e=>(i=e,w),withParallel:e=>(f=e,w),withJSONResponse:()=>(h="json",w),withRetryCount:e=>(p=e,w),withRetryInterval:(e,t)=>((0,a.C_)(e)&&(g=e),(0,a.C_)(t)&&(m=t),w),withTimeout:e=>(s=e,w),withFinally:e=>(c=e,w),send:b,abort:()=>{o&&(o.abort(),o=void 0),d=!0,c&&c()}};return w}var Xn=class{constructor(e){this.intervals=[],this.currentRate=0,this.logger=e}_updateRate(e){let t=.2;this.currentRate&&(e<.1*this.currentRate?t=.8:e<.5*this.currentRate?t=.5:e<.7*this.currentRate&&(t=.3)),e=Math.max(1,Math.min(e,104857600)),this.currentRate=this.currentRate?this.currentRate*(1-t)+e*t:e}_createInterval(e,t,n){return{start:e,end:t,bytes:n}}_doMergeIntervals(e,t){e.start=Math.min(t.start,e.start),e.end=Math.max(t.end,e.end),e.bytes+=t.bytes}_mergeIntervals(e,t){return e.start<=t.end&&t.start<=e.end&&(this._doMergeIntervals(e,t),!0)}_flushIntervals(){if(!this.intervals.length)return!1;let e=this.intervals[0].start,t=this.intervals[this.intervals.length-1].end-500;if(t-e>2e3){let n=0,r=0;for(;this.intervals.length>0;){let e=this.intervals[0];if(e.end<=t)n+=e.end-e.start,r+=e.bytes,this.intervals.splice(0,1);else{if(e.start>=t)break;{let i=t-e.start,o=e.end-e.start;n+=i;let a=e.bytes*i/o;r+=a,e.start=t,e.bytes-=a}}}if(r>0&&n>0){let i=8*r/(n/1e3);return this._updateRate(i),this.logger(`rate updated, new=${Math.round(i/1024)}K; average=${Math.round(this.currentRate/1024)}K bytes/ms=${Math.round(r)}/${Math.round(n)} interval=${Math.round(t-e)}`),!0}}return!1}_joinIntervals(){let e;do{e=!1;for(let t=0;t<this.intervals.length-1;++t)this._mergeIntervals(this.intervals[t],this.intervals[t+1])&&(this.intervals.splice(t+1,1),e=!0)}while(e)}addInterval(e,t,n){return this.intervals.push(this._createInterval(e,t,n)),this._joinIntervals(),this.intervals.length>100&&(this.logger(`too many intervals (${this.intervals.length}); will merge`,{type:"warn"}),this._doMergeIntervals(this.intervals[1],this.intervals[0]),this.intervals.splice(0,1)),this._flushIntervals()}getBitRate(){return this.currentRate}},Jn=class{constructor(e,t,n,r,i){this.pendingQueue=[],this.activeRequests={},this.completeRequests={},this.averageSegmentDuration=2e3,this.lastPrefetchStart=0,this.throttleTimeout=null,this.RETRY_COUNT=e,this.TIMEOUT=t,this.BITRATE_ESTIMATOR=n,this.MAX_PARALLEL_REQUESTS=r,this.logger=i}limitCompleteCount(){let e;for(;(e=Object.keys(this.completeRequests)).length>this._getParallelRequestCount()+2;){let t=e[Math.floor(Math.random()*e.length)];this.logger(`Dropping completed request for url ${t}`,{type:"warn"}),delete this.completeRequests[t]}}_sendRequest(e,t){let n=Zn(),r=n=>{delete this.activeRequests[t],this.limitCompleteCount(),this.completeRequests[t]=e,this._sendPending(),e._error=1,e._errorMsg=n,e._errorCB?e._errorCB(n):(this.limitCompleteCount(),this.completeRequests[t]=e)};e._request=Qn(t,(r=>{e._complete=1,e._responseData=r,e._downloadTime=Zn()-n,delete this.activeRequests[t],this._sendPending(),e._cb?e._cb(r,e._downloadTime):(this.limitCompleteCount(),this.completeRequests[t]=e)}),(()=>r("error")),(()=>{e._retry=1,e._retryCB&&e._retryCB()})),e._request.withRetryCount(this.RETRY_COUNT).withTimeout(this.TIMEOUT).withBitrateReporting(this.BITRATE_ESTIMATOR).withParallel(this._getParallelRequestCount()>1).withFinally((()=>{e._finallyCB&&e._finallyCB()})),this.activeRequests[t]=e,e._request.send(),this.lastPrefetchStart=Zn()}_getParallelRequestCount(){return Math.min(this.MAX_PARALLEL_REQUESTS,this.averageSegmentDuration<3e3?3:2)}_getPrefetchDelay(){return Math.max(100,Math.min(5e3,this.averageSegmentDuration/3))}_canSendPending(){let e=this._getParallelRequestCount(),t=Zn();if(Object.keys(this.activeRequests).length>=e)return!1;let n=this._getPrefetchDelay()-(t-this.lastPrefetchStart);return this.throttleTimeout&&clearTimeout(this.throttleTimeout),!(n>0)||(this.throttleTimeout=window.setTimeout((()=>this._sendPending()),n),!1)}_sendPending(){for(;this._canSendPending();){let e=this.pendingQueue.pop();if(!e)return;this.activeRequests[e]||this.completeRequests[e]||(this.logger(`Submitting pending request url=${e}`),this._sendRequest({},e))}}_removeFromActive(e){delete this.completeRequests[e],delete this.activeRequests[e]}abortAll(){Object.values(this.activeRequests).forEach((e=>{e&&e._request&&e._request.abort()})),this.activeRequests={},this.pendingQueue=[],this.completeRequests={}}requestData(e,t,n,r){let i={};return i.send=()=>{let o=this.activeRequests[e]||this.completeRequests[e];if(o)o._cb=t,o._errorCB=n,o._retryCB=r,o._finallyCB=i._finallyCB,o._error||o._complete?(this._removeFromActive(e),setTimeout((()=>{o._complete?(this.logger(`Requested url already prefetched, url=${e}`),t(o._responseData,o._downloadTime)):(this.logger(`Requested url already prefetched with error, url=${e}`),n(o._errorMsg)),i._finallyCB&&i._finallyCB()}),0)):this.logger(`Attached to active request, url=${e}`);else{let t=this.pendingQueue.indexOf(e);-1!==t&&this.pendingQueue.splice(t,1),this.logger(`Request not prefetched, starting new request, url=${e}${-1===t?"":"; removed pending"}`),this._sendRequest(i,e)}},i._cb=t,i._errorCB=n,i._retryCB=r,i.abort=function(){i.request&&i.request.abort()},i.withFinally=e=>(i._finallyCB=e,i),i}prefetch(e){this.activeRequests[e]||this.completeRequests[e]?this.logger(`Request already active for url=${e}`):(this.logger(`Added to pending queue; url=${e}`),this.pendingQueue.unshift(e),this._sendPending())}optimizeForSegDuration(e){this.averageSegmentDuration=e}},er=1e4,tr=class{constructor(e){this.paused=!1,this.autoQuality=!0,this.maxAutoQuality=void 0,this.buffering=!0,this.destroyed=!1,this.videoPlayStarted=!1,this.lowLatency=!1,this.bitrate=0,this.manifest=[],this.sourceBuffer=0,this.bufferStates=[],this.sourceJitter=-1,this.params=e,this.chunkRateEstimator=new Xn(this.params.logger),this._initVideo()}attachSource(e){this.manifestUrl=e,this.urlResolver=Kn(e),this.bitrateSwitcher=this._initBitrateSwitcher(),this._initManifest()}setAutoQualityEnabled(e){this.autoQuality=e}setMaxAutoQuality(e){this.maxAutoQuality=e}switchByName(e){let t;for(let n=0;n<this.manifest.length;++n)if(t=this.manifest[n],t.name===e)return void this._switchToQuality(t)}catchUp(){this.rep&&this.rep.stop(),this.currentManifestEntry&&(this.paused=!1,this._initPlayerWith(this.currentManifestEntry),this._notifyBuffering(!0))}stop(){this.params.videoElement.pause(),this.rep&&(this.rep.stop(),this.rep=null)}pause(){this.paused=!0,this.params.videoElement.pause(),this.videoPlayStarted=!1,this._notifyBuffering(!1)}play(){this.paused=!1;let e=this.lowLatency&&this._getBufferSizeSec()>this.sourceJitter+5;this.rep&&!e?(this.bufferStates=[],this.videoPlayStarted=!1,this.shouldPlay()?this._playVideoElement():this._notifyBuffering(!0)):this.catchUp()}startPlay(e,t){this.autoQuality=t,this._initPlayerWith(e)}destroy(){this.destroyed=!0,this.rep&&(this.rep.stop(),this.rep=null),this.manifestRequest&&this.manifestRequest.abort(),this.manifestRefetchTimer&&(clearTimeout(this.manifestRefetchTimer),this.manifestRefetchTimer=void 0)}reinit(e){this.manifestUrl=e,this.urlResolver=Kn(e),this.catchUp()}_handleNetworkError(){this.params.logger("Fatal network error"),this.params.playerCallback({name:"error",type:"network"})}_retryCallback(){this.params.playerCallback({name:"retry"})}_getBufferSizeSec(){let e=this.params.videoElement,t=0,n=e.buffered.length;return 0!==n&&(t=e.buffered.end(n-1)-Math.max(e.currentTime,e.buffered.start(0))),t}_notifyBuffering(e){this.destroyed||(this.params.logger(`buffering: ${e}`),this.params.playerCallback({name:"buffering",isBuffering:e}),this.buffering=e)}_initVideo(){let{videoElement:e,logger:t}=this.params;e.addEventListener("error",(()=>{e.error&&!this.destroyed&&(t(`Video element error: ${e.error?.code}`),this.params.playerCallback({name:"error",type:"media"}))})),e.addEventListener("timeupdate",(()=>{let e=this._getBufferSizeSec();!this.paused&&e<.3?this.buffering||(this.buffering=!0,window.setTimeout((()=>{!this.paused&&this.buffering&&this._notifyBuffering(!0)}),1e3*(e+.1))):this.buffering&&this.videoPlayStarted&&this._notifyBuffering(!1)})),e.addEventListener("playing",(()=>{t("playing")})),e.addEventListener("stalled",(()=>this._fixupStall())),e.addEventListener("waiting",(()=>this._fixupStall()))}_fixupStall(){let e,{logger:t,videoElement:n}=this.params,r=n.buffered.length;0!==r&&(e=n.buffered.start(r-1),n.currentTime<e&&(t("Fixup stall"),n.currentTime=e))}_selectQuality(e){let t,n,r,{videoElement:i}=this.params,o=i&&1.62*(window.devicePixelRatio||1)*i.offsetHeight||520;for(let i=0;i<this.manifest.length;++i)r=this.manifest[i],!(this.maxAutoQuality&&r.video.height>this.maxAutoQuality)&&(r.bitrate<e&&o>Math.min(r.video.height,r.video.width)?(!n||r.bitrate>n.bitrate)&&(n=r):(!t||t.bitrate>r.bitrate)&&(t=r));return n||t}shouldPlay(){if(this.paused)return!1;let e=this._getBufferSizeSec()-Math.max(1,this.sourceJitter);return e>3||(0,a.C_)(this.downloadRate)&&(this.downloadRate>1.5&&e>2||this.downloadRate>2&&e>1)}_setVideoSrc(e,t){let{logger:n,videoElement:r,playerCallback:i}=this.params;this.mediaSource=new window.MediaSource,n("setting video src"),r.src=URL.createObjectURL(this.mediaSource),this.mediaSource.addEventListener("sourceopen",(()=>{this.mediaSource&&(this.sourceBuffer=this.mediaSource.addSourceBuffer(e.codecs),this.bufferStates=[],t())})),this.videoPlayStarted=!1,r.addEventListener("canplay",(()=>{this.shouldPlay()&&(this.videoPlayStarted=!0,this._playVideoElement())}));let o=()=>{!function(e,t,n){let r=(...i)=>{n.apply(null,i),e.removeEventListener(t,r)};e.addEventListener(t,r)}(r,"progress",(()=>{r.buffered.length?(r.currentTime=r.buffered.start(0),i({name:"playing"})):o()}))};o()}_initPlayerWith(e){this.bitrate=0,this.rep=0,this.sourceBuffer=0,this.bufferStates=[],this.filesFetcher&&this.filesFetcher.abortAll(),this.filesFetcher=new Jn(3,er,this.bitrateSwitcher,this.params.config.maxParallelRequests,this.params.logger),this._setVideoSrc(e,(()=>this._switchToQuality(e)))}_representation(e){let{logger:t,videoElement:n,playerCallback:r}=this.params,i=!1,o=null,s=null,l=null,c=null,u=!1,d=()=>{let e=i&&(!u||u===this.rep);return e||t("Not running!"),e},p=(e,t,n)=>{l&&l.abort(),l=Qn(this.urlResolver.resolve(e,!1),t,n,(()=>this._retryCallback())).withTimeout(er).withBitrateReporting(this.bitrateSwitcher).withRetryCount(3).withFinally((()=>{l=null})).send()},f=(e,t,n)=>{(0,a.Z3)(this.filesFetcher),s?.abort(),s=this.filesFetcher.requestData(this.urlResolver.resolve(e,!1),t,n,(()=>this._retryCallback())).withFinally((()=>{s=null})).send()},h=e=>{let r=n.playbackRate;n.playbackRate!==e&&(t(`Playback rate switch: ${r}=>${e}`),n.playbackRate=e)},m=e=>{this.lowLatency=e,t(`lowLatency changed to ${e}`),g()},g=()=>{if(this.lowLatency||this.params.config.isLiveCatchUpMode){let e=this._getBufferSizeSec();if(this.bufferStates.length<5)return void h(1);let n=Zn()-1e4,r=0;for(let t=0;t<this.bufferStates.length;t++){let i=this.bufferStates[t];e=Math.min(e,i.buf),i.ts<n&&r++}this.bufferStates.splice(0,r),t(`update playback rate; minBuffer=${e} drop=${r} jitter=${this.sourceJitter}`);let i=e-1;this.sourceJitter>=0?i-=this.sourceJitter/2:this.sourceJitter-=1,h(i>3?1.15:i>1?1.1:i>.3?1.05:1)}else h(1)},v=e=>{let n,i=()=>n&&n.start?n.start.length:0,o=e=>n.start[e]/1e3,s=e=>n.dur[e]/1e3,l=e=>n.fragIndex+e,u=(e,t)=>({chunkIdx:l(e),startTS:o(e),dur:s(e),discontinuity:t}),p=()=>{let e=0;if(n&&n.dur){let t=this.lowLatency?this.params.config.lowLatencyMinBuffer:this.params.config.minBuffer,r=this.lowLatency?this.params.config.lowLatencyMinBufferSegments:this.params.config.minBufferSegments,i=t;this.sourceJitter>1&&(i+=this.sourceJitter-1);let o=n.dur.length-1;for(;o>=0&&(i-=n.dur[o],!(i<=0));--o);e=Math.min(o,n.dur.length-1-r),e=Math.max(e,0)}return u(e,!0)},f=(e,t,n)=>{c&&c.abort(),c=Qn(this.urlResolver.resolve(e,!0,this.lowLatency),t,n,(()=>this._retryCallback())).withTimeout(er).withRetryCount(3).withFinally((()=>{c=null})).withJSONResponse().send()};return{seek:(t,s)=>{f(e,(e=>{if(!d())return;n=e;let l=!!n.lowLatency;l!==this.lowLatency&&m(l);let c=0;for(let e=0;e<n.dur.length;++e)c+=n.dur[e];c>0&&((0,a.Z3)(this.filesFetcher),this.filesFetcher.optimizeForSegDuration(c/n.dur.length)),r({name:"index",zeroTime:n.zeroTime,shiftDuration:n.shiftDuration}),this.sourceJitter=n.hasOwnProperty("jitter")?Math.min(10,Math.max(.01,n.jitter/1e3)):1,t((e=>{let t=i();if(!(t<=0)){if((0,a.C_)(e))for(let n=0;n<t;n++)if(o(n)>e)return u(n);return p()}})(s))}),(()=>this._handleNetworkError()))},nextChunk:e=>{let r=i(),o=e?e.chunkIdx+1:0,a=o-n.fragIndex;if(!(r<=0)){if(!e||a<0||a-r>10)return t(`Resync: offset=${a} bChunks=${r} chunk=`+JSON.stringify(e)),p();if(!(a>=r))return u(o-n.fragIndex,!1)}}}},y=()=>{i=!1,s&&s.abort(),l&&l.abort(),c&&c.abort(),(0,a.Z3)(this.filesFetcher),this.filesFetcher.abortAll()};return u={start:t=>{let n,r,s,l,u,h,m,{videoElement:b,logger:w}=this.params,_=v(e.jidxUrl),S=0,x=()=>{u&&(clearTimeout(u),u=void 0);let e=Math.max(500,1e3*(this._getBufferSizeSec()-this.sourceJitter-5)),t=S+e,n=Zn(),r=Math.min(1e4,t-n);S=n;let i=()=>{c||d()&&_.seek((()=>{d()&&(S=Zn(),E(),x())}))};r>0?u=window.setTimeout((()=>{this.paused?x():i()}),r):i()},E=()=>{let t;for(;t=_.nextChunk(l);)l=t,M(t);let n=_.nextChunk(s);if(n){if(s&&n.discontinuity)return w("Detected discontinuity; restarting playback"),void(this.paused?x():(y(),this._initPlayerWith(e)));O(n)}else x()},k=(e,t)=>{if(!d()||!this.sourceBuffer)return;let n,r,i,o=n=>{window.setTimeout((()=>{d()&&k(e,t)}),n)};if(this.sourceBuffer.updating)w("Source buffer is updating; delaying appendBuffer"),o(100);else{let a=Zn(),s=b.currentTime;!this.paused&&b.buffered.length>1&&h===s&&a-m>500&&(w("Stall suspected; trying to fix"),this._fixupStall()),h!==s&&(h=s,m=a);let l=this._getBufferSizeSec();if(l>30)w(`Buffered ${l} seconds; delaying appendBuffer`),o(2e3);else try{this.sourceBuffer.appendBuffer(e),this.videoPlayStarted?(this.bufferStates.push({ts:a,buf:l}),g(),this.bufferStates.length>200&&this.bufferStates.shift()):this.shouldPlay()&&(this.videoPlayStarted=!0,this._playVideoElement()),t&&t()}catch(e){if("QuotaExceededError"!==e.name)throw e;w("QuotaExceededError; delaying appendBuffer"),i=this.sourceBuffer.buffered.length,0!==i&&(n=this.sourceBuffer.buffered.start(0),r=s,r-n>4&&this.sourceBuffer.remove(n,r-3)),o(1e3)}}},C=()=>{r&&n&&(w([`Appending chunk, sz=${r.byteLength}:`,JSON.stringify(s)]),k(r,(function(){r=null,E()})))},T=t=>e.fragUrlTemplate.replace("%%id%%",t.chunkIdx),O=e=>{d()&&f(T(e),((t,n)=>{if(d()){if(n/=1e3,r=t,s=e,o=e.startTS,n){let t=Math.min(10,e.dur/n);this.downloadRate=this.downloadRate?.7*this.downloadRate+.3*t:t}C()}}),(()=>this._handleNetworkError()))},M=e=>{d()&&((0,a.Z3)(this.filesFetcher),this.filesFetcher.prefetch(this.urlResolver.resolve(T(e),!1)))},A=t=>{d()&&(e.cachedHeader=t,k(t,(()=>{n=!0,C()})))};i=!0,_.seek((e=>{if(d()){if(S=Zn(),!e)return void x();l=e,!(0,a.SG)(t)||e.startTS>t?O(e):(s=e,E())}}),t),e.cachedHeader?A(e.cachedHeader):p(e.headerUrl,A,(()=>this._handleNetworkError()))},stop:y,getTimestampSec:()=>o},u}_switchToQuality(e){let t,{logger:n,playerCallback:r}=this.params;e.bitrate!==this.bitrate&&(this.rep&&(t=this.rep.getTimestampSec(),(0,a.C_)(t)&&(t+=.1),this.rep.stop()),this.currentManifestEntry=e,this.rep=this._representation(e),n(`switch to quality: codecs=${e.codecs}; headerUrl=${e.headerUrl}; bitrate=${e.bitrate}`),this.bitrate=e.bitrate,(0,a.Z3)(this.bitrateSwitcher),this.bitrateSwitcher.notifySwitch(this.bitrate),this.rep.start(t),r({name:"qualitySwitch",quality:e}))}_qualityAvailable(e){return(0,a.C_)(this.manifest.find((t=>t.name===e)))}_initBitrateSwitcher(){let e,{logger:t,playerCallback:n}=this.params,r=e=>{if(!this.autoQuality)return;let n,r,i;this.currentManifestEntry&&this._qualityAvailable(this.currentManifestEntry.name)&&e<this.bitrate&&(r=this._getBufferSizeSec(),i=e/this.bitrate,r>10&&i>.8||r>15&&i>.5||r>20&&i>.3)?t(`Not switching: buffer=${Math.floor(r)}; bitrate=${this.bitrate}; newRate=${Math.floor(e)}`):(n=this._selectQuality(e),n?this._switchToQuality(n):t(`Could not find quality by bitrate ${e}`))},i=(()=>({updateChunk:(e,t)=>{let r=Zn();if(this.chunkRateEstimator.addInterval(e,r,t)){let i=this.chunkRateEstimator.getBitRate();return n({name:"bandwidth",size:t,duration:r-e,speed:i}),!0}},get:()=>{let e=this.chunkRateEstimator.getBitRate();return e?.85*e:0}}))(),o=-1/0,a=!0,s=()=>{let t=i.get();if(t&&e&&this.autoQuality){if(a&&t>e&&Yn(o)<3e4)return;r(t)}a=this.autoQuality};return{updateChunk:(e,t)=>{let n=i.updateChunk(e,t);return n&&s(),n},notifySwitch:t=>{let n=Zn();t<e&&(o=n),e=t}}}_fetchManifest(e,t,n){this.manifestRequest=Qn(this.urlResolver.resolve(e,!0),t,n,(()=>this._retryCallback())).withJSONResponse().withTimeout(er).withRetryCount(this.params.config.manifestRetryMaxCount).withRetryInterval(this.params.config.manifestRetryInterval,this.params.config.manifestRetryMaxInterval).send().withFinally((()=>{this.manifestRequest=void 0}))}_playVideoElement(){let{videoElement:e}=this.params;Wn(e).then((e=>{e||(this.params.liveOffset.pause(),this.params.videoState.setState("paused"))}))}_handleManifestUpdate(e){let{logger:t,playerCallback:n,videoElement:r}=this.params;this.manifest=(e=>{let t=[];return e?.length?(e.forEach(((e,n)=>{e.video&&r.canPlayType(e.codecs).replace(/no/,"")&&window.MediaSource.isTypeSupported(e.codecs)&&(e.index=n,t.push(e))})),t.sort((function(e,t){return e.video&&t.video?t.video.height-e.video.height:t.bitrate-e.bitrate})),t):(n({name:"error",type:"empty_manifest"}),[])})(e),t(`Valid manifest entries: ${this.manifest.length}/${e.length}`),n({name:"manifest",manifest:this.manifest})}_refetchManifest(e){this.destroyed||(this.manifestRefetchTimer&&clearTimeout(this.manifestRefetchTimer),this.manifestRefetchTimer=window.setTimeout((()=>{this._fetchManifest(e,(t=>{this.destroyed||(this._handleManifestUpdate(t),this._refetchManifest(e))}),(()=>this._refetchManifest(e)))}),6e4))}_initManifest(){this._fetchManifest(this.manifestUrl,(e=>{this.destroyed||(this._handleManifestUpdate(e),this._refetchManifest(this.manifestUrl))}),(()=>this._handleNetworkError()))}},nr=/^(3633|7058)$/.test(n.j)?class{constructor(){this.onDroopedVideoFramesLimit$=new a.xQ,this.subscription=new a.w0,this.playing=!1,this.tracks=[],this.forceChecker$=new a.xQ,this.isForceCheckCounter=0,this.prevTotalVideoFrames=0,this.prevDroppedVideoFrames=0,this.limitCounts={},this.handleChangeVideoQuality=()=>{let e=this.tracks.find((({size:e})=>e?.height===this.video.videoHeight&&e?.width===this.video.videoWidth));e&&!(0,a.fP)(e.quality)&&this.onChangeQuality(e.quality)},this.checkDroppedFrames=()=>{let{totalVideoFrames:e,droppedVideoFrames:t}=this.video.getVideoPlaybackQuality(),n=e-this.prevTotalVideoFrames,r=1-(n-(t-this.prevDroppedVideoFrames))/n;!isNaN(r)&&r>0&&this.log({message:`[dropped]. current dropped percent: ${r}, limit: ${this.droppedFramesChecker.percentLimit}`}),!isNaN(r)&&r>=this.droppedFramesChecker.percentLimit&&(0,a.t3)(this.currentQuality,this.droppedFramesChecker.minQualityBanLimit)&&(this.limitCounts[this.currentQuality]=(this.limitCounts[this.currentQuality]??0)+1,this.maxQualityLimit=this.getMaxQualityLimit(this.currentQuality),this.currentTimer&&window.clearTimeout(this.currentTimer),this.currentTimer=window.setTimeout((()=>this.maxQualityLimit=this.getMaxQualityLimit()),this.droppedFramesChecker.qualityUpWaitingTime),this.onDroopedVideoFramesLimitTrigger()),this.savePrevFrameCounts(e,t)}}connect(e){this.log=e.logger.createComponentLog("DroppedFramesManager"),this.video=e.video,this.isAuto=e.isAuto,this.droppedFramesChecker=e.droppedFramesChecker,this.subscription.add(e.playing$.subscribe((()=>this.playing=!0))),this.subscription.add(e.pause$.subscribe((()=>this.playing=!1))),this.subscription.add(e.tracks$.subscribe((e=>this.tracks=e))),this.isEnabled&&this.subscribe()}destroy(){this.currentTimer&&window.clearTimeout(this.currentTimer),this.subscription.unsubscribe()}get droppedVideoMaxQualityLimit(){return this.maxQualityLimit}subscribe(){this.subscription.add((0,a.RB)(this.video,"resize").subscribe(this.handleChangeVideoQuality));let e=(0,a.FG)(this.droppedFramesChecker.checkTime).pipe((0,a.hX)((()=>this.playing)),(0,a.hX)((()=>{let e=!!this.isForceCheckCounter;return e&&(this.isForceCheckCounter-=1),!e}))),t=this.forceChecker$.pipe((0,a.Ds)(this.droppedFramesChecker.checkTime)),n=(0,a.TS)(e,t);this.subscription.add(n.subscribe(this.checkDroppedFrames))}onChangeQuality(e){this.currentQuality=e;let{totalVideoFrames:t,droppedVideoFrames:n}=this.video.getVideoPlaybackQuality();this.savePrevFrameCounts(t,n),this.isForceCheckCounter=this.droppedFramesChecker.tickCountAfterQualityChange,this.forceChecker$.next()}onDroopedVideoFramesLimitTrigger(){this.isAuto.getState()&&(this.log({message:`[onDroopedVideoFramesLimit]. maxQualityLimit: ${this.maxQualityLimit}`}),this.onDroopedVideoFramesLimit$.next())}getMaxQualityLimit(e){let t=Object.entries(this.limitCounts).filter((([,e])=>e>=this.droppedFramesChecker.countLimit)).sort((([e],[t])=>(0,a.Ex)(e,t)?-1:1))?.[0]?.[0];return e??t}get isEnabled(){return this.droppedFramesChecker.enabled&&this.isDroppedFramesCheckerSupport}get isDroppedFramesCheckerSupport(){return!!this.video&&"function"==typeof this.video.getVideoPlaybackQuality}savePrevFrameCounts(e,t){this.prevTotalVideoFrames=e,this.prevDroppedVideoFrames=t}}:null,rr=()=>!!window.documentPictureInPicture?.window||!!document.pictureInPictureElement,ir=/^(3633|7058)$/.test(n.j)?(e,t)=>new a.y$((n=>{if(!window.IntersectionObserver)return;let r=new IntersectionObserver(((e,t)=>{e.forEach((e=>n.next(e.isIntersecting||rr())))}),{root:null,...t});r.observe(e);let i=(0,a.RB)(document,"visibilitychange").pipe((0,a.UI)((e=>!document.hidden||rr()))).subscribe((e=>n.next(e)));return()=>{r.unobserve(e),i.unsubscribe}})):null,or=/^(3633|7058)$/.test(n.j)?["paused","playing","ready"]:null,ar=/^(3633|7058)$/.test(n.j)?["paused","playing","ready"]:null,sr=/^(3633|7058)$/.test(n.j)?class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("stopped"),this.representations$=new a.v0([]),this.textTracksManager=new An,this.droppedFramesManager=new nr,this.maxSeekBackTime$=new a.v0(1/0),this.zeroTime$=new a.v0(void 0),this.liveOffset=new Pn,this._dashCb=e=>{switch(e.name){case"buffering":{let t=e.isBuffering;this.params.output.isBuffering$.next(t);break}case"error":this.params.output.error$.next({id:`DashLiveProviderInternal:${e.type}`,category:a.qj.WTF,message:"LiveDashPlayer reported error"});break;case"manifest":{let t=e.manifest,n=[];for(let e of t){let t=e.name??e.index.toString(10),r=In(e.name)??(0,a.fh)(e.video),i=e.bitrate/1e3,o={...e.video};if(!r)continue;let s={id:t,quality:r,bitrate:i,size:o};n.push({track:s,representation:e})}this.representations$.next(n),this.params.output.availableVideoTracks$.next(n.map((({track:e})=>e))),"manifest_ready"===this.videoState.getTransition()?.to&&this.videoState.setState("manifest_ready");break}case"qualitySwitch":{let t=e.quality,n=this.representations$.getValue().find((({representation:e})=>e===t))?.track;this.params.output.hostname$.next(new URL(t.headerUrl,this.params.source.url).hostname),(0,a.C_)(n)&&this.params.output.currentVideoTrack$.next(n);break}case"bandwidth":{let{size:t,duration:n}=e;this.params.dependencies.throughputEstimator.addRawSpeed(t,n);break}case"index":this.maxSeekBackTime$.next(e.shiftDuration||0),this.zeroTime$.next(e.zeroTime)}},this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.playbackState.getState(),r=this.params.desiredState.playbackState.getTransition(),i=this.params.desiredState.seekState.getState();if(this.log({message:`[syncPlayback] videoState: ${e}; videoTransition: ${JSON.stringify(t)}; desiredPlaybackState: ${n}; seekState: ${JSON.stringify(i)};`}),"stopped"===n)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.dash.destroy(),this.video.removeAttribute("src"),this.video.load(),this.videoState.setState("stopped")));if(t)return;let o=this.params.desiredState.videoTrack.getTransition(),s=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(ar.includes(e)&&(o||s))this.prepare();else if("paused"!==r?.to&&"requested"===i.state&&or.includes(e))this.seek(i.position-this.liveOffset.getTotalPausedTime());else switch(e){case"stopped":return this.videoState.startTransitionTo("manifest_ready"),void this.dash.attachSource(mn(this.params.source.url));case"manifest_ready":this.videoState.startTransitionTo("ready"),this.prepare();break;case"ready":if("paused"===n)this.videoState.setState("paused");else if("playing"===n){this.videoState.startTransitionTo("playing");let e=r?.from;e&&"ready"===e&&this.dash.catchUp(),this.dash.play()}return;case"playing":return void("paused"===n&&(this.videoState.startTransitionTo("paused"),this.liveOffset.pause(),this.dash.pause()));case"paused":if("playing"===n)if(this.videoState.startTransitionTo("playing"),this.liveOffset.getTotalPausedTime()<this.params.config.maxPausedTime&&this.liveOffset.getTotalOffset()<this.maxSeekBackTime$.getValue())this.liveOffset.resume(),this.dash.play(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3);else{let e=this.liveOffset.getTotalOffset();e>=this.maxSeekBackTime$.getValue()&&(e=0,this.liveOffset.resetTo(e)),this.liveOffset.resume(),this.params.output.position$.next(-e/1e3),this.dash.reinit(mn(this.params.source.url,e))}return;default:return(0,a.vE)(e)}},this.params=e,this.log=this.params.dependencies.logger.createComponentLog("DashLiveProvider");let t=t=>{e.output.error$.next({id:"DashLiveProvider",category:a.qj.WTF,message:"DashLiveProvider internal logic error",thrown:t})};(0,a.TS)(this.videoState.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,type:"start"})))),this.videoState.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,type:"end"}))))).subscribe((({transition:e,type:t})=>{this.log({message:`[videoState change] ${t}: ${JSON.stringify(e)}`})})),this.video=Sn(e.container),this.params.output.element$.next(this.video),this.dash=this.createLiveDashPlayer(),this.params.output.duration$.next(1/0),this.params.output.position$.next(0),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.textTracksManager.connect(this.video,this.params.desiredState,this.params.output);let n=Rn(this.video);this.droppedFramesManager.connect({logger:this.params.dependencies.logger,video:this.video,droppedFramesChecker:this.params.tuning.droppedFramesChecker,isAuto:this.params.desiredState.autoVideoTrackSwitching,playing$:n.playing$,pause$:n.pause$,tracks$:this.representations$.pipe((0,a.UI)((e=>e.map((({track:e})=>e)))))}),this.subscription.add(n.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready")}),t)).add(n.pause$.subscribe((()=>{this.videoState.setState("paused")}),t)).add(n.playing$.subscribe((()=>{"applying"===this.params.desiredState.seekState.getState().state&&this.params.output.seekedEvent$.next(),this.videoState.setState("playing")}),t)).add(n.error$.subscribe(this.params.output.error$)).add(this.maxSeekBackTime$.pipe((0,a.qz)(),(0,a.UI)((e=>-e/1e3))).subscribe(this.params.output.duration$)).add((0,a.$e)({zeroTime:this.zeroTime$.pipe((0,a.hX)(a.C_)),position:n.timeUpdate$}).subscribe((({zeroTime:e,position:t})=>this.params.output.liveTime$.next(e+1e3*t)),t)).add(kn(this.video,this.params.desiredState.isLooped,t)).add(Cn(this.video,this.params.desiredState.volume,n.volumeState$,t)).add(n.volumeState$.subscribe(this.params.output.volume$,t)).add(Tn(this.video,this.params.desiredState.playbackRate,n.playbackRateState$,t)).add(n.loadStart$.subscribe(this.params.output.firstBytesEvent$)).add(n.playing$.subscribe(this.params.output.firstFrameEvent$)).add(n.canplay$.subscribe(this.params.output.canplay$)).add(n.inPiP$.subscribe(this.params.output.inPiP$)).add(n.inFullscreen$.subscribe(this.params.output.inFullscreen$)).add(ir(this.video).subscribe(this.params.output.elementVisible$)).add(this.params.desiredState.autoVideoTrackLimits.stateChangeStarted$.subscribe((({to:{max:e}})=>{let t=e&&(0,a.TD)(e);this.dash.setMaxAutoQuality(t),this.params.output.autoVideoTrackLimits$.next({max:e})}))).add(this.videoState.stateChangeEnded$.subscribe((e=>{switch(e.to){case"stopped":this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.desiredState.playbackState.setState("stopped");break;case"manifest_ready":case"ready":"ready"===this.params.desiredState.playbackState.getTransition()?.to&&this.params.desiredState.playbackState.setState("ready");break;case"paused":this.params.desiredState.playbackState.setState("paused");break;case"playing":this.params.desiredState.playbackState.setState("playing");break;default:return(0,a.vE)(e.to)}}),t)).add((0,a.TS)(e.desiredState.playbackState.stateChangeStarted$,e.desiredState.seekState.stateChangeEnded$,e.desiredState.videoTrack.stateChangeStarted$,e.desiredState.autoVideoTrackSwitching.stateChangeStarted$,this.videoState.stateChangeEnded$,this.droppedFramesManager.onDroopedVideoFramesLimit$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0)).subscribe(this.syncPlayback,t))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.droppedFramesManager.destroy(),this.dash.destroy(),this.params.output.element$.next(void 0),xn(this.video)}createLiveDashPlayer(){let e=new tr({videoElement:this.video,videoState:this.videoState,liveOffset:this.liveOffset,config:{maxParallelRequests:this.params.config.maxParallelRequests,minBuffer:this.params.tuning.live.minBuffer,minBufferSegments:this.params.tuning.live.minBufferSegments,lowLatencyMinBuffer:this.params.tuning.live.lowLatencyMinBuffer,lowLatencyMinBufferSegments:this.params.tuning.live.lowLatencyMinBufferSegments,isLiveCatchUpMode:this.params.tuning.live.isLiveCatchUpMode,manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount},playerCallback:this._dashCb,logger:e=>{this.params.dependencies.logger.log({message:String(e),component:"LiveDashPlayer"})}});return e.pause(),e}prepare(){let e=this.representations$.getValue(),t=this.params.desiredState.videoTrack.getTransition()?.to??this.params.desiredState.videoTrack.getState(),n=this.params.desiredState.autoVideoTrackSwitching.getTransition()?.to??this.params.desiredState.autoVideoTrackSwitching.getState(),r=!n&&(0,a.C_)(t)?t:$n(e.map((({track:e})=>e)),{container:{width:this.video.offsetWidth,height:this.video.offsetHeight},throughput:this.params.dependencies.throughputEstimator.throughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,limits:this.params.desiredState.autoVideoTrackLimits.getState(),droppedVideoMaxQualityLimit:this.droppedFramesManager.droppedVideoMaxQualityLimit,abrLogger:this.params.dependencies.abrLogger}),i=r?.id,o=this.params.desiredState.videoTrack.getTransition(),s=this.params.desiredState.videoTrack.getState()?.id,l=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(r&&(o||i!==s)&&this.setVideoTrack(r),l&&this.setAutoQuality(n),o||l||i!==s){let t=e.find((({track:e})=>e.id===i))?.representation;(0,a.Z3)(t,"Representations missing"),this.dash.startPlay(t,n)}}setVideoTrack(e){let t=this.representations$.getValue().find((({track:t})=>t.id===e.id))?.representation;(0,a.Z3)(t,`No such representation ${e.id}`),this.dash.switchByName(t.name),this.params.desiredState.videoTrack.setState(e)}setAutoQuality(e){this.dash.setAutoQualityEnabled(e),this.params.desiredState.autoVideoTrackSwitching.setState(e)}seek(e){this.log({message:`[seek] position: ${e}`}),this.params.output.willSeekEvent$.next();let t=this.params.desiredState.playbackState.getState(),n=this.videoState.getState(),r="paused"===t&&"paused"===n,i=-e,o=i<=this.maxSeekBackTime$.getValue()?i:0;this.params.output.position$.next(e/1e3),this.dash.reinit(mn(this.params.source.url,o)),r&&this.dash.pause(),this.liveOffset.resetTo(o,r)}}:null,lr=(e,t)=>{let n=0;for(let r=0;r<e.length;r++){let i=1e3*e.start(r),o=1e3*e.end(r);i<=t&&t<=o&&(n=o)}return Math.max(n-t,0)},cr=class{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;let n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;let t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){let r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}},ur=class extends cr{constructor(){super(),this.listeners||cr.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}},dr=class{constructor(){Object.defineProperty(this,"signal",{value:new ur,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};function pr(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(l.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}typeof Symbol<"u"&&Symbol.toStringTag&&(dr.prototype[Symbol.toStringTag]="AbortController",ur.prototype[Symbol.toStringTag]="AbortSignal");var fr=pr({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),hr=fr?function(e){"function"==typeof e&&(e={fetch:e});let{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!pr({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);let i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);let a=t;return{fetch:(e,t)=>{let n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch{r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);let i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,mr=fr?hr.fetch:window.fetch,gr=(fr?hr.Request:window.Request,fr?dr:window.AbortController),vr=(fr||window.AbortSignal,g(it(),1)),yr=(e,t)=>{for(let n=0;n<e.length;n++)if(1e3*e.start(n)<=t&&1e3*e.end(n)>t)return!0;return!1},br=g(Wt(),1),wr="function"!=typeof window.requestIdleCallback||"function"!=typeof window.cancelIdleCallback,_r=wr?(e,t={})=>{let n=t.timeout||1,r=performance.now();return window.setTimeout((()=>{e({get didTimeout(){return!t.timeout&&performance.now()-r-1>n},timeRemaining(){return Math.max(0,performance.now()-r+1)}})}),1)}:window.requestIdleCallback,Sr=(wr||window.cancelIdleCallback,g(Ut(),1)),xr=!/^(3633|7058)$/.test(n.j)&&null;try{xr=(0,a.G4)().browser===a.Ln.Safari&&parseInt(navigator.userAgent.match(/Version\/(\d+)/)?.[1]??"",10)<=16}catch(e){l.error(e)}var Er,kr=/^(3633|7058)$/.test(n.j)?class{constructor(e){this.bufferFull$=new a.xQ,this.error$=new a.xQ,this.queue=[],this.currentTask=null,this.destroyed=!1,this.completeTask=()=>{try{if(this.currentTask){let e=this.currentTask.signal?.aborted;this.currentTask.callback(!e),this.currentTask=null}this.queue.length&&this.pull()}catch(e){this.error$.next({id:"BufferTaskQueueUnknown",category:a.qj.VIDEO_PIPELINE,message:"Buffer appending or removal failed",thrown:e})}},this.buffer=e,this.buffer.addEventListener("updateend",this.completeTask)}async append(e,t){return(!t||!t.aborted)&&new Promise((n=>{let r={operation:"append",data:e,signal:t,callback:n};this.queue.push(r),this.pull()}))}async remove(e,t,n){return(!n||!n.aborted)&&new Promise((r=>{let i={operation:"remove",from:e,to:t,signal:n,callback:r};this.queue.unshift(i),this.pull()}))}async abort(e){return new Promise((t=>{let n;n=xr&&e?{operation:"safariAbort",init:e,callback:t}:{operation:"abort",callback:t};for(let{callback:e}of this.queue)e(!1);n&&(this.queue=[n]),this.pull()}))}destroy(){this.destroyed=!0,this.buffer.removeEventListener("updateend",this.completeTask),this.queue=[],this.currentTask=null;try{this.buffer.abort()}catch(e){if(!(e instanceof DOMException&&"InvalidStateError"===e.name))throw e}}pull(){if(this.buffer.updating||this.currentTask||this.destroyed)return;let e=this.queue.shift();if(!e)return;if(e.signal?.aborted)return e.callback(!1),void this.pull();this.currentTask=e;let{operation:t}=this.currentTask;try{this.execute(this.currentTask)}catch(e){e instanceof DOMException&&"QuotaExceededError"===e.name&&"append"===t?this.bufferFull$.next(this.currentTask.data.byteLength):e instanceof DOMException&&"InvalidStateError"===e.name||this.error$.next({id:`BufferTaskQueue:${t}`,category:a.qj.VIDEO_PIPELINE,message:"Buffer operation failed",thrown:e}),this.currentTask.callback(!1),this.currentTask=null}this.currentTask&&"abort"===this.currentTask.operation&&this.completeTask()}execute(e){let{operation:t}=e;switch(t){case"append":this.buffer.appendBuffer(e.data);break;case"remove":this.buffer.remove(e.from/1e3,e.to/1e3);break;case"abort":this.buffer.abort();break;case"safariAbort":this.buffer.abort(),this.buffer.appendBuffer(e.init);break;default:(0,a.vE)(t)}}}:null,Cr=e=>{let t=0;for(let n=0;n<e.length;n++)t+=e.end(n)-e.start(n);return 1e3*t},Tr=class{constructor(e,t){this.cursor=0,this.source=e,this.boxParser=t,this.children=[];let n=this.readUint32();this.type=this.readString(4),this.size32=n<=e.buffer.byteLength-e.byteOffset?n:NaN;let r=this.size32?this.size32-8:void 0,i=e.byteOffset+this.cursor;this.size64=0,this.usertype=0,this.content=new DataView(e.buffer,i,r),this.children=this.parseChildrenBoxes()}get id(){return this.type}get size(){return this.size32}parseChildrenBoxes(){return[]}scanForBoxes(e){return this.boxParser.parse(e)}readString(e,t="ascii"){let n=new TextDecoder(t).decode(new DataView(this.source.buffer,this.source.byteOffset+this.cursor,e));return this.cursor+=e,n}readUint8(){let e=this.source.getUint8(this.cursor);return this.cursor+=1,e}readUint16(){let e=this.source.getUint16(this.cursor);return this.cursor+=2,e}readUint32(){let e=this.source.getUint32(this.cursor);return this.cursor+=4,e}readUint64(){let e=this.source.getBigInt64(this.cursor);return this.cursor+=8,e}},Or=class extends Tr{},Mr=class extends Tr{constructor(e,t){super(e,t);let n=this.readUint32();this.version=n>>>24,this.flags=16777215&n}},Ar=class extends Mr{constructor(e,t){super(e,t),this.segments=[],this.referenceId=this.readUint32(),this.timescale=this.readUint32(),this.earliestPresentationTime32=this.readUint32(),this.firstOffset32=this.readUint32(),this.earliestPresentationTime64=0,this.firstOffset64=0,this.referenceCount=65535&this.readUint32();for(let e=0;e<this.referenceCount;e++){let e=this.readUint32(),t=e>>>31,n=e<<1>>>1,r=this.readUint32();e=this.readUint32();let i=e>>>28,o=e<<3>>>3;this.segments.push({referenceType:t,referencedSize:n,subsegmentDuration:r,SAPType:i,SAPDeltaTime:o})}}get earliestPresentationTime(){return this.earliestPresentationTime32}get firstOffset(){return this.firstOffset32}},Pr={ftyp:class extends Tr{constructor(e,t){super(e,t),this.compatibleBrands=[],this.majorBrand=this.readString(4),this.minorVersion=this.readUint32();let n=this.size-this.cursor;for(;n;){let e=this.readString(4);this.compatibleBrands.push(e),n-=4}}},moov:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},moof:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mdat:class extends Tr{constructor(e,t){super(e,t),this.data=this.content}},sidx:Ar,trak:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mdia:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mfhd:class extends Mr{constructor(e,t){super(e,t),this.sequenceNumber=this.readUint32()}},tkhd:class extends Mr{constructor(e,t){super(e,t),this.creationTime=this.readUint32(),this.modificationTime=this.readUint32(),this.trackId=this.readUint32(),this.cursor+=4,this.duration=this.readUint32(),this.cursor+=8,this.layer=this.readUint16(),this.alternateGroup=this.readUint16(),this.cursor+=2,this.cursor+=2,this.matrix=[[this.readUint32(),this.readUint32(),this.readUint32()],[this.readUint32(),this.readUint32(),this.readUint32()],[this.readUint32(),this.readUint32(),this.readUint32()]],this.width=this.readUint32(),this.height=this.readUint32()}},traf:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},tfhd:class extends Mr{constructor(e,t){super(e,t),this.trackId=this.readUint32(),1&this.flags&&(this.baseDataOffset=this.readUint64()),2&this.flags&&(this.sampleDescriptionIndex=this.readUint32()),8&this.flags&&(this.defaultSampleDuration=this.readUint32()),16&this.flags&&(this.defaultSampleSize=this.readUint32()),32&this.flags&&(this.defaultSampleFlags=this.readUint32())}},tfdt:class extends Mr{constructor(e,t){super(e,t),this.baseMediaDecodeTime32=0,this.baseMediaDecodeTime64=BigInt(0),1===this.version?this.baseMediaDecodeTime64=this.readUint64():this.baseMediaDecodeTime32=this.readUint32()}get baseMediaDecodeTime(){return 1===this.version?this.baseMediaDecodeTime64:this.baseMediaDecodeTime32}},trun:class extends Mr{constructor(e,t){super(e,t),this.sampleDuration=[],this.sampleSize=[],this.sampleFlags=[],this.sampleCompositionTimeOffset=[],this.optionalFields=0,this.sampleCount=this.readUint32(),1&this.flags&&(this.dataOffset=this.readUint32()),4&this.flags&&(this.firstSampleFlags=this.readUint32());for(let e=0;e<this.sampleCount;e++)256&this.flags&&this.sampleDuration.push(this.readUint32()),512&this.flags&&this.sampleSize.push(this.readUint32()),1024&this.flags&&this.sampleFlags.push(this.readUint32()),2048&this.flags&&this.sampleCompositionTimeOffset.push(this.readUint32())}},minf:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},sv3d:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},st3d:class extends Mr{constructor(e,t){switch(super(e,t),this.readUint8()){case 0:this.stereoMode=0;break;case 1:this.stereoMode=1;break;case 2:this.stereoMode=2;break;case 3:this.stereoMode=3;break;case 4:this.stereoMode=4}this.cursor+=1}},prhd:class extends Mr{constructor(e,t){super(e,t),this.poseYawDegrees=this.readUint32(),this.posePitchDegrees=this.readUint32(),this.poseRollDegrees=this.readUint32()}},proj:class extends Tr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},equi:class extends Mr{constructor(e,t){super(e,t),this.projectionBoundsTop=this.readUint32(),this.projectionBoundsBottom=this.readUint32(),this.projectionBoundsLeft=this.readUint32(),this.projectionBoundsRight=this.readUint32()}},uuid:class extends Tr{},unknown:Or},Lr=class e{constructor(e={}){this.options={offset:0,...e}}parse(e){let t=[],n=this.options.offset;for(;n<e.byteLength;)try{let r=new TextDecoder("ascii").decode(new DataView(e.buffer,e.byteOffset+n+4,4)),i=this.createBox(r,new DataView(e.buffer,e.byteOffset+n));if(!i.size)break;t.push(i),n+=i.size}catch{break}return t}createBox(t,n){let r=Pr[t];return r?new r(n,new e):new Or(n,new e)}},Dr=class{constructor(e){this.index={},this.indexBoxLevel(e)}indexBoxLevel(e){e.forEach((e=>{this.index[e.type]??=[],this.index[e.type].push(e),e.children.length>0&&this.indexBoxLevel(e.children)}))}find(e){return this.index[e]&&this.index[e][0]?this.index[e][0]:null}findAll(e){return this.index[e]||[]}},Rr=new TextDecoder("ascii"),Ir={validateData:e=>"ftyp"===Rr.decode(new DataView(e.buffer,e.byteOffset+4,4)),parseInit:e=>{let t={is3dVideo:!1,stereoMode:0,projectionType:1,projectionData:{pose:{yaw:0,pitch:0,roll:0},bounds:{top:0,bottom:0,left:0,right:0}}},n=(new Lr).parse(e),r=new Dr(n);if(r.find("sv3d")){t.is3dVideo=!0;let e=r.find("st3d");e&&(t.stereoMode=e.stereoMode);let n=r.find("prhd");n&&(t.projectionData.pose.yaw=n.poseYawDegrees,t.projectionData.pose.pitch=n.posePitchDegrees,t.projectionData.pose.roll=n.poseRollDegrees);let i=r.find("equi");i&&(t.projectionData.bounds.top=i.projectionBoundsTop,t.projectionData.bounds.right=i.projectionBoundsRight,t.projectionData.bounds.bottom=i.projectionBoundsBottom,t.projectionData.bounds.left=i.projectionBoundsLeft)}return t},getIndexRange:()=>{},parseSegments:e=>{let t=new Ar(e,new Lr),n=t.earliestPresentationTime/t.timescale*1e3,r=e.byteOffset+e.byteLength+t.firstOffset;return t.segments.map((e=>{if(0!==e.referenceType)throw new Error("Unsupported multilevel sidx");let i=e.subsegmentDuration/t.timescale*1e3,o={status:"none",time:{from:n,to:n+i},byte:{from:r,to:r+e.referencedSize-1}};return n+=i,r+=e.referencedSize,o}))},parseFeedableSegmentChunk:(e,t)=>{let n=(new Lr).parse(e),r=new Dr(n),i=r.findAll("moof"),o=t?r.findAll("uuid"):r.findAll("mdat");if(!o.length||!i.length)return null;let a=i[0],s=o[o.length-1],l=a.source.byteOffset,c=s.source.byteOffset-a.source.byteOffset+s.size;return new DataView(e.buffer,l,c)},getSegmentEndTime:(e,t)=>{let n=(new Lr).parse(e),r=new Dr(n).findAll("traf"),i=r[r.length-1].children.find((e=>"tfhd"===e.type)),o=r[r.length-1].children.find((e=>"tfdt"===e.type)),a=r[r.length-1].children.find((e=>"trun"===e.type)),s=0;return s=a.sampleDuration.length?a.sampleDuration.reduce(((e,t)=>e+t),0):i.defaultSampleDuration*a.sampleCount,(Number(o.baseMediaDecodeTime)+s)/t*1e3}},Nr={440786851:{type:"master"},17030:{type:"uint"},17143:{type:"uint"},17138:{type:"uint"},17139:{type:"uint"},17026:{type:"string"},17031:{type:"uint"},17029:{type:"uint"},236:{type:"binary"},408125543:{type:"master"},290298740:{type:"master"},19899:{type:"master"},21419:{type:"binary"},21420:{type:"uint"},357149030:{type:"master"},2807729:{type:"uint"},17545:{type:"float"},374648427:{type:"master"},174:{type:"master"},224:{type:"master"},30320:{type:"master"},30321:{type:"uint"},30322:{type:"master"},272869232:{type:"master"},524531317:{type:"master"},231:{type:"uint"},22612:{type:"master"},22743:{type:"uint"},167:{type:"uint"},171:{type:"uint"},163:{type:"binary"},160:{type:"master"},175:{type:"binary"},423732329:{type:"master"},307544935:{type:"master"},475249515:{type:"master"},187:{type:"master"},179:{type:"uint"},183:{type:"master"},247:{type:"uint"},241:{type:"uint"},240:{type:"uint"},178:{type:"uint"},21368:{type:"uint"},234:{type:"uint"},219:{type:"master"},150:{type:"uint"}},jr=e=>{let t=e.getUint8(0),n=0;128&t?n=1:64&t?n=2:32&t?n=3:16&t&&(n=4);let r=Br(e,n),i=r in Nr,o=i?Nr[r].type:"binary",a=e.getUint8(n),s=0;128&a?s=1:64&a?s=2:32&a?s=3:16&a?s=4:8&a?s=5:4&a?s=6:2&a?s=7:1&a&&(s=8);let l,c=new DataView(e.buffer,e.byteOffset+n+1,s-1),u=(a&255>>s)*2**(8*(s-1))+Br(c),d=n+s;return l=d+u>e.byteLength?new DataView(e.buffer,e.byteOffset+d):new DataView(e.buffer,e.byteOffset+d,u),{tag:i?r:"0x"+r.toString(16).toUpperCase(),type:o,tagHeaderSize:d,tagSize:d+u,value:l,valueSize:u}},Br=(e,t=e.byteLength)=>{switch(t){case 1:return e.getUint8(0);case 2:return e.getUint16(0);case 3:return 65536*e.getUint8(0)+e.getUint16(1);case 4:return e.getUint32(0);case 5:return e.getUint8(0)*2**32+e.getUint32(1);case 6:return e.getUint16(0)*2**32+e.getUint32(2);case 7:{let t=281474976710656*e.getUint8(0)+4294967296*e.getUint16(1)+e.getUint32(3);if(Number.isSafeInteger(t))return t}case 8:throw new ReferenceError("Int64 is not supported")}return 0},Fr=(e,t)=>{switch(t){case"int":return e.getInt8(0);case"uint":return Br(e);case"float":return 4===e.byteLength?e.getFloat32(0):e.getFloat64(0);case"string":return new TextDecoder("ascii").decode(e);case"utf8":return new TextDecoder("utf-8").decode(e);case"date":return new Date(Date.UTC(2001,0)+e.getInt8(0)).getTime();case"master":case"binary":return e;default:(0,a.vE)(t)}},Hr=(e,t)=>{let n=0;for(;n<e.byteLength;){let r=new DataView(e.buffer,e.byteOffset+n),i=jr(r);if(!t(i))return;"master"===i.type&&Hr(i.value,t),n=i.value.byteOffset-e.byteOffset+i.valueSize}},zr=[357149030,290298740,374648427,174,224,30320,30321,30322,272869232,524531317,475249515,423732329,307544935],Vr=[231,22612,22743,167,171,163,160,175],Ur={validateData:e=>{if(440786851!==e.getUint32(0))return!1;let t,n,r,i=jr(e);return Hr(i.value,(({tag:e,type:i,value:o})=>(17143===e?t=Fr(o,i):17026===e?n=Fr(o,i):17029===e&&(r=Fr(o,i)),!0))),(void 0===t||t<=1)&&void 0!==n&&"webm"===n&&(void 0===r||r<=2)},parseInit:e=>{let t,n,r,i,o,s,l=!1,c=!1,u=!1,d=!1;return Hr(e,(({tag:e,type:a,value:p,valueSize:f})=>{if(21419===e){let e=Fr(p,a);s=Br(e)}else 21420!==e&&(s=void 0);return 408125543===e?(t=p.byteOffset,n=p.byteOffset+f):357149030===e?l=!0:290298740===e?c=!0:2807729===e?r=Fr(p,a):17545===e?i=Fr(p,a):21420===e&&475249515===s?o=Fr(p,a):374648427===e?Hr(p,(({tag:e,type:t,value:n})=>30321!==e||(d=1===Fr(n,t),!1))):l&&c&&zr.includes(e)&&(u=!0),!u})),(0,a.Z3)(t,"Failed to parse webm Segment start"),(0,a.Z3)(n,"Failed to parse webm Segment end"),(0,a.Z3)(i,"Failed to parse webm Segment duration"),r=r??1e6,{segmentStart:Math.round(t/1e9*r*1e3),segmentEnd:Math.round(n/1e9*r*1e3),timeScale:r,segmentDuration:Math.round(i/1e9*r*1e3),cuesSeekPosition:o,is3dVideo:d,stereoMode:0,projectionType:1,projectionData:{pose:{yaw:0,pitch:0,roll:0},bounds:{top:0,bottom:0,left:0,right:0}}}},getIndexRange:e=>{if((0,a.SG)(e.cuesSeekPosition))return;let t=e.segmentStart+e.cuesSeekPosition;return{from:t,to:t+1048576}},parseSegments:(e,t)=>{let n,r=!1,i=!1,o=e=>(0,a.C_)(e.time)&&(0,a.C_)(e.position),s=[];return Hr(e,(({tag:e,type:t,value:a})=>{switch(e){case 475249515:r=!0;break;case 187:n&&o(n)&&s.push(n),n={};break;case 179:n&&(n.time=Fr(a,t));break;case 183:break;case 241:n&&(n.position=Fr(a,t));break;default:r&&zr.includes(e)&&(i=!0)}return!(r&&i)})),n&&o(n)&&s.push(n),s.map(((e,n)=>{let{time:r,position:i}=e,o=s[n+1];return{status:"none",time:{from:r,to:o?o.time:t.segmentDuration},byte:{from:t.segmentStart+i,to:o?t.segmentStart+o.position-1:t.segmentEnd-1}}}))},parseFeedableSegmentChunk:e=>{let t=0,n=!1;try{Hr(e,(r=>524531317===r.tag?r.tagSize<=e.byteLength?(t=r.tagSize,!1):(t+=r.tagHeaderSize,!0):!!Vr.includes(r.tag)&&(t+r.tagSize<=e.byteLength&&(t+=r.tagSize,n||=[163,160,175].includes(r.tag)),!0)))}catch{}return t>0&&t<=e.byteLength&&n?new DataView(e.buffer,e.byteOffset,t):null}},$r=g(on(),1),Gr=e=>{if(e.includes("/")){let t=e.split("/");return parseInt(t[0])/parseInt(t[1])}return parseFloat(e)},qr=e=>{if(!e.startsWith("P"))return;let t=(e,t)=>{let n=e?parseFloat(e.replace(",",".")):NaN;return(isNaN(n)?0:n)*t},n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/.exec(e),r="-"===n?.[1]?-1:1;return 24*t(n?.[5],r)*60*60*1e3+60*t(n?.[6],r)*60*1e3+60*t(n?.[7],r)*1e3+1e3*t(n?.[8],r)},Wr=(e,t)=>{let n=e;n=(0,$r.default)(n,"$$","$");let r={RepresentationID:t.representationId,Number:t.segmentNumber,Bandwidth:t.bandwidth,Time:t.segmentTime};for(let[e,t]of Object.entries(r)){let r=new RegExp(`\\$${e}(?:%0(\\d+)d)?\\$`,"g");n=(0,$r.default)(n,r,((e,n)=>(0,a.SG)(t)?e:(0,a.SG)(n)?t:t.padStart(parseInt(n,10),"0")))}return n},Zr=g(Wt(),1),Yr=({id:e,width:t,height:n,bitrate:r,fps:i,quality:o})=>{let s=(o?In(o):void 0)??(0,a.fh)({width:t,height:n});return s&&{id:e,quality:s,bitrate:r,size:{width:t,height:n},fps:i}},Kr=({id:e,bitrate:t})=>({id:e,bitrate:t}),Qr=(e,t,n)=>{let r=t.indexOf(n);return(0,Zr.default)(e,Math.round(e.length*r/t.length))??(0,Zr.default)(e,-1)},Xr=({id:e,lang:t,label:n,url:r,isAuto:i})=>({id:e,url:r,isAuto:i,type:"internal",language:t,label:n}),Jr=e=>"url"in e,ei=e=>"template"===e.type,ti=e=>e instanceof DOMException&&("AbortError"===e.name||20===e.code),ni=class{constructor(e,t,n,r,{fetcher:i,tuning:o,getCurrentPosition:s,isActiveLowLatency:l,compatibilityMode:c=!1,manifest:u}){switch(this.currentSegmentLength$=new a.v0(0),this.onLastSegment$=new a.v0(!1),this.fullyBuffered$=new a.v0(!1),this.playingRepresentation$=new a.v0(void 0),this.playingRepresentationInit$=new a.v0(void 0),this.error$=new a.xQ,this.gaps=[],this.subscription=new a.w0,this.allInitsLoaded=!1,this.activeSegments=new Set,this.downloadAbortController=new gr,this.destroyAbortController=new gr,this.bufferLimit=1/0,this.failedDownloads=0,this.isLive=!1,this.liveUpdateSegmentIndex=0,this.liveInitialAdditionalOffset=0,this.isSeekingLive=!1,this.index=0,this.loadByteRangeSegmentsTimeoutId=0,this.startWith=(0,a.S2)(this.destroyAbortController.signal,async function*(e){let t=this.representations.get(e);(0,a.Z3)(t,`Cannot find representation ${e}`),this.playingRepresentationId=e,this.downloadingRepresentationId=e,this.sourceBuffer=this.mediaSource.addSourceBuffer(`${t.mime}; codecs="${t.codecs}"`),this.sourceBufferTaskQueue=new kr(this.sourceBuffer),this.subscription.add((0,a.RB)(this.sourceBuffer,"updateend").subscribe((()=>{this.checkEjectedSegments(),this.maintain()}),(e=>this.error$.next({id:"SegmentEjection",category:a.qj.WTF,message:"Error when trying to clear segments ejected by browser",thrown:e})))),this.subscription.add((0,a.RB)(this.sourceBuffer,"error").subscribe((()=>this.error$.next({id:"SourceBuffer",category:a.qj.VIDEO_PIPELINE,message:"SourceBuffer Error event fired"})))),this.subscription.add(this.sourceBufferTaskQueue.bufferFull$.subscribe((e=>{if(!this.sourceBuffer)return;let t=Math.min(this.bufferLimit,.8*Cr(this.sourceBuffer.buffered));this.bufferLimit=t,this.pruneBuffer(this.getCurrentPosition(),e)}))),this.subscription.add(this.sourceBufferTaskQueue.error$.subscribe((e=>this.error$.next(e)))),yield this.loadInit(t,"high",!0);let n=this.initData.get(t.id),r=this.segments.get(t.id),i=this.parsedInitData.get(t.id);(0,a.Z3)(n,"No init buffer for starting representation"),(0,a.Z3)(r,"No segments for starting representation"),n instanceof ArrayBuffer&&(this.searchGaps(r,t),yield this.sourceBufferTaskQueue.append(n,this.destroyAbortController.signal),this.playingRepresentation$.next(this.playingRepresentationId),this.playingRepresentationInit$.next(i))}.bind(this)),this.switchTo=(0,a.S2)(this.destroyAbortController.signal,async function*(e){if(e===this.downloadingRepresentationId||e===this.switchingToRepresentationId)return;this.switchingToRepresentationId=e;let t=this.representations.get(e);(0,a.Z3)(t,`No such representation ${e}`);let n=this.segments.get(e),r=this.initData.get(e);if((0,a.SG)(r)||(0,a.SG)(n)?yield this.loadInit(t,"high",!1):r instanceof Promise&&(yield r),n=this.segments.get(e),(0,a.Z3)(n,"No segments for starting representation"),r=this.initData.get(e),!(r&&r instanceof ArrayBuffer&&this.sourceBuffer))return;this.switchingToRepresentationId=void 0,this.downloadingRepresentationId=e,this.abort(),yield this.sourceBufferTaskQueue.append(r,this.downloadAbortController.signal);let i=this.getCurrentPosition();(0,a.C_)(i)&&(this.isLive||(n.forEach((e=>e.status="none")),this.pruneBuffer(i,1/0,!0)),this.maintain(i))}.bind(this)),this.seekLive=(0,a.S2)(this.destroyAbortController.signal,async function*(e){if(this.isSeekingLive=!0,!this.downloadingRepresentationId||!e)return;for(let t of this.representations.keys()){let n=e.find((e=>e.id===t));n&&this.representations.set(t,n);let r=this.representations.get(t);if(!r||!ei(r.segmentReference))return;let i=this.getActualLiveStartingSegments(r.segmentReference);this.segments.set(r.id,i)}let t=this.switchingToRepresentationId??this.downloadingRepresentationId,n=this.representations.get(t);(0,a.Z3)(n);let r=this.segments.get(t);(0,a.Z3)(r,"No segments for starting representation");let i=this.initData.get(t);if((0,a.Z3)(i,"No init buffer for starting representation"),!(i instanceof ArrayBuffer))return;let o=this.getDebugBufferState();this.liveUpdateSegmentIndex=0,this.abort(),o&&(yield this.sourceBufferTaskQueue.remove(1e3*o.from,1e3*o.to,this.destroyAbortController.signal)),this.searchGaps(r,n),yield this.sourceBufferTaskQueue.append(i,this.destroyAbortController.signal),this.isSeekingLive=!1}.bind(this)),this.fetcher=i,this.tuning=o,this.compatibilityMode=c,this.forwardBufferTarget=o.dash.forwardBufferTargetAuto,this.getCurrentPosition=s,this.isActiveLowLatency=l,this.isLive=!!u?.dynamic,this.container=n,n){case"mp4":this.containerParser=Ir;break;case"webm":this.containerParser=Ur;break;default:(0,a.vE)(n)}this.initData=new Map(r.map((e=>[e.id,null]))),this.segments=new Map,this.parsedInitData=new Map,this.representations=new Map(r.map((e=>[e.id,e]))),this.kind=e,this.mediaSource=t,this.sourceBuffer=null}abort(){for(let e of this.activeSegments)this.abortSegment(e.segment);this.activeSegments.clear(),this.downloadAbortController.abort(),this.downloadAbortController=new gr,this.abortBuffer()}maintain(e=this.getCurrentPosition()){if((0,a.SG)(e)||(0,a.SG)(this.downloadingRepresentationId)||(0,a.SG)(this.playingRepresentationId)||(0,a.SG)(this.sourceBuffer)||this.isSeekingLive)return;let t=this.representations.get(this.downloadingRepresentationId),n=this.segments.get(this.downloadingRepresentationId);if((0,a.Z3)(t,`No such representation ${this.downloadingRepresentationId}`),!n)return;let r=n.find((t=>e>=t.time.from&&e<t.time.to));this.currentSegmentLength$.next((r?.time.to??0)-(r?.time.from??0));let i=e;if(this.playingRepresentationId!==this.downloadingRepresentationId){let t=lr(this.sourceBuffer.buffered,e),n=r?r.time.to+100:-1/0;r&&r.time.to-e<this.tuning.dash.maxSegmentDurationLeftToSelectNextSegment&&t>=r.time.to-e+100&&(i=n)}if(isFinite(this.bufferLimit)&&Cr(this.sourceBuffer.buffered)>=this.bufferLimit){let t=lr(this.sourceBuffer.buffered,e),n=Math.min(this.forwardBufferTarget,this.bufferLimit)*this.tuning.dash.minSafeBufferThreshold;return void this.pruneBuffer(e,1/0,t<n)}let o=[];if(!this.activeSegments.size&&(o=this.selectForwardBufferSegments(n,t.segmentReference.type,i),o.length)){let e="auto";if(this.tuning.dash.useFetchPriorityHints&&r)if(o.includes(r))e="high";else{let t=(0,br.default)(o,0);t&&t.time.from-r.time.to>=this.forwardBufferTarget/2&&(e="low")}this.loadSegments(o,t,e)}(!this.preloadOnly&&!this.allInitsLoaded&&r&&"fed"===r.status&&!o.length&&lr(this.sourceBuffer.buffered,e)>3e3||this.isActiveLowLatency())&&this.loadNextInit();let s=(0,br.default)(n,-1);s&&"fed"===s.status&&(this.fullyBuffered$.next(!0),this.isLive||this.onLastSegment$.next(r===s))}searchGaps(e,t){this.gaps=[];let n=0,r=this.isLive?this.liveInitialAdditionalOffset:0;for(let i of e)Math.trunc(i.time.from-n)>0&&this.gaps.push({representation:t.id,from:n,to:i.time.from+r}),n=i.time.to;(0,a.C_)(t.duration)&&t.duration-n>0&&this.gaps.push({representation:t.id,from:n,to:t.duration})}getActualLiveStartingSegments(e){let t=e.segments,n=this.isActiveLowLatency()?this.tuning.dashCmafLive.lowLatency.maxTargetOffset:this.tuning.dashCmafLive.maxActiveLiveOffset,r=[],i=0,o=t.length-1;do{r.unshift(t[o]),i+=t[o].time.to-t[o].time.from,o--}while(i<n&&o>=0);return this.liveInitialAdditionalOffset=i-n,this.isActiveLowLatency()?[r[0]]:r}getLiveSegmentsToLoadState(e){let t=e?.representations[this.kind].find((e=>e.id===this.downloadingRepresentationId));if(!t)return;let n=this.segments.get(t.id);return n?.length?{from:n[0].time.from,to:n[n.length-1].time.to}:void 0}updateLive(e){for(let t of e?.representations[this.kind].values()??[]){if(!t||!ei(t.segmentReference))return;let e=t.segmentReference.segments.map((e=>({...e,status:"none",size:void 0}))),n=this.segments.get(t.id)??[],r=(0,br.default)(n,-1)?.time.to??0,i=e?.findIndex((e=>Math.floor(r)>=Math.floor(e.time.from)&&Math.floor(r)<=Math.floor(e.time.to)));if(-1===i){this.liveUpdateSegmentIndex=0;let e=this.getActualLiveStartingSegments(t.segmentReference);this.segments.set(t.id,e)}else{let r=e.slice(i+1);this.segments.set(t.id,[...n,...r])}}}updateLowLatencyLive(e){if(this.isActiveLowLatency())for(let t of this.representations.values()){let n=t.segmentReference;if(!ei(n))return;let r=Math.round(e.segment.time.to*n.timescale/1e3).toString(10),i=Wr(n.segmentTemplateUrl,{segmentTime:r}),o=this.segments.get(t.id)??[],a=o.find((t=>Math.floor(t.time.from)===Math.floor(e.segment.time.from)));a&&(a.time.to=e.segment.time.to),o.find((t=>Math.floor(t.time.from)===Math.floor(e.segment.time.to)))||o.push({status:"none",time:{from:e.segment.time.to,to:1/0},url:i})}}findSegmentStartTime(e){let t=this.switchingToRepresentationId??this.downloadingRepresentationId??this.playingRepresentationId;if(!t)return;let n=this.segments.get(t);return n?n.find((t=>t.time.from<=e&&t.time.to>=e))?.time.from??void 0:void 0}setTarget(e){this.forwardBufferTarget=e}setPreloadOnly(e){this.preloadOnly=e}destroy(){if(this.initData.clear(),this.segments.clear(),this.parsedInitData.clear(),this.representations.clear(),this.sourceBufferTaskQueue?.destroy(),this.gapDetectionIdleCallback&&window.cancelIdleCallback&&window.cancelIdleCallback(this.gapDetectionIdleCallback),this.initLoadIdleCallback&&window.cancelIdleCallback&&window.cancelIdleCallback(this.initLoadIdleCallback),this.subscription.unsubscribe(),this.sourceBuffer){"open"===this.mediaSource.readyState&&this.abortBuffer();try{this.mediaSource.removeSourceBuffer(this.sourceBuffer)}catch(e){if(!(e instanceof DOMException&&"NotFoundError"===e.name))throw e}}this.sourceBuffer=null,this.downloadAbortController.abort(),this.destroyAbortController.abort(),window.clearTimeout(this.loadByteRangeSegmentsTimeoutId)}selectForwardBufferSegments(e,t,n){return this.isLive?this.selectForwardBufferSegmentsLive(e,n):this.selectForwardBufferSegmentsRecord(e,t,n)}selectForwardBufferSegmentsLive(e,t){let n=e.findIndex((e=>t>=e.time.from&&t<e.time.to));return this.playingRepresentationId!==this.downloadingRepresentationId&&(this.liveUpdateSegmentIndex=n),this.liveUpdateSegmentIndex<e.length?e.slice(this.liveUpdateSegmentIndex++):[]}selectForwardBufferSegmentsRecord(e,t,n){let r=e.findIndex((({status:e,time:{from:t,to:r}},i)=>{let o=t>n||t<=n&&r>=n||0===i&&0===n,a=Math.min(this.forwardBufferTarget,this.bufferLimit),s=this.preloadOnly&&t<=n+a||r<=n+a;return("none"===e||"partially_ejected"===e&&o&&s&&this.sourceBuffer&&!yr(this.sourceBuffer.buffered,n))&&o&&s}));if(-1===r)return[];if("byteRange"!==t)return e.slice(r,r+1);let i=e,o=0,a=0,s=[],l=this.preloadOnly?0:this.tuning.dash.segmentRequestSize,c=this.preloadOnly?this.forwardBufferTarget:0;for(let e=r;e<i.length&&(o<=l||a<=c);e++){let t=i[e];if(o+=t.byte.to+1-t.byte.from,a+=t.time.to+1-t.time.from,"none"!==t.status&&"partially_ejected"!==t.status)break;s.push(t)}return s}async loadSegments(e,t,n="auto"){"template"===t.segmentReference.type?await this.loadTemplateSegment(e[0],t,n):await this.loadByteRangeSegments(e,t,n)}async loadTemplateSegment(e,t,n="auto"){e.status="downloading";let r={segment:e,loadedBytes:0,feedingBytes:0,fedBytes:0,representationId:t.id};this.activeSegments.add(r);let{range:i,url:o,signal:s,onProgress:l,onProgressTasks:c}=this.prepareTemplateFetchSegmentParams(e,t);this.failedDownloads&&s&&(await(0,a.S2)(s,async function*(){let e=(0,a.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>setTimeout(t,e)))}.bind(this))(),s.aborted&&this.abortActiveSegments([e]));try{let e=await this.fetcher.fetch(o,{range:i,signal:s,onProgress:l,priority:n,isLowLatency:this.isActiveLowLatency()});if(!e)return;let a=new DataView(e);if(this.isActiveLowLatency()){let e=t.segmentReference.timescale;r.segment.time.to=this.containerParser.getSegmentEndTime(a,e)}l&&r.feedingBytes&&c?await Promise.all(c):await this.sourceBufferTaskQueue.append(a,s),r.segment.status="downloaded",this.onSegmentFullyAppended(r,t.id),this.failedDownloads=0}catch(t){this.abortActiveSegments([e]),ti(t)||this.failedDownloads++}}async loadByteRangeSegments(e,t,n="auto"){if(!e.length)return;for(let n of e)n.status="downloading",this.activeSegments.add({segment:n,loadedBytes:0,feedingBytes:0,fedBytes:0,representationId:t.id});let{range:r,url:i,signal:o,onProgress:s}=this.prepareByteRangeFetchSegmentParams(e,t);this.failedDownloads&&o&&(await(0,a.S2)(o,async function*(){let e=(0,a.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>{this.loadByteRangeSegmentsTimeoutId=window.setTimeout(t,e),(0,a.RB)(window,"online").pipe((0,a.IH)()).subscribe((()=>{t(),window.clearTimeout(this.loadByteRangeSegmentsTimeoutId)}))}))}.bind(this))(),o.aborted&&this.abortActiveSegments(e));try{await this.fetcher.fetch(i,{range:r,onProgress:s,signal:o,priority:n}),this.failedDownloads=0}catch(t){this.abortActiveSegments(e),ti(t)||this.failedDownloads++}}prepareByteRangeFetchSegmentParams(e,t){if(ei(t.segmentReference))throw new Error("Representation is not byte range type");let n=t.segmentReference.url,r={from:(0,br.default)(e,0).byte.from,to:(0,br.default)(e,-1).byte.to},{signal:i}=this.downloadAbortController;return{url:n,range:r,signal:i,onProgress:(e,n)=>{if(!i.aborted)try{this.onSomeByteRangesDataLoaded({dataView:e,loaded:n,signal:i,onSegmentAppendFailed:()=>this.abort(),globalFrom:r?r.from:0,representationId:t.id})}catch(e){this.error$.next({id:"SegmentFeeding",category:a.qj.VIDEO_PIPELINE,message:"Error when feeding segments",thrown:e})}}}}prepareTemplateFetchSegmentParams(e,t){if(!ei(t.segmentReference))throw new Error("Representation is not template type");let n=new URL(e.url,t.segmentReference.baseUrl);this.isActiveLowLatency()&&n.searchParams.set("low-latency","yes");let r=n.toString(),{signal:i}=this.downloadAbortController,o=[],s=this.isActiveLowLatency()||this.tuning.dash.enableSubSegmentBufferFeeding&&this.liveUpdateSegmentIndex<3?(e,n)=>{if(!i.aborted)try{let r=this.onSomeTemplateDataLoaded({dataView:e,loaded:n,signal:i,onSegmentAppendFailed:()=>this.abort(),representationId:t.id});o.push(r)}catch(e){this.error$.next({id:"SegmentFeeding",category:a.qj.VIDEO_PIPELINE,message:"Error when feeding segments",thrown:e})}}:void 0;return{url:r,signal:i,onProgress:s,onProgressTasks:o}}abortActiveSegments(e){for(let t of this.activeSegments)e.includes(t.segment)&&this.abortSegment(t.segment)}async onSomeTemplateDataLoaded({dataView:e,representationId:t,loaded:n,onSegmentAppendFailed:r,signal:i}){if(this.activeSegments.size&&this.representations.get(t))for(let o of this.activeSegments){let{segment:a}=o;if(o.representationId===t){if(i.aborted){r();continue}if(o.loadedBytes=n,o.loadedBytes>o.feedingBytes){let t=new DataView(e.buffer,e.byteOffset+o.feedingBytes,o.loadedBytes-o.feedingBytes),n=this.containerParser.parseFeedableSegmentChunk(t,this.isLive);n?.byteLength&&(a.status="partially_fed",o.feedingBytes+=n.byteLength,await this.sourceBufferTaskQueue.append(n),o.fedBytes+=n.byteLength)}}}}onSomeByteRangesDataLoaded({dataView:e,representationId:t,globalFrom:n,loaded:r,signal:i,onSegmentAppendFailed:o}){if(!this.activeSegments.size)return;let a=this.representations.get(t);if(!a)return;let s=a.segmentReference.type,l=e.byteLength;for(let a of this.activeSegments){let{segment:c}=a,u="byteRange"===s,d=u?c.byte.to-c.byte.from+1:l;if(a.representationId!==t||u&&!(c.byte.from>=n&&c.byte.to<n+e.byteLength))continue;if(i.aborted){o();continue}let p=u?c.byte.from-n:0,f=p<r,h=(u?c.byte.to-n:e.byteLength)<=r;if("downloading"===c.status&&f&&h){c.status="downloaded";let n=new DataView(e.buffer,e.byteOffset+p,d);this.sourceBufferTaskQueue.append(n,i).then((e=>e&&!i.aborted?this.onSegmentFullyAppended(a,t):o()))}else if(this.tuning.dash.enableSubSegmentBufferFeeding&&f&&(a.loadedBytes=Math.min(d,r-p),a.loadedBytes>a.feedingBytes)){let n=new DataView(e.buffer,e.byteOffset+p+a.feedingBytes,a.loadedBytes-a.feedingBytes),r=a.loadedBytes===d?n:this.containerParser.parseFeedableSegmentChunk(n);r?.byteLength&&(c.status="partially_fed",a.feedingBytes+=r.byteLength,this.sourceBufferTaskQueue.append(r,i).then((e=>{if(i.aborted)o();else if(e)a.fedBytes+=r.byteLength,a.fedBytes===d&&this.onSegmentFullyAppended(a,t);else{if(a.feedingBytes<d)return;o()}})))}}}onSegmentFullyAppended(e,t){this.playingRepresentationId=t,this.playingRepresentation$.next(this.playingRepresentationId),this.playingRepresentationInit$.next(this.parsedInitData.get(this.playingRepresentationId)),e.segment.status="fed",Jr(e.segment)&&(e.segment.size=e.fedBytes);for(let n of this.representations.values())if(n.id!==t)for(let t of this.segments.get(n.id)??[])"fed"===t.status&&t.time.from===e.segment.time.from&&t.time.to===e.segment.time.to&&(t.status="none");this.isActiveLowLatency()&&this.updateLowLatencyLive(e),this.activeSegments.delete(e),this.detectGapsWhenIdle(t,[e.segment])}abortSegment(e){this.tuning.useDashAbortPartiallyFedSegment&&"partially_fed"===e.status||"partially_ejected"===e.status?(this.sourceBufferTaskQueue.remove(e.time.from,e.time.to).then((()=>e.status="none")),e.status="partially_ejected"):e.status="none";for(let t of this.activeSegments.values())if(t.segment===e){this.activeSegments.delete(t);break}}loadNextInit(){if(this.allInitsLoaded||this.initLoadIdleCallback)return;let e=null,t=!1;for(let[n,r]of this.initData.entries()){let i=r instanceof Promise;t||=i,null===r&&(e=n)}if(!e)return void(this.allInitsLoaded=!0);if(t)return;let n=this.representations.get(e);n&&(this.initLoadIdleCallback=_r((()=>(0,Sr.default)(this.loadInit(n,"low",!1),(()=>this.initLoadIdleCallback=null)))))}async loadInit(e,t="auto",n=!1){let r=this.tuning.dash.useFetchPriorityHints?t:"auto",i=(!n&&this.failedDownloads>0?(0,a.S2)(this.destroyAbortController.signal,async function*(){let e=(0,a.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>setTimeout(t,e)))}.bind(this))():Promise.resolve()).then((()=>this.fetcher.fetchRepresentation(e.segmentReference,this.containerParser,r))).then((async t=>{if(!t)return;let{init:n,dataView:r,segments:i}=t,o=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);this.initData.set(e.id,o);let a=i;this.isLive&&ei(e.segmentReference)&&(a=this.getActualLiveStartingSegments(e.segmentReference)),(!this.isLive||!this.segments.has(e.id))&&this.segments.set(e.id,a),n&&this.parsedInitData.set(e.id,n)})).then((()=>this.failedDownloads=0),(t=>{this.initData.set(e.id,null),n&&this.error$.next({id:"LoadInits",category:a.qj.WTF,message:"loadInit threw",thrown:t})}));return this.initData.set(e.id,i),i}async pruneBuffer(e,t,n=!1){if(!this.sourceBuffer||!this.playingRepresentationId||(0,a.SG)(e)||this.sourceBuffer.updating)return!1;let r=0,i=1/0,o=-1/0,s=!1,l=e=>{i=Math.min(i,e.time.from),o=Math.max(o,e.time.to);let t=Jr(e)?e.size??0:e.byte.to-e.byte.from;r+=t};for(let n of this.segments.values())for(let i of n){if(i.time.to>=e-this.tuning.dash.bufferPruningSafeZone||r>=t)break;"fed"===i.status&&l(i)}if(s=isFinite(i)&&isFinite(o),!s){r=0,i=1/0,o=-1/0;for(let n of this.segments.values())for(let i of n){if(i.time.from<e+Math.min(this.forwardBufferTarget,this.bufferLimit)||r>t)break;"fed"===i.status&&l(i)}}if(s=isFinite(i)&&isFinite(o),!s)for(let e=0;e<this.sourceBuffer.buffered.length;e++){let t=1e3*this.sourceBuffer.buffered.start(e),n=1e3*this.sourceBuffer.buffered.end(e);for(let e of this.segments.values())for(let r of e)if("none"===r.status&&Math.round(r.time.from)<=Math.round(t)&&Math.round(r.time.to)>=Math.round(n)){i=t,o=n;break}}if(s=isFinite(i)&&isFinite(o),!s&&n){r=0,i=1/0,o=-1/0;let t=Math.min(this.forwardBufferTarget,this.bufferLimit)*this.tuning.dash.minSafeBufferThreshold;for(let n of this.segments.values())for(let r of n)r.time.from>e+t&&"fed"===r.status&&l(r)}return s=isFinite(i)&&isFinite(o),!!s&&this.sourceBufferTaskQueue.remove(i,o)}abortBuffer(){if(!this.sourceBuffer||"open"!==this.mediaSource.readyState)return;let e=this.playingRepresentationId&&this.initData.get(this.playingRepresentationId),t=e instanceof ArrayBuffer?e:void 0;this.sourceBufferTaskQueue.abort(t)}getDebugBufferState(){if(this.sourceBuffer&&this.sourceBuffer.buffered.length)return{from:this.sourceBuffer.buffered.start(0),to:this.sourceBuffer.buffered.end(this.sourceBuffer.buffered.length-1)}}detectGaps(e,t){if(this.sourceBuffer)for(let n of t){let t={representation:e,from:n.time.from,to:n.time.to};for(let e=0;e<this.sourceBuffer.buffered.length;e++){let r=1e3*this.sourceBuffer.buffered.start(e),i=1e3*this.sourceBuffer.buffered.end(e);if(!(i<=n.time.from||r>=n.time.to)){if(r<=n.time.from&&i>=n.time.to){t=void 0;break}i>n.time.from&&i<n.time.to&&(t.from=i),r<n.time.to&&r>n.time.from&&(t.to=r)}}t&&t.to-t.from>1&&!this.gaps.some((e=>t&&e.from===t.from&&e.to===t.to))&&this.gaps.push(t)}}detectGapsWhenIdle(e,t){this.gapDetectionIdleCallback||(this.gapDetectionIdleCallback=_r((()=>{try{this.detectGaps(e,t)}catch(e){this.error$.next({id:"GapDetection",category:a.qj.WTF,message:"detectGaps threw",thrown:e})}finally{this.gapDetectionIdleCallback=null}})))}checkEjectedSegments(){if((0,a.SG)(this.sourceBuffer)||(0,a.SG)(this.playingRepresentationId))return;let e=[];for(let t=0;t<this.sourceBuffer.buffered.length;t++){let n=Math.round(1e3*this.sourceBuffer.buffered.start(t)),r=Math.round(1e3*this.sourceBuffer.buffered.end(t));e.push({from:n,to:r})}for(let t of this.segments.values())for(let n of t){let{status:t}=n;if("fed"!==t&&"partially_ejected"!==t)continue;let r=Math.floor(n.time.from),i=Math.ceil(n.time.to),o=e.some((e=>e.from-1<=r&&e.to+1>=i)),a=e.filter((e=>r>=e.from-1&&r<=e.to+1||i>=e.from-1&&i<=e.to+1));o||(1===a.length||this.gaps.some((e=>e.from===n.time.from||e.to===n.time.to))?n.status="partially_ejected":n.status="none")}}},ri=e=>{let t=new URL(e);return t.searchParams.set("quic","1"),t.toString()},ii=class{constructor({throughputEstimator:e,requestQuic:t,compatibilityMode:n=!1}){this.lastConnectionType$=new a.v0(void 0),this.lastConnectionReused$=new a.v0(void 0),this.lastRequestFirstBytes$=new a.v0(void 0),this.abortAllController=new gr,this.subscription=new a.w0,this.fetchManifest=(0,a.S2)(this.abortAllController.signal,async function*(e){let t=e;this.requestQuic&&(t=ri(t));let n=yield mr(t,{signal:this.abortAllController.signal}).catch(oi);return n?(this.onHeadersReceived(n.headers),n.text()):null}.bind(this)),this.fetch=(0,a.S2)(this.abortAllController.signal,async function*(e,{rangeMethod:t=(this.compatibilityMode?0:1),range:n,onProgress:r,priority:i="auto",signal:o,measureThroughput:s=!0,isLowLatency:l=!1}={}){let c=e,u=new Headers;if(n)switch(t){case 0:u.append("Range",`bytes=${n.from}-${n.to}`);break;case 1:{let e=new URL(c,location.href);e.searchParams.append("bytes",`${n.from}-${n.to}`),c=e.toString();break}default:(0,a.vE)(t)}this.requestQuic&&(c=ri(c));let d,p=this.abortAllController.signal;if(o){let e=new gr;if(d=(0,a.TS)((0,a.RB)(this.abortAllController.signal,"abort"),(0,a.RB)(o,"abort")).subscribe((()=>{try{e.abort()}catch(e){oi(e)}})),this.abortAllController.signal.aborted||o.aborted)try{e.abort()}catch(e){oi(e)}p=e.signal}let f=(0,a.zO)(),h=yield mr(c,{priority:i,headers:u,signal:p}).catch(oi),m=(0,a.zO)();if(!h)return d?.unsubscribe(),null;if(this.throughputEstimator?.addRawRtt(m-f),!h.ok||!h.body)return d?.unsubscribe(),Promise.reject(new Error(`Fetch error ${h.status}: ${h.statusText}`));if(this.onHeadersReceived(h.headers),!r&&!s)return d?.unsubscribe(),h.arrayBuffer();let[g,v]=h.body.tee(),y=g.getReader();s&&this.throughputEstimator?.trackStream(v,l);let b=0,w=new Uint8Array(0),_=!1,S=e=>{d?.unsubscribe(),_=!0,oi(e)},x=(0,a.S2)(p,async function*({done:e,value:t}){if(0===b&&this.lastRequestFirstBytes$.next((0,a.zO)()-f),p.aborted)d?.unsubscribe();else if(!e&&t){let e=new Uint8Array(w.length+t.length);e.set(w),e.set(t,w.length),w=e,b+=t.byteLength,r?.(new DataView(w.buffer),b),yield y?.read().then(x,S)}}.bind(this));return yield y?.read().then(x,S),d?.unsubscribe(),_?null:w.buffer}.bind(this)),this.fetchByteRangeRepresentation=(0,a.S2)(this.abortAllController.signal,async function*(e,t,n){if("byteRange"!==e.type)return null;let r,i,{from:o,to:a}=e.initRange,s=o,l=a,c=!1;e.indexRange&&(r=e.indexRange.from,i=e.indexRange.to,c=a+1===r,c&&(s=Math.min(r,o),l=Math.max(i,a))),s=Math.min(s,0);let u=yield this.fetch(e.url,{range:{from:s,to:l},priority:n,measureThroughput:!1});if(!u)return null;let d=new DataView(u,o-s,a-s+1);if(!t.validateData(d))throw new Error("Invalid media file");let p,f=t.parseInit(d),h=e.indexRange??t.getIndexRange(f);if(!h)throw new ReferenceError("No way to load representation index");if(c)p=new DataView(u,h.from-s,h.to-h.from+1);else{let t=yield this.fetch(e.url,{range:h,priority:n,measureThroughput:!1});if(!t)return null;p=new DataView(t)}let m=t.parseSegments(p,f,h);return{init:f,dataView:new DataView(u),segments:m}}.bind(this)),this.fetchTemplateRepresentation=(0,a.S2)(this.abortAllController.signal,async function*(e,t){if("template"!==e.type)return null;let n=new URL(e.initUrl,e.baseUrl).toString(),r=yield this.fetch(n,{priority:t,measureThroughput:!1});return r?{init:null,segments:e.segments.map((e=>({...e,status:"none",size:void 0}))),dataView:new DataView(r)}:null}.bind(this)),this.throughputEstimator=e,this.requestQuic=t,this.compatibilityMode=n}onHeadersReceived(e){let{type:t,reused:n}=(e=>{let t=e.get("X-Delivery-Type"),n=e.get("X-Reused");return{type:null===t?"http1":t??void 0,reused:null===n?void 0:{1:!0,0:!1}[n]??void 0}})(e);this.lastConnectionType$.next(t),this.lastConnectionReused$.next(n)}async fetchRepresentation(e,t,n="auto"){let{type:r}=e;switch(r){case"byteRange":return await this.fetchByteRangeRepresentation(e,t,n)??null;case"template":return await this.fetchTemplateRepresentation(e,n)??null;default:(0,a.vE)(r)}}destroy(){this.abortAllController.abort(),this.subscription.unsubscribe()}},oi=e=>{if(!ti(e))throw e},ai=(e,t,n)=>n*t+(1-n)*e,si=(e,t)=>e.reduce(((e,t)=>e+t),0)/t,li=class{constructor(e){this.prevReported=void 0,this.pastMeasures=[],this.takenMeasures=0,this.measuresCursor=0,this.params=e,this.pastMeasures=Array(e.deviationDepth),this.smoothed=this.prevReported=e.initial,this.smoothed$=new a.v0(e.initial),this.debounced$=new a.v0(e.initial);let t=e.label??"value"+Math.random().toString(16).substring(2,6);this.rawSeries$=new zn(`raw_${t}`),this.smoothedSeries$=new zn(`smoothed_${t}`),this.reportedSeries$=new zn(`reported_${t}`),this.rawSeries$.next(e.initial),this.smoothedSeries$.next(e.initial),this.reportedSeries$.next(e.initial)}next(e){let t=0,n=0;for(let e=0;e<this.pastMeasures.length;e++)void 0!==this.pastMeasures[e]&&(t+=(this.pastMeasures[e]-this.smoothed)**2,n++);this.takenMeasures=n,t/=n;let r=Math.sqrt(t),i=this.smoothed+this.params.deviationFactor*r,o=this.smoothed-this.params.deviationFactor*r;this.pastMeasures[this.measuresCursor]=e,this.measuresCursor=(this.measuresCursor+1)%this.pastMeasures.length,this.rawSeries$.next(e),this.updateSmoothedValue(e),this.smoothed$.next(this.smoothed),this.smoothedSeries$.next(this.smoothed),!(this.smoothed>i||this.smoothed<o)&&((0,a.SG)(this.prevReported)||Math.abs(this.smoothed-this.prevReported)/this.prevReported>=this.params.changeThreshold)&&(this.prevReported=this.smoothed,this.debounced$.next(this.smoothed),this.reportedSeries$.next(this.smoothed))}},ci=class extends(/^(3633|7058)$/.test(n.j)?li:null){constructor(e){super(e),this.slow=this.fast=e.initial}updateSmoothedValue(e){this.slow=ai(this.slow,e,this.params.emaAlphaSlow),this.fast=ai(this.fast,e,this.params.emaAlphaFast);let t=this.params.fastDirection>0?Math.max:Math.min;this.smoothed=t(this.slow,this.fast)}},ui=class extends(/^(3633|7058)$/.test(n.j)?li:null){constructor(e){super(e),this.emaSmoothed=e.initial}updateSmoothedValue(e){let t=si(this.pastMeasures,this.takenMeasures);this.emaSmoothed=ai(this.emaSmoothed,e,this.params.emaAlpha);let n=((e,t,n,r)=>{let i=0,o=n,a=si(e,t),s=t<r?t:r;for(let t=0;t<s;t++)e[o]>a?i++:i--,o=(e.length+o-1)%e.length;return Math.abs(i)===s})(this.pastMeasures,this.takenMeasures,this.measuresCursor-1,this.params.basisTrendChangeCount);this.smoothed=n?this.emaSmoothed:t}},di=class extends(/^(3633|7058)$/.test(n.j)?li:null){constructor(e){super(e),this.furtherValues=[],this.currentTopExtremumValue=0,this.extremumInterval=e.extremumInterval}next(e){this.currentTopExtremumValue<=e?(this.currentTopExtremumValue=e,this.furtherValues=[]):this.furtherValues.length===this.extremumInterval?(super.next(this.currentTopExtremumValue),this.currentTopExtremumValue=e,this.furtherValues=[]):this.furtherValues.push(e)}updateSmoothedValue(e){this.smoothed=this.smoothed?ai(this.smoothed,e,this.params.emaAlpha):e}},pi=class{static getSmoothedValue(e,t,n){return"TwoEma"===n.type?new ci({initial:e,emaAlphaSlow:n.emaAlphaSlow,emaAlphaFast:n.emaAlphaFast,changeThreshold:n.changeThreshold,fastDirection:t,deviationDepth:n.deviationDepth,deviationFactor:n.deviationFactor,label:"throughput"}):new ui({initial:e,emaAlpha:n.emaAlpha,basisTrendChangeCount:n.basisTrendChangeCount,changeThreshold:n.changeThreshold,deviationDepth:n.deviationDepth,deviationFactor:n.deviationFactor,label:"throughput"})}static getLiveEstimatedDelaySmoothedValue(e,t){return new di({initial:e,label:"liveEdgeDelay",...t})}},fi=()=>window.ManagedMediaSource||window.MediaSource,hi=()=>!(!window.ManagedMediaSource||!window.ManagedSourceBuffer?.prototype?.appendBuffer),mi=/^(3633|7058)$/.test(n.j)?["timeupdate","progress","play","seeked","stalled","waiting"]:null,gi=class{constructor(e){this.element=null,this.manifestUrlString="",this.source=null,this.manifest=null,this.subscription=new a.w0,this.representationSubscription=new a.w0,this.state$=new yn("none"),this.currentVideoRepresentation$=new a.v0(void 0),this.currentVideoRepresentationInit$=new a.v0(void 0),this.currentVideoSegmentLength$=new a.v0(0),this.currentAudioSegmentLength$=new a.v0(0),this.error$=new a.xQ,this.lastConnectionType$=new a.v0(void 0),this.lastConnectionReused$=new a.v0(void 0),this.lastRequestFirstBytes$=new a.v0(void 0),this.isLive$=new a.v0(!1),this.liveDuration$=new a.v0(0),this.liveAvailabilityStartTime$=new a.v0(void 0),this.bufferLength$=new a.v0(0),this.liveLoadBufferLength$=new a.v0(0),this.livePositionFromPlayer$=new a.v0(0),this.timeInWaiting=0,this.isActiveLowLatency=!1,this.isUpdatingLive=!1,this.isJumpGapAfterSeekLive=!1,this.liveLastSeekOffset=0,this.forceEnded$=new a.xQ,this.gapWatchdogActive=!1,this.destroyController=new gr,this.initManifest=(0,a.S2)(this.destroyController.signal,async function*(e,t,n){this.element=e,this.manifestUrlString=mn(t,n,2),this.state$.startTransitionTo("manifest_ready"),this.manifest=yield this.updateManifest(),this.manifest?.representations.video.length?this.state$.setState("manifest_ready"):this.error$.next({id:"NoRepresentations",category:a.qj.PARSER,message:"No playable video representations"})}.bind(this)),this.updateManifest=(0,a.S2)(this.destroyController.signal,async function*(){let e,t=yield this.fetcher.fetchManifest(this.manifestUrlString).catch((e=>{!this.manifest&&!this.bufferLength$.getValue()&&this.error$.next({id:"LoadManifest",category:a.qj.NETWORK,message:"Failed to load manifest",thrown:e})}));if(!t)return null;try{e=((e,t)=>{let n,r={video:[],audio:[],text:[]},i=(new DOMParser).parseFromString(e,"application/xml").children[0],o=i.getElementsByTagName("Period")[0],s=i.querySelector("BaseURL")?.textContent?.trim()??"",l=o.children,c="dynamic"===i.getAttribute("type"),u=i.getAttribute("availabilityStartTime"),d=u?new Date(u).getTime():void 0,p=i.getAttribute("mediaPresentationDuration"),f=o.getAttribute("duration"),h=i.getElementsByTagName("vk:Attrs")[0]?.getElementsByTagName("vk:XPlaybackDuration")[0].textContent;if(p)n=qr(p);else if(f){let e=qr(f);(0,a.C_)(e)&&(n=e)}else h&&(n=parseInt(h,10));let m=0,g=i.getAttribute("profiles")?.split(",")??[],v=g.includes("urn:webm:dash:profile:webm-on-demand:2012")||g.includes("urn:mpeg:dash:profile:webm-on-demand:2012")?"webm":"mp4";for(let e of l){let i=e.getAttribute("mimeType"),o=e.getAttribute("codecs"),l=e.getAttribute("contentType")??i?.split("/")[0],c=e.getAttribute("profiles")?.split(",")??[],u=e.querySelectorAll("Representation"),d=e.querySelector("SegmentTemplate");if("text"!==l)for(let p of u){let u,f=p.getAttribute("mimeType")??i,h=p.getAttribute("codecs")??o??"",v=p.getAttribute("contentType")??f?.split("/")[0]??l,y=e.getAttribute("profiles")?.split(",")??[],b=parseInt(p.getAttribute("width")??"",10),w=parseInt(p.getAttribute("height")??"",10),_=parseInt(p.getAttribute("bandwidth")??"",10)/1e3,S=p.getAttribute("frameRate")??"",x=p.getAttribute("quality")??void 0,E=S?Gr(S):void 0,k=`${p.getAttribute("id")??(m++).toString(10)}@${"video"===v?`${w}p`:"audio"===v?`${_}Kbps`:h}`,C=p.querySelector("BaseURL")?.textContent?.trim()??"",T=new URL(C||s,t).toString(),O=[...g,...c,...y],M=p.querySelector("SegmentBase"),A=p.querySelector("SegmentTemplate")??d;if(M){let e=p.querySelector("SegmentBase Initialization")?.getAttribute("range")??"",[t,n]=e.split("-").map((e=>parseInt(e,10))),r={from:t,to:n},i=p.querySelector("SegmentBase")?.getAttribute("indexRange"),[o,a]=i?i.split("-").map((e=>parseInt(e,10))):[];u={type:"byteRange",url:T,initRange:r,indexRange:i?{from:o,to:a}:void 0}}else{if(!A)throw new ReferenceError("Unknown MPD segment referencing type");{let e={representationId:p.getAttribute("id")??void 0,bandwidth:p.getAttribute("bandwidth")??void 0},t=parseInt(A.getAttribute("timescale")??"",10),r=A.getAttribute("initialization")??"",i=A.getAttribute("media"),o=parseInt(A.getAttribute("startNumber")??"",10)??1,s=Wr(r,e);if(!i)throw new ReferenceError("No media attribute in SegmentTemplate");let l=A.querySelectorAll("SegmentTimeline S")??[],c=[],d=0,f="",h=0;if(l.length){let n=o,r=0;for(let o of l){let a=parseInt(o.getAttribute("d")??"",10),s=parseInt(o.getAttribute("r")??"",10)||0,l=parseInt(o.getAttribute("t")??"",10);r=Number.isFinite(l)?l:r;let u=a/t*1e3,p=r/t*1e3;for(let t=0;t<s+1;t++){let o=Wr(i,{...e,segmentNumber:n.toString(10),segmentTime:(r+t*a).toString(10)}),s=(p??0)+t*u,l=s+u;n++,c.push({time:{from:s,to:l},url:o})}r+=(s+1)*a,d+=(s+1)*u}h=r/t*1e3,f=Wr(i,{...e,segmentNumber:n.toString(10),segmentTime:r.toString(10)})}else if((0,a.C_)(n)){let r=parseInt(A.getAttribute("duration")??"",10)/t*1e3,o=Math.ceil(n/r),a=0;for(let t=1;t<o;t++){let n=Wr(i,{...e,segmentNumber:t.toString(10),segmentTime:a.toString(10)});c.push({time:{from:a,to:a+r},url:n}),a+=r}h=a,f=Wr(i,{...e,segmentNumber:o.toString(10),segmentTime:a.toString(10)})}u={type:"template",baseUrl:T,segmentTemplateUrl:i,initUrl:s,totalSegmentsDurationMs:d,segments:c,nextSegmentBeyondManifest:{time:{from:h,to:1/0},url:f},timescale:t}}}if(!v||!f)continue;let P={video:"video",audio:"audio",text:"text"}[v];P&&r[P].push({id:k,kind:P,segmentReference:u,profiles:O,duration:n,bitrate:_,mime:f,codecs:h,width:b,height:w,fps:E,quality:x})}else for(let n of u){let i=n.getAttribute("id")||"",o=e.getAttribute("lang"),a=e.getAttribute("label"),l=n.querySelector("BaseURL")?.textContent?.trim()??"",c=new URL(l||s,t).toString(),u=i.includes("_auto");r.text.push({id:i,lang:o,label:a,isAuto:u,kind:"text",url:c})}}return{dynamic:c,liveAvailabilityStartTime:d,duration:n,container:v,representations:r}})(t??"",this.manifestUrlString)}catch(e){this.error$.next({id:"ManifestParsing",category:a.qj.PARSER,message:"Failed to parse MPD manifest",thrown:e})}if(!e)return null;let n=({kind:e,mime:t,codecs:n})=>!!(this.element?.canPlayType?.(t)&&fi()?.isTypeSupported?.(`${t}; codecs="${n}"`)||"text"===e);return e.dynamic&&this.isLive$.getValue()!==e.dynamic&&(this.isLive$.next(e.dynamic),this.liveDuration$.getValue()!==e.duration&&this.liveDuration$.next(-1*(e.duration??0)/1e3),this.liveAvailabilityStartTime$.getValue()!==e.liveAvailabilityStartTime&&this.liveAvailabilityStartTime$.next(e.liveAvailabilityStartTime)),{...e,representations:(0,vr.default)(Object.entries(e.representations).map((([e,t])=>[e,t.filter(n)])))}}.bind(this)),this.initRepresentations=(0,a.S2)(this.destroyController.signal,async function*(e,t,n){(0,a.Z3)(this.manifest),(0,a.Z3)(this.element),this.representationSubscription.unsubscribe(),this.state$.startTransitionTo("representations_ready");let r=e=>{this.representationSubscription.add((0,a.RB)(e,"error").pipe((0,a.hX)((e=>!!this.element?.played.length))).subscribe((e=>{this.error$.next({id:"VideoSource",category:a.qj.VIDEO_PIPELINE,message:"Unexpected video source error",thrown:e})})))};this.source=this.tuning.useManagedMediaSource&&window.ManagedMediaSource?new ManagedMediaSource:new MediaSource;let i=document.createElement("source");if(r(i),i.src=URL.createObjectURL(this.source),this.element.appendChild(i),this.tuning.useManagedMediaSource&&hi())if(n){let e=document.createElement("source");r(e),e.type="application/x-mpegurl",e.src=n.url,this.element.appendChild(e)}else this.element.disableRemotePlayback=!0;this.isActiveLowLatency=this.isLive$.getValue()&&this.tuning.dashCmafLive.lowLatency.isActive;let o={fetcher:this.fetcher,tuning:this.tuning,getCurrentPosition:()=>this.element?1e3*this.element.currentTime:void 0,isActiveLowLatency:()=>this.isActiveLowLatency,manifest:this.manifest};if(this.videoBufferManager=new ni("video",this.source,this.manifest.container,this.manifest.representations.video,o),this.bufferManagers=[this.videoBufferManager],(0,a.C_)(t)&&(this.audioBufferManager=new ni("audio",this.source,this.manifest.container,this.manifest.representations.audio,o),this.bufferManagers.push(this.audioBufferManager)),this.representationSubscription.add(this.fetcher.lastConnectionType$.subscribe(this.lastConnectionType$)),this.representationSubscription.add(this.fetcher.lastConnectionReused$.subscribe(this.lastConnectionReused$)),this.representationSubscription.add(this.fetcher.lastRequestFirstBytes$.subscribe(this.lastRequestFirstBytes$)),this.representationSubscription.add((0,a.FG)(1e3).subscribe((e=>{if(this.element?.paused){let e=gn(this.manifestUrlString,2);this.manifestUrlString=mn(this.manifestUrlString,e+1e3,2)}}))),this.representationSubscription.add((0,a.TS)(...mi.filter((e=>"waiting"!==e)).map((e=>(0,a.RB)(this.element,e)))).pipe((0,a.UI)((e=>this.element?lr(this.element.buffered,1e3*this.element.currentTime):0)),(0,a.qz)(),(0,a.hX)((e=>!!e)),(0,a.bw)((e=>{this.stallWatchdogSubscription?.unsubscribe(),this.timeInWaiting=0}))).subscribe(this.bufferLength$)),this.isLive$.getValue()){this.representationSubscription.add(this.bufferLength$.pipe((0,a.hX)((e=>this.isActiveLowLatency&&!!e))).subscribe((e=>this.liveEstimatedDelay.next(e)))),this.representationSubscription.add(this.liveEstimatedDelay.smoothed$.subscribe((e=>{if(!this.isActiveLowLatency)return;let t=this.tuning.dashCmafLive.lowLatency.maxTargetOffset,n=this.tuning.dashCmafLive.lowLatency.maxTargetOffsetDeviation,r=this.tuning.dashCmafLive.lowLatency.playbackCatchupSpeedup,i=e-t,o=1+Math.sign(i)*r;Math.abs(i)<n?o=1:Math.abs(i)>2*n&&(o=1+Math.sign(i)*r*2),((e,t)=>{e&&e.playbackRate!==t&&(e.playbackRate=t)})(this.element,o)}))),this.representationSubscription.add(this.bufferLength$.subscribe((e=>{let t=0;if(e){let e=1e3*(this.element?.currentTime??0);t=Math.min(...this.bufferManagers.map((t=>t.getLiveSegmentsToLoadState(this.manifest)?.to??e)))-e}this.liveLoadBufferLength$.getValue()!==t&&this.liveLoadBufferLength$.next(t)})));let e=0;this.representationSubscription.add((0,a.$e)({liveLoadBufferLength:this.liveLoadBufferLength$,bufferLength:this.bufferLength$}).pipe((0,a.P2)(1e3)).subscribe((async({liveLoadBufferLength:t,bufferLength:n})=>{if((0,a.Z3)(this.element),this.isUpdatingLive)return;let r=this.element.playbackRate,i=gn(this.manifestUrlString,2),o=1e3*Math.abs(this.livePositionFromPlayer$.getValue()),s=Math.min(o,this.tuning.dashCmafLive.normalizedTargetMinBufferSize*r),l=this.tuning.dashCmafLive.normalizedActualBufferOffset*r,c=this.tuning.dashCmafLive.normalizedLiveMinBufferSize*r,u=this.isActiveLowLatency?n:t,d=3;if(this.isActiveLowLatency?d=0:u<s+c&&u>=s?d=1:0!==i&&u<s&&(d=2),isFinite(t)&&(e=t>e?t:e),2===d||1===d){let n,o=e-(s+l),a=this.normolizeLiveOffset(Math.trunc(i+o/r)),c=Math.abs(a-i);n=!t||c<=this.tuning.dashCmafLive.offsetCalculationError?i:a>0&&c>this.tuning.dashCmafLive.offsetCalculationError?a:0,this.manifestUrlString=mn(this.manifestUrlString,n,2)}3!==d&&0!==d&&(e=0,this.updateLive())})))}let s=(0,a.TS)(...this.bufferManagers.map((e=>e.fullyBuffered$))).pipe((0,a.UI)((()=>this.bufferManagers.every((e=>e.fullyBuffered$.getValue()))))),l=(0,a.TS)(...this.bufferManagers.map((e=>e.onLastSegment$))).pipe((0,a.UI)((()=>this.bufferManagers.some((e=>e.onLastSegment$.getValue())))));this.representationSubscription.add((0,a.TS)(this.forceEnded$,(0,a.$e)({allBuffersFull:s,someBufferEnded:l}).pipe((0,a.hX)((({allBuffersFull:e,someBufferEnded:t})=>e&&t)))).subscribe((()=>{if(this.source&&"open"===this.source.readyState&&Array.from(this.source.sourceBuffers).every((e=>!e.updating)))try{this.source?.endOfStream()}catch(e){this.error$.next({id:"EndOfStream",category:a.qj.VIDEO_PIPELINE,message:"Failed to end MediaSource stream",thrown:e})}}))),this.representationSubscription.add((0,a.TS)(...this.bufferManagers.map((e=>e.error$))).subscribe(this.error$)),this.representationSubscription.add(this.videoBufferManager.playingRepresentation$.subscribe(this.currentVideoRepresentation$)),this.subscription.add(this.videoBufferManager.playingRepresentationInit$.subscribe(this.currentVideoRepresentationInit$)),this.subscription.add(this.videoBufferManager.currentSegmentLength$.subscribe(this.currentVideoSegmentLength$)),this.audioBufferManager&&this.subscription.add(this.audioBufferManager.currentSegmentLength$.subscribe(this.currentAudioSegmentLength$)),"open"!==this.source.readyState&&(yield new Promise((e=>this.source?.addEventListener("sourceopen",e))));let c=this.manifest.duration??0,u=(e,t)=>Math.max(e,t.duration??0),d=this.manifest.representations.audio.reduce(u,c),p=this.manifest.representations.video.reduce(u,c);(d||p)&&(this.source.duration=Math.max(d,p)/1e3),this.audioBufferManager&&(0,a.C_)(t)?yield Promise.all([this.videoBufferManager.startWith(e),this.audioBufferManager.startWith(t)]):yield this.videoBufferManager.startWith(e),this.state$.setState("representations_ready")}.bind(this)),this.tick=()=>{if(!this.element||!this.videoBufferManager)return;let e=1e3*this.element.currentTime;this.videoBufferManager.maintain(e),this.audioBufferManager?.maintain(e),(this.videoBufferManager.gaps.length||this.audioBufferManager?.gaps.length)&&!this.gapWatchdogActive&&(this.gapWatchdogActive=!0,this.gapWatchdogSubscription=(0,a.FG)(this.tuning.gapWatchdogInterval).subscribe((()=>this.jumpGap()),(e=>{this.error$.next({id:"GapWatchdog",category:a.qj.WTF,message:"Error handling gaps",thrown:e})})),this.subscription.add(this.gapWatchdogSubscription))},this.throughputEstimator=e.throughputEstimator,this.tuning=e.tuning,this.fetcher=new ii({throughputEstimator:this.throughputEstimator,requestQuic:this.tuning.requestQuick,compatibilityMode:e.compatibilityMode}),this.liveEstimatedDelay=pi.getLiveEstimatedDelaySmoothedValue(0,{...e.tuning.dashCmafLive.lowLatency.delayEstimator})}async seekLive(e){(0,a.Z3)(this.element);let t=this.normolizeLiveOffset(e);this.isActiveLowLatency=this.tuning.dashCmafLive.lowLatency.isActive&&0===t,this.liveLastSeekOffset=t,this.manifestUrlString=mn(this.manifestUrlString,t,2),this.manifest=await this.updateManifest(),this.manifest&&(this.isJumpGapAfterSeekLive=!0,await(this.videoBufferManager?.seekLive(this.manifest?.representations.video)),await(this.audioBufferManager?.seekLive(this.manifest?.representations.audio)))}initBuffer(){(0,a.Z3)(this.element),this.state$.setState("running"),this.subscription.add((0,a.TS)(...mi.map((e=>(0,a.RB)(this.element,e))),(0,a.RB)(window,"online")).subscribe((()=>this.tick()),(e=>{this.error$.next({id:"DashVKPlayer",category:a.qj.WTF,message:"Internal logic error",thrown:e})}))),this.subscription.add((0,a.RB)(this.element,"progress").subscribe((()=>{this.element&&2===this.element.readyState&&!this.element.seeking&&(this.element.currentTime=this.element.currentTime)}))),this.subscription.add((0,a.RB)(this.element,"waiting").subscribe((()=>{this.element&&2===this.element.readyState&&!this.element.seeking&&yr(this.element.buffered,1e3*this.element.currentTime)&&(this.element.currentTime=this.element.currentTime);this.stallWatchdogSubscription?.unsubscribe(),this.stallWatchdogSubscription=(0,a.FG)(1e3).subscribe((()=>{if(this.element){if(this.timeInWaiting+=1e3,this.timeInWaiting>=this.tuning.dash.crashOnStallTimeout)throw new Error(`Stall timeout exceeded: ${this.tuning.dash.crashOnStallTimeout} ms`);this.isLive$.getValue()&&this.seekLive(this.liveLastSeekOffset)}}),(e=>{this.error$.next({id:"StallWatchdogCallback",category:a.qj.FATAL,message:"Can't restore DASH after stall.",thrown:e})})),this.subscription.add(this.stallWatchdogSubscription)}))),this.tick()}async switchRepresentation(e,t){return{video:this.videoBufferManager,audio:this.audioBufferManager,text:null}[e]?.switchTo(t)}seek(e,t){let n;(0,a.Z3)(this.element),(0,a.Z3)(this.videoBufferManager),n=t||1e3*this.element.duration<=this.tuning.dashSeekInSegmentDurationThreshold||Math.abs(1e3*this.element.currentTime-e)<=this.tuning.dashSeekInSegmentAlwaysSeekDelta?e:Math.max(this.videoBufferManager.findSegmentStartTime(e)??e,this.audioBufferManager?.findSegmentStartTime(e)??e),yr(this.element.buffered,n)||(this.videoBufferManager.abort(),this.audioBufferManager?.abort()),this.videoBufferManager.maintain(n),this.audioBufferManager?.maintain(n),this.element.currentTime=n/1e3}stop(){this.element?.querySelectorAll("source").forEach((e=>e.remove())),this.element=null,this.source=null,this.manifest=null,this.currentVideoRepresentation$.next(void 0),this.videoBufferManager?.destroy(),this.videoBufferManager=null,this.audioBufferManager?.destroy(),this.audioBufferManager=null,this.bufferManagers=[],this.state$.setState("none")}setBufferTarget(e){for(let t of this.bufferManagers)t.setTarget(e)}getRepresentations(){return this.manifest?.representations}setPreloadOnly(e){for(let t of this.bufferManagers)t.setPreloadOnly(e)}destroy(){this.subscription.unsubscribe(),this.representationSubscription.unsubscribe(),this.destroyController.abort(),this.fetcher.destroy(),this.stop(),"open"===this.source?.readyState&&Array.from(this.source.sourceBuffers).every((e=>!e.updating))&&this.source.endOfStream(),this.source=null}normolizeLiveOffset(e){return 1e3*Math.trunc(e/1e3)}async updateLive(){this.isUpdatingLive=!0,this.manifest=await this.updateManifest(),this.manifest&&this.bufferManagers?.forEach((e=>e.updateLive(this.manifest))),this.isUpdatingLive=!1}jumpGap(){if(!this.element||!this.videoBufferManager)return;let e=this.videoBufferManager.getDebugBufferState();if(!e)return;this.isJumpGapAfterSeekLive&&!this.isActiveLowLatency&&this.element.currentTime>e.to&&(this.isJumpGapAfterSeekLive=!1,this.element.currentTime=0);let t=1e3*this.element.currentTime,n=[],r=1===this.element.readyState?this.tuning.endGapTolerance:0;for(let e of this.bufferManagers)for(let i of e.gaps)e.playingRepresentation$.getValue()===i.representation&&i.from-r<=t&&i.to+r>t&&(1e3*this.element.duration-i.to<this.tuning.endGapTolerance?n.push(1/0):n.push(i.to));if(n.length){let e=Math.max(...n)+10;this.gapWatchdogSubscription.unsubscribe(),this.gapWatchdogActive=!1,e===1/0?this.forceEnded$.next():this.element.currentTime=e/1e3}}},vi=class{constructor(e,t){this.fov=e,this.orientation=t}},yi=class{constructor(e,t){this.rotating=!1,this.fading=!1,this.lastTickTS=0,this.lastCameraTurnTS=0,this.fadeStartSpeed=null,this.fadeTime=0,this.camera=e,this.options=t,this.rotationSpeed={x:0,y:0,z:0},this.fadeCorrection=1/(this.options.speedFadeTime/1e3)**2}turnCamera(e=0,t=0,n=0){this.pointCameraTo(this.camera.orientation.x+e,this.camera.orientation.y+t,this.camera.orientation.z+n)}pointCameraTo(e=0,t=0,n=0){t=this.limitCameraRotationY(t);let r=e-this.camera.orientation.x,i=t-this.camera.orientation.y,o=n-this.camera.orientation.z;this.camera.orientation.x=e,this.camera.orientation.y=t,this.camera.orientation.z=n,this.lastCameraTurn={x:r,y:i,z:o},this.lastCameraTurnTS=Date.now()}setRotationSpeed(e,t,n){this.rotationSpeed.x=e??this.rotationSpeed.x,this.rotationSpeed.y=t??this.rotationSpeed.y,this.rotationSpeed.z=n??this.rotationSpeed.z}startRotation(){this.rotating=!0}stopRotation(e=!1){e?(this.setRotationSpeed(0,0,0),this.fadeStartSpeed=null):this.startFading(this.rotationSpeed.x,this.rotationSpeed.y,this.rotationSpeed.z),this.rotating=!1}onCameraRelease(){if(this.lastCameraTurn&&this.lastCameraTurnTS){let e=Date.now()-this.lastCameraTurnTS;if(e<this.options.speedFadeThreshold){let t=(1-e/this.options.speedFadeThreshold)*this.options.rotationSpeedCorrection;this.startFading(this.lastCameraTurn.x*t,this.lastCameraTurn.y*t,this.lastCameraTurn.z*t)}}}startFading(e,t,n){this.setRotationSpeed(e,t,n),this.fadeStartSpeed={...this.rotationSpeed},this.fading=!0}stopFading(){this.fadeStartSpeed=null,this.fading=!0,this.fadeTime=0}limitCameraRotationY(e){return Math.max(-this.options.maxYawAngle,Math.min(e,this.options.maxYawAngle))}tick(e){if(!this.lastTickTS)return this.lastTickTS=e,void(this.lastCameraTurnTS=Date.now());let t=e-this.lastTickTS,n=t/1e3;if(this.rotating)this.turnCamera(this.rotationSpeed.x*this.options.rotationSpeedCorrection*n,this.rotationSpeed.y*this.options.rotationSpeedCorrection*n,this.rotationSpeed.z*this.options.rotationSpeedCorrection*n);else if(this.fading&&this.fadeStartSpeed){let e=-this.fadeCorrection*(this.fadeTime/1e3)**2+1;this.setRotationSpeed(this.fadeStartSpeed.x*e,this.fadeStartSpeed.y*e,this.fadeStartSpeed.z*e),e>0?this.turnCamera(this.rotationSpeed.x*this.options.rotationSpeedCorrection*n,this.rotationSpeed.y*this.options.rotationSpeedCorrection*n,this.rotationSpeed.z*this.options.rotationSpeedCorrection*n):(this.stopRotation(!0),this.stopFading()),this.fadeTime=Math.min(this.fadeTime+t,this.options.speedFadeTime)}this.lastTickTS=e}},bi=/^(3633|7058)$/.test(n.j)?"attribute vec2 a_vertex;\nattribute vec2 a_texel;\n\nvarying vec2 v_texel;\n\nvoid main(void) {\n // direct vertex drawing\n gl_Position = vec4(a_vertex, 0.0, 1.0);\n // save texel vector to pass to fragment shader\n v_texel = a_texel;\n}\n":null,wi=/^(3633|7058)$/.test(n.j)?"#ifdef GL_ES\n precision highp float;\n precision highp int;\n#else\n precision highp float;\n#endif\n\n#define PI 3.14159265358979323846264\n\nvarying vec2 v_texel; // [0..1, 0..1]\n\nuniform sampler2D u_texture;\nuniform vec2 u_focus; // current central point [-180..180, -90..90] (degrees)\n\nvoid main(void) {\n // center point of output projection\n float lambda0 = u_focus.x / 360.0;\n float phi0 = u_focus.y / 180.0;\n\n float lambda = PI * 2.0 * (v_texel.x - 0.5 - lambda0); // [-pi..+pi] (rad)\n float phi = PI * (v_texel.y - 0.5 - phi0); // [-pi/2..+pi/2] (rad)\n\n float p = sqrt(lambda * lambda + phi * phi); // rou\n float c = atan(p);\n float cos_c = cos(c);\n float sin_c = sin(c);\n\n // geo coordinates of projection\n float x = lambda0 + atan(\n lambda * sin_c,\n p * cos(phi0) * cos_c - phi * sin(phi0) * sin_c\n );\n float y = asin(cos_c * sin(phi0) + (phi * sin_c * cos(phi0)) / p);\n\n // reprojected texture coordinates\n vec2 tc = vec2(\n mod(x / (PI * 2.0) - 0.5, 1.0), // [0..1]\n mod(y / PI - 0.5, 1.0) // [0..1]\n );\n\n // sample using new coordinates\n gl_FragColor = texture2D(u_texture, tc);\n}\n":null,_i=class{constructor(e,t,n){this.videoInitialized=!1,this.active=!1,this.container=e,this.sourceVideoElement=t,this.params=n,this.canvas=this.createCanvas();let r=this.canvas.getContext("webgl");if(!r)throw new Error("Could not initialize WebGL context");this.gl=r,this.container.appendChild(this.canvas),this.camera=new vi(this.params.fov,this.params.orientation),this.cameraRotationManager=new yi(this.camera,{rotationSpeed:this.params.rotationSpeed,maxYawAngle:this.params.maxYawAngle,rotationSpeedCorrection:this.params.rotationSpeedCorrection,degreeToPixelCorrection:this.params.degreeToPixelCorrection,speedFadeTime:this.params.speedFadeTime,speedFadeThreshold:this.params.speedFadeThreshold}),this.updateFrameSize(),this.vertexBuffer=this.createVertexBuffer(),this.textureMappingBuffer=this.createTextureMappingBuffer(),this.updateTextureMappingBuffer(),this.program=this.createProgram(),this.videoTexture=this.createTexture(),this.gl.useProgram(this.program),this.videoElementDataLoadedFn=this.onDataLoadedHandler.bind(this),this.renderFn=this.render.bind(this)}play(){this.active||(this.videoInitialized?this.doPlay():this.sourceVideoElement.readyState>=2?(this.videoInitialized=!0,this.doPlay()):this.sourceVideoElement.addEventListener("loadeddata",this.videoElementDataLoadedFn))}stop(){this.active=!1}startCameraManualRotation(e,t){this.cameraRotationManager.setRotationSpeed(e*this.params.rotationSpeed,t*this.params.rotationSpeed,0),this.cameraRotationManager.startRotation()}stopCameraManualRotation(e=!1){this.cameraRotationManager.stopRotation(e)}turnCamera(e,t){this.cameraRotationManager.turnCamera(e,t)}pointCameraTo(e,t){this.cameraRotationManager.pointCameraTo(e,t)}pixelToDegree(e){return{x:this.params.degreeToPixelCorrection*this.params.fov.x*-e.x/this.viewportWidth,y:this.params.degreeToPixelCorrection*this.params.fov.y*e.y/this.viewportHeight}}getCameraRotation(){return this.camera.orientation}holdCamera(){this.cameraRotationManager.stopRotation(!0)}releaseCamera(){this.cameraRotationManager.onCameraRelease()}destroy(){this.sourceVideoElement.removeEventListener("loadeddata",this.videoElementDataLoadedFn),this.stop(),this.canvas.remove()}setViewportSize(e,t){this.viewportWidth=e,this.viewportHeight=t,this.canvas.width=this.viewportWidth,this.canvas.height=this.viewportHeight,this.gl.viewport(0,0,this.canvas.width,this.canvas.height)}onDataLoadedHandler(){this.videoInitialized=!0,this.doPlay()}doPlay(){this.updateFrameSize(),this.vertexBuffer=this.createVertexBuffer(),this.active=!0,this.sourceVideoElement.removeEventListener("loadeddata",this.videoElementDataLoadedFn),requestAnimationFrame(this.renderFn)}render(e){this.cameraRotationManager.tick(e),this.updateTexture(),this.updateTextureMappingBuffer();let t=this.gl.getAttribLocation(this.program,"a_vertex"),n=this.gl.getAttribLocation(this.program,"a_texel"),r=this.gl.getUniformLocation(this.program,"u_texture"),i=this.gl.getUniformLocation(this.program,"u_focus");this.gl.enableVertexAttribArray(t),this.gl.enableVertexAttribArray(n),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.vertexBuffer),this.gl.vertexAttribPointer(t,2,this.gl.FLOAT,!1,0,0),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.textureMappingBuffer),this.gl.vertexAttribPointer(n,2,this.gl.FLOAT,!1,0,0),this.gl.activeTexture(this.gl.TEXTURE0),this.gl.bindTexture(this.gl.TEXTURE_2D,this.videoTexture),this.gl.uniform1i(r,0),this.gl.uniform2f(i,-this.camera.orientation.x,-this.camera.orientation.y),this.gl.drawArrays(this.gl.TRIANGLE_FAN,0,4),this.gl.bindTexture(this.gl.TEXTURE_2D,null),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null),this.gl.disableVertexAttribArray(t),this.gl.disableVertexAttribArray(n),this.active&&requestAnimationFrame(this.renderFn)}createShader(e,t){let n=this.gl.createShader(t);if(!n)throw this.destroy(),new Error(`Could not create shader (${t})`);if(this.gl.shaderSource(n,e),this.gl.compileShader(n),!this.gl.getShaderParameter(n,this.gl.COMPILE_STATUS))throw this.destroy(),new Error("An error occurred while compiling the shader: "+this.gl.getShaderInfoLog(n));return n}createProgram(){let e=this.gl.createProgram();if(!e)throw this.destroy(),new Error("Could not create shader program");let t=this.createShader(bi,this.gl.VERTEX_SHADER),n=this.createShader(wi,this.gl.FRAGMENT_SHADER);if(this.gl.attachShader(e,t),this.gl.attachShader(e,n),this.gl.linkProgram(e),!this.gl.getProgramParameter(e,this.gl.LINK_STATUS))throw this.destroy(),new Error("Could not link shader program.");return e}createTexture(){let e=this.gl.createTexture();if(!e)throw this.destroy(),new Error("Could not create texture");return this.gl.bindTexture(this.gl.TEXTURE_2D,e),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,this.gl.CLAMP_TO_EDGE),this.gl.bindTexture(this.gl.TEXTURE_2D,null),e}updateTexture(){this.gl.bindTexture(this.gl.TEXTURE_2D,this.videoTexture),this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!0),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,this.sourceVideoElement),this.gl.bindTexture(this.gl.TEXTURE_2D,null)}createVertexBuffer(){let e=this.gl.createBuffer();if(!e)throw this.destroy(),new Error("Could not create vertex buffer");let t=1,n=1,r=this.frameHeight/(this.frameWidth/this.viewportWidth);return r>this.viewportHeight?t=this.viewportHeight/r:n=r/this.viewportHeight,this.gl.bindBuffer(this.gl.ARRAY_BUFFER,e),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([-t,-n,t,-n,t,n,-t,n]),this.gl.STATIC_DRAW),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null),e}createTextureMappingBuffer(){let e=this.gl.createBuffer();if(!e)throw this.destroy(),new Error("Could not create texture mapping buffer");return e}calculateTexturePosition(){let e=.5-this.camera.orientation.x/360,t=.5-this.camera.orientation.y/180,n=this.camera.fov.x/360/2,r=this.camera.fov.y/180/2;return[e-n,t-r,e+n,t-r,e+n,t+r,e-n,t+r]}updateTextureMappingBuffer(){this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.textureMappingBuffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([...this.calculateTexturePosition()]),this.gl.STATIC_DRAW),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null)}updateFrameSize(){this.frameWidth=this.sourceVideoElement.videoWidth,this.frameHeight=this.sourceVideoElement.videoHeight}createCanvas(){let e=document.createElement("canvas");return e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.width="100%",e.style.height="100%",e}},Si=class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("stopped"),this.elementSize$=new a.v0(void 0),this.textTracksManager=new An,this.droppedFramesManager=new nr,this.videoTracks$=new a.v0([]),this.audioTracks=[],this.audioRepresentations=new Map,this.videoTrackSwitchHistory=new Un,this.textTracks=[],this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.seekState.getState();if(!this.videoState.getTransition()){if("requested"===r.state&&"paused"!==n?.to&&"stopped"!==e&&"stopped"!==t){let e=this.liveOffset?.getTotalPausedTime()??0;this.seek(r.position-e,r.forcePrecise)}if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.player.stop(),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));switch(e){case"stopped":return this.videoState.startTransitionTo("ready"),void this.prepare();case"ready":return void("paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"ready"===n?.to&&vn(this.params.desiredState.playbackState,"ready"));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.liveOffset?.pause(),this.video.pause()):"playing"===n?.to&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.liveOffset?this.liveOffset.getTotalOffset()/1e3<Math.abs(this.params.output.duration$.getValue())?(this.liveOffset.resume(),this.playIfAllowed(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3)):this.seek(0,!1):this.playIfAllowed()):"paused"===n?.to&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,a.vE)(e)}}},this.init3DScene=e=>{if(this.scene3D)return;this.scene3D=new _i(this.params.container,this.video,{fov:this.params.tuning.spherical.fov,orientation:this.params.tuning.spherical.orientation||{x:e.projectionData?.pose.yaw||0,y:e.projectionData?.pose.pitch||0,z:e.projectionData?.pose.roll||0},rotationSpeed:this.params.tuning.spherical.rotationSpeed,maxYawAngle:this.params.tuning.spherical.maxYawAngle,rotationSpeedCorrection:this.params.tuning.spherical.rotationSpeedCorrection,degreeToPixelCorrection:this.params.tuning.spherical.degreeToPixelCorrection,speedFadeTime:this.params.tuning.spherical.speedFadeTime,speedFadeThreshold:this.params.tuning.spherical.speedFadeThreshold});let t=this.elementSize$.getValue();t&&this.scene3D.setViewportSize(t.width,t.height)},this.destroy3DScene=()=>{this.scene3D&&(this.scene3D.destroy(),this.scene3D=void 0)},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.isLive$.next(!1),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.player=new gi({throughputEstimator:this.params.dependencies.throughputEstimator,tuning:this.params.tuning,compatibilityMode:this.params.source.compatibilityMode}),this.subscribe()}getProviderSubscriptionInfo(){let{output:e,desiredState:t}=this.params,n=Rn(this.video),r=this.constructor.name,i=t=>{e.error$.next({id:r,category:a.qj.WTF,message:`${r} internal logic error`,thrown:t})};return{output:e,desiredState:t,observableVideo:n,genericErrorListener:i,connect:(e,t)=>this.subscription.add(e.subscribe(t,i))}}subscribe(){let{output:e,desiredState:t,observableVideo:n,genericErrorListener:r,connect:i}=this.getProviderSubscriptionInfo();this.droppedFramesManager.connect({logger:this.params.dependencies.logger,video:this.video,droppedFramesChecker:this.params.tuning.droppedFramesChecker,isAuto:this.params.desiredState.autoVideoTrackSwitching,playing$:n.playing$,pause$:n.pause$,tracks$:this.videoTracks$.pipe((0,a.UI)((e=>e.map((({track:e})=>e)))))}),i(n.ended$,e.endedEvent$),i(n.looped$,e.loopedEvent$),i(n.error$,e.error$),i(n.isBuffering$,e.isBuffering$),i(n.currentBuffer$,e.currentBuffer$),i(n.playing$,e.firstFrameEvent$),i(n.canplay$,e.canplay$),i(n.inPiP$,e.inPiP$),i(n.inFullscreen$,e.inFullscreen$),i(this.player.error$,e.error$),i(this.player.lastConnectionType$,e.httpConnectionType$),i(this.player.lastConnectionReused$,e.httpConnectionReused$),i(this.player.isLive$,e.isLive$),i(this.player.lastRequestFirstBytes$.pipe((0,a.hX)(a.C_),(0,a.IH)()),e.firstBytesEvent$),this.subscription.add(n.seeked$.subscribe(e.seekedEvent$,r)),this.subscription.add(kn(this.video,t.isLooped,r)),this.subscription.add(Cn(this.video,t.volume,n.volumeState$,r)),this.subscription.add(n.volumeState$.subscribe(this.params.output.volume$,r)),this.subscription.add(Tn(this.video,t.playbackRate,n.playbackRateState$,r)),i((0,a.t$)(this.video),this.elementSize$),i(ir(this.video,{threshold:this.params.tuning.autoTrackSelection.activeVideoAreaThreshold}),e.elementVisible$),this.subscription.add(n.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing"),this.scene3D&&this.scene3D.play()}),r)).add(n.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),r)).add(n.canplay$.subscribe((()=>{"playing"===this.videoState.getState()&&this.playIfAllowed()}),r)),this.subscription.add(this.player.state$.stateChangeEnded$.subscribe((({to:e})=>{if("manifest_ready"===e){let e=[];this.audioTracks=[],this.textTracks=[];let t=this.player.getRepresentations();(0,a.Z3)(t,"Manifest not loaded or empty");let n=Array.from(t.audio).sort(((e,t)=>t.bitrate-e.bitrate)),r=Array.from(t.video).sort(((e,t)=>t.bitrate-e.bitrate)),i=Array.from(t.text);if(!this.params.tuning.isAudioDisabled)for(let e of n){let t=Kr(e);t&&this.audioTracks.push({track:t,representation:e})}for(let t of r){let i=Yr(t);if(i){e.push({track:i,representation:t});let o=!this.params.tuning.isAudioDisabled&&Qr(n,r,t);o&&this.audioRepresentations.set(t.id,o)}}this.videoTracks$.next(e);for(let e of i){let t=Xr(e);t&&this.textTracks.push({track:t,representation:e})}this.params.output.availableVideoTracks$.next(e.map((({track:e})=>e))),this.params.output.availableAudioTracks$.next(this.audioTracks.map((({track:e})=>e))),this.params.output.isAudioAvailable$.next(!!this.audioTracks.length),this.textTracks.length>0&&this.params.desiredState.internalTextTracks.startTransitionTo(this.textTracks.map((({track:e})=>e)));let o=this.selectVideoRepresentation();(0,a.Z3)(o),this.player.initRepresentations(o.id,this.audioRepresentations.get(o.id)?.id,this.params.sourceHls)}else"representations_ready"===e&&(this.videoState.setState("ready"),this.player.initBuffer())}),r));let o=t=>e.error$.next({id:"RepresentationSwitch",category:a.qj.WTF,message:"Switching representations threw",thrown:t});this.subscription.add((0,a.TS)(this.player.state$.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.transitionStarted$,this.params.dependencies.throughputEstimator.rttAdjustedThroughput$,t.autoVideoTrackLimits.stateChangeStarted$,this.elementSize$,this.params.output.elementVisible$,this.droppedFramesManager.onDroopedVideoFramesLimit$,(0,a.RB)(this.video,"progress")).subscribe((()=>{let e=this.player.state$.getState(),n=this.player.state$.getTransition();if("running"!==e||n||!this.videoTracks$.getValue().length)return;t.autoVideoTrackSwitching.getTransition()&&t.autoVideoTrackSwitching.setState(t.autoVideoTrackSwitching.getState());let r=this.selectVideoRepresentation(),i=this.params.desiredState.autoVideoTrackLimits.getTransition();i&&this.params.output.autoVideoTrackLimits$.next(i.to);let s=this.params.desiredState.autoVideoTrackSwitching.getState(),l=this.params.tuning.autoTrackSelection.backgroundVideoQualityLimit;if(r){let e=r.id;!this.params.output.elementVisible$.getValue()&&s&&(e=this.videoTracks$.getValue().map((e=>e.representation)).sort(((e,t)=>t.bitrate-e.bitrate)).filter((e=>{let t=(0,a.fh)(e),n=(0,a.fh)(r);if(t&&n)return(0,a.zE)(t,n)&&(0,a.zE)(t,l)})).map((e=>e.id))[0]),this.player.switchRepresentation("video",e).catch(o);let t=this.audioRepresentations.get(r.id);t&&this.player.switchRepresentation("audio",t.id).catch(o)}}),r)),this.subscription.add(t.cameraOrientation.stateChangeEnded$.subscribe((({to:e})=>{this.scene3D&&e&&this.scene3D.pointCameraTo(e.x,e.y)}))),this.subscription.add(this.elementSize$.subscribe((e=>{this.scene3D&&e&&this.scene3D.setViewportSize(e.width,e.height)}))),this.subscription.add(this.player.currentVideoRepresentation$.pipe((0,a.qz)(),(0,a.UI)((e=>e&&this.videoTracks$.getValue().find((({representation:{id:t}})=>t===e))?.track))).subscribe(e.currentVideoTrack$,r)),this.subscription.add(this.player.currentVideoRepresentationInit$.subscribe((t=>{if(t?.is3dVideo&&this.params.tuning.spherical?.enabled)try{this.init3DScene(t),e.is3DVideo$.next(!0)}catch(t){e.warning$.next({id:"DashProvider",message:`DashProvider could not initialize 3D-scene: ${t}`})}else this.destroy3DScene(),this.params.tuning.spherical?.enabled&&e.is3DVideo$.next(!1)}),r)),this.subscription.add(this.player.currentVideoSegmentLength$.subscribe(e.currentVideoSegmentLength$,r)),this.subscription.add(this.player.currentAudioSegmentLength$.subscribe(e.currentAudioSegmentLength$,r)),this.textTracksManager.connect(this.video,t,e);let s=t.playbackState.stateChangeStarted$.pipe((0,a.UI)((({to:e})=>"ready"===e)),(0,a.qz)());this.subscription.add((0,a.TS)(s,t.autoVideoTrackSwitching.stateChangeStarted$,this.player.state$.stateChangeEnded$).subscribe((()=>{let e=t.autoVideoTrackSwitching.getState(),n="ready"===t.playbackState.getState()?this.params.tuning.dash.forwardBufferTargetPreload:e?this.params.tuning.dash.forwardBufferTargetAuto:this.params.tuning.dash.forwardBufferTargetManual;this.player.setBufferTarget(n)}))),this.subscription.add((0,a.TS)(s,this.player.state$.stateChangeEnded$).subscribe((()=>this.player.setPreloadOnly("ready"===t.playbackState.getState()))));let l=(0,a.TS)(t.playbackState.stateChangeStarted$,t.videoTrack.stateChangeStarted$,t.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0));this.subscription.add(l.subscribe(this.syncPlayback,r))}selectVideoRepresentation(){let e=this.params.desiredState.autoVideoTrackSwitching.getState(),t=this.params.desiredState.videoTrack.getState()?.id,n=this.videoTracks$.getValue().find((({track:{id:e}})=>e===t))?.track,r=this.params.output.currentVideoTrack$.getValue(),i=lr(this.video.buffered,1e3*this.video.currentTime),o=e?this.params.tuning.dash.forwardBufferTargetAuto:this.params.tuning.dash.forwardBufferTargetManual,a=Math.min(i/Math.min(o,(1e3*this.video.duration||1/0)-1e3*this.video.currentTime),1),s=Math.max(n&&!e?this.audioRepresentations.get(n.id)?.bitrate??0:0,r?this.audioRepresentations.get(r.id)?.bitrate??0:0),l=$n(this.videoTracks$.getValue().map((({track:e})=>e)),{container:this.elementSize$.getValue(),throughput:this.params.dependencies.throughputEstimator.rttAdjustedThroughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,limits:this.params.desiredState.autoVideoTrackLimits.getState(),reserve:s,forwardBufferHealth:a,current:r,history:this.videoTrackSwitchHistory,playbackRate:this.video.playbackRate,droppedVideoMaxQualityLimit:this.droppedFramesManager.droppedVideoMaxQualityLimit,abrLogger:this.params.dependencies.abrLogger}),c=e?l??n:n??l;return c&&this.videoTracks$.getValue().find((({track:e})=>e===c))?.representation}prepare(e=0){this.player.initManifest(this.video,this.params.source.url,e)}playIfAllowed(){Wn(this.video).then((e=>{e||(this.liveOffset?.pause(),this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))}destroy(){this.subscription.unsubscribe(),this.droppedFramesManager.destroy(),this.destroy3DScene(),this.textTracksManager.destroy(),this.player.destroy(),this.params.output.element$.next(void 0),xn(this.video)}},xi=class extends(/^(3633|7058)$/.test(n.j)?Si:null){subscribe(){super.subscribe();let{output:e,observableVideo:t,connect:n}=this.getProviderSubscriptionInfo();n(t.timeUpdate$,e.position$),n(t.durationChange$,e.duration$)}seek(e,t){this.params.output.willSeekEvent$.next(),this.player.seek(e,t)}},Ei=class extends(/^(3633|7058)$/.test(n.j)?Si:null){constructor(e){super(e),this.liveOffset=new Pn}subscribe(){super.subscribe();let{output:e,observableVideo:t,connect:n}=this.getProviderSubscriptionInfo();this.params.output.position$.next(0),n(t.timeUpdate$,e.liveBufferTime$),n(this.player.liveDuration$,e.duration$),this.subscription.add(this.params.output.position$.subscribe(this.player.livePositionFromPlayer$)).add((0,a.$e)({interval:(0,a.FG)(1e3),playbackRate:t.playbackRateState$}).subscribe((({playbackRate:t})=>{if("playing"===this.videoState.getState()&&!this.player.isActiveLowLatency){let n=e.position$.getValue()+(t-1);e.position$.next(n),this.liveOffset?.resetTo(1e3*-n)}}))).add((0,a.$e)({liveBufferTime:e.liveBufferTime$,liveAvailabilityStartTime:this.player.liveAvailabilityStartTime$}).pipe((0,a.UI)((({liveBufferTime:e,liveAvailabilityStartTime:t})=>e&&t?e+t:void 0))).subscribe(e.liveTime$))}seek(e){this.params.output.willSeekEvent$.next();let t=this.params.desiredState.playbackState.getState(),n=this.videoState.getState(),r="paused"===t&&"paused"===n,i=-e,o=Math.trunc(i/1e3<=Math.abs(this.params.output.duration$.getValue())?i:0);this.player.seekLive(o).then((()=>{this.params.output.position$.next(e/1e3),this.liveOffset?.resetTo(o,r)}))}},ki=g(Ut(),1),Ci={},Ti=(e,t)=>new a.y$((n=>{let r=(e,t)=>n.next(t);return e.on(t,r),()=>e.off(t,r)})),Oi=class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("initializing"),this.textTracksManager=new An,this.trackLevels=new Map,this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.seekState.getState();if("initializing"!==e)switch("paused"!==n?.to&&"requested"===r.state&&this.seek(r.position),t){case"stopped":switch(e){case"stopped":break;case"ready":case"playing":case"paused":this.stop();break;default:(0,a.vE)(e)}break;case"ready":switch(e){case"stopped":this.prepare();break;case"ready":case"playing":case"paused":break;default:(0,a.vE)(e)}break;case"playing":switch(e){case"playing":break;case"stopped":this.prepare();break;case"ready":case"paused":this.playIfAllowed();break;default:(0,a.vE)(e)}break;case"paused":switch(e){case"paused":break;case"stopped":this.prepare();break;case"ready":this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused");break;case"playing":this.pause();break;default:(0,a.vE)(e)}break;default:(0,a.vE)(t)}},this.video=Sn(e.container),this.params=e,this.params.output.element$.next(this.video),this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.loadHlsJs()}destroy(){this.subscription.unsubscribe(),this.trackLevels.clear(),this.textTracksManager.destroy(),this.hls?.detachMedia(),this.hls?.destroy(),this.params.output.element$.next(void 0),xn(this.video)}loadHlsJs(){let e=!1,t=t=>{e||this.params.output.error$.next({id:"timeout"===t?"HlsJsTimeout":"HlsJsLoadError",category:a.qj.NETWORK,message:"Failed to load Hls.js",thrown:t}),e=!0},r=window.setTimeout((()=>t("timeout")),this.params.tuning.dynamicImportTimeout);(0,ki.default)(n.e(3041).then(n.bind(n,93041)).then((t=>{e||(Ci.Hls=t.default,Ci.Events=t.default.Events,this.init())}),t),(()=>{window.clearTimeout(r),e=!0}))}init(){(0,a.Z3)(Ci.Hls,"hls.js not loaded"),this.hls=new Ci.Hls({fragLoadingMaxRetry:5,levelLoadingMaxRetry:2,manifestLoadingMaxRetry:2,fragLoadingMaxRetryTimeout:16e3,manifestLoadingMaxRetryTimeout:2e3,levelLoadingMaxRetryTimeout:2e3}),this.subscribe(),this.videoState.setState("stopped")}subscribe(){(0,a.Z3)(Ci.Events,"hls.js not loaded");let{desiredState:e,output:t}=this.params,n=e=>{t.error$.next({id:"HlsJsProvider",category:a.qj.WTF,message:"HlsJsProvider internal logic error",thrown:e})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,t.position$),i(r.durationChange$,t.duration$),i(r.ended$,t.endedEvent$),i(r.looped$,t.loopedEvent$),i(r.error$,t.error$),i(r.isBuffering$,t.isBuffering$),i(r.currentBuffer$,t.currentBuffer$),i(r.loadStart$,t.firstBytesEvent$),i(r.playing$,t.firstFrameEvent$),i(r.canplay$,t.canplay$),i(r.seeked$,t.seekedEvent$),i(r.inPiP$,t.inPiP$),i(r.inFullscreen$,t.inFullscreen$),this.subscription.add(kn(this.video,e.isLooped,n)),this.subscription.add(Cn(this.video,e.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$)),this.subscription.add(Tn(this.video,e.playbackRate,r.playbackRateState$,n)),i(ir(this.video),t.elementVisible$),this.subscription.add(Ti(this.hls,Ci.Events.ERROR).subscribe((e=>{e.fatal&&t.error$.next({id:["HlsJsFatal",e.type,e.details].join("_"),category:a.qj.WTF,message:`HlsJs fatal ${e.type} ${e.details}, ${e.err?.message} ${e.reason}`,thrown:e.error})}))),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(e.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(e.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),i(Ti(this.hls,Ci.Events.MANIFEST_PARSED).pipe((0,a.UI)((({levels:e})=>e.reduce(((e,t)=>{let n=t.name||t.height.toString(10),{width:r,height:i}=t,o=In(t.attrs.QUALITY??"")??(0,a.fh)({width:r,height:i});if(!o)return e;let s=t.attrs["FRAME-RATE"]?parseFloat(t.attrs["FRAME-RATE"]):void 0,l={id:n.toString(),quality:o,bitrate:t.bitrate/1e3,size:{width:r,height:i},fps:s};return this.trackLevels.set(n,{track:l,level:t}),e.push(l),e}),[])))),t.availableVideoTracks$),i(Ti(this.hls,Ci.Events.MANIFEST_PARSED),(t=>{if(t.subtitleTracks.length>0){let n=[];for(let e of t.subtitleTracks){let t=e.name,r=e.attrs.URI||"",i=e.lang,o="internal";n.push({id:t,url:r,language:i,type:o})}e.internalTextTracks.startTransitionTo(n)}})),i(Ti(this.hls,Ci.Events.LEVEL_LOADING).pipe((0,a.UI)((({url:e})=>Gn(e)))),t.hostname$),i(Ti(this.hls,Ci.Events.FRAG_CHANGED),(e=>{let{video:n,audio:r}=e.frag.elementaryStreams;t.currentVideoSegmentLength$.next(1e3*((n?.endPTS??0)-(n?.startPTS??0))),t.currentAudioSegmentLength$.next(1e3*((r?.endPTS??0)-(r?.startPTS??0)))})),this.subscription.add(On(e.autoVideoTrackSwitching,(()=>this.hls.autoLevelEnabled),(e=>{this.hls.nextLevel=e?-1:this.hls.currentLevel,this.hls.loadLevel=e?-1:this.hls.loadLevel}),{onError:n}));let o=e=>Array.from(this.trackLevels.values()).find((({level:t})=>t===e))?.track,s=Ti(this.hls,Ci.Events.LEVEL_SWITCHED).pipe((0,a.UI)((({level:e})=>o(this.hls.levels[e]))));s.pipe((0,a.hX)(a.C_)).subscribe(t.currentVideoTrack$,n),this.subscription.add(On(e.videoTrack,(()=>o(this.hls.levels[this.hls.currentLevel])),(e=>{if((0,a.SG)(e))return;let t=this.trackLevels.get(e.id)?.level;if(!t)return;let n=this.hls.levels.indexOf(t),r=this.hls.currentLevel,i=this.hls.levels[r];!i||t.bitrate>i.bitrate?this.hls.nextLevel=n:(this.hls.loadLevel=n,this.hls.loadLevel=n)}),{changed$:s,onError:n})),i(r.progress$,(()=>{this.params.dependencies.throughputEstimator.addRawThroughput(this.hls.bandwidthEstimate/1e3)})),this.textTracksManager.connect(this.video,e,t);let l=(0,a.TS)(e.playbackState.stateChangeStarted$,e.videoTrack.stateChangeStarted$,e.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0));this.subscription.add(l.subscribe(this.syncPlayback,n))}prepare(){this.videoState.startTransitionTo("ready"),this.hls.attachMedia(this.video),this.hls.loadSource(this.params.source.url)}async playIfAllowed(){this.videoState.startTransitionTo("playing"),await Wn(this.video).catch((e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}pause(){this.videoState.startTransitionTo("paused"),this.video.pause()}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}stop(){this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.hls.stopLoad(),this.hls.detachMedia(),this.video.removeAttribute("src"),this.video.load(),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)}},Mi="X-Playback-Duration",Ai=async e=>{let t=await mr(e),n=await t.text(),r=/#EXT-X-VK-PLAYBACK-DURATION:(\d+)/m.exec(n)?.[1];return r?parseInt(r,10):t.headers.has(Mi)?parseInt(t.headers.get(Mi),10):void 0},Pi=g(it(),1),Li=e=>{let t=null;if(e.QUALITY&&(t=In(e.QUALITY)),!t&&e.RESOLUTION){let[n,r]=e.RESOLUTION.split("x").map((e=>parseInt(e,10)));t=(0,a.fh)({width:n,height:r})}return t??null},Di=0,Ri=async(e,t=e,n)=>{let r=await(await mr(e)).text();Di+=1;try{let{qualityManifests:e,textTracks:n}=((e,t)=>{let n=e.split("\n"),r=[],i=[];for(let e=0;e<n.length;e++){let o=n[e],a=o.match(/^#EXT-X-STREAM-INF:(.+)/),s=o.match(/^#EXT-X-MEDIA:TYPE=SUBTITLES,(.+)/);if(a||s){if(a){let i,o=(0,Pi.default)(a[1].split(",").map((e=>e.split("=")))),s=o.QUALITY??`stream-${o.BANDWIDTH}`,l=Li(o);o.BANDWIDTH&&(i=parseInt(o.BANDWIDTH,10)/1e3||void 0),!i&&o["AVERAGE-BANDWIDTH"]&&(i=parseInt(o["AVERAGE-BANDWIDTH"],10)/1e3||void 0);let c,u=o["FRAME-RATE"]?parseFloat(o["FRAME-RATE"]):void 0;if(o.RESOLUTION){let[e,t]=o.RESOLUTION.split("x").map((e=>parseInt(e,10)));e&&t&&(c={width:e,height:t})}let d=new URL(n[++e],t).toString();l&&r.push({id:s,quality:l,url:d,bandwidth:i,size:c,fps:u})}if(s){let e=(0,Pi.default)(s[1].split(",").map((e=>e.split("="))).map((([e,t])=>[e,t.replace(/^"|"$/g,"")]))),t=e.URI?.replace(/playlist$/,"subtitles.vtt"),n=e.LANGUAGE,r=e.NAME;t&&n&&i.push({type:"internal",id:n,label:r,language:n,url:t,isAuto:!1})}}}if(!r.length)throw new Error("Empty manifest");return{qualityManifests:r,textTracks:i}})(r,t);return{qualityManifests:e,textTracks:n}}catch{if(Di<=n.manifestRetryMaxCount)return await(e=>new Promise((t=>{setTimeout((()=>{t()}),e)})))((0,a.SV)(Di-1,{start:n.manifestRetryInterval,max:n.manifestRetryMaxInterval})),Ri(e,t,n)}return{qualityManifests:[],textTracks:[]}},Ii=/^(3633|7058)$/.test(n.j)?Ri:null,Ni=class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("stopped"),this.textTracksManager=new An,this.manifests$=new a.v0([]),this.liveOffset=new Pn,this.manifestStartTime$=new a.v0(void 0),this.syncPlayback=()=>{if(!this.manifests$.getValue().length)return;let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.videoTrack.getTransition(),i=this.params.desiredState.autoVideoTrackSwitching.getTransition(),o=this.params.desiredState.autoVideoTrackLimits.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let s=this.params.desiredState.seekState.getState();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r||i||o){let e=this.videoState.getState();return this.videoState.setState("changing_manifest"),this.videoState.startTransitionTo(e),this.prepare(),o&&this.params.output.autoVideoTrackLimits$.next(o.to),void("none"===s.state&&this.params.desiredState.seekState.setState({state:"requested",position:-this.liveOffset.getTotalOffset(),forcePrecise:!0}))}if("paused"!==n?.to&&"requested"===s.state)return this.videoState.startTransitionTo("ready"),this.seek(s.position-this.liveOffset.getTotalPausedTime()),void this.prepare();switch(e){case"ready":return void("ready"===t?vn(this.params.desiredState.playbackState,"ready"):"paused"===t?(this.videoState.setState("paused"),this.liveOffset.pause(),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.liveOffset.pause(),this.video.pause()):"playing"===n?.to&&vn(this.params.desiredState.playbackState,"playing"));case"paused":if("playing"===t)if(this.videoState.startTransitionTo("playing"),this.liveOffset.getTotalPausedTime()<this.params.config.maxPausedTime&&this.liveOffset.getTotalOffset()<this.maxSeekBackTime$.getValue())this.liveOffset.resume(),this.playIfAllowed(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3);else{let e=this.liveOffset.getTotalOffset();e>=this.maxSeekBackTime$.getValue()&&(e=0,this.liveOffset.resetTo(e)),this.liveOffset.resume(),this.params.output.position$.next(-e/1e3),this.prepare()}else"paused"===n?.to&&(vn(this.params.desiredState.playbackState,"paused"),this.liveOffset.pause());return;case"changing_manifest":break;default:return(0,a.vE)(e)}},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.masterManifest={id:"master",quality:a.SF.INVARIANT,url:this.params.source.url},Ii(mn(this.params.source.url),this.params.source.url,{manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount}).then((({qualityManifests:e})=>{0===e.length&&this.params.output.error$.next({id:"HlsLiveProviderInternal:empty_manifest",category:a.qj.WTF,message:"HlsLiveProvider: there are no qualities in manifest"}),this.manifests$.next([this.masterManifest,...e])}),(e=>this.params.output.error$.next({id:"ExtractHlsQualities",category:a.qj.NETWORK,message:"Error fetching manifest and extracting qualities",thrown:e}))),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.maxSeekBackTime$=new a.v0(e.source.maxSeekBackTime??1/0),this.subscribe()}selectManifest(){let{autoVideoTrackSwitching:e,videoTrack:t}=this.params.desiredState,n=e.getState(),r=t.getTransition(),i=r?.to?.id??t.getState()?.id??"master",o=this.manifests$.getValue();if(!o.length)return;let a=n?"master":i;return n&&!r&&t.startTransitionTo(this.masterManifest),o.find((e=>e.id===a))}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"HlsLiveProvider",category:a.qj.WTF,message:"HlsLiveProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.ended$,e.endedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(t.isLooped.stateChangeStarted$.subscribe((()=>t.isLooped.setState(!1)),n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),i(ir(this.video),e.elementVisible$),this.textTracksManager.connect(this.video,t,e),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),this.subscription.add(this.maxSeekBackTime$.pipe((0,a.qz)(),(0,a.UI)((e=>-e/1e3))).subscribe(this.params.output.duration$,n)),this.subscription.add(r.loadedMetadata$.subscribe((()=>{let e=this.params.desiredState.seekState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.videoTrack.getTransition(),r=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(n&&(0,a.C_)(n.to)){let e=n.to.id;this.params.desiredState.videoTrack.setState(n.to);let t=this.manifests$.getValue().find((t=>t.id===e));t&&(this.params.output.currentVideoTrack$.next(t),this.params.output.hostname$.next(Gn(t.url)))}r&&this.params.desiredState.autoVideoTrackSwitching.setState(r.to),t&&"changing_manifest"===t.from&&this.videoState.setState(t.to),e&&"requested"===e.state&&this.seek(e.position)}),n)),this.subscription.add(r.loadedData$.subscribe((()=>{let e=this.video?.getStartDate?.()?.getTime();this.manifestStartTime$.next(e||void 0)}),n)),this.subscription.add((0,a.$e)({startTime:this.manifestStartTime$.pipe((0,a.hX)(a.C_)),currentTime:r.timeUpdate$}).subscribe((({startTime:e,currentTime:t})=>this.params.output.liveTime$.next(e+1e3*t)),n)),this.subscription.add(this.manifests$.pipe((0,a.UI)((e=>e.map((({id:e,quality:t,size:n,bandwidth:r,fps:i})=>({id:e,quality:t,size:n,fps:i,bitrate:r})))))).subscribe(this.params.output.availableVideoTracks$,n));let o=(0,a.TS)(t.playbackState.stateChangeStarted$,t.seekState.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.stateChangeStarted$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,this.manifests$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0));this.subscription.add(o.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.params.output.element$.next(void 0),xn(this.video)}prepare(){let e=this.selectManifest();if((0,a.SG)(e))return;let t=this.params.desiredState.autoVideoTrackLimits.getTransition(),n=this.params.desiredState.autoVideoTrackLimits.getState(),r=new URL(e.url);if((t||n)&&e.id===this.masterManifest.id){let{max:e,min:i}=t?.to??n??{};for(let[t,n]of[[e,"mq"],[i,"lq"]]){let e=String(parseFloat(t||""));n&&t&&r.searchParams.set(n,e)}}let i="HLS_LIVE_CMAF"===this.params.format?2:0,o=mn(r.toString(),this.liveOffset.getTotalOffset(),i);this.video.setAttribute("src",o),this.video.load(),Ai(o).then((e=>{if((0,a.SG)(e)){let e=this.params.source.maxSeekBackTime??this.maxSeekBackTime$.getValue();if((0,a.SG)(e)||!isFinite(e))try{mr(o).then((e=>e.text())).then((e=>{let t=/#EXT-X-STREAM-INF[^\n]+\n(.+)/m.exec(e)?.[1];if(t){let e=new URL(t,o).toString();Ai(e).then((e=>{(0,a.SG)(e)||this.maxSeekBackTime$.next(e)}))}}))}catch{}}else this.maxSeekBackTime$.next(e)}))}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),this.liveOffset.pause(),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next();let t=-e,n=t<this.maxSeekBackTime$.getValue()?t:0;this.liveOffset.resetTo(n),this.params.output.position$.next(-n/1e3),this.params.output.seekedEvent$.next()}},ji=class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("stopped"),this.textTracksManager=new An,this.manifests$=new a.v0([]),this.syncPlayback=()=>{if(!this.manifests$.getValue().length)return;let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.videoTrack.getTransition(),i=this.params.desiredState.autoVideoTrackSwitching.getTransition(),o=this.params.desiredState.autoVideoTrackLimits.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let s=this.params.desiredState.seekState.getState();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r||i||o){let e=this.videoState.getState();this.videoState.setState("changing_manifest"),this.videoState.startTransitionTo(e);let{currentTime:t}=this.video;return this.prepare(),o&&this.params.output.autoVideoTrackLimits$.next(o.to),void("none"===s.state&&this.params.desiredState.seekState.setState({state:"requested",position:1e3*t,forcePrecise:!0}))}switch("paused"!==n?.to&&"requested"===s.state&&this.seek(s.position),e){case"ready":return void("ready"===t?vn(this.params.desiredState.playbackState,"ready"):"paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===n?.to&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===n?.to&&vn(this.params.desiredState.playbackState,"paused"));case"changing_manifest":break;default:return(0,a.vE)(e)}},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.masterManifest={id:"master",quality:a.SF.INVARIANT,url:this.params.source.url},this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),Ii(mn(this.params.source.url),this.params.source.url,{manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount}).then((({qualityManifests:e,textTracks:t})=>{this.manifests$.next([this.masterManifest,...e]),this.params.tuning.useNativeHLSTextTracks||this.params.desiredState.internalTextTracks.startTransitionTo(t)}),(e=>this.params.output.error$.next({id:"ExtractHlsQualities",category:a.qj.NETWORK,message:"Error fetching manifest and extracting qualities",thrown:e}))),this.subscribe()}selectManifest(){let{autoVideoTrackSwitching:e,videoTrack:t}=this.params.desiredState,n=e.getState(),r=t.getTransition(),i=r?.to?.id??t.getState()?.id??"master",o=this.manifests$.getValue();if(!o.length)return;let a=n?"master":i;return n&&!r&&t.startTransitionTo(this.masterManifest),o.find((e=>e.id===a))}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"HlsProvider",category:a.qj.WTF,message:"HlsProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t));if(i(r.timeUpdate$,e.position$),i(r.durationChange$,e.duration$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.seeked$,e.seekedEvent$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(kn(this.video,t.isLooped,n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),this.textTracksManager.connect(this.video,t,e),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n).add(r.loadedMetadata$.subscribe((()=>{let e=this.params.desiredState.seekState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.videoTrack.getTransition(),r=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(n&&(0,a.C_)(n.to)){let e=n.to.id;this.params.desiredState.videoTrack.setState(n.to);let t=this.manifests$.getValue().find((t=>t.id===e));if(t){this.params.output.currentVideoTrack$.next(t),this.params.output.hostname$.next(Gn(t.url));let e=this.params.desiredState.playbackRate.getState(),n=this.params.output.element$.getValue()?.playbackRate;if(e!==n){let t=this.params.output.element$.getValue();t&&(this.params.desiredState.playbackRate.setState(e),t.playbackRate=e)}}}r&&this.params.desiredState.autoVideoTrackSwitching.setState(r.to),t&&"changing_manifest"===t.from&&this.videoState.setState(t.to),"requested"===e.state&&this.seek(e.position)}),n))),this.subscription.add(this.manifests$.pipe((0,a.UI)((e=>e.map((({id:e,quality:t,size:n,bandwidth:r,fps:i})=>({id:e,quality:t,size:n,fps:i,bitrate:r})))))).subscribe(this.params.output.availableVideoTracks$,n)),!(0,a.gn)()||!this.params.tuning.useNativeHLSTextTracks){let{textTracks:e}=this.video;this.subscription.add((0,a.TS)((0,a.RB)(e,"addtrack"),(0,a.RB)(e,"removetrack"),(0,a.RB)(e,"change"),(0,a.$T)(["init"])).subscribe((()=>{for(let t=0;t<e.length;t++)e[t].mode="hidden"}),n))}let o=(0,a.TS)(t.playbackState.stateChangeStarted$,t.seekState.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.stateChangeStarted$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,this.manifests$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0));this.subscription.add(o.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.params.output.element$.next(void 0),xn(this.video)}prepare(){let e=this.selectManifest();if((0,a.SG)(e))return;let t=this.params.desiredState.autoVideoTrackLimits.getTransition(),n=this.params.desiredState.autoVideoTrackLimits.getState(),r=new URL(e.url);if((t||n)&&e.id===this.masterManifest.id){let{max:e,min:i}=t?.to??n??{};for(let[t,n]of[[e,"mq"],[i,"lq"]]){let e=String(parseFloat(t||""));n&&t&&r.searchParams.set(n,e)}}this.video.setAttribute("src",r.toString()),this.video.load()}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}},Bi=class{constructor(e){this.subscription=new a.w0,this.videoState=new yn("stopped"),this.trackUrls={},this.textTracksManager=new An,this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let r=this.params.desiredState.autoVideoTrackLimits.getTransition(),i=this.params.desiredState.videoTrack.getTransition(),o=this.params.desiredState.seekState.getState();if(!r||"ready"===e||i){if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(i){let{currentTime:e}=this.video;return this.prepare(),"none"===o.state&&this.params.desiredState.seekState.setState({state:"requested",position:1e3*e,forcePrecise:!0}),void(i.to&&this.params.desiredState.autoVideoTrackLimits.getState()?.max!==this.trackUrls[i.to.id]?.track?.quality&&this.params.output.autoVideoTrackLimits$.next({max:void 0}))}switch("paused"!==n?.to&&"requested"===o.state&&this.seek(o.position),e){case"ready":return void("ready"===t?vn(this.params.desiredState.playbackState,"ready"):"paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===n?.to&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===n?.to&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,a.vE)(e)}}else this.handleQualityLimitTransition(r.to.max)},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),Object.entries(this.params.source).reverse().forEach((([e,t],n)=>{let r=n.toString(10);this.trackUrls[r]={track:{quality:e,id:r},url:t}})),this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next(Object.values(this.trackUrls).map((({track:e})=>e))),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.desiredState.autoVideoTrackSwitching.setState(!1),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.subscribe()}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"MpegProvider",category:a.qj.WTF,message:"MpegProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,e.position$),i(r.durationChange$,e.duration$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.seeked$,e.seekedEvent$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(kn(this.video,t.isLooped,n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),i(ir(this.video),e.elementVisible$),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready");let e=this.params.desiredState.videoTrack.getTransition();if(e&&(0,a.C_)(e.to)){this.params.desiredState.videoTrack.setState(e.to),this.params.output.currentVideoTrack$.next(this.trackUrls[e.to.id].track);let t=this.params.desiredState.playbackRate.getState(),n=this.params.output.element$.getValue()?.playbackRate;if(t!==n){let e=this.params.output.element$.getValue();e&&(this.params.desiredState.playbackRate.setState(t),e.playbackRate=t)}}"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),this.textTracksManager.connect(this.video,t,e);let o=(0,a.TS)(t.playbackState.stateChangeStarted$,t.videoTrack.stateChangeStarted$,t.seekState.stateChangeEnded$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0));this.subscription.add(o.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.trackUrls={},this.params.output.element$.next(void 0),xn(this.video)}prepare(){let e=this.params.desiredState.videoTrack.getState()?.id;(0,a.Z3)(e,"MpegProvider: track is not selected");let{url:t}=this.trackUrls[e];(0,a.Z3)(t,`MpegProvider: No url for ${e}`),this.params.tuning.requestQuick&&(t=ri(t)),this.video.setAttribute("src",t),this.video.load(),this.params.output.hostname$.next(Gn(t))}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}handleQualityLimitTransition(e){let t,n=e;if(e&&this.params.output.currentVideoTrack$.getValue()?.quality!==e){let r=Object.values(this.trackUrls).find((t=>!(0,a.fP)(t.track.quality)&&(0,a.zE)(t.track.quality,e)))?.track,i=this.params.desiredState.videoTrack.getState()?.id,o=this.trackUrls[i??"0"]?.track;if(r&&o&&(0,a.T8)(o.quality,r.quality)&&(t=r),!t){let n=Object.values(this.trackUrls).filter((t=>!(0,a.fP)(t.track.quality)&&(0,a.t3)(t.track.quality,e))),r=n.length;r&&(t=n[r-1].track)}t&&(n=t.quality)}else if(!e){let e=Object.values(this.trackUrls).map((e=>e.track));t=$n(e,{container:{width:this.video.offsetWidth,height:this.video.offsetHeight},throughput:this.params.dependencies.throughputEstimator.throughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,forwardBufferHealth:0,abrLogger:this.params.dependencies.abrLogger})}t&&(this.params.output.currentVideoTrack$.next(t),this.params.desiredState.videoTrack.startTransitionTo(t)),this.params.output.autoVideoTrackLimits$.next({max:n})}},Fi=/^(3633|7058)$/.test(n.j)?["stun:videostun.mycdn.me:80"]:null,Hi=()=>null,zi=class{constructor(e,t){this.ws=null,this.peerConnection=null,this.serverUrl="",this.streamKey="",this.stream=null,this.signalingType="JOIN",this.retryCount=0,this.externalStartCallback=Hi,this.externalStopCallback=Hi,this.externalErrorCallback=Hi,this.options=this.normalizeOptions(t);let n=e.split("/");this.serverUrl=n.slice(0,n.length-1).join("/"),this.streamKey=n[n.length-1]}onStart(e){try{this.externalStartCallback=e}catch(e){this.handleSystemError(e)}}onStop(e){try{this.externalStopCallback=e}catch(e){this.handleSystemError(e)}}onError(e){try{this.externalErrorCallback=e}catch(e){this.handleSystemError(e)}}connect(){this.connectWS()}disconnect(){try{this.externalStopCallback(),this.closeConnections()}catch(e){this.handleSystemError(e)}}connectWS(){this.ws||(this.ws=new WebSocket(this.serverUrl),this.ws.onopen=this.onSocketOpen.bind(this),this.ws.onmessage=this.onSocketMessage.bind(this),this.ws.onclose=this.onSocketClose.bind(this),this.ws.onerror=this.onSocketError.bind(this))}onSocketOpen(){this.handleLogin()}onSocketClose(e){try{if(!this.ws)return;this.ws=null,e.code>1e3?(this.retryCount++,this.retryCount>this.options.maxRetryNumber?this.handleNetworkError():this.scheduleRetry()):this.externalStopCallback()}catch(e){this.handleRTCError(e)}}onSocketError(e){try{this.externalErrorCallback(new Error(e.toString()))}catch(e){this.handleRTCError(e)}}onSocketMessage(e){try{let t=this.parseMessage(e.data);switch(t.type){case"JOIN":case"CALL_JOIN":this.handleJoinMessage(t);break;case"UPDATE":this.handleUpdateMessage(t);break;case"STATUS":this.handleStatusMessage(t)}}catch(e){this.handleRTCError(e)}}handleJoinMessage(e){switch(e.inviteType){case"ANSWER":this.handleAnswer(e.sdp);break;case"CANDIDATE":this.handleCandidate(e.candidate)}}handleStatusMessage(e){if("UNPUBLISHED"===e.status)this.handleUnpublished()}async handleUpdateMessage(e){try{let t=await this.createOffer();this.peerConnection&&await this.peerConnection.setLocalDescription(t),this.handleAnswer(e.sdp)}catch(e){this.handleRTCError(e)}}async handleLogin(){try{let e={iceServers:[{urls:Fi}]};this.peerConnection=new RTCPeerConnection(e),this.peerConnection.ontrack=this.onPeerConnectionStream.bind(this),this.peerConnection.onicecandidate=this.onPeerConnectionIceCandidate.bind(this),this.peerConnection.oniceconnectionstatechange=this.onPeerConnectionIceConnectionStateChange.bind(this);let t=await this.createOffer();await this.peerConnection.setLocalDescription(t),this.send({type:this.signalingType,inviteType:"OFFER",streamKey:this.streamKey,sdp:t.sdp,callSupport:!1})}catch(e){this.handleRTCError(e)}}async handleAnswer(e){try{this.peerConnection&&await this.peerConnection.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:e}))}catch(e){this.handleRTCError(e)}}async handleCandidate(e){if(e)try{this.peerConnection&&await this.peerConnection.addIceCandidate(e)}catch(e){this.handleRTCError(e)}}handleUnpublished(){try{this.closeConnections(),this.externalStopCallback()}catch(e){this.handleRTCError(e)}}handleSystemError(e){this.options.errorChanel&&this.options.errorChanel.next({id:"webrtc-provider-error",category:a.qj.WTF,message:e.message})}async onPeerConnectionStream(e){let t=e.streams[0];this.stream&&this.stream.id===t.id||(this.stream=t,this.externalStartCallback(this.stream))}onPeerConnectionIceCandidate(e){e.candidate&&this.send({type:this.signalingType,inviteType:"CANDIDATE",candidate:e.candidate})}onPeerConnectionIceConnectionStateChange(){if(this.peerConnection){let e=this.peerConnection.iceConnectionState;["failed","closed"].indexOf(e)>-1&&(this.retryCount++,this.retryCount>this.options.maxRetryNumber?this.handleNetworkError():(this.closeConnections(),this.scheduleRetry()))}}async createOffer(){if(!this.peerConnection)throw new Error("Can not create offer - no peer connection instance ");let e=await this.peerConnection.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!0,voiceActivityDetection:!1}),t=e.sdp||"";if(!/^a=rtpmap:\d+ H264\/\d+$/m.test(t))throw new Error("No h264 codec support error");return e}handleRTCError(e){try{this.externalErrorCallback(e||new Error("RTC connection error"))}catch(e){this.handleSystemError(e)}}handleNetworkError(){try{this.externalErrorCallback(new Error("Network error"))}catch(e){this.handleSystemError(e)}}send(e){this.ws&&this.ws.send(JSON.stringify(e))}parseMessage(e){try{return JSON.parse(e)}catch{throw new Error("Can not parse socket message")}}closeConnections(){let e=this.ws;e&&(this.ws=null,e.close(1e3)),this.removePeerConnection()}removePeerConnection(){let e=this.peerConnection;e&&(this.peerConnection=null,e.close(),e.ontrack=null,e.onicecandidate=null,e.oniceconnectionstatechange=null,e=null)}scheduleRetry(){this.retryTimeout=setTimeout(this.connectWS.bind(this),1e3)}normalizeOptions(e={}){let t={stunServerList:Fi,maxRetryNumber:3,errorChanel:null};return e.stunServerList&&(t.stunServerList=e.stunServerList),e.maxRetryNumber&&e.maxRetryNumber>0&&(t.maxRetryNumber=e.maxRetryNumber),t}},Vi=class{constructor(e){this.videoState=new yn("stopped"),this.maxSeekBackTime$=new a.v0(0),this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.pause(),this.video.srcObject=null,this.params.output.position$.next(0),this.params.output.duration$.next(0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let r=this.params.desiredState.videoTrack.getTransition();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r)this.prepare();else switch(e){case"ready":return void("paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===n?.to&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===n?.to&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,a.vE)(e)}},this.subscription=new a.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("WebRTCLiveProvider"),this.video=Sn(e.container),this.liveStreamClient=new zi(this.params.source.url,{maxRetryNumber:this.params.tuning.webrtc.connectionRetryMaxNumber,errorChanel:this.params.output.error$}),this.liveStreamClient.onStart(this.onLiveStreamStart.bind(this)),this.liveStreamClient.onStop(this.onLiveStreamStop.bind(this)),this.liveStreamClient.onError(this.onLiveStreamError.bind(this)),this.subscribe()}destroy(){this.subscription.unsubscribe(),this.liveStreamClient.disconnect(),this.params.output.element$.next(void 0),xn(this.video)}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"WebRTCLiveProvider",category:a.qj.WTF,message:"WebRTCLiveProvider internal logic error",thrown:t})};(0,a.TS)(this.videoState.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,type:"start"})))),this.videoState.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,type:"end"}))))).subscribe((({transition:e,type:t})=>{this.log({message:`[videoState change] ${t}: ${JSON.stringify(e)}`})}));let r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,e.liveTime$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(ir(this.video),this.params.output.elementVisible$),this.subscription.add(r.durationChange$.subscribe((t=>{e.duration$.next(t===1/0?0:t)}))).add(r.canplay$.subscribe((()=>{"ready"===this.videoState.getTransition()?.to&&this.videoState.setState("ready")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused")}),n)).add(r.playing$.subscribe((()=>{this.videoState.setState("playing")}),n)).add(r.error$.subscribe(e.error$)).add(this.maxSeekBackTime$.subscribe(this.params.output.duration$)).add(Cn(this.video,t.volume,r.volumeState$,n)).add(r.volumeState$.subscribe(e.volume$,n)).add(this.videoState.stateChangeEnded$.subscribe((n=>{switch(n.to){case"stopped":e.position$.next(0),e.duration$.next(0),t.playbackState.setState("stopped");break;case"ready":break;case"paused":t.playbackState.setState("paused");break;case"playing":t.playbackState.setState("playing");break;default:return(0,a.vE)(n.to)}}),n)).add((0,a.TS)(t.playbackState.stateChangeStarted$,this.videoState.stateChangeEnded$,(0,a.$T)(["init"])).pipe((0,a.Ds)(0)).subscribe(this.syncPlayback.bind(this),n)),this.subscription.add(t.isLooped.stateChangeStarted$.subscribe((()=>t.isLooped.setState(!1)),n)),this.subscription.add(t.autoVideoTrackSwitching.stateChangeStarted$.subscribe((()=>t.autoVideoTrackSwitching.setState(!1)),n))}onLiveStreamStart(e){this.params.output.element$.next(this.video),this.params.output.duration$.next(0),this.params.output.position$.next(0),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.currentVideoTrack$.next({id:"webrtc",quality:a.SF.INVARIANT}),this.video.srcObject=e,vn(this.params.desiredState.playbackState,"playing")}onLiveStreamStop(){this.videoState.startTransitionTo("stopped"),this.syncPlayback(),this.params.output.position$.next(0),this.params.output.duration$.next(0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.params.output.endedEvent$.next()}onLiveStreamError(e){this.onLiveStreamStop(),this.params.output.error$.next({id:"WebRTC stream runtime error",category:a.qj.EXTERNAL_API,message:e.message,thrown:e})}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:a.qj.DOM,thrown:e})))}prepare(){this.liveStreamClient.connect()}},Ui=class{constructor(e){this.iterator=e[Symbol.iterator](),this.next()}next(){this.current=this.iterator.next()}getValue(){if(this.current.done)throw new Error("Iterable is completed");return this.current.value}isCompleted(){return!!this.current.done}},$i=(0,a.G4)().device===a.hZ.Android,Gi=document.createElement("video"),qi='video/webm; codecs="vp09.00.10.08"',Wi='video/webm; codecs="av01.0.00M.08"',Zi={mms:hi(),mse:!!(window.MediaSource&&window.MediaStreamTrack&&window.SourceBuffer?.prototype?.appendBuffer),hls:!(!Gi.canPlayType?.("application/x-mpegurl")&&!Gi.canPlayType?.("vnd.apple.mpegURL")),webrtc:!!window.RTCPeerConnection,ws:!!window.WebSocket},Yi={mp4:!!Gi.canPlayType?.("video/mp4"),webm:!!Gi.canPlayType?.("video/webm"),cmaf:!0},Ki={h264:!!fi()?.isTypeSupported?.('video/mp4; codecs="avc1.42000a,mp4a.40.2"'),h265:!!fi()?.isTypeSupported?.('video/mp4; codecs="hev1.1.6.L93.B0"'),vp9:!!fi()?.isTypeSupported?.(qi),av1:!!fi()?.isTypeSupported?.(Wi),aac:!!fi()?.isTypeSupported?.('audio/mp4; codecs="mp4a.40.2"'),opus:!!fi()?.isTypeSupported?.('audio/webm; codecs="opus"')},Qi=(Ki.h264||Ki.h265)&&Ki.aac;try{(async()=>{if(!window.navigator.mediaCapabilities)return;let e={type:"media-source",video:{contentType:"video/webm",width:1280,height:720,bitrate:1e6,framerate:30}},[t,n]=await Promise.all([window.navigator.mediaCapabilities.decodingInfo({...e,video:{...e.video,contentType:Wi}}),window.navigator.mediaCapabilities.decodingInfo({...e,video:{...e.video,contentType:qi}})]);Er={DASH_WEBM_AV1:t,DASH_WEBM:n}})()}catch(e){l.error(e)}var Xi=Zi.hls&&Yi.mp4,Ji=e=>{let t="DASH_WEBM",n="DASH_WEBM_AV1";switch(e){case"vp9":return[t,n];case"av1":return[n,t];case"none":return[];case"smooth":return Er?Er[n].smooth?[n,t]:Er[t].smooth?[t,n]:[n,t]:[t,n];case"power_efficient":return Er?Er[n].powerEfficient?[n,t]:Er[t].powerEfficient?[t,n]:[n,t]:[t,n];default:(0,a.vE)(e)}return[t,n]},eo=({webmCodec:e,androidPreferredFormat:t})=>{if($i)switch(t){case"mpeg":return["MPEG",...Ji(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND"];case"hls":return["HLS","HLS_ONDEMAND",...Ji(e),"DASH_SEP","DASH_ONDEMAND","MPEG"];case"dash":return[...Ji(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"];case"dash_any_mpeg":return["DASH_SEP","DASH_ONDEMAND","MPEG",...Ji(e),"HLS","HLS_ONDEMAND"];case"dash_any_webm":return[...Ji(e),"MPEG","DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND"];case"dash_sep":return["DASH_SEP","MPEG",...Ji(e),"DASH_ONDEMAND","HLS","HLS_ONDEMAND"];default:(0,a.vE)(t)}return[...Ji(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"]},to=({androidPreferredFormat:e,preferCMAF:t,preferWebRTC:n})=>{let r,i=t?["DASH_LIVE_CMAF","DASH_LIVE"]:["DASH_LIVE","DASH_LIVE_CMAF"],o=t?["HLS_LIVE_CMAF","HLS_LIVE"]:["HLS_LIVE","HLS_LIVE_CMAF"],s=[...i,...o],l=[...o,...i];if($i)switch(e){case"dash":case"dash_any_mpeg":case"dash_any_webm":case"dash_sep":r=s;break;case"hls":case"mpeg":r=l;break;default:(0,a.vE)(e)}else r=Xi?l:s;return n?["WEB_RTC_LIVE",...r]:[...r,"WEB_RTC_LIVE"]},no=e=>e?["HLS_LIVE","HLS_LIVE_CMAF","DASH_LIVE_CMAF"]:["DASH_WEBM","DASH_WEBM_AV1","DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"],ro={chunkDuration:5e3,maxParallelRequests:5},io=class{constructor(e){this.current$=new a.v0({type:void 0}),this.providerError$=new a.xQ,this.noAvailableProvidersError$=new a.xQ,this.providerOutput={position$:new a.v0(0),duration$:new a.v0(1/0),volume$:new a.v0({muted:!1,volume:1}),currentVideoTrack$:new a.v0(void 0),currentVideoSegmentLength$:new a.v0(0),currentAudioSegmentLength$:new a.v0(0),availableVideoTracks$:new a.v0([]),availableAudioTracks$:new a.v0([]),isAudioAvailable$:new a.v0(!0),autoVideoTrackLimitingAvailable$:new a.v0(!1),autoVideoTrackLimits$:new a.v0(void 0),currentBuffer$:new a.v0(void 0),isBuffering$:new a.v0(!0),error$:new a.xQ,warning$:new a.xQ,willSeekEvent$:new a.xQ,seekedEvent$:new a.xQ,loopedEvent$:new a.xQ,endedEvent$:new a.xQ,firstBytesEvent$:new a.xQ,firstFrameEvent$:new a.xQ,canplay$:new a.xQ,isLive$:new a.v0(void 0),isLowLatency$:new a.v0(!1),canChangePlaybackSpeed$:new a.v0(!0),liveTime$:new a.v0(void 0),liveBufferTime$:new a.v0(void 0),availableTextTracks$:new a.v0([]),currentTextTrack$:new a.v0(void 0),hostname$:new a.v0(void 0),httpConnectionType$:new a.v0(void 0),httpConnectionReused$:new a.v0(void 0),inPiP$:new a.v0(!1),inFullscreen$:new a.v0(!1),element$:new a.v0(void 0),elementVisible$:new a.v0(!0),availableSources$:new a.v0(void 0),is3DVideo$:new a.v0(!1)},this.subscription=new a.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ProviderContainer");let t=((e,t=!1,n=!1)=>{let r=Zi.mse||Zi.mms&&n;return e.filter((e=>{switch(e){case"DASH_SEP":case"DASH_ONDEMAND":return r&&Yi.mp4&&Qi;case"DASH_WEBM":return r&&Yi.webm&&Ki.vp9&&Ki.opus;case"DASH_WEBM_AV1":return r&&Yi.webm&&Ki.av1&&Ki.opus;case"DASH_LIVE":return Zi.mse&&Yi.mp4&&Qi;case"DASH_LIVE_CMAF":return r&&Yi.mp4&&Qi&&Yi.cmaf;case"HLS":case"HLS_ONDEMAND":return Xi||t&&Zi.mse&&Yi.mp4&&Qi;case"HLS_LIVE":case"HLS_LIVE_CMAF":return Xi;case"MPEG":return Yi.mp4;case"DASH_LIVE_WEBM":return!1;case"WEB_RTC_LIVE":return Zi.webrtc&&Zi.ws&&Ki.h264&&(Yi.mp4||Yi.webm);default:return(0,a.vE)(e)}}))})([...to(this.params.tuning),...eo(this.params.tuning)],this.params.tuning.useHlsJs,this.params.tuning.useManagedMediaSource).filter((t=>(0,a.C_)(e.sources[t]))),{forceFormat:n,formatsToAvoid:r}=this.params.tuning,i=[];i=n?[n]:r.length?[...t.filter((e=>!r.includes(e))),...t.filter((e=>r.includes(e)))]:t,this.log({message:`Selected formats: ${i.join(" > ")}`}),this.screenFormatsIterator=new Ui(i);let o=[...no(!0),...no(!1)];this.chromecastFormatsIterator=new Ui(o.filter((t=>(0,a.C_)(e.sources[t])))),this.providerOutput.availableSources$.next(e.sources)}init(){this.subscription.add(this.initProviderErrorHandling()),this.subscription.add(this.params.dependencies.chromecastInitializer.connection$.subscribe((()=>{this.reinitProvider()})))}destroy(){this.destroyProvider(),this.current$.next({type:void 0}),this.subscription.unsubscribe()}initProvider(){let e,t=this.chooseDestination(),n=this.chooseFormat(t);if((0,a.SG)(n))this.handleNoFormatsError(t);else{try{e=this.createProvider(t,n)}catch(e){this.providerError$.next({id:"ProviderNotConstructed",category:a.qj.WTF,message:"Failed to create provider",thrown:e})}e?this.current$.next({type:n,provider:e,destination:t}):this.current$.next({type:void 0})}}reinitProvider(){this.destroyProvider(),this.initProvider()}switchToNextProvider(e){this.destroyProvider(),this.failoverIndex=void 0,this.skipFormat(e),this.initProvider()}destroyProvider(){let e=this.current$.getValue().provider;if(!e)return;this.log({message:"destroyProvider"});let t=1e3*this.providerOutput.position$.getValue(),n=this.params.desiredState.seekState.getState(),r="none"!==n.state;if(this.params.desiredState.seekState.setState({state:"requested",position:r?n.position:t,forcePrecise:!!r&&n.forcePrecise}),e.scene3D){let t=e.scene3D.getCameraRotation();this.params.desiredState.cameraOrientation.setState({x:t.x,y:t.y})}e.destroy();let i=this.providerOutput.isBuffering$;i.getValue()||i.next(!0)}createProvider(e,t){switch(this.log({message:`createProvider: ${e}:${t}`}),e){case"SCREEN":return this.createScreenProvider(t);case"CHROMECAST":return this.createChromecastProvider(t);default:return(0,a.vE)(e)}}createScreenProvider(e){let{sources:t,container:n,desiredState:r}=this.params,i=this.providerOutput,o={container:n,source:null,desiredState:r,output:i,dependencies:this.params.dependencies,tuning:this.params.tuning};switch(e){case"DASH_SEP":case"DASH_WEBM":case"DASH_WEBM_AV1":case"DASH_ONDEMAND":{let n=this.applyFailoverHost(t[e]),r=this.applyFailoverHost(t.HLS_ONDEMAND||t.HLS);return(0,a.Z3)(n),new xi({...o,source:n,sourceHls:r})}case"DASH_LIVE_CMAF":{let n=this.applyFailoverHost(t[e]);return(0,a.Z3)(n),new Ei({...o,source:n})}case"HLS":case"HLS_ONDEMAND":{let n=this.applyFailoverHost(t[e]);return(0,a.Z3)(n),Xi||!this.params.tuning.useHlsJs?new ji({...o,source:n}):new Oi({...o,source:n})}case"HLS_LIVE":case"HLS_LIVE_CMAF":{let n=this.applyFailoverHost(t[e]);return(0,a.Z3)(n),new Ni({...o,source:n,config:{maxPausedTime:this.params.tuning.live.maxPausedTime},format:e})}case"MPEG":{let n=this.applyFailoverHost(t[e]);return(0,a.Z3)(n),new Bi({...o,source:n})}case"DASH_LIVE":{let n=this.applyFailoverHost(t[e]);return(0,a.Z3)(n),new sr({...o,source:n,config:{...ro,maxPausedTime:this.params.tuning.live.maxPausedTime}})}case"WEB_RTC_LIVE":{let o=this.applyFailoverHost(t[e]);return(0,a.Z3)(o),new Vi({container:n,source:o,desiredState:r,output:i,dependencies:this.params.dependencies,tuning:this.params.tuning})}case"DASH_LIVE_WEBM":throw new Error("DASH_LIVE_WEBM is no longer supported");default:return(0,a.vE)(e)}}createChromecastProvider(e){let{sources:t,container:n,desiredState:r,meta:i}=this.params,o=this.providerOutput,s=this.params.dependencies.chromecastInitializer.connection$.getValue();return(0,a.Z3)(s),new bn({connection:s,meta:i,container:n,source:t,format:e,desiredState:r,output:o,dependencies:this.params.dependencies,tuning:this.params.tuning})}chooseDestination(){return this.params.dependencies.chromecastInitializer.connection$.getValue()?"CHROMECAST":"SCREEN"}chooseFormat(e){switch(e){case"SCREEN":return this.screenFormatsIterator.isCompleted()?void 0:this.screenFormatsIterator.getValue();case"CHROMECAST":return this.chromecastFormatsIterator.isCompleted()?void 0:this.chromecastFormatsIterator.getValue();default:return(0,a.vE)(e)}}skipFormat(e){switch(e){case"SCREEN":return this.screenFormatsIterator.next();case"CHROMECAST":return this.chromecastFormatsIterator.next();default:return(0,a.vE)(e)}}handleNoFormatsError(e){switch(e){case"SCREEN":return this.noAvailableProvidersError$.next(this.params.tuning.forceFormat),void this.current$.next({type:void 0});case"CHROMECAST":return void this.params.dependencies.chromecastInitializer.disconnect();default:return(0,a.vE)(e)}}applyFailoverHost(e){if(void 0===this.failoverIndex)return e;let t=this.params.failoverHosts[this.failoverIndex];if(!t)return e;let n=e=>{let n=new URL(e);return n.host=t,n.toString()};if(void 0===e)return e;if("type"in e){if("raw"===e.type)return e;if("url"===e.type)return{...e,url:n(e.url)}}return(0,fn.default)(Object.entries(e).map((([e,t])=>[e,n(t)])))}initProviderErrorHandling(){let e=new a.w0,t=!1,n=0;return e.add((0,a.TS)(this.providerOutput.error$,(r={desiredPlaybackState$:this.params.desiredState.playbackState,maxTransitionInterval:this.params.tuning.maxPlaybackTransitionInterval,position$:this.providerOutput.position$,providerChanged$:this.current$},new a.y$((e=>{let t=new a.w0,n=r.desiredPlaybackState$.stateChangeStarted$.pipe((0,a.UI)((({from:e,to:t})=>`${e}-${t}`))),i=r.desiredPlaybackState$.stateChangeEnded$,o=r.providerChanged$.pipe((0,a.UI)((({type:e})=>void 0!==e))),s=new a.xQ,l=0,c="unknown";return t.add(n.subscribe((e=>{l&&window.clearTimeout(l),c=e,l=window.setTimeout((()=>s.next(e)),r.maxTransitionInterval)}))),t.add(i.subscribe((()=>{window.clearTimeout(l),c="unknown",l=0}))),t.add(o.subscribe((e=>{l&&(window.clearTimeout(l),l=0,e&&(l=window.setTimeout((()=>s.next(c)),r.maxTransitionInterval)))}))),t.add(s.subscribe(e)),()=>{window.clearTimeout(l),t.unsubscribe()}}))).pipe((0,a.UI)((e=>({id:`ProviderHangup:${e}`,category:a.qj.WTF,message:`A ${e} transition failed to complete within reasonable time`}))))).subscribe(this.providerError$)),e.add(this.current$.subscribe((()=>{t=!1;let n=this.params.desiredState.playbackState.transitionEnded$.pipe((0,a.hX)((({to:e})=>"playing"===e)),(0,a.IH)()).subscribe((()=>t=!0));e.add(n)}))),e.add(this.providerError$.subscribe((e=>{let r=this.current$.getValue().destination;if("CHROMECAST"===r)this.destroyProvider(),this.params.dependencies.chromecastInitializer.stopMedia().then((()=>this.switchToNextProvider("SCREEN")),(()=>this.params.dependencies.chromecastInitializer.disconnect()));else{let i=e.category===a.qj.NETWORK,o=e.category===a.qj.FATAL,s=this.params.failoverHosts.length>0&&(void 0===this.failoverIndex||this.failoverIndex<this.params.failoverHosts.length-1),l=n<this.params.tuning.providerErrorLimit&&!o;s&&!o&&(i&&t||!l)?(this.failoverIndex=void 0===this.failoverIndex?0:this.failoverIndex+1,this.reinitProvider()):l?(n++,this.reinitProvider()):this.switchToNextProvider(r??"SCREEN")}}))),e;var r}},oo="one_video_throughput",ao="one_video_rtt",so=window.navigator.connection,lo=()=>{let e=so?.downlink;if((0,a.C_)(e)&&10!==e)return 1e3*e},co=()=>{let e=so?.rtt;if((0,a.C_)(e)&&3e3!==e)return e},uo=(e,t,n)=>{let r=8*n;return r/(r/e+t)},po=/^(3633|7058)$/.test(n.j)?class e{constructor(t){this.subscription=new a.w0,this.concurrentDownloads=new Set,this.tuningConfig=t;let n=e.load(oo)||(t.useBrowserEstimation?lo():void 0)||5e3,r=e.load(ao)??(t.useBrowserEstimation?co():void 0)??0;if(this.throughput$=new a.v0(n),this.rtt$=new a.v0(r),this.rttAdjustedThroughput$=new a.v0(uo(n,r,t.rttPenaltyRequestSize)),this.throughput=pi.getSmoothedValue(n,-1,t),this.rtt=pi.getSmoothedValue(r,1,t),t.useBrowserEstimation){let e=()=>{let e=lo();e&&this.throughput.next(e);let t=co();(0,a.C_)(t)&&this.rtt.next(t)};so&&"onchange"in so&&this.subscription.add((0,a.RB)(so,"change").subscribe(e)),e()}this.subscription.add(this.throughput.smoothed$.subscribe((e=>{a.we.set(oo,e.toFixed(0))}))),this.subscription.add(this.rtt.smoothed$.subscribe((e=>{a.we.set(ao,e.toFixed(0))}))),this.subscription.add(this.throughput.debounced$.subscribe(this.throughput$)),this.subscription.add(this.rtt.debounced$.subscribe(this.rtt$)),this.subscription.add((0,a.$e)({throughput:this.throughput.smoothed$,rtt:this.rtt.smoothed$}).pipe((0,a.UI)((({throughput:e,rtt:n})=>uo(e,n,t.rttPenaltyRequestSize))),(0,a.hX)((e=>{let n=this.rttAdjustedThroughput$.getValue()||0;return Math.abs(e-n)/n>=t.changeThreshold}))).subscribe(this.rttAdjustedThroughput$))}destroy(){this.concurrentDownloads.clear(),this.subscription.unsubscribe()}trackXHR(e){let t=0,n=(0,a.zO)(),r=new a.w0;switch(this.subscription.add(r),this.concurrentDownloads.add(e),e.readyState){case 4:break;case 3:case 2:r.add((0,a.RB)(e,"progress").pipe((0,a.IH)()).subscribe((e=>{t=e.loaded,n=(0,a.zO)()})));break;case 1:case 0:r.add((0,a.RB)(e,"loadstart").subscribe((()=>{t=0,n=(0,a.zO)()})))}r.add((0,a.RB)(e,"loadend").subscribe((i=>{if(200===e.status){let e=i.loaded,r=(0,a.zO)(),o=e-t,s=r-n;this.addRawSpeed(o,s,1)}this.concurrentDownloads.delete(e),r.unsubscribe()})))}trackStream(e,t=!1){let n=e.getReader();if(!n)return void e.cancel("Could not get reader");let r=0,i=(0,a.zO)(),o=0,s=(0,a.zO)(),l=t=>{this.concurrentDownloads.delete(e),n.releaseLock(),e.cancel(`Throughput Estimator error: ${t}`).catch((()=>{}))},c=async({done:u,value:d})=>{if(u)!t&&this.addRawSpeed(r,(0,a.zO)()-i,1),this.concurrentDownloads.delete(e);else if(d){if(t){if((0,a.zO)()-s<this.tuningConfig.lowLatency.continuesByteSequenceInterval)o+=d.byteLength;else{let e=s-i;e&&this.addRawSpeed(o,e,1,t),o=d.byteLength,i=(0,a.zO)()}s=(0,a.zO)()}else r+=d.byteLength,o+=d.byteLength,o>=this.tuningConfig.streamMinSampleSize&&(0,a.zO)()-s>=this.tuningConfig.streamMinSampleTime&&(this.addRawSpeed(o,(0,a.zO)()-s,this.concurrentDownloads.size),o=0,s=(0,a.zO)());await(n?.read().then(c,l))}};this.concurrentDownloads.add(e),n?.read().then(c,l)}addRawSpeed(t,n,r=1,i=!1){if(e.sanityCheck(t,n,i)){let e=8*t/n;this.throughput.next(e*r)}}addRawThroughput(e){this.throughput.next(e)}addRawRtt(e){this.rtt.next(e)}static sanityCheck(e,t,n=!1){let r=8*e/t;return!(!r||!isFinite(r)||r>1e6||r<30||n&&e<1e4||!n&&e<10240||!n&&t<=20)}static load(e){let t=a.we.get(e);if((0,a.C_)(t))return parseInt(t,10)??void 0}}:null,fo={configName:["core"],throughputEstimator:{type:"EmaAndMa",emaAlphaSlow:.2,emaAlphaFast:.7,emaAlpha:.45,basisTrendChangeCount:10,changeThreshold:.05,useBrowserEstimation:!0,rttPenaltyRequestSize:1048576,streamMinSampleSize:10240,streamMinSampleTime:300,deviationDepth:20,deviationFactor:.5,lowLatency:{continuesByteSequenceInterval:10}},autoTrackSelection:{bitrateFactorAtEmptyBuffer:1.8,bitrateFactorAtFullBuffer:1.2,usePixelRatio:!0,limitByContainer:!0,containerSizeFactor:2,lazyQualitySwitch:!0,minBufferToSwitchUp:.4,considerPlaybackRate:!1,trackCooldown:3e3,backgroundVideoQualityLimit:a.SF.Q_4320P,activeVideoAreaThreshold:.1},droppedFramesChecker:{enabled:!1,percentLimit:.1,checkTime:1e3,countLimit:3,tickCountAfterQualityChange:5,qualityUpWaitingTime:5e3,minQualityBanLimit:a.SF.Q_480P},dash:{forwardBufferTarget:6e4,forwardBufferTargetAuto:6e4,forwardBufferTargetManual:3e5,forwardBufferTargetPreload:5e3,maxSegmentDurationLeftToSelectNextSegment:3e3,minSafeBufferThreshold:.5,bufferPruningSafeZone:1e3,segmentRequestSize:1048576,representationSwitchForwardBufferGap:3e3,crashOnStallTimeout:3e4,enableSubSegmentBufferFeeding:!0,segmentTimelineTolerance:100,useFetchPriorityHints:!0},dashCmafLive:{maxActiveLiveOffset:1e4,normalizedTargetMinBufferSize:6e4,normalizedLiveMinBufferSize:5e3,normalizedActualBufferOffset:1e4,offsetCalculationError:3e3,lowLatency:{maxTargetOffset:3e3,maxTargetOffsetDeviation:500,playbackCatchupSpeedup:.05,isActive:!1,delayEstimator:{emaAlpha:.45,changeThreshold:.05,deviationDepth:20,deviationFactor:.5,extremumInterval:5}}},live:{minBuffer:3e3,minBufferSegments:3,lowLatencyMinBuffer:1e3,lowLatencyMinBufferSegments:1,isLiveCatchUpMode:!1,lowLatencyActiveLiveDelay:3e3,activeLiveDelay:5e3,maxPausedTime:5e3},downloadBackoff:{bufferThreshold:100,start:100,factor:2,max:3e3,random:.1},enableWakeLock:!0,enableTelemetryAtStart:!1,forceFormat:void 0,formatsToAvoid:[],disableChromecast:!1,chromecastReceiverId:void 0,useWebmBigRequest:!1,webmCodec:"vp9",androidPreferredFormat:"mpeg",preferCMAF:!1,preferWebRTC:!1,bigRequestMinInitSize:51200,bigRequestMinDataSize:1048576,stripRangeHeader:!0,flushShortLoopedBuffers:!0,insufficientBufferRuleMargin:1e4,dashSeekInSegmentDurationThreshold:18e4,dashSeekInSegmentAlwaysSeekDelta:1e4,endGapTolerance:300,stallIgnoreThreshold:33,gapWatchdogInterval:50,requestQuick:!1,useHlsJs:!0,useDashAbortPartiallyFedSegment:!1,useNativeHLSTextTracks:!1,useManagedMediaSource:!1,isAudioDisabled:!1,autoplayOnlyInActiveTab:!0,dynamicImportTimeout:5e3,maxPlaybackTransitionInterval:2e4,providerErrorLimit:3,manifestRetryInterval:300,manifestRetryMaxInterval:1e4,manifestRetryMaxCount:10,webrtc:{connectionRetryMaxNumber:3},spherical:{enabled:!1,fov:{x:135,y:76},rotationSpeed:45,maxYawAngle:175,rotationSpeedCorrection:10,degreeToPixelCorrection:5,speedFadeTime:2e3,speedFadeThreshold:50}},ho=({seekState:e,position$:t})=>(0,a.TS)(e.stateChangeEnded$.pipe((0,a.UI)((({to:e})=>"none"===e.state?void 0:(e.position??NaN)/1e3)),(0,a.hX)(a.C_)),t.pipe((0,a.hX)((()=>"none"===e.getState().state)))),mo=class{constructor(e={configName:[]}){if(this.subscription=new a.w0,this.logger=new a.Yd,this.abrLogger=this.logger.createComponentLog("ABR"),this.isPlaybackStarted=!1,this.hasLiveOffsetByPaused=new a.v0(!1),this.hasLiveOffsetByPausedTimer=0,this.desiredState={playbackState:new yn("stopped"),seekState:new yn({state:"none"}),volume:new yn({volume:1,muted:!1}),videoTrack:new yn(void 0),autoVideoTrackSwitching:new yn(!0),autoVideoTrackLimits:new yn({}),isLooped:new yn(!1),playbackRate:new yn(1),externalTextTracks:new yn([]),internalTextTracks:new yn([]),currentTextTrack:new yn(void 0),textTrackCuesSettings:new yn({}),cameraOrientation:new yn({x:0,y:0})},this.info={playbackState$:new a.v0("stopped"),position$:new a.v0(0),duration$:new a.v0(1/0),muted$:new a.v0(!1),volume$:new a.v0(1),availableQualities$:new a.v0([]),availableQualitiesFps$:new a.v0({}),availableAudioTracks$:new a.v0([]),isAudioAvailable$:new a.v0(!0),currentQuality$:new a.v0(void 0),isAutoQualityEnabled$:new a.v0(!0),autoQualityLimitingAvailable$:new a.v0(!1),autoQualityLimits$:new a.v0({}),currentPlaybackRate$:new a.v0(1),currentBuffer$:new a.v0({start:0,end:0}),isBuffering$:new a.v0(!0),isStalled$:new a.v0(!1),isEnded$:new a.v0(!1),isLooped$:new a.v0(!1),isLive$:new a.v0(void 0),canChangePlaybackSpeed$:new a.v0(void 0),atLiveEdge$:new a.v0(void 0),atLiveDurationEdge$:new a.v0(void 0),liveTime$:new a.v0(void 0),liveBufferTime$:new a.v0(void 0),currentFormat$:new a.v0(void 0),availableTextTracks$:new a.v0([]),currentTextTrack$:new a.v0(void 0),throughputEstimation$:new a.v0(void 0),rttEstimation$:new a.v0(void 0),videoBitrate$:new a.v0(void 0),hostname$:new a.v0(void 0),httpConnectionType$:new a.v0(void 0),httpConnectionReused$:new a.v0(void 0),surface$:new a.v0("none"),chromecastState$:new a.v0("NOT_AVAILABLE"),chromecastDeviceName$:new a.v0(void 0),intrinsicVideoSize$:new a.v0(void 0),availableSources$:new a.v0(void 0),is3DVideo$:new a.v0(!1),currentVideoSegmentLength$:new a.v0(0),currentAudioSegmentLength$:new a.v0(0)},this.events={inited$:new a.xQ,ready$:new a.xQ,started$:new a.xQ,playing$:new a.xQ,paused$:new a.xQ,stopped$:new a.xQ,willStart$:new a.xQ,willResume$:new a.xQ,willPause$:new a.xQ,willStop$:new a.xQ,willDestruct$:new a.xQ,watchCoverageRecord$:new a.xQ,watchCoverageLive$:new a.xQ,managedError$:new a.xQ,fatalError$:new a.xQ,ended$:new a.xQ,looped$:new a.xQ,seeked$:new a.xQ,willSeek$:new a.xQ,firstBytes$:new a.xQ,firstFrame$:new a.xQ,canplay$:new a.xQ,log$:new a.xQ},this.experimental={element$:new a.v0(void 0),tuningConfigName$:new a.v0([]),enableDebugTelemetry$:new a.v0(!1),dumpTelemetry:Fn},this.initLogs(),this.tuning=(t=e,{...(0,a.Cd)(t,fo),configName:[...t.configName??[],...fo.configName]}),this.experimental.tuningConfigName$.next(this.tuning.configName),this.chromecastInitializer=new dn({receiverApplicationId:e.chromecastReceiverId,isDisabled:e.disableChromecast,dependencies:{logger:this.logger}}),this.throughputEstimator=new po(this.tuning.throughputEstimator),this.initChromecastSubscription(),this.initDesiredStateSubscriptions(),Proxy&&Reflect)return new Proxy(this,{get:(e,t,n)=>{let r=Reflect.get(e,t,n);return"function"!=typeof r?r:(...n)=>{try{return r.apply(e,n)}catch(e){let r=n.map((e=>JSON.stringify(e,((e,t)=>{let n=typeof t;return["number","string","boolean"].includes(n)?t:null===t?null:`<${n}>`})))),i=`Player.${String(t)}`,o=`Exception calling ${i} (${r.join(", ")})`;throw this.events.fatalError$.next({id:i,category:a.qj.WTF,message:o,thrown:e}),e}}}});var t}initVideo(e){return this.config=e,this.domContainer=(e=>{let t="string"==typeof e.container?document.getElementById(e.container):e.container;return(0,a.Z3)(t,`Wrong container or containerId {${e.container}}`),t})(e),this.chromecastInitializer.contentId=e.meta?.videoId,this.providerContainer=new io({sources:e.sources,meta:e.meta??{},failoverHosts:e.failoverHosts??[],container:this.domContainer,desiredState:this.desiredState,dependencies:{throughputEstimator:this.throughputEstimator,chromecastInitializer:this.chromecastInitializer,logger:this.logger,abrLogger:this.abrLogger},tuning:this.tuning}),this.initProviderContainerSubscription(this.providerContainer),this.initStartingVideoTrack(this.providerContainer),this.providerContainer.init(),this.setMuted(this.tuning.isAudioDisabled),this.initDebugTelemetry(),this.initWakeLock(),this}destroy(){window.clearTimeout(this.hasLiveOffsetByPausedTimer),this.events.willDestruct$.next(),this.stop(),this.providerContainer?.destroy(),this.throughputEstimator.destroy(),this.chromecastInitializer.destroy(),this.subscription.unsubscribe()}prepare(){let e=this.desiredState.playbackState;return"stopped"===e.getState()&&e.startTransitionTo("ready"),this}play(){let e=()=>{let e=this.desiredState.playbackState;"playing"!==e.getState()&&e.startTransitionTo("playing")};return document.hidden&&this.tuning.autoplayOnlyInActiveTab&&!rr()?(0,a.RB)(document,"visibilitychange").pipe((0,a.IH)()).subscribe(e):e(),this}pause(){let e=this.desiredState.playbackState;return"paused"!==e.getState()&&e.startTransitionTo("paused"),this}stop(){let e=this.desiredState.playbackState;return"stopped"!==e.getState()&&e.startTransitionTo("stopped"),this}seekTime(e,t=!0){let n=this.info.duration$.getValue(),r=this.info.isLive$.getValue();return e>=n&&!r&&(e=n-.1),this.events.willSeek$.next({from:this.getExactTime(),to:e}),this.desiredState.seekState.setState({state:"requested",position:1e3*e,forcePrecise:t}),this}seekPercent(e){let t=this.info.duration$.getValue();return isFinite(t)&&this.seekTime(Math.abs(t)*e,!1),this}setVolume(e){let t=this.tuning.isAudioDisabled||this.desiredState.volume.getState().muted;return"CONNECTED"===this.chromecastInitializer.castState$.getValue()?this.chromecastInitializer.setVolume(e):this.desiredState.volume.startTransitionTo({volume:e,muted:t}),this}setMuted(e){let t=this.tuning.isAudioDisabled||e;return"CONNECTED"===this.chromecastInitializer.castState$.getValue()?this.chromecastInitializer.setMuted(t):this.desiredState.volume.startTransitionTo({volume:this.desiredState.volume.getState().volume,muted:t}),this}setQuality(e){(0,a.Z3)(this.providerContainer);let t=this.providerContainer.providerOutput.availableVideoTracks$.getValue();return void 0===this.desiredState.videoTrack.getState()&&void 0===this.desiredState.videoTrack.getPrevState()&&0===t.length?this.providerContainer.providerOutput.availableVideoTracks$.pipe((0,a.hX)((e=>e.length>0)),(0,a.IH)()).subscribe((t=>{this.setVideoTrackIdByQuality(t,e)})):t.length>0&&this.setVideoTrackIdByQuality(t,e),this}setAutoQuality(e){return this.desiredState.autoVideoTrackSwitching.startTransitionTo(e),this}setAutoQualityLimits(e){return this.desiredState.autoVideoTrackLimits.startTransitionTo(e),this}setPlaybackRate(e){(0,a.Z3)(this.providerContainer);let t=this.providerContainer?.providerOutput.element$.getValue();return t&&(this.desiredState.playbackRate.setState(e),t.playbackRate=e),this}setExternalTextTracks(e){return this.desiredState.externalTextTracks.startTransitionTo(e.map((e=>({type:"external",...e})))),this}selectTextTrack(e){return((e,t,n,r)=>{void 0!==e&&void 0===t.getState()&&void 0===t.getPrevState()&&0===n?.getValue().length?n.pipe((0,a.hX)((e=>e.length>0)),(0,a.IH)()).subscribe((n=>{n.find(r)&&t.startTransitionTo(e)})):(void 0===e||n?.getValue().find(r))&&t.startTransitionTo(e)})(e,this.desiredState.currentTextTrack,this.providerContainer?.providerOutput.availableTextTracks$,(t=>t.id===e)),this}setTextTrackCueSettings(e){return this.desiredState.textTrackCuesSettings.startTransitionTo(e),this}setLooped(e){return this.desiredState.isLooped.startTransitionTo(e),this}toggleChromecast(){this.chromecastInitializer.toggleConnection()}startCameraManualRotation(e,t){let n=this.getScene3D();return n&&n.startCameraManualRotation(e,t),this}stopCameraManualRotation(e=!1){let t=this.getScene3D();return t&&t.stopCameraManualRotation(e),this}moveCameraFocusPX(e,t){let n=this.getScene3D();if(n){let r=n.getCameraRotation(),i=n.pixelToDegree({x:e,y:t});this.desiredState.cameraOrientation.setState({x:r.x+i.x,y:r.y+i.y})}return this}holdCamera(){let e=this.getScene3D();return e&&e.holdCamera(),this}releaseCamera(){let e=this.getScene3D();return e&&e.releaseCamera(),this}getExactTime(){if(!this.providerContainer)return 0;let e=this.providerContainer.providerOutput.element$.getValue();if((0,a.SG)(e))return this.info.position$.getValue();let t=this.desiredState.seekState.getState(),n="none"===t.state?void 0:t.position;return(0,a.C_)(n)?n/1e3:e.currentTime}getAllLogs(){return this.logger.getAllLogs()}getScene3D(){let e=this.providerContainer?.current$.getValue();if(e?.provider?.scene3D)return e.provider.scene3D}setIntrinsicVideoSize(...e){let t={width:e.reduce(((e,{width:t})=>e||t||0),0),height:e.reduce(((e,{height:t})=>e||t||0),0)};t.width&&t.height&&this.info.intrinsicVideoSize$.next({width:t.width,height:t.height})}initDesiredStateSubscriptions(){this.subscription.add((0,a.TS)(this.desiredState.playbackState.stateChangeStarted$,this.desiredState.playbackState.forceChanged$).pipe((0,a.UI)((e=>e.to))).subscribe(this.info.playbackState$)).add(this.desiredState.isLooped.stateChangeEnded$.pipe((0,a.UI)((e=>e.to))).subscribe(this.info.isLooped$)).add(this.desiredState.playbackRate.stateChangeEnded$.pipe((0,a.UI)((e=>e.to))).subscribe(this.info.currentPlaybackRate$)).add(this.desiredState.autoVideoTrackSwitching.stateChangeEnded$.pipe((0,a.UI)((e=>e.to))).subscribe(this.info.isAutoQualityEnabled$)).add(this.desiredState.autoVideoTrackLimits.stateChangeEnded$.pipe((0,a.UI)((e=>e.to))).subscribe(this.info.autoQualityLimits$)),this.subscription.add(this.desiredState.playbackState.stateChangeStarted$.pipe((0,a.hX)((({from:e})=>"stopped"===e)),(0,a.IH)()).subscribe((()=>{this.initedAt=(0,a.zO)(),this.events.inited$.next()}))).add(this.desiredState.playbackState.stateChangeEnded$.subscribe((e=>{switch(e.to){case"ready":this.events.ready$.next();break;case"playing":this.isPlaybackStarted||this.events.started$.next(),this.isPlaybackStarted=!0,this.events.playing$.next();break;case"paused":this.events.paused$.next();break;case"stopped":this.events.stopped$.next()}}))).add(this.desiredState.playbackState.stateChangeStarted$.subscribe((e=>{switch(e.to){case"paused":this.events.willPause$.next();break;case"playing":this.isPlaybackStarted?this.events.willResume$.next():this.events.willStart$.next();break;case"stopped":this.events.willStop$.next()}})))}initProviderContainerSubscription(e){this.subscription.add(e.providerOutput.willSeekEvent$.subscribe((()=>{let e=this.desiredState.seekState.getState();"requested"===e.state?this.desiredState.seekState.setState({...e,state:"applying"}):this.events.managedError$.next({id:`WillSeekIn${e.state}`,category:a.qj.WTF,message:"Received unexpeceted willSeek$"})}))).add(e.providerOutput.seekedEvent$.subscribe((()=>{"applying"===this.desiredState.seekState.getState().state&&(this.desiredState.seekState.setState({state:"none"}),this.events.seeked$.next())}))).add(e.current$.pipe((0,a.UI)((e=>e.type))).subscribe(this.info.currentFormat$)).add(e.current$.pipe((0,a.UI)((e=>e.destination)),(0,a.qz)()).subscribe((()=>{this.isPlaybackStarted=!1}))).add(e.providerOutput.availableVideoTracks$.pipe((0,a.UI)((e=>e.map((({quality:e})=>e)).sort(((e,t)=>(0,a.fP)(e)?1:(0,a.fP)(t)?-1:(0,a.t3)(t,e)?1:-1))))).subscribe(this.info.availableQualities$)).add(e.providerOutput.availableVideoTracks$.subscribe((e=>{let t={};for(let n of e)n.fps&&(t[n.quality]=n.fps);this.info.availableQualitiesFps$.next(t)}))).add(e.providerOutput.availableAudioTracks$.subscribe(this.info.availableAudioTracks$)).add(e.providerOutput.isAudioAvailable$.subscribe(this.info.isAudioAvailable$)).add(e.providerOutput.currentVideoTrack$.subscribe((e=>{this.info.currentQuality$.next(e?.quality),this.info.videoBitrate$.next(e?.bitrate)}))).add(e.providerOutput.currentVideoSegmentLength$.subscribe(this.info.currentVideoSegmentLength$)).add(e.providerOutput.currentAudioSegmentLength$.subscribe(this.info.currentAudioSegmentLength$)).add(e.providerOutput.hostname$.pipe((0,a.qz)()).subscribe(this.info.hostname$)).add(e.providerOutput.httpConnectionType$.pipe((0,a.qz)()).subscribe(this.info.httpConnectionType$)).add(e.providerOutput.httpConnectionReused$.pipe((0,a.qz)()).subscribe(this.info.httpConnectionReused$)).add(e.providerOutput.currentTextTrack$.subscribe(this.info.currentTextTrack$)).add(e.providerOutput.availableTextTracks$.subscribe(this.info.availableTextTracks$)).add(e.providerOutput.autoVideoTrackLimitingAvailable$.subscribe(this.info.autoQualityLimitingAvailable$)).add(e.providerOutput.autoVideoTrackLimits$.subscribe((e=>{this.desiredState.autoVideoTrackLimits.setState(e??{})}))).add(e.providerOutput.currentBuffer$.pipe((0,a.UI)((e=>e?{start:e.from,end:e.to}:{start:0,end:0}))).subscribe(this.info.currentBuffer$)).add(e.providerOutput.duration$.subscribe(this.info.duration$)).add(e.providerOutput.isBuffering$.subscribe(this.info.isBuffering$)).add(e.providerOutput.isLive$.subscribe(this.info.isLive$)).add(e.providerOutput.canChangePlaybackSpeed$.subscribe(this.info.canChangePlaybackSpeed$)).add(e.providerOutput.liveTime$.subscribe(this.info.liveTime$)).add(e.providerOutput.liveBufferTime$.subscribe(this.info.liveBufferTime$)).add((0,a.$e)({hasLiveOffsetByPaused:(0,a.TS)(this.desiredState.playbackState.stateChangeStarted$,this.desiredState.playbackState.forceChanged$).pipe((0,a.UI)((e=>e.to)),(0,a.qz)(),(0,a.UI)((e=>"paused"===e))),isLowLatency:e.providerOutput.isLowLatency$}).subscribe((({hasLiveOffsetByPaused:e,isLowLatency:t})=>{window.clearTimeout(this.hasLiveOffsetByPausedTimer),e?this.hasLiveOffsetByPausedTimer=window.setTimeout((()=>{this.hasLiveOffsetByPaused.next(!0)}),this.getActiveLiveDelay(t)):this.hasLiveOffsetByPaused.next(!1)}))).add((0,a.$e)({atLiveEdge:(0,a.$e)({isLive:e.providerOutput.isLive$,isLowLatency:e.providerOutput.isLowLatency$,position:ho({seekState:this.desiredState.seekState,position$:e.providerOutput.position$})}).pipe((0,a.UI)((({isLive:e,position:t,isLowLatency:n})=>{let r=this.getActiveLiveDelay(n);return e&&Math.abs(t)<r/1e3})),(0,a.qz)(),(0,a.bw)((e=>e&&this.setPlaybackRate(1)))),hasPausedTimeoutCase:this.hasLiveOffsetByPaused}).pipe((0,a.UI)((({atLiveEdge:e,hasPausedTimeoutCase:t})=>e&&!t))).subscribe(this.info.atLiveEdge$)).add((0,a.$e)({isLive:e.providerOutput.isLive$,position:e.providerOutput.position$,duration:e.providerOutput.duration$}).pipe((0,a.UI)((({isLive:e,position:t,duration:n})=>e&&1e3*(Math.abs(n)-Math.abs(t))<this.tuning.live.activeLiveDelay)),(0,a.qz)(),(0,a.bw)((e=>e&&this.setPlaybackRate(1)))).subscribe(this.info.atLiveDurationEdge$)).add(e.providerOutput.volume$.pipe((0,a.UI)((e=>e.muted)),(0,a.qz)()).subscribe(this.info.muted$)).add(e.providerOutput.volume$.pipe((0,a.UI)((e=>e.volume)),(0,a.qz)()).subscribe(this.info.volume$)).add(ho({seekState:this.desiredState.seekState,position$:e.providerOutput.position$}).subscribe(this.info.position$)).add((0,a.TS)(e.providerOutput.endedEvent$.pipe((0,a.CB)(!0)),e.providerOutput.seekedEvent$.pipe((0,a.CB)(!1))).pipe((0,a.qz)()).subscribe(this.info.isEnded$)).add(e.providerOutput.endedEvent$.subscribe(this.events.ended$)).add(e.providerOutput.loopedEvent$.subscribe(this.events.looped$)).add(e.providerError$.subscribe(this.events.managedError$)).add(e.noAvailableProvidersError$.pipe((0,a.UI)((e=>({id:e?`No${e}`:"NoProviders",category:a.qj.VIDEO_PIPELINE,message:e?`${e} was forced but failed or not available`:"No suitable providers or all providers failed"})))).subscribe(this.events.fatalError$)).add(e.providerOutput.element$.subscribe(this.experimental.element$)).add(e.providerOutput.firstBytesEvent$.pipe((0,a.IH)(),(0,a.UI)((e=>e??(0,a.zO)()-this.initedAt))).subscribe(this.events.firstBytes$)).add(e.providerOutput.firstFrameEvent$.pipe((0,a.IH)(),(0,a.UI)((()=>(0,a.zO)()-this.initedAt))).subscribe(this.events.firstFrame$)).add(e.providerOutput.canplay$.pipe((0,a.IH)(),(0,a.UI)((()=>(0,a.zO)()-this.initedAt))).subscribe(this.events.canplay$)).add(this.throughputEstimator.throughput$.subscribe(this.info.throughputEstimation$)).add(this.throughputEstimator.rtt$.subscribe(this.info.rttEstimation$)).add(e.providerOutput.availableSources$.subscribe(this.info.availableSources$));let t=new a.v0(!1);this.subscription.add(e.providerOutput.seekedEvent$.subscribe((()=>t.next(!1)))).add(e.providerOutput.willSeekEvent$.subscribe((()=>t.next(!0))));let n=new a.v0(!0);this.subscription.add(e.current$.subscribe((()=>n.next(!0)))).add(this.desiredState.playbackState.stateChangeEnded$.pipe((0,a.hX)((({to:e})=>"playing"===e)),(0,a.IH)()).subscribe((()=>n.next(!1))));let r=0,i=(0,a.TS)(e.providerOutput.isBuffering$,t,n).pipe((0,a.UI)((()=>{let r=e.providerOutput.isBuffering$.getValue(),i=t.getValue()||n.getValue();return r&&!i})),(0,a.qz)());this.subscription.add(i.subscribe((e=>{e?r=window.setTimeout((()=>this.info.isStalled$.next(!0)),this.tuning.stallIgnoreThreshold):(window.clearTimeout(r),this.info.isStalled$.next(!1))}))),this.subscription.add((0,a.TS)(e.providerOutput.canplay$,e.providerOutput.firstFrameEvent$,e.providerOutput.firstBytesEvent$).subscribe((()=>{let t=e.providerOutput.element$.getValue();this.setIntrinsicVideoSize({width:t?.videoWidth,height:t?.videoHeight})}))).add(e.providerOutput.currentVideoTrack$.subscribe((t=>{let n=e.providerOutput.element$.getValue();this.setIntrinsicVideoSize({width:t?.size?.width,height:t?.size?.height},{width:n?.videoWidth,height:n?.videoHeight})}))).add(e.providerOutput.is3DVideo$.subscribe(this.info.is3DVideo$)),this.subscription.add((0,a.TS)(e.providerOutput.inPiP$,e.providerOutput.inFullscreen$,e.providerOutput.element$,e.providerOutput.elementVisible$,this.chromecastInitializer.castState$).subscribe((()=>{let t,n=e.providerOutput.inPiP$.getValue(),r=e.providerOutput.inFullscreen$.getValue(),i=e.providerOutput.element$.getValue(),o=e.providerOutput.elementVisible$.getValue();t="CONNECTED"===this.chromecastInitializer.castState$.getValue()?"second_screen":i?o?n?"pip":r?"fullscreen":"inline":"invisible":"none",this.info.surface$.getValue()!==t&&this.info.surface$.next(t)})))}initChromecastSubscription(){this.subscription.add(this.chromecastInitializer.castState$.subscribe(this.info.chromecastState$)),this.subscription.add(this.chromecastInitializer.connection$.pipe((0,a.UI)((e=>e?.castDevice.friendlyName))).subscribe(this.info.chromecastDeviceName$)),this.subscription.add(this.chromecastInitializer.errorEvent$.subscribe(this.events.managedError$))}initStartingVideoTrack(e){let t=new a.w0;this.subscription.add(t),this.subscription.add(e.current$.pipe((0,a.qz)(((e,t)=>e.provider===t.provider))).subscribe((()=>{t.unsubscribe(),t.add(e.providerOutput.availableVideoTracks$.pipe((0,a.hX)((e=>e.length>0)),(0,a.IH)()).subscribe((e=>{this.setStartingVideoTrack(e)})))})))}setStartingVideoTrack(e){let t,n=this.desiredState.videoTrack.getState()?.quality;n&&(t=e.find((({quality:e})=>e===n)),t||this.setAutoQuality(!0)),t||(t=$n(e,{container:this.domContainer.getBoundingClientRect(),throughput:this.throughputEstimator.throughput$.getValue(),tuning:this.tuning.autoTrackSelection,limits:this.desiredState.autoVideoTrackLimits.getState(),playbackRate:this.info.currentPlaybackRate$.getValue(),forwardBufferHealth:0,abrLogger:this.abrLogger})),this.desiredState.videoTrack.startTransitionTo(t),this.info.currentQuality$.next(t.quality),this.info.videoBitrate$.next(t.bitrate)}initLogs(){this.subscription.add((0,a.TS)(this.desiredState.videoTrack.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,entity:"quality",type:"start"})))),this.desiredState.videoTrack.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,entity:"quality",type:"end"})))),this.desiredState.autoVideoTrackSwitching.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,entity:"autoQualityEnabled",type:"start"})))),this.desiredState.autoVideoTrackSwitching.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,entity:"autoQualityEnabled",type:"end"})))),this.desiredState.seekState.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,entity:"seekState",type:"start"})))),this.desiredState.seekState.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,entity:"seekState",type:"end"})))),this.desiredState.playbackState.stateChangeStarted$.pipe((0,a.UI)((e=>({transition:e,entity:"playbackState",type:"start"})))),this.desiredState.playbackState.stateChangeEnded$.pipe((0,a.UI)((e=>({transition:e,entity:"playbackState",type:"end"}))))).pipe((0,a.UI)((e=>({component:"desiredState",message:`[${e.entity} change] ${e.type}: ${JSON.stringify(e.transition)}`})))).subscribe(this.logger.log)),this.subscription.add(this.logger.log$.subscribe(this.events.log$))}initDebugTelemetry(){let e=this.providerContainer?.providerOutput;(0,a.Z3)(this.providerContainer),(0,a.Z3)(e),Bn={},this.experimental.enableDebugTelemetry$.next(this.tuning.enableTelemetryAtStart),[this.experimental.enableDebugTelemetry$.subscribe((e=>{jn=e})),this.providerContainer.current$.subscribe((({type:e})=>Hn("provider",e))),e.duration$.subscribe((e=>Hn("duration",e))),e.availableVideoTracks$.pipe((0,a.hX)((e=>!!e.length)),(0,a.IH)()).subscribe((e=>Hn("tracks",e))),this.events.fatalError$.subscribe(new zn("fatalError")),this.events.managedError$.subscribe(new zn("managedError")),e.position$.subscribe(new zn("position")),e.currentVideoTrack$.pipe((0,a.UI)((e=>e?.quality))).subscribe(new zn("quality")),this.info.currentBuffer$.subscribe(new zn("buffer")),e.isBuffering$.subscribe(new zn("isBuffering"))].forEach((e=>this.subscription.add(e))),Hn("codecs",Object.keys(Ki).filter((e=>Ki[e])))}initWakeLock(){if(!window.navigator.wakeLock||!this.tuning.enableWakeLock)return;let e,t=()=>{e?.release(),e=void 0},n=async()=>{t(),e=await window.navigator.wakeLock.request("screen").catch((e=>{e instanceof DOMException&&"NotAllowedError"===e.name||this.events.managedError$.next({id:"WakeLock",category:a.qj.DOM,message:String(e)})}))};this.subscription.add((0,a.TS)((0,a.RB)(document,"visibilitychange"),(0,a.RB)(document,"fullscreenchange"),this.desiredState.playbackState.stateChangeEnded$).subscribe((()=>{let r="visible"===document.visibilityState,i="playing"===this.desiredState.playbackState.getState();r&&i?!!e&&!e?.released||n():t()}))).add(this.events.willDestruct$.subscribe(t))}setVideoTrackIdByQuality(e,t){let n=e.find((e=>e.quality===t));n?this.desiredState.videoTrack.startTransitionTo(n):this.setAutoQuality(!0)}getActiveLiveDelay(e=!1){return e?this.tuning.live.lowLatencyActiveLiveDelay:this.tuning.live.activeLiveDelay}}},63313:function(e,t,n){"use strict";n.d(t,{$T:function(){return W},$e:function(){return U},B3:function(){return we},CB:function(){return le},C_:function(){return d},Cd:function(){return F},Ds:function(){return K},Ex:function(){return L},FG:function(){return q},G4:function(){return y},IH:function(){return ce},IX:function(){return R},Ln:function(){return g},P2:function(){return J},RB:function(){return Z},S2:function(){return m},SF:function(){return O},SG:function(){return p},SV:function(){return w},T8:function(){return P},TD:function(){return j},TS:function(){return $},UI:function(){return ae},Uu:function(){return f},Vs:function(){return G},Yd:function(){return c},Z3:function(){return u},bw:function(){return ue},d4:function(){return H},fP:function(){return B},fh:function(){return N},gn:function(){return b},hX:function(){return te},hZ:function(){return v},lE:function(){return T},qj:function(){return pe},qz:function(){return re},t$:function(){return z},t3:function(){return A},v0:function(){return V},vE:function(){return o},w0:function(){return i},we:function(){return C},xQ:function(){return l},y$:function(){return s},zE:function(){return D},zO:function(){return h}});var r=n(25108);class i{subscriptions=[];unsubscribe(){const e=this.subscriptions;this.subscriptions=[],e.forEach((e=>"function"==typeof e?e():e.unsubscribe()))}add(e){return this.subscriptions.push(e),this}}const o=e=>{throw new Error(`${e} is value of unexpected type`)},a=()=>{};class s{constructor(e){e&&(this._subscribe=e)}subscribe(e,t){let n;n=t?"function"==typeof t?{next:t,error:a}:{next:e=>t.next(e),error:e=>t.error?.(e)}:{next:a,error:a};const r="function"==typeof e?{next:t=>{try{e(t)}catch(e){n.next(e)}},error:e=>n.next(e)}:{next:t=>e.next(t),error:t=>e.error?e.error(t):n.next(t)};let s;try{s=this._subscribe(r)}catch(e){r.error?.(e)}return(new i).add((()=>{switch(r.next=a,r.error=a,typeof s){case"function":return void s();case"object":return void s.unsubscribe();case"undefined":return;default:return o(s)}}))}pipe(...e){return e.reduce(((e,t)=>t(e)),this)}_subscribe(e){}}class l extends(/^(3633|7058)$/.test(n.j)?s:null){keyCounter=0;subscribers=new Map;constructor(){super()}next(e){this.subscribers.forEach((t=>t.next(e)))}error(e){this.subscribers.forEach((t=>t.error?.(e)))}_subscribe(e){const t=this.keyCounter++;return this.subscribers.set(t,e),(new i).add((()=>this.subscribers.delete(t)))}}class c{log$=new l;logs=[];log=e=>{const t={...e,timestamp:Date.now()};this.logs.push(t),this.log$.next(t)};createCustomLog(e){return(...t)=>{let n;try{n=e(...t)}catch{n={message:"error in `createCustomLog`",component:"Logger"}}this.log(n)}}createComponentLog(e){return this.createCustomLog((t=>({component:e,...t})))}getAllLogs=()=>this.logs}function u(e,t='Assertion "value is not nullable" failed'){if(null==e)throw new Error(t)}function d(e){return typeof e<"u"&&null!==e}function p(e){return null==e}function f(e,t){if(!e?.length)throw new Error(t)}const h="function"==typeof window.performance?.now?()=>window.performance.now():()=>Date.now(),m=(e,t)=>async(...n)=>{const r=t(...n);let i,o=e.aborted;for(;!o&&!e.aborted;)try{const e=await r.next(i);o=e.done??!1,i=e.value}catch(e){await r.throw(e)}return i};var g,v;!function(e){e.Unknown="Unknown",e.Yandex="Yandex",e.Chrome="Chrome",e.Chromium="Chromium",e.Firefox="Firefox",e.Safari="Safari",e.Opera="Opera",e.Edge="Edge",e.Rest="Rest"}(g||(g={})),function(e){e.Unknown="Unknown",e.Android="Android",e.iPhone="iPhone",e.iPad="iPad",e.iPod="iPod",e.RestMobile="RestMobile",e.Mac="Mac",e.Desktop="Desktop"}(v||(v={}));const y=()=>{const{userAgent:e}=window.navigator,t=/yabrowser/i.test(e)?g.Yandex:void 0,n=/chrome|crios/i.test(e)?g.Chrome:void 0,r=/chromium/i.test(e)?g.Chromium:void 0,i=/firefox|fxios/i.test(e)?g.Firefox:void 0,o=/webkit|safari|khtml/i.test(e)?g.Safari:void 0,a=/opr\//i.test(e)?g.Opera:void 0,s=/edg/i.test(e)?g.Edge:void 0,l=/android/i.test(e)?v.Android:void 0,c=/iphone/i.test(e)?v.iPhone:void 0,u=/ipad/i.test(e)?v.iPad:void 0,d=/ipod/i.test(e)?v.iPod:void 0,p=/mac/i.test(e)?v.Mac:void 0,f=/webOS|BlackBerry|IEMobile|Opera Mini/i.test(e)?v.RestMobile:void 0;return{browser:t||i||a||s||n||r||o||g.Rest,device:l||c||u||d||f||p||v.Desktop}},b=(e=!1)=>{const t=[v.iPhone,v.iPad,v.iPod].includes(y().device);if(!e)return t;const{userAgent:n,maxTouchPoints:r}=window.navigator;return!!(t||/macintosh/i.test(n)&&r>0)},w=(e,{start:t=0,factor:n=2,max:r=1/0,min:i=t,random:o=0}={})=>{let a=t;return a*=n**e,a*=Math.random()*o*2-o+1,a=Math.round(a),a=Math.min(a,r),a=Math.max(a,i),a};var _;let S,x;!function(e){e[e.LOCAL_STORAGE=0]="LOCAL_STORAGE",e[e.SESSION_STORAGE=1]="SESSION_STORAGE",e[e.RUNTIME=2]="RUNTIME"}(_||(_={}));const E=`vk-videoplayer-dummy-key-${Math.random()}`,k=()=>{if(void 0!==x)return x;try{localStorage.setItem(E,"test"),localStorage.removeItem(E),x=_.LOCAL_STORAGE}catch(e){if(!(e instanceof DOMException||e instanceof TypeError))throw e;try{sessionStorage.getItem(E),x=_.SESSION_STORAGE}catch(e){if(!(e instanceof DOMException||e instanceof TypeError))throw e;x=_.RUNTIME}}return x===_.RUNTIME&&(S=new Map),x};var C=Object.freeze({__proto__:null,clear:()=>{const e=k();switch(e){case _.LOCAL_STORAGE:return localStorage.clear();case _.SESSION_STORAGE:return sessionStorage.clear();case _.RUNTIME:return S?.clear();default:o(e)}},get:e=>{const t=k();switch(t){case _.LOCAL_STORAGE:return localStorage.getItem(e)??void 0;case _.SESSION_STORAGE:return sessionStorage.getItem(e)??void 0;case _.RUNTIME:return S?.get(e);default:o(t)}},has:e=>{const t=k();switch(t){case _.LOCAL_STORAGE:return e in localStorage;case _.SESSION_STORAGE:return e in sessionStorage;case _.RUNTIME:return S?.has(e)??!1;default:return o(t),!1}},isPersistent:()=>k()===_.LOCAL_STORAGE,remove:e=>{const t=k();switch(t){case _.LOCAL_STORAGE:return localStorage.removeItem(e);case _.SESSION_STORAGE:return sessionStorage.removeItem(e);case _.RUNTIME:return void S?.delete(e);default:o(t)}},set:(e,t)=>{const n=k();switch(n){case _.LOCAL_STORAGE:try{localStorage.setItem(e,t)}catch(e){if(!(e instanceof DOMException))throw e;r.error(e)}break;case _.SESSION_STORAGE:try{sessionStorage.setItem(e,t)}catch(e){if(!(e instanceof DOMException))throw e;r.error(e)}break;case _.RUNTIME:return void S?.set(e,t);default:o(n)}}});const T=()=>{let e,t;try{e=window.self!==window.top}catch(t){t instanceof DOMException&&"SecurityError"===t.name?e=!0:(e=!1,r.error(t))}try{window.location.ancestorOrigins&&(t=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1])}catch(e){r.error(e)}try{!t&&document.referrer&&(t=document.referrer)}catch(e){r.error(e)}return{isEmbed:e,host:t?new URL(t).hostname:void 0}};var O;!function(e){e.INVARIANT="Invariant quality",e.Q_144P="144p",e.Q_240P="240p",e.Q_360P="360p",e.Q_480P="480p",e.Q_720P="720p",e.Q_1080P="1080p",e.Q_1440P="1440p",e.Q_2160P="2160p",e.Q_4320P="4320p"}(O||(O={}));const M={[O.Q_144P]:{width:256,height:144},[O.Q_240P]:{width:428,height:240},[O.Q_360P]:{width:640,height:360},[O.Q_480P]:{width:856,height:480},[O.Q_720P]:{width:1280,height:720},[O.Q_1080P]:{width:1920,height:1080},[O.Q_1440P]:{width:2560,height:1440},[O.Q_2160P]:{width:3840,height:2160},[O.Q_4320P]:{width:7680,height:4320}},A=(e,t)=>M[e].height>M[t].height,P=(e,t)=>M[e].height>=M[t].height,L=(e,t)=>M[e].height<M[t].height,D=(e,t)=>M[e].height<=M[t].height,R=e=>e.sort(((e,t)=>e===t?0:e===O.INVARIANT?1:t===O.INVARIANT?-1:L(e,t)?1:-1))[0],I=Object.keys(M).sort(((e,t)=>L(e,t)?-1:1)),N=({width:e,height:t})=>{const n=Math.min(e,t),r=Math.max(e,t);return I.find((e=>{const t=M[e];return t.width>=r&&t.height>=n}))},j=e=>M[e].height,B=e=>e===O.INVARIANT;const F=(e,t)=>{const n={};for(const r of Object.keys(t)){const i=t[r],o=e[r];Array.isArray(i)&&Array.isArray(o)?n[r]=o:n[r]="object"==typeof i&&"object"==typeof o?F(o,i):r in e?o:i}return n};function H(e,t=0,n){let r,i,o,a,s,l,c=0,u=!1,d=!1,p=!0;const f=!t&&0!==t&&"function"==typeof window.requestAnimationFrame;function h(t){const n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n),a}function m(e,t){return f?(s&&window.cancelAnimationFrame(s),window.requestAnimationFrame(e)):setTimeout(e,t)}function g(e){const n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function v(){const e=Date.now();if(g(e))return y(e);s=m(v,function(e){const n=e-c,r=t-(e-l);return d?Math.min(r,o-n):r}(e))}function y(e){return s=void 0,p&&r?h(e):(r=i=void 0,a)}function b(...e){const n=Date.now(),o=g(n);if(r=e,i=this,l=n,o){if(void 0===s)return function(e){return c=e,s=m(v,t),u?h(e):a}(l);if(d)return s=m(v,t),h(l)}return void 0===s&&(s=m(v,t)),a}return n&&(u=!!n.leading,d="maxWait"in n,o=n?.maxWait?Math.max(+n?.maxWait||0,t):o,p="trailing"in n?!!n.trailing:p),b.cancel=function(){var e;void 0!==s&&(e=s,f?window.cancelAnimationFrame(e):clearTimeout(e)),c=0,r=l=i=s=void 0},b.flush=function(){return void 0===s?a:y(Date.now())},b.pending=function(){return void 0!==s},b}const z=(e,t=300)=>new s((n=>{const{width:r,height:i}=e.getBoundingClientRect();if(n.next({width:r,height:i}),!window.ResizeObserver)return;const o=new ResizeObserver(((e,t=0,n)=>H(e,t,{leading:!0,trailing:!0,...n,maxWait:t}))((e=>{const t=e[0];if(!t)return;let r,i;t.contentBoxSize&&t.contentBoxSize[0]?(i=t.contentBoxSize[0].blockSize,r=t.contentBoxSize[0].inlineSize):t.contentRect&&(r=t.contentRect.width,i=t.contentRect.height),d(r)&&d(i)&&n.next({width:r,height:i})}),t));return o.observe(e),()=>o.disconnect()}));class V extends(/^(3633|7058)$/.test(n.j)?l:null){value;constructor(e){super(),this.value=e}next(e){super.next(this.value=e)}error(e){super.error(this.value=e)}getValue(){return this.value}_subscribe(e){const t=super._subscribe(e);return e.next(this.value),t}}function U(e){return new s((t=>{const n={};let r=Object.keys(e).length;return Object.entries(e).reduce(((e,[i,o])=>e.add(o.subscribe((e=>i=>{e in n||r--,n[e]=i,0===r&&t.next(n)})(i)))),new i)}))}function $(...e){return new s((t=>e.reduce(((e,n)=>e.add(n.subscribe(t))),new i)))}var G=e=>new s((t=>{const n=window.setTimeout((()=>{try{t.next()}catch(e){if(!t.error)throw e;t.error(e)}}),e);return()=>window.clearTimeout(n)})),q=e=>new s((t=>{let n=window.setInterval((()=>t.next()),e);return()=>{n&&(window.clearInterval(n),n=void 0)}})),W=e=>new s((t=>{e.forEach((e=>t.next(e)))})),Z=(e,t)=>new s((n=>{const r=e=>n.next(e);return e.addEventListener(t,r),()=>e.removeEventListener(t,r)}));const Y={leading:!1,trailing:!0};function K(e,t=Y){return n=>new s((r=>n.subscribe(new Q(r,e,t))))}class Q{destination;time;config;lastValue;timeout;constructor(e,t,n){this.destination=e,this.time=t,this.config=n}next(e){this.lastValue=e,d(this.timeout)?window.clearTimeout(this.timeout):this.config.leading&&this.destination.next(e),this.timeout=window.setTimeout((()=>{if(this.config.trailing)try{this.destination.next(this.lastValue)}catch(e){if(!this.destination.error)throw e;this.destination.error(e)}this.timeout=void 0}),this.time)}error(e){this.destination.error?.(e)}}const X={leading:!0,trailing:!1};function J(e,t=X){return n=>new s((r=>n.subscribe(new ee(r,e,t))))}class ee{destination;time;config;lastValue;timeout;constructor(e,t,n){this.destination=e,this.time=t,this.config=n}next(e){this.lastValue=e,p(this.timeout)&&(this.config.leading&&this.destination.next(e),this.timeout=window.setTimeout((()=>{this.config.trailing&&this.destination.next(this.lastValue),this.timeout=void 0}),this.time))}error(e){this.destination.error?.(e)}}function te(e){return t=>new s((n=>t.subscribe(new ne(n,e))))}class ne{destination;predicate;constructor(e,t){this.destination=e,this.predicate=t}next(e){let t;try{t=this.predicate(e)}catch(e){throw this.error(e),e}t&&this.destination.next(e)}error(e){this.destination.error?.(e)}}function re(e=((e,t)=>e===t)){return t=>new s((n=>t.subscribe(new oe(n,e))))}const ie={};class oe{destination;predicate;lastValue=ie;constructor(e,t){this.destination=e,this.predicate=t}next(e){let t;try{t=this.lastValue===ie||!this.predicate(this.lastValue,e),this.lastValue=e}catch(e){throw this.error(e),e}t&&this.destination.next(e)}error(e){this.destination.error?.(e)}}function ae(e){return t=>new s((n=>t.subscribe(new se(n,e))))}let se=class{destination;mapper;constructor(e,t){this.destination=e,this.mapper=t}next(e){let t;try{t=this.mapper(e)}catch(e){throw this.error(e),e}this.destination.next(t)}error(e){this.destination.error?.(e)}};function le(e){return ae((()=>e))}function ce(){return e=>new s((t=>{let n=!1,r=!1;const i=e.subscribe((e=>{n||(n=!0,t.next(e)),r&&i.unsubscribe()}),(e=>{n=!0,t.error?.(e),r&&i.unsubscribe()}));return r=!0,n&&i.unsubscribe(),i}))}function ue(e){return t=>new s((n=>t.subscribe(new de(n,e))))}class de{destination;effect;constructor(e,t){this.destination=e,this.effect=t}next(e){try{this.effect(e)}catch(e){throw this.error(e),e}this.destination.next(e)}error(e){this.destination.error?.(e)}}var pe;!function(e){e.NETWORK="network",e.VIDEO_PIPELINE="video_pipeline",e.EXTERNAL_API="external_api",e.PARSER="parser",e.DOM="dom",e.WTF="wtf",e.FATAL="fatal"}(pe||(pe={}));class fe{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;const t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){const r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class he extends fe{constructor(){super(),this.listeners||fe.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}}function me(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(r.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}typeof Symbol<"u"&&Symbol.toStringTag&&(class{constructor(){Object.defineProperty(this,"signal",{value:new he,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}}.prototype[Symbol.toStringTag]="AbortController",he.prototype[Symbol.toStringTag]="AbortSignal");const ge=me({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),ve=ge?function(e){"function"==typeof e&&(e={fetch:e});const{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!me({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);const i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);const a=t;return{fetch:(e,t)=>{const n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch{r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);const i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,ye=ge?ve.fetch:window.fetch;var be;ge?ve.Request:window.Request,function(e){e.Armenian="58",e.Azerbaijani="57",e.Belarusian="114",e.English="3",e.Kazakh="97",e.Portuguese="73",e.Russian="0",e.Spanish="4",e.Ukrainian="1",e.Uzbek="65",e.Vietnamese="75"}(be||(be={}));const we=async(e,t,n)=>{const r=new URL("https://webcf.waybackmachine.org/web/20240801092516/https://vk.com/js/lang-pack.js");r.searchParams.set("format","json"),r.searchParams.set("name",t),void 0!==e&&r.searchParams.set("lang",e);const i=await(await ye(r.toString())).json();return _e(i,n)},_e=(e,t)=>Object.fromEntries(Object.entries(e.keys).map((([e,n])=>[e.substring(`${t}_`.length),Se(n)]))),Se=e=>Array.isArray(e)?e[0]:e;var xe;!function(e){e.RU="ru",e.EN="en"}(xe||(xe={}))},87155:function(e,t,n){"use strict";n.d(t,{ZT:function(){return sn},SF:function(){return o.SF},rk:function(){return GL}});var r,i,o=n(63313),a=n(34155),s=n(25108),l=Object.create,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),m=(e,t,n)=>(n=null!=e?l(p(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of d(t))!f.call(e,i)&&i!==n&&c(e,i,{get:()=>t[i],enumerable:!(r=u(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)),g=h(((e,t)=>{t.exports=function(e){try{return!!e()}catch(e){return!0}}})),v=h(((e,t)=>{var n=g();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),y=h(((e,t)=>{var n=v(),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);t.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}})),b=h(((e,t)=>{var n=y(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}})),w=h(((e,t)=>{var n=y(),r=g(),i=b(),o=Object,a=n("".split);t.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o})),_=h(((e,t)=>{t.exports=function(e){return null==e}})),S=h(((e,t)=>{var n=_(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}})),x=h(((e,t)=>{var n=w(),r=S();t.exports=function(e){return n(r(e))}})),E=h(((e,t)=>{t.exports=function(){}})),k=h(((e,t)=>{t.exports={}})),C=h(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||e||Function("return this")()})),T=h(((e,t)=>{var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}})),O=h(((e,t)=>{var n=T(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),M=h(((e,t)=>{var n=C(),r=O(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),A=h(((e,t)=>{var n=O(),r=T(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}})),P=h(((e,t)=>{var n=g();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),L=h(((e,t)=>{var n=C(),r=A(),i=n.document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}})),D=h(((e,t)=>{var n=P(),r=g(),i=L();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),R=h(((e,t)=>{var n=P(),r=g();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),I=h(((e,t)=>{var n=A(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}})),N=h(((e,t)=>{var n=v(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),j=h(((e,t)=>{t.exports={}})),B=h(((e,t)=>{var n=j(),r=C(),i=O(),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),F=h(((e,t)=>{var n=y();t.exports=n({}.isPrototypeOf)})),H=h(((e,t)=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""})),z=h(((e,t)=>{var n,r,i=C(),o=H(),a=i.process,s=i.Deno,l=a&&a.versions||s&&s.version,c=l&&l.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&((!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&((n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]))),t.exports=r})),V=h(((e,t)=>{var n=z(),r=g(),i=C().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),U=h(((e,t)=>{var n=V();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),$=h(((e,t)=>{var n=B(),r=O(),i=F(),o=U(),a=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}})),G=h(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),q=h(((e,t)=>{var n=O(),r=G(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}})),W=h(((e,t)=>{var n=q(),r=_();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),Z=h(((e,t)=>{var n=N(),r=O(),i=A(),o=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||"string"!==t&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o("Can't convert object to primitive value")}})),Y=h(((e,t)=>{t.exports=!0})),K=h(((e,t)=>{var n=C(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),Q=h(((e,t)=>{var n=C(),r=K(),i="__core-js_shared__",o=n[i]||r(i,{});t.exports=o})),X=h(((e,t)=>{var n=Y(),r=Q();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js"})})),J=h(((e,t)=>{var n=S(),r=Object;t.exports=function(e){return r(n(e))}})),ee=h(((e,t)=>{var n=y(),r=J(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),te=h(((e,t)=>{var n=y(),r=0,i=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}})),ne=h(((e,t)=>{var n=C(),r=X(),i=ee(),o=te(),a=V(),s=U(),l=n.Symbol,c=r("wks"),u=s?l.for||l:l&&l.withoutSetter||o;t.exports=function(e){return i(c,e)||(c[e]=a&&i(l,e)?l[e]:u("Symbol."+e)),c[e]}})),re=h(((e,t)=>{var n=N(),r=A(),i=$(),o=W(),a=Z(),s=ne(),l=TypeError,c=s("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var s,u=o(e,c);if(u){if(void 0===t&&(t="default"),s=n(u,e,t),!r(s)||i(s))return s;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),ie=h(((e,t)=>{var n=re(),r=$();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),oe=h((e=>{var t=P(),n=D(),r=R(),i=I(),o=ie(),a=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",d="writable";e.f=t?r?function(e,t,n){if(i(e),t=o(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:c in n?n[c]:r[c],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=o(t),i(r),n)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),ae=h(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),se=h(((e,t)=>{var n=P(),r=oe(),i=ae();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),le=h(((e,t)=>{var n=X(),r=te(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),ce=h(((e,t)=>{t.exports={}})),ue=h(((e,t)=>{var n,r,i,o,a,s=M(),l=C(),c=A(),u=se(),d=ee(),p=Q(),f=le(),h=ce(),m="Object already initialized",g=l.TypeError,v=l.WeakMap;s||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw g(m);return t.facade=e,o.set(e,t),t},r=function(e){return o.get(e)||{}},i=function(e){return o.has(e)}):(h[a=f("state")]=!0,n=function(e,t){if(d(e,a))throw g(m);return t.facade=e,u(e,a,t),t},r=function(e){return d(e,a)?e[a]:{}},i=function(e){return d(e,a)}),t.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}})),de=h(((e,t)=>{var n=v(),r=Function.prototype,i=r.apply,o=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})})),pe=h(((e,t)=>{var n=b(),r=y();t.exports=function(e){if("Function"===n(e))return r(e)}})),fe=h((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),he=h((e=>{var t=P(),n=N(),r=fe(),i=ae(),o=x(),a=ie(),s=ee(),l=D(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=o(e),t=a(t),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),me=h(((e,t)=>{var n=g(),r=O(),i=/#|\.prototype\./,o=function(e,t){var i=s[a(e)];return i==c||i!=l&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),ge=h(((e,t)=>{var n=pe(),r=q(),i=v(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),ve=h(((e,t)=>{var n=C(),r=de(),i=pe(),o=O(),a=he().f,s=me(),l=j(),c=ge(),u=se(),d=ee(),p=function(e){var t=function(n,i,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,i)}return new e(n,i,o)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,f,h,m,g,v,y,b,w,_=e.target,S=e.global,x=e.stat,E=e.proto,k=S?n:x?n[_]:(n[_]||{}).prototype,C=S?l:l[_]||u(l,_,{})[_],T=C.prototype;for(m in t)f=!(r=s(S?m:_+(x?".":"#")+m,e.forced))&&k&&d(k,m),v=C[m],f&&(e.dontCallGetSet?y=(w=a(k,m))&&w.value:y=k[m]),g=f&&y?y:t[m],(!f||typeof v!=typeof g)&&(b=e.bind&&f?c(g,n):e.wrap&&f?p(g):E&&o(g)?i(g):g,(e.sham||g&&g.sham||v&&v.sham)&&u(b,"sham",!0),u(C,m,b),E&&(d(l,h=_+"Prototype")||u(l,h,{}),u(l[h],m,g),e.real&&T&&(r||!T[m])&&u(T,m,g)))}})),ye=h(((e,t)=>{var n=P(),r=ee(),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),s=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:l}})),be=h(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),we=h(((e,t)=>{var n=be();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),_e=h(((e,t)=>{var n=we(),r=Math.max,i=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}})),Se=h(((e,t)=>{var n=we(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),xe=h(((e,t)=>{var n=Se();t.exports=function(e){return n(e.length)}})),Ee=h(((e,t)=>{var n=x(),r=_e(),i=xe(),o=function(e){return function(t,o,a){var s,l=n(t),c=i(l),u=r(a,c);if(e&&o!=o){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),ke=h(((e,t)=>{var n=y(),r=ee(),i=x(),o=Ee().indexOf,a=ce(),s=n([].push);t.exports=function(e,t){var n,l=i(e),c=0,u=[];for(n in l)!r(a,n)&&r(l,n)&&s(u,n);for(;t.length>c;)r(l,n=t[c++])&&(~o(u,n)||s(u,n));return u}})),Ce=h(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),Te=h(((e,t)=>{var n=ke(),r=Ce();t.exports=Object.keys||function(e){return n(e,r)}})),Oe=h((e=>{var t=P(),n=R(),r=oe(),i=I(),o=x(),a=Te();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n,s=o(t),l=a(t),c=l.length,u=0;c>u;)r.f(e,n=l[u++],s[n]);return e}})),Me=h(((e,t)=>{var n=B();t.exports=n("document","documentElement")})),Ae=h(((e,t)=>{var n,r=I(),i=Oe(),o=Ce(),a=ce(),s=Me(),l=L(),c=le(),u="prototype",d="script",p=c("IE_PROTO"),f=function(){},h=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}g="undefined"!=typeof document?document.domain&&n?m(n):function(){var e,t=l("iframe"),n="java"+d+":";return t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F}():m(n);for(var e=o.length;e--;)delete g[u][o[e]];return g()};a[p]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=r(e),n=new f,f[u]=null,n[p]=e):n=g(),void 0===t?n:i.f(n,t)}})),Pe=h(((e,t)=>{var n=g();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),Le=h(((e,t)=>{var n=ee(),r=O(),i=J(),o=le(),a=Pe(),s=o("IE_PROTO"),l=Object,c=l.prototype;t.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var o=t.constructor;return r(o)&&t instanceof o?o.prototype:t instanceof l?c:null}})),De=h(((e,t)=>{var n=se();t.exports=function(e,t,r,i){return i&&i.enumerable?e[t]=r:n(e,t,r),e}})),Re=h(((e,t)=>{var n,r,i,o=g(),a=O(),s=A(),l=Ae(),c=Le(),u=De(),d=ne(),p=Y(),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(n=r):h=!0),!s(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:p&&(n=l(n)),a(n[f])||u(n,f,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}})),Ie=h(((e,t)=>{var n={};n[ne()("toStringTag")]="z",t.exports="[object z]"===String(n)})),Ne=h(((e,t)=>{var n=Ie(),r=O(),i=b(),o=ne()("toStringTag"),a=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i:function(e){var t,n,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:s?i(t):"Object"==(l=i(t))&&r(t.callee)?"Arguments":l}})),je=h(((e,t)=>{var n=Ie(),r=Ne();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),Be=h(((e,t)=>{var n=Ie(),r=oe().f,i=se(),o=ee(),a=je(),s=ne()("toStringTag");t.exports=function(e,t,l,c){if(e){var u=l?e:e.prototype;o(u,s)||r(u,s,{configurable:!0,value:t}),c&&!n&&i(u,"toString",a)}}})),Fe=h(((e,t)=>{var n=Re().IteratorPrototype,r=Ae(),i=ae(),o=Be(),a=k(),s=function(){return this};t.exports=function(e,t,l,c){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!c,l)}),o(e,u,!1,!0),a[u]=s,e}})),He=h(((e,t)=>{var n=y(),r=q();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}})),ze=h(((e,t)=>{var n=O(),r=String,i=TypeError;t.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+r(e)+" as a prototype")}})),Ve=h(((e,t)=>{var n=He(),r=I(),i=ze();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e(n,o):n.__proto__=o,n}}():void 0)})),Ue=h(((e,t)=>{var n=ve(),r=N(),i=Y(),o=ye(),a=O(),s=Fe(),l=Le(),c=Ve(),u=Be(),d=se(),p=De(),f=ne(),h=k(),m=Re(),g=o.PROPER,v=o.CONFIGURABLE,y=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=f("iterator"),_="keys",S="values",x="entries",E=function(){return this};t.exports=function(e,t,o,f,m,k,C){s(o,t,f);var T,O,M,A=function(e){if(e===m&&I)return I;if(!b&&e in D)return D[e];switch(e){case _:case S:case x:return function(){return new o(this,e)}}return function(){return new o(this)}},P=t+" Iterator",L=!1,D=e.prototype,R=D[w]||D["@@iterator"]||m&&D[m],I=!b&&R||A(m),N="Array"==t&&D.entries||R;if(N&&((T=l(N.call(new e)))!==Object.prototype&&T.next&&(!i&&l(T)!==y&&(c?c(T,y):a(T[w])||p(T,w,E)),u(T,P,!0,!0),i&&(h[P]=E))),g&&m==S&&R&&R.name!==S&&(!i&&v?d(D,"name",S):(L=!0,I=function(){return r(R,this)})),m)if(O={values:A(S),keys:k?I:A(_),entries:A(x)},C)for(M in O)(b||L||!(M in D))&&p(D,M,O[M]);else n({target:t,proto:!0,forced:b||L},O);return(!i||C)&&D[w]!==I&&p(D,w,I,{name:m}),h[t]=I,O}})),$e=h(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),Ge=h(((e,t)=>{var n=x(),r=E(),i=k(),o=ue(),a=oe().f,s=Ue(),l=$e(),c=Y(),u=P(),d="Array Iterator",p=o.set,f=o.getterFor(d);t.exports=s(Array,"Array",(function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var h=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==h.name)try{a(h,"name",{value:"values"})}catch(e){}})),qe=h(((e,t)=>{var n=ne(),r=k(),i=n("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}})),We=h(((e,t)=>{var n=Ne(),r=W(),i=_(),o=k(),a=ne()("iterator");t.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}})),Ze=h(((e,t)=>{var n=N(),r=q(),i=I(),o=G(),a=We(),s=TypeError;t.exports=function(e,t){var l=arguments.length<2?a(e):t;if(r(l))return i(n(l,e));throw s(o(e)+" is not iterable")}})),Ye=h(((e,t)=>{var n=N(),r=I(),i=W();t.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}})),Ke=h(((e,t)=>{var n=ge(),r=N(),i=I(),o=G(),a=qe(),s=xe(),l=F(),c=Ze(),u=We(),d=Ye(),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},h=f.prototype;t.exports=function(e,t,m){var g,v,y,b,w,_,S,x=m&&m.that,E=!(!m||!m.AS_ENTRIES),k=!(!m||!m.IS_RECORD),C=!(!m||!m.IS_ITERATOR),T=!(!m||!m.INTERRUPTED),O=n(t,x),M=function(e){return g&&d(g,"normal",e),new f(!0,e)},A=function(e){return E?(i(e),T?O(e[0],e[1],M):O(e[0],e[1])):T?O(e,M):O(e)};if(k)g=e.iterator;else if(C)g=e;else{if(!(v=u(e)))throw p(o(e)+" is not iterable");if(a(v)){for(y=0,b=s(e);b>y;y++)if((w=A(e[y]))&&l(h,w))return w;return new f(!1)}g=c(e,v)}for(_=k?e.next:g.next;!(S=r(_,g)).done;){try{w=A(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(h,w))return w}return new f(!1)}})),Qe=h(((e,t)=>{var n=ie(),r=oe(),i=ae();t.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}})),Xe=h((()=>{var e=ve(),t=Ke(),n=Qe();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,(function(e,t){n(r,e,t)}),{AS_ENTRIES:!0}),r}})})),Je=h(((e,t)=>{Ge(),Xe();var n=j();t.exports=n.Object.fromEntries})),et=h(((e,t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),tt=h((()=>{Ge();var e,t,n,r=et(),i=C(),o=Ne(),a=se(),s=k(),l=ne()("toStringTag");for(n in r)(t=(e=i[n])&&e.prototype)&&o(t)!==l&&a(t,l,n),s[n]=s.Array})),nt=h(((e,t)=>{var n=Je();tt(),t.exports=n})),rt=h(((e,t)=>{var n=nt();t.exports=n})),it=h((()=>{})),ot=h(((e,t)=>{var n=b();t.exports=void 0!==a&&"process"==n(a)})),at=h(((e,t)=>{var n=oe();t.exports=function(e,t,r){return n.f(e,t,r)}})),st=h(((e,t)=>{var n=B(),r=at(),i=ne(),o=P(),a=i("species");t.exports=function(e){var t=n(e);o&&t&&!t[a]&&r(t,a,{configurable:!0,get:function(){return this}})}})),lt=h(((e,t)=>{var n=F(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw r("Incorrect invocation")}})),ct=h(((e,t)=>{var n=y(),r=O(),i=Q(),o=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),t.exports=i.inspectSource})),ut=h(((e,t)=>{var n=y(),r=g(),i=O(),o=Ne(),a=B(),s=ct(),l=function(){},c=[],u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),f=!d.exec(l),h=function(e){if(!i(e))return!1;try{return u(l,c,e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,s(e))}catch(e){return!0}};m.sham=!0,t.exports=!u||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h})),dt=h(((e,t)=>{var n=ut(),r=G(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a constructor")}})),pt=h(((e,t)=>{var n=I(),r=dt(),i=_(),o=ne()("species");t.exports=function(e,t){var a,s=n(e).constructor;return void 0===s||i(a=n(s)[o])?t:r(a)}})),ft=h(((e,t)=>{var n=y();t.exports=n([].slice)})),ht=h(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}})),mt=h(((e,t)=>{var n=H();t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)})),gt=h(((e,t)=>{var n,r,i,o,a=C(),s=de(),l=ge(),c=O(),u=ee(),d=g(),p=Me(),f=ft(),h=L(),m=ht(),v=mt(),y=ot(),b=a.setImmediate,w=a.clearImmediate,_=a.process,S=a.Dispatch,x=a.Function,E=a.MessageChannel,k=a.String,T=0,M={},A="onreadystatechange";d((function(){n=a.location}));var P=function(e){if(u(M,e)){var t=M[e];delete M[e],t()}},D=function(e){return function(){P(e)}},R=function(e){P(e.data)},I=function(e){a.postMessage(k(e),n.protocol+"//"+n.host)};(!b||!w)&&(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=f(arguments,1);return M[++T]=function(){s(t,void 0,n)},r(T),T},w=function(e){delete M[e]},y?r=function(e){_.nextTick(D(e))}:S&&S.now?r=function(e){S.now(D(e))}:E&&!v?(o=(i=new E).port2,i.port1.onmessage=R,r=l(o.postMessage,o)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(I)?(r=I,a.addEventListener("message",R,!1)):r=A in h("script")?function(e){p.appendChild(h("script"))[A]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(D(e),0)}),t.exports={set:b,clear:w}})),vt=h(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},t.exports=n})),yt=h(((e,t)=>{var n=H();t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble})),bt=h(((e,t)=>{var n=H();t.exports=/web0s(?!.*chrome)/i.test(n)})),wt=h(((e,t)=>{var n,r,i,o,a,s,l,c=C(),u=ge(),d=he().f,p=gt().set,f=vt(),h=mt(),m=yt(),g=bt(),v=ot(),y=c.MutationObserver||c.WebKitMutationObserver,b=c.document,w=c.process,_=c.Promise,S=d(c,"queueMicrotask"),x=S&&S.value;x||(s=new f,l=function(){var e,t;for(v&&(e=w.domain)&&e.exit();t=s.get();)try{t()}catch(e){throw s.head&&n(),e}e&&e.enter()},h||v||g||!y||!b?!m&&_&&_.resolve?((o=_.resolve(void 0)).constructor=_,a=u(o.then,o),n=function(){a(l)}):v?n=function(){w.nextTick(l)}:(p=u(p,c),n=function(){p(l)}):(r=!0,i=b.createTextNode(""),new y(l).observe(i,{characterData:!0}),n=function(){i.data=r=!r}),x=function(e){s.head||n(),s.add(e)}),t.exports=x})),_t=h(((e,t)=>{t.exports=function(e,t){try{1==arguments.length?s.error(e):s.error(e,t)}catch(e){}}})),St=h(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),xt=h(((e,t)=>{var n=C();t.exports=n.Promise})),Et=h(((e,t)=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version})),kt=h(((e,t)=>{var n=Et(),r=ot();t.exports=!n&&!r&&"object"==typeof window&&"object"==typeof document})),Ct=h(((e,t)=>{var n=C(),r=xt(),i=O(),o=me(),a=ct(),s=ne(),l=kt(),c=Et(),u=Y(),d=z(),p=r&&r.prototype,f=s("species"),h=!1,m=i(n.PromiseRejectionEvent),g=o("Promise",(function(){var e=a(r),t=e!==String(r);if(!t&&66===d||u&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),i=function(e){e((function(){}),(function(){}))};if((n.constructor={})[f]=i,!(h=n.then((function(){}))instanceof i))return!0}return!t&&(l||c)&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:h}})),Tt=h(((e,t)=>{var n=q(),r=TypeError,i=function(e){var t,i;this.promise=new e((function(e,n){if(void 0!==t||void 0!==i)throw r("Bad Promise constructor");t=e,i=n})),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),Ot=h((()=>{var e,t,n,r=ve(),i=Y(),o=ot(),a=C(),s=N(),l=De(),c=Ve(),u=Be(),d=st(),p=q(),f=O(),h=A(),m=lt(),g=pt(),v=gt().set,y=wt(),b=_t(),w=St(),_=vt(),S=ue(),x=xt(),E=Ct(),k=Tt(),T="Promise",M=E.CONSTRUCTOR,P=E.REJECTION_EVENT,L=E.SUBCLASSING,D=S.getterFor(T),R=S.set,I=x&&x.prototype,j=x,B=I,F=a.TypeError,H=a.document,z=a.process,V=k.f,U=V,$=!!(H&&H.createEvent&&a.dispatchEvent),G="unhandledrejection",W=function(e){var t;return!(!h(e)||!f(t=e.then))&&t},Z=function(e,t){var n,r,i,o=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,d=e.domain;try{l?(a||(2===t.rejection&&ee(t),t.rejection=1),!0===l?n=o:(d&&d.enter(),n=l(o),d&&(d.exit(),i=!0)),n===e.promise?u(F("Promise-chain cycle")):(r=W(n))?s(r,n,c,u):c(n)):u(o)}catch(e){d&&!i&&d.exit(),u(e)}},K=function(e,t){e.notified||(e.notified=!0,y((function(){for(var n,r=e.reactions;n=r.get();)Z(n,e);e.notified=!1,t&&!e.rejection&&X(e)})))},Q=function(e,t,n){var r,i;$?((r=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),a.dispatchEvent(r)):r={promise:t,reason:n},!P&&(i=a["on"+e])?i(r):e===G&&b("Unhandled promise rejection",n)},X=function(e){s(v,a,(function(){var t,n=e.facade,r=e.value;if(J(e)&&(t=w((function(){o?z.emit("unhandledRejection",r,n):Q(G,n,r)})),e.rejection=o||J(e)?2:1,t.error))throw t.value}))},J=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){s(v,a,(function(){var t=e.facade;o?z.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},te=function(e,t,n){return function(r){e(t,r,n)}},ne=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,K(e,!0))},re=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw F("Promise can't be resolved itself");var r=W(t);r?y((function(){var n={done:!1};try{s(r,t,te(re,n,e),te(ne,n,e))}catch(t){ne(n,t,e)}})):(e.value=t,e.state=1,K(e,!1))}catch(t){ne({done:!1},t,e)}}};if(M&&(B=(j=function(t){m(this,B),p(t),s(e,this);var n=D(this);try{t(te(re,n),te(ne,n))}catch(e){ne(n,e)}}).prototype,(e=function(e){R(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:0,value:void 0})}).prototype=l(B,"then",(function(e,t){var n=D(this),r=V(g(this,j));return n.parent=!0,r.ok=!f(e)||e,r.fail=f(t)&&t,r.domain=o?z.domain:void 0,0==n.state?n.reactions.add(r):y((function(){Z(r,n)})),r.promise})),t=function(){var t=new e,n=D(t);this.promise=t,this.resolve=te(re,n),this.reject=te(ne,n)},k.f=V=function(e){return e===j||undefined===e?new t(e):U(e)},!i&&f(x)&&I!==Object.prototype)){n=I.then,L||l(I,"then",(function(e,t){var r=this;return new j((function(e,t){s(n,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}c&&c(I,B)}r({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:j}),u(j,T,!1,!0),d(T)})),Mt=h(((e,t)=>{var n,r,i=ne()("iterator"),o=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){o=!0}})[i]=function(){return this},Array.from(r,(function(){throw 2}))}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}})),At=h(((e,t)=>{var n=xt(),r=Mt(),i=Ct().CONSTRUCTOR;t.exports=i||!r((function(e){n.all(e).then(void 0,(function(){}))}))})),Pt=h((()=>{var e=ve(),t=N(),n=q(),r=Tt(),i=St(),o=Ke();e({target:"Promise",stat:!0,forced:At()},{all:function(e){var a=this,s=r.f(a),l=s.resolve,c=s.reject,u=i((function(){var r=n(a.resolve),i=[],s=0,u=1;o(e,(function(e){var n=s++,o=!1;u++,t(r,a,e).then((function(e){o||(o=!0,i[n]=e,--u||l(i))}),c)})),--u||l(i)}));return u.error&&c(u.value),s.promise}})})),Lt=h((()=>{var e,t=ve(),n=Y(),r=Ct().CONSTRUCTOR,i=xt(),o=B(),a=O(),s=De(),l=i&&i.prototype;t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&a(i)&&(e=o("Promise").prototype.catch,l.catch!==e&&s(l,"catch",e,{unsafe:!0}))})),Dt=h((()=>{var e=ve(),t=N(),n=q(),r=Tt(),i=St(),o=Ke();e({target:"Promise",stat:!0,forced:At()},{race:function(e){var a=this,s=r.f(a),l=s.reject,c=i((function(){var r=n(a.resolve);o(e,(function(e){t(r,a,e).then(s.resolve,l)}))}));return c.error&&l(c.value),s.promise}})})),Rt=h((()=>{var e=ve(),t=N(),n=Tt();e({target:"Promise",stat:!0,forced:Ct().CONSTRUCTOR},{reject:function(e){var r=n.f(this);return t(r.reject,void 0,e),r.promise}})})),It=h(((e,t)=>{var n=I(),r=A(),i=Tt();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var o=i.f(e);return(0,o.resolve)(t),o.promise}})),Nt=h((()=>{var e=ve(),t=B(),n=Y(),r=xt(),i=Ct().CONSTRUCTOR,o=It(),a=t("Promise"),s=n&&!i;e({target:"Promise",stat:!0,forced:n||i},{resolve:function(e){return o(s&&this===a?r:this,e)}})})),jt=h((()=>{Ot(),Pt(),Lt(),Dt(),Rt(),Nt()})),Bt=h((()=>{var e,t=ve(),n=Y(),r=xt(),i=g(),o=B(),a=O(),s=pt(),l=It(),c=De(),u=r&&r.prototype;t({target:"Promise",proto:!0,real:!0,forced:!!r&&i((function(){u.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,o("Promise")),n=a(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!n&&a(r)&&(e=o("Promise").prototype.finally,u.finally!==e&&c(u,"finally",e,{unsafe:!0}))})),Ft=h(((e,t)=>{var n=B();t.exports=n})),Ht=h(((e,t)=>{it(),jt(),Bt();var n=Ft();t.exports=n("Promise","finally")})),zt=h(((e,t)=>{var n=Ht();t.exports=n})),Vt=h(((e,t)=>{var n=zt();t.exports=n})),Ut=h((()=>{var e=ve(),t=J(),n=xe(),r=we(),i=E();e({target:"Array",proto:!0},{at:function(e){var i=t(this),o=n(i),a=r(e),s=a>=0?a:o+a;return s<0||s>=o?void 0:i[s]}}),i("at")})),$t=h(((e,t)=>{Ut();var n=Ft();t.exports=n("Array","at")})),Gt=h(((e,t)=>{var n=$t();t.exports=n})),qt=h(((e,t)=>{var n=Gt();t.exports=n})),Wt=h((()=>{})),Zt=h((()=>{})),Yt=h(((e,t)=>{var n=A(),r=b(),i=ne()("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}})),Kt=h(((e,t)=>{var n=Ne(),r=String;t.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}})),Qt=h(((e,t)=>{var n=I();t.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),Xt=h(((e,t)=>{var n=N(),r=ee(),i=F(),o=Qt(),a=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||r(e,"flags")||!i(a,e)?t:n(o,e)}})),Jt=h(((e,t)=>{var n=y(),r=J(),i=Math.floor,o=n("".charAt),a=n("".replace),s=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,p){var f=n+e.length,h=u.length,m=c;return void 0!==d&&(d=r(d),m=l),a(p,m,(function(r,a){var l;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,f);case"<":l=d[s(a,1,-1)];break;default:var c=+a;if(0===c)return r;if(c>h){var p=i(c/10);return 0===p?r:p<=h?void 0===u[p-1]?o(a,1):u[p-1]+o(a,1):r}l=u[c-1]}return void 0===l?"":l}))}})),en=h((()=>{var e=ve(),t=N(),n=y(),r=S(),i=O(),o=_(),a=Yt(),s=Kt(),l=W(),c=Xt(),u=Jt(),d=ne(),p=Y(),f=d("replace"),h=TypeError,m=n("".indexOf),g=n("".replace),v=n("".slice),b=Math.max,w=function(e,t,n){return n>e.length?-1:""===t?n:m(e,t,n)};e({target:"String",proto:!0},{replaceAll:function(e,n){var d,y,_,S,x,E,k,C,T,O=r(this),M=0,A=0,P="";if(!o(e)){if((d=a(e))&&(y=s(r(c(e))),!~m(y,"g")))throw h("`.replaceAll` does not allow non-global regexes");if(_=l(e,f))return t(_,e,O,n);if(p&&d)return g(s(O),e,n)}for(S=s(O),x=s(e),(E=i(n))||(n=s(n)),k=x.length,C=b(1,k),M=w(S,x,0);-1!==M;)T=E?s(n(x,M,S)):u(x,S,M,[],void 0,n),P+=v(S,A,M)+T,A=M+k,M=w(S,x,M+C);return A<S.length&&(P+=v(S,A)),P}})})),tn=h(((e,t)=>{Wt(),Zt(),en();var n=Ft();t.exports=n("String","replaceAll")})),nn=h(((e,t)=>{var n=tn();t.exports=n})),rn=h(((e,t)=>{var n=nn();t.exports=n})),on="__VERSION__",an=((r=an||{}).STOPPED="stopped",r.READY="ready",r.PLAYING="playing",r.PAUSED="paused",r),sn=(e=>(e.MPEG="MPEG",e.DASH="DASH_SEP",e.DASH_SEP="DASH_SEP",e.DASH_SEP_VK="DASH_SEP",e.DASH_WEBM="DASH_WEBM",e.DASH_WEBM_AV1="DASH_WEBM_AV1",e.DASH_WEBM_VK="DASH_WEBM",e.DASH_ONDEMAND="DASH_ONDEMAND",e.DASH_ONDEMAND_VK="DASH_ONDEMAND",e.DASH_LIVE="DASH_LIVE",e.DASH_LIVE_CMAF="DASH_LIVE_CMAF",e.DASH_LIVE_WEBM="DASH_LIVE_WEBM",e.HLS="HLS",e.HLS_ONDEMAND="HLS_ONDEMAND",e.HLS_JS="HLS",e.HLS_LIVE="HLS_LIVE",e.HLS_LIVE_CMAF="HLS_LIVE_CMAF",e.WEB_RTC_LIVE="WEB_RTC_LIVE",e))(sn||{}),ln=(e=>(e.NOT_AVAILABLE="NOT_AVAILABLE",e.AVAILABLE="AVAILABLE",e.CONNECTING="CONNECTING",e.CONNECTED="CONNECTED",e))(ln||{}),cn=((i=cn||{}).HTTP1="http1",i.HTTP2="http2",i.QUIC="quic",i),un=(e=>(e.NONE="none",e.INLINE="inline",e.FULLSCREEN="fullscreen",e.SECOND_SCREEN="second_screen",e.PIP="pip",e.INVISIBLE="invisible",e))(un||{}),dn=class{constructor(e){var t;this.connection$=new o.v0(void 0),this.castState$=new o.v0("NOT_AVAILABLE"),this.errorEvent$=new o.xQ,this.realCastState$=new o.v0("NOT_AVAILABLE"),this.subscription=new o.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ChromecastInitializer");let n="chrome"in window;if(this.log({message:`[constructor] receiverApplicationId: ${this.params.receiverApplicationId}, isDisabled: ${this.params.isDisabled}, isSupported: ${n}`}),e.isDisabled||!n)return;let r=(0,o.C_)(null==(t=window.chrome)?void 0:t.cast),i=!!window.__onGCastApiAvailable;var a;r?this.initializeCastApi():(window.__onGCastApiAvailable=e=>{delete window.__onGCastApiAvailable,e&&this.initializeCastApi()},i||(a="https://webcf.waybackmachine.org/web/20240801092516/https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",new Promise(((e,t)=>{let n=document.createElement("script");n.setAttribute("src",a),n.onload=()=>e,n.onerror=()=>t,document.body.appendChild(n)}))).catch((()=>this.errorEvent$.next({id:"ChromecastLoading",category:o.qj.NETWORK,message:"Script loading failed!"}))))}connect(){var e;null==(e=cast.framework.CastContext.getInstance())||e.requestSession()}disconnect(){var e,t;null==(t=null==(e=cast.framework.CastContext.getInstance())?void 0:e.getCurrentSession())||t.endSession(!0)}stopMedia(){return new Promise(((e,t)=>{var n,r,i;null==(i=null==(r=null==(n=cast.framework.CastContext.getInstance())?void 0:n.getCurrentSession())?void 0:r.getMediaSession())||i.stop(new chrome.cast.media.StopRequest,e,t)}))}toggleConnection(){(0,o.C_)(this.connection$.getValue())?this.disconnect():this.connect()}setVolume(e){let t=this.connection$.getValue();(0,o.SG)(t)||(t.remotePlayer.volumeLevel=e,t.remotePlayerController.setVolumeLevel())}setMuted(e){let t=this.connection$.getValue();(0,o.SG)(t)||e!==t.remotePlayer.isMuted&&t.remotePlayerController.muteOrUnmute()}destroy(){this.subscription.unsubscribe()}initListeners(){let e=new cast.framework.RemotePlayer,t=new cast.framework.RemotePlayerController(e),n=cast.framework.CastContext.getInstance();this.subscription.add((0,o.RB)(n,cast.framework.CastContextEventType.SESSION_STATE_CHANGED).subscribe((e=>{var t,r;switch(e.sessionState){case cast.framework.SessionState.SESSION_STARTED:case cast.framework.SessionState.SESSION_STARTING:case cast.framework.SessionState.SESSION_RESUMED:this.contentId=null==(r=null==(t=n.getCurrentSession())?void 0:t.getMediaSession())?void 0:r.media.contentId;break;case cast.framework.SessionState.NO_SESSION:case cast.framework.SessionState.SESSION_ENDING:case cast.framework.SessionState.SESSION_ENDED:case cast.framework.SessionState.SESSION_START_FAILED:this.contentId=void 0;break;default:return(0,o.vE)(e.sessionState)}}))).add((0,o.TS)((0,o.RB)(n,cast.framework.CastContextEventType.CAST_STATE_CHANGED).pipe((0,o.bw)((e=>{this.log({message:`[cast.framework.RemotePlayerEventType.CAST_STATE_CHANGED]: ${JSON.stringify(e)}`})})),(0,o.UI)((e=>e.castState))),(0,o.$T)([n.getCastState()])).pipe((0,o.qz)(),(0,o.UI)(pn),(0,o.bw)((e=>{this.log({message:`realCastState$: ${e}`})}))).subscribe(this.realCastState$)).add(this.realCastState$.subscribe((r=>{var i;let a="CONNECTED"===r,s=(0,o.C_)(this.connection$.getValue());if(a&&!s){let r=n.getCurrentSession();(0,o.Z3)(r);let a=r.getCastDevice(),s=null==(i=r.getMediaSession())?void 0:i.media.contentId;((0,o.SG)(s)||s===this.contentId)&&(this.log({message:"connection created"}),this.connection$.next({remotePlayer:e,remotePlayerController:t,session:r,castDevice:a}))}else!a&&s&&(this.log({message:"connection destroyed"}),this.connection$.next(void 0));this.castState$.next("CONNECTED"===r?(0,o.C_)(this.connection$.getValue())?"CONNECTED":"AVAILABLE":r)})))}initializeCastApi(){var e;let t,n,r;try{t=cast.framework.CastContext.getInstance(),n=chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,r=chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED}catch(e){return}try{t.setOptions({receiverApplicationId:null!=(e=this.params.receiverApplicationId)?e:n,autoJoinPolicy:r}),this.initListeners()}catch(e){this.errorEvent$.next({id:"ChromecastInitializer",category:o.qj.EXTERNAL_API,message:"[initializeCastApi] failed",thrown:e})}}},pn=e=>{switch(e){case cast.framework.CastState.NO_DEVICES_AVAILABLE:return"NOT_AVAILABLE";case cast.framework.CastState.NOT_CONNECTED:return"AVAILABLE";case cast.framework.CastState.CONNECTING:return"CONNECTING";case cast.framework.CastState.CONNECTED:return"CONNECTED";default:return(0,o.vE)(e)}},fn=m(rt(),1),hn=m(Vt(),1),mn=(e,t=0,n=0)=>{switch(n){case 0:return e.replace("_offset_p",0===t?"":"_"+t.toFixed(0));case 1:{if(0===t)return e;let n=new URL(e);return n.searchParams.append("playback_shift",t.toFixed(0)),n.toString()}case 2:{let n=new URL(e);return n.searchParams.get("offset_p")||0!==t?(n.searchParams.set("offset_p",t.toFixed(0)),n.toString()):e}default:(0,o.vE)(n)}return e},gn=(e,t)=>{var n;switch(t){case 0:return NaN;case 1:{let t=new URL(e);return Number(t.searchParams.get("playback_shift"))}case 2:{let t=new URL(e);return Number(null!=(n=t.searchParams.get("offset_p"))?n:0)}default:(0,o.vE)(t)}},vn=(e,t,n=!1)=>{let r=e.getTransition();(n||!r||r.to===t)&&e.setState(t)},yn=class{constructor(e){this.transitionStarted$=new o.xQ,this.transitionEnded$=new o.xQ,this.transitionUpdated$=new o.xQ,this.forceChanged$=new o.xQ,this.stateChangeStarted$=(0,o.TS)(this.transitionStarted$,this.transitionUpdated$),this.stateChangeEnded$=(0,o.TS)(this.transitionEnded$,this.forceChanged$),this.state=e,this.prevState=void 0}setState(e){let t=this.transition,n=this.state;this.transition=void 0,this.prevState=n,this.state=e,t?t.to===e?this.transitionEnded$.next(t):this.forceChanged$.next({from:t.from,to:e,canceledTransition:t}):this.forceChanged$.next({from:n,to:e,canceledTransition:t})}startTransitionTo(e){let t=this.transition,n=this.state;n===e||(0,o.C_)(t)&&t.to===e||(this.prevState=n,this.state=e,t?(this.transition={from:t.from,to:e,canceledTransition:t},this.transitionUpdated$.next(this.transition)):(this.transition={from:n,to:e},this.transitionStarted$.next(this.transition)))}getTransition(){return this.transition}getState(){return this.state}getPrevState(){return this.prevState}},bn=class{constructor(e){this.subscription=new o.w0,this.loadMediaTimeoutSubscription=new o.w0,this.videoState=new yn("stopped"),this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.playbackState.getState(),r=this.params.desiredState.playbackState.getTransition(),i=this.params.desiredState.seekState.getState();if(this.log({message:`[syncPlayback] videoState: ${e}; videoTransition: ${JSON.stringify(t)}; desiredPlaybackState: ${n}; desiredPlaybackStateTransition: ${this.params.desiredState.playbackState.getTransition()}; seekState: ${JSON.stringify(i)};`}),"stopped"!==n){if(!t){if("paused"!==(null==r?void 0:r.to)&&"requested"===i.state&&"stopped"!==e)return void this.seek(i.position/1e3);switch(n){case"ready":switch(e){case"playing":case"paused":case"ready":break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,o.vE)(e)}break;case"playing":switch(e){case"playing":break;case"paused":case"ready":this.videoState.startTransitionTo("playing"),this.params.connection.remotePlayerController.playOrPause();break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,o.vE)(e)}break;case"paused":switch(e){case"playing":this.videoState.startTransitionTo("paused"),this.params.connection.remotePlayerController.playOrPause();break;case"paused":break;case"ready":this.videoState.startTransitionTo("paused"),this.videoState.setState("paused");break;case"stopped":this.videoState.startTransitionTo("ready"),this.prepare();break;default:(0,o.vE)(e)}break;default:(0,o.vE)(n)}}}else"stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.stop())},this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ChromecastProvider"),this.log({message:`constructor, format: ${e.format}`}),this.params.output.isLive$.next((e=>{switch(e){case"MPEG":case"DASH_SEP":case"DASH_ONDEMAND":case"DASH_WEBM":case"DASH_WEBM_AV1":case"HLS":case"HLS_ONDEMAND":return!1;case"DASH_LIVE":case"DASH_LIVE_CMAF":case"HLS_LIVE":case"HLS_LIVE_CMAF":case"DASH_LIVE_WEBM":case"WEB_RTC_LIVE":return!0;default:return(0,o.vE)(e)}})(e.format)),this.params.output.isAudioAvailable$.next(!0),this.handleRemoteVolumeChange({volume:this.params.connection.remotePlayer.volumeLevel,muted:this.params.connection.remotePlayer.isMuted});let t=this.params.connection.session.getMediaSession();t&&this.restoreSession(t),this.subscribe()}destroy(){this.log({message:"[destroy]"}),this.subscription.unsubscribe()}subscribe(){this.subscription.add(this.loadMediaTimeoutSubscription);let e=new o.w0;this.subscription.add(e),this.subscription.add((0,o.TS)(this.videoState.stateChangeStarted$.pipe((0,o.UI)((e=>`stateChangeStarted$ ${JSON.stringify(e)}`))),this.videoState.stateChangeEnded$.pipe((0,o.UI)((e=>`stateChangeEnded$ ${JSON.stringify(e)}`)))).subscribe((e=>this.log({message:`[videoState] ${e}`}))));let t=(e,t)=>this.subscription.add(e.subscribe(t));if(this.params.output.isLive$.getValue())this.params.output.position$.next(0),this.params.output.duration$.next(0);else{let t=new o.xQ;e.add(t.pipe((0,o.Ds)(500)).subscribe((()=>{this.params.output.seekedEvent$.next()})));let n=NaN;e.add((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.CURRENT_TIME_CHANGED).subscribe((e=>{this.logRemoteEvent(e);let r=e.value;this.params.output.position$.next(r),("applying"===this.params.desiredState.seekState.getState().state||Math.abs(r-n)>5)&&t.next(r),n=r}))),e.add((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.DURATION_CHANGED).subscribe((e=>{this.logRemoteEvent(e),this.params.output.duration$.next(e.value)})))}t((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_MEDIA_LOADED_CHANGED),(t=>{this.logRemoteEvent(t),t.value?this.handleRemoteReady():(this.handleRemoteStop(),e.unsubscribe())})),t((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_PAUSED_CHANGED),(e=>{this.logRemoteEvent(e),e.value?this.handleRemotePause():this.handleRemotePlay()})),t((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.PLAYER_STATE_CHANGED),(e=>{this.logRemoteEvent(e);let{remotePlayer:t}=this.params.connection,n=e.value,r=this.params.output.isBuffering$.getValue(),i=n===chrome.cast.media.PlayerState.BUFFERING;switch(r!==i&&this.params.output.isBuffering$.next(i),n){case chrome.cast.media.PlayerState.IDLE:!this.params.output.isLive$.getValue()&&t.duration-t.currentTime<5&&this.params.output.endedEvent$.next(),this.handleRemoteStop(),vn(this.params.desiredState.playbackState,"stopped");break;case chrome.cast.media.PlayerState.PAUSED:this.handleRemotePause();break;case chrome.cast.media.PlayerState.PLAYING:this.handleRemotePlay();break;case chrome.cast.media.PlayerState.BUFFERING:break;default:(0,o.vE)(n)}})),t((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.VOLUME_LEVEL_CHANGED),(e=>{this.logRemoteEvent(e),this.handleRemoteVolumeChange({volume:e.value})})),t((0,o.RB)(this.params.connection.remotePlayerController,cast.framework.RemotePlayerEventType.IS_MUTED_CHANGED),(e=>{this.logRemoteEvent(e),this.handleRemoteVolumeChange({muted:e.value})})),t((0,o.TS)(this.params.desiredState.playbackState.stateChangeStarted$,this.params.desiredState.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0)),this.syncPlayback)}restoreSession(e){this.log({message:"restoreSession"});let{remotePlayer:t}=this.params.connection;if(e.playerState!==chrome.cast.media.PlayerState.IDLE){t.isPaused?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):(this.videoState.setState("playing"),vn(this.params.desiredState.playbackState,"playing"));let e=this.params.output.isLive$.getValue();this.params.output.duration$.next(e?0:t.duration),this.params.output.position$.next(e?0:t.currentTime),this.params.desiredState.seekState.setState({state:"none"})}}prepare(){let e=this.params.format;this.log({message:`[prepare] format: ${e}`});let t=this.createMediaInfo(e),n=this.createLoadRequest(t);this.loadMedia(n)}handleRemotePause(){let e=this.videoState.getState(),t=this.videoState.getTransition();("paused"===(null==t?void 0:t.to)||"playing"===e)&&(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused"))}handleRemotePlay(){let e=this.videoState.getState(),t=this.videoState.getTransition();("playing"===(null==t?void 0:t.to)||"paused"===e)&&(this.videoState.setState("playing"),vn(this.params.desiredState.playbackState,"playing"))}handleRemoteReady(){var e;let t=this.videoState.getTransition();"ready"===(null==t?void 0:t.to)&&this.videoState.setState("ready"),"ready"===(null==(e=this.params.desiredState.playbackState.getTransition())?void 0:e.to)&&vn(this.params.desiredState.playbackState,"ready")}handleRemoteStop(){"stopped"!==this.videoState.getState()&&this.videoState.setState("stopped")}handleRemoteVolumeChange(e){var t,n;let r=this.params.output.volume$.getValue(),i={volume:null!=(t=e.volume)?t:r.volume,muted:null!=(n=e.muted)?n:r.muted};(i.volume!==r.volume||i.muted!=i.muted)&&this.params.output.volume$.next(i)}seek(e){this.params.output.willSeekEvent$.next();let{remotePlayer:t,remotePlayerController:n}=this.params.connection;t.currentTime=e,n.seek()}stop(){let{remotePlayerController:e}=this.params.connection;e.stop()}createMediaInfo(e){var t;let n,r,i,a=this.params.source;switch(e){case"MPEG":{let t=a[e];(0,o.Z3)(t);let s=(0,o.IX)(Object.keys(t));(0,o.Z3)(s);let l=t[s];(0,o.Z3)(l),n=l,r="video/mp4",i=chrome.cast.media.StreamType.BUFFERED;break}case"HLS":case"HLS_ONDEMAND":{let t=a[e];(0,o.Z3)(t),n=t.url,r="application/x-mpegurl",i=chrome.cast.media.StreamType.BUFFERED;break}case"DASH_SEP":case"DASH_ONDEMAND":case"DASH_WEBM":case"DASH_WEBM_AV1":{let t=a[e];(0,o.Z3)(t),n=t.url,r="application/dash+xml",i=chrome.cast.media.StreamType.BUFFERED;break}case"DASH_LIVE_CMAF":{let t=a[e];(0,o.Z3)(t),n=t.url,r="application/dash+xml",i=chrome.cast.media.StreamType.LIVE;break}case"HLS_LIVE":case"HLS_LIVE_CMAF":{let t=a[e];(0,o.Z3)(t),n=mn(t.url),r="application/x-mpegurl",i=chrome.cast.media.StreamType.LIVE;break}case"DASH_LIVE":case"WEB_RTC_LIVE":{let e="Unsupported format for Chromecast",t=new Error(e);throw this.params.output.error$.next({id:"ChromecastProvider.createMediaInfo()",category:o.qj.VIDEO_PIPELINE,message:e,thrown:t}),t}case"DASH_LIVE_WEBM":throw new Error("DASH_LIVE_WEBM is no longer supported");default:return(0,o.vE)(e)}let s=new chrome.cast.media.MediaInfo(null!=(t=this.params.meta.videoId)?t:n,r);s.contentUrl=n,s.streamType=i,s.metadata=new chrome.cast.media.GenericMediaMetadata;let{title:l,subtitle:c}=this.params.meta;return(0,o.C_)(l)&&(s.metadata.title=l),(0,o.C_)(c)&&(s.metadata.subtitle=c),s}createLoadRequest(e){let t=new chrome.cast.media.LoadRequest(e);t.autoplay=!1;let n=this.params.desiredState.seekState.getState();return"applying"===n.state||"requested"===n.state?t.currentTime=this.params.output.isLive$.getValue()?0:n.position/1e3:t.currentTime=0,t}loadMedia(e){let t=this.params.connection.session.loadMedia(e),n=new Promise(((e,t)=>{this.loadMediaTimeoutSubscription.add((0,o.Vs)(7e3).subscribe((()=>t("timeout(7000)"))))}));(0,hn.default)(Promise.race([t,n]).then((()=>{this.log({message:`[loadMedia] completed, format: ${this.params.format}`}),"applying"===this.params.desiredState.seekState.getState().state&&this.params.output.seekedEvent$.next(),this.handleRemoteReady()}),(e=>{let t=`[prepare] loadMedia failed, format: ${this.params.format}, reason: ${e}`;this.log({message:t}),this.params.output.error$.next({id:"ChromecastProvider.loadMedia",category:o.qj.VIDEO_PIPELINE,message:t,thrown:e})})),(()=>{this.loadMediaTimeoutSubscription.unsubscribe()}))}logRemoteEvent(e){this.log({message:`[remoteEvent] ${JSON.stringify(e)}`})}},wn=e=>{e.removeAttribute("src"),e.load()},_n=window.WeakMap?new WeakMap:new class{constructor(){this.attribute="data-pool-reused"}get(e){return e.hasAttribute(this.attribute)}set(e,t){e.toggleAttribute(this.attribute,t)}delete(e){e.removeAttribute(this.attribute)}},Sn=e=>{let t=e.querySelector("video"),n=!!t;return t?wn(t):(t=document.createElement("video"),e.appendChild(t)),_n.set(t,n),t.setAttribute("crossorigin","anonymous"),t.setAttribute("playsinline","playsinline"),t.controls=!1,t.setAttribute("poster","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="),t},xn=e=>{let t=_n.get(e);_n.delete(e),t?wn(e):(e=>{try{e.pause(),e.playbackRate=0,wn(e),e.remove()}catch(e){s.error(e)}})(e)},En=(e,t,n,{equal:r=((e,t)=>e===t),changed$:i,onError:a}={})=>{let s=e.getState(),l=t(),c=(0,o.SG)(i),u=new o.w0;return i&&u.add(i.subscribe((t=>{let n=e.getState();r(t,n)&&e.setState(t)}),a)),r(l,s)||(n(s),c&&e.setState(s)),u.add(e.stateChangeStarted$.subscribe((t=>{n(t.to),c&&e.setState(t.to)}),a)),u},kn=(e,t,n)=>En(t,(()=>e.loop),(t=>{(0,o.C_)(t)&&(e.loop=t)}),{onError:n}),Cn=(e,t,n,r)=>En(t,(()=>({muted:e.muted,volume:e.volume})),(t=>{(0,o.C_)(t)&&(e.muted=t.muted,e.volume=t.volume)}),{equal:(e,t)=>e===t||(null==e?void 0:e.muted)===(null==t?void 0:t.muted)&&(null==e?void 0:e.volume)===(null==t?void 0:t.volume),changed$:n,onError:r}),Tn=(e,t,n,r)=>En(t,(()=>e.playbackRate),(t=>{(0,o.C_)(t)&&(e.playbackRate=t)}),{changed$:n,onError:r}),On=En,Mn=(e,t)=>{if(e.id===t)return!0;let[n,r,i]=t.split("|");return e.language===r&&e.label===i},An=class e{constructor(){this.available$=new o.xQ,this.current$=new o.v0(void 0),this.error$=new o.xQ,this.subscription=new o.w0,this.externalTracks=new Map,this.internalTracks=new Map}connect(e,t,n){this.video=e,this.cueSettings=t.textTrackCuesSettings,this.subscribe();let r=e=>{this.error$.next({id:"TextTracksManager",category:o.qj.WTF,message:"Generic HtmlVideoTextTrackManager error",thrown:e})};this.subscription.add(this.available$.subscribe(n.availableTextTracks$)),this.subscription.add(this.current$.subscribe(n.currentTextTrack$)),this.subscription.add(this.error$.subscribe(n.error$)),this.subscription.add(On(t.internalTextTracks,(()=>Object.values(this.internalTracks)),(e=>{(0,o.C_)(e)&&this.setInternal(e)}),{equal:(e,t)=>(0,o.C_)(e)&&(0,o.C_)(t)&&e.length===t.length&&e.every((({id:e},n)=>e===t[n].id)),changed$:this.available$.pipe((0,o.UI)((e=>e.filter((({type:e})=>"internal"===e))))),onError:r})),this.subscription.add(On(t.externalTextTracks,(()=>Object.values(this.externalTracks)),(e=>{(0,o.C_)(e)&&this.setExternal(e)}),{equal:(e,t)=>(0,o.C_)(e)&&(0,o.C_)(t)&&e.length===t.length&&e.every((({id:e},n)=>e===t[n].id)),changed$:this.available$.pipe((0,o.UI)((e=>e.filter((({type:e})=>"external"===e))))),onError:r})),this.subscription.add(On(t.currentTextTrack,(()=>{if(this.video)return;let e=this.htmlTextTracksAsArray().find((({mode:e})=>"showing"===e));return e&&this.htmlTextTrackToITextTrack(e).id}),(e=>this.select(e)),{changed$:this.current$,onError:r})),this.subscription.add(On(t.textTrackCuesSettings,(()=>({})),(()=>{if(this.video)for(let e of this.htmlTextTracksAsArray())this.applyCueSettings(e.cues),this.applyCueSettings(e.activeCues)})))}subscribe(){(0,o.Z3)(this.video);let{textTracks:e}=this.video;this.subscription.add((0,o.RB)(e,"addtrack").subscribe((()=>{let e=this.current$.getValue();e&&this.select(e)}))),this.subscription.add((0,o.TS)((0,o.RB)(e,"addtrack"),(0,o.RB)(e,"removetrack"),(0,o.$T)(["init"])).pipe((0,o.UI)((()=>this.htmlTextTracksAsArray().map((e=>this.htmlTextTrackToITextTrack(e))))),(0,o.qz)(((e,t)=>e.length===t.length&&e.every((({id:e},n)=>e===t[n].id))))).subscribe(this.available$)),this.subscription.add((0,o.TS)((0,o.RB)(e,"change"),(0,o.$T)(["init"])).pipe((0,o.UI)((()=>this.htmlTextTracksAsArray().find((({mode:e})=>"showing"===e)))),(0,o.UI)((e=>e&&this.htmlTextTrackToITextTrack(e).id)),(0,o.qz)()).subscribe(this.current$));let t=e=>{var t,n;return this.applyCueSettings(null!=(n=null==(t=e.target)?void 0:t.activeCues)?n:null)};this.subscription.add((0,o.RB)(e,"addtrack").subscribe((e=>{var n,r;null==(n=e.track)||n.addEventListener("cuechange",t);let i=e=>{var t,n,r,o,a;let s=null!=(n=null==(t=e.target)?void 0:t.cues)?n:null;s&&s.length&&(this.applyCueSettings(null!=(o=null==(r=e.target)?void 0:r.cues)?o:null),null==(a=e.target)||a.removeEventListener("cuechange",i))};null==(r=e.track)||r.addEventListener("cuechange",i)}))),this.subscription.add((0,o.RB)(e,"removetrack").subscribe((e=>{var n;null==(n=e.track)||n.removeEventListener("cuechange",t)})))}applyCueSettings(e){if(!e||!e.length)return;let t=this.cueSettings.getState();for(let n of Array.from(e)){let e=n;(0,o.C_)(t.align)&&(e.align=t.align),(0,o.C_)(t.position)&&(e.position=t.position),(0,o.C_)(t.size)&&(e.size=t.size),(0,o.C_)(t.line)&&(e.line=t.line)}}htmlTextTracksAsArray(t=!1){(0,o.Z3)(this.video);let n=[...this.video.textTracks];return t?n:n.filter(e.isHealthyTrack)}htmlTextTrackToITextTrack(e){var t,n;let{language:r,label:i}=e,o=e.id?e.id:(e=>["__",e.language,e.label].join("|"))(e),a=this.externalTracks.has(o),s=o.includes("auto");return a?{id:o,type:"external",isAuto:s,language:r,label:i,url:null==(t=this.externalTracks.get(o))?void 0:t.url}:{id:o,type:"internal",isAuto:s,language:r,label:i,url:null==(n=this.internalTracks.get(o))?void 0:n.url}}static isHealthyTrack(e){return!("metadata"===e.kind||e.groupId||""===e.id&&""===e.label&&""===e.language)}setExternal(e){this.internalTracks.size>0&&Array.from(this.internalTracks).forEach((([,e])=>this.detach(e))),e.filter((({id:e})=>!this.externalTracks.has(e))).forEach((e=>this.attach(e))),Array.from(this.externalTracks).filter((([t])=>!e.find((e=>e.id===t)))).forEach((([,e])=>this.detach(e)))}setInternal(e){let t=[...this.externalTracks];e.filter((({id:e,language:n,isAuto:r})=>!this.internalTracks.has(e)&&!t.some((([,e])=>e.language===n&&e.isAuto===r)))).forEach((e=>this.attach(e))),Array.from(this.internalTracks).filter((([t])=>!e.find((e=>e.id===t)))).forEach((([,e])=>this.detach(e)))}select(e){(0,o.Z3)(this.video);for(let e of this.htmlTextTracksAsArray(!0))e.mode="showing";for(let t of this.htmlTextTracksAsArray(!0))((0,o.SG)(e)||!Mn(t,e))&&(t.mode="disabled")}destroy(){if(this.subscription.unsubscribe(),this.video)for(let e of Array.from(this.video.getElementsByTagName("track"))){let t=e.getAttribute("id");t&&this.externalTracks.has(t)&&this.video.removeChild(e)}this.externalTracks.clear()}attach(e){(0,o.Z3)(this.video);let t=document.createElement("track");t.setAttribute("src",e.url),t.setAttribute("id",e.id),e.label&&t.setAttribute("label",e.label),e.language&&t.setAttribute("srclang",e.language),"external"===e.type?this.externalTracks.set(e.id,e):"internal"===e.type&&this.internalTracks.set(e.id,e),this.video.appendChild(t)}detach(e){(0,o.Z3)(this.video);let t=Array.prototype.find.call(this.video.getElementsByTagName("track"),(t=>t.getAttribute("id")===e.id));t&&this.video.removeChild(t),"external"===e.type?this.externalTracks.delete(e.id):"internal"===e.type&&this.internalTracks.delete(e.id)}},Pn=class{constructor(){this.pausedTime=0,this.streamOffset=0,this.pauseTimestamp=0}getTotalPausedTime(){return this.pausedTime+this.getCurrentPausedTime()}getCurrentPausedTime(){return this.pauseTimestamp>0?Date.now()-this.pauseTimestamp:0}getStreamOffset(){return this.streamOffset}getTotalOffset(){return this.getTotalPausedTime()+this.streamOffset}pause(){0===this.pauseTimestamp&&(this.pauseTimestamp=Date.now())}resume(){this.pauseTimestamp>0&&(this.pausedTime+=this.getCurrentPausedTime(),this.pauseTimestamp=0)}resetTo(e,t=!1){this.streamOffset=e,this.pauseTimestamp=0,this.pausedTime=0,t&&this.pause()}},Ln=e=>{let t=e;for(;!(t instanceof Document||t instanceof ShadowRoot||null===t);)t=null==t?void 0:t.parentNode;return null!=t?t:void 0},Dn=e=>{let t=Ln(e);return!(!t||!t.fullscreenElement||t.fullscreenElement!==e)},Rn=e=>{let t,n=t=>(0,o.RB)(e,t).pipe((0,o.CB)(void 0)),r=(0,o.TS)(...["waiting","pause","canplay","play","canplaythrough","playing","seeking","seeked","ended"].map((t=>(0,o.RB)(e,t)))).pipe((0,o.UI)((t=>"ended"===t.type?e.readyState<2:e.readyState<3)),(0,o.qz)()),i=(0,o.TS)((0,o.RB)(e,"progress"),(0,o.RB)(e,"timeupdate")).pipe((0,o.UI)((()=>((e,t,n=3)=>{let r=0,i=0;for(let o=0;o<e.length;o++){let a=e.start(o),s=e.end(o);if(a<=t&&t<=s){if(r=a,i=s,!n)return{from:r,to:i};for(let t=o-1;t>=0;t--)e.end(t)+n>=r&&(r=e.start(t));for(let t=o+1;t<e.length;t++)e.start(t)-n<=i&&(i=e.end(t))}}return{from:r,to:i}})(e.buffered,e.currentTime)))),a=(0,o.G4)().browser===o.Ln.Safari?(0,o.$e)({play:n("play").pipe((0,o.IH)()),playing:n("playing")}).pipe((0,o.CB)(void 0)):n("playing"),s=(0,o.RB)(e,"volumechange").pipe((0,o.UI)((()=>({muted:e.muted,volume:e.volume})))),l=(0,o.RB)(e,"ratechange").pipe((0,o.UI)((()=>e.playbackRate))),c=(0,o.RB)(e,"error").pipe((0,o.hX)((()=>!(!e.error&&!e.played.length))),(0,o.UI)((()=>{var t;let n=e.error;return{id:n?`MediaError#${n.code}`:"HtmlVideoError",category:o.qj.VIDEO_PIPELINE,message:n?n.message:"Error event from HTML video element",thrown:null!=(t=e.error)?t:void 0}}))),u=(0,o.RB)(e,"timeupdate").pipe((0,o.UI)((()=>e.currentTime))),d=new o.xQ;u.subscribe((n=>{e.loop&&(0,o.C_)(t)&&(0,o.C_)(n)&&t>=e.duration-.3&&n<=.3&&d.next(t),t=n}));let p=(0,o.RB)(e,"enterpictureinpicture"),f=(0,o.RB)(e,"leavepictureinpicture"),h=new o.v0((e=>{let t=Ln(e);return!(!t||!t.pictureInPictureElement||t.pictureInPictureElement!==e)})(e));p.subscribe((()=>h.next(!0))),f.subscribe((()=>h.next(!1)));let m=new o.v0(Dn(e));return(0,o.RB)(e,"fullscreenchange").pipe((0,o.UI)((()=>Dn(e)))).subscribe(m),{playing$:a,pause$:n("pause").pipe((0,o.hX)((()=>!e.error))),canplay$:n("canplay"),ended$:n("ended"),looped$:d,error$:c,seeked$:n("seeked"),seeking$:n("seeking"),progress$:n("progress"),loadStart$:n("loadstart"),loadedMetadata$:n("loadedmetadata"),loadedData$:n("loadeddata"),timeUpdate$:u,durationChange$:(0,o.RB)(e,"durationchange").pipe((0,o.UI)((()=>e.duration))),isBuffering$:r,currentBuffer$:i,volumeState$:s,playbackRateState$:l,inPiP$:h,inFullscreen$:m}},In=e=>{switch(e){case"mobile":return o.SF.Q_144P;case"lowest":return o.SF.Q_240P;case"low":return o.SF.Q_360P;case"sd":case"medium":return o.SF.Q_480P;case"hd":case"high":return o.SF.Q_720P;case"fullhd":case"full":return o.SF.Q_1080P;case"quadhd":case"quad":return o.SF.Q_1440P;case"ultrahd":case"ultra":return o.SF.Q_2160P}},Nn=m(qt(),1),jn=!1,Bn={},Fn=e=>{e(Bn)},Hn=(e,t)=>{var n;jn&&(Bn.meta=null!=(n=Bn.meta)?n:{},Bn.meta[e]=t)},zn=class{constructor(e){this.name=e}next(e){var t,n;if(!jn)return;Bn.series=null!=(t=Bn.series)?t:{};let r=null!=(n=Bn.series[this.name])?n:[];r.push([Date.now(),e]),Bn.series[this.name]=r}},Vn=new zn("best_bitrate"),Un=class{constructor(){this.history={}}recordSelection(e){this.history[e.id]=(0,o.zO)()}recordSwitch(e){this.last=e}clear(){this.last=void 0,this.history={}}},$n=(e,{container:t,throughput:n,tuning:r,limits:i,reserve:a=0,forwardBufferHealth:s,playbackRate:l,current:c,history:u,droppedVideoMaxQualityLimit:d,abrLogger:p})=>{var f,h,m,g,v;(0,o.Uu)(e,'Assertion "ABR Tracks is empty array" failed');let y=r.usePixelRatio&&null!=(f=window.devicePixelRatio)?f:1,b=r.limitByContainer&&t&&t.width>0&&t.height>0&&{width:t.width*y*r.containerSizeFactor,height:t.height*y*r.containerSizeFactor},w=b&&(0,o.fh)(b),_=r.considerPlaybackRate&&(0,o.C_)(l)?l:1,S=e.filter((e=>!(0,o.fP)(e.quality))).sort(((e,t)=>(0,o.t3)(e.quality,t.quality)?-1:1)),x=null==(h=(0,Nn.default)(S,-1))?void 0:h.quality,E=null==(m=(0,Nn.default)(S,0))?void 0:m.quality,k=(0,o.SG)(i)||(0,o.C_)(i.min)&&(0,o.C_)(i.max)&&(0,o.Ex)(i.max,i.min)||(0,o.C_)(i.min)&&E&&(0,o.t3)(i.min,E)||(0,o.C_)(i.max)&&x&&(0,o.Ex)(i.max,x),C=_*((e,t,n)=>(t-n)*Math.pow(2,-10*e)+n)(null!=s?s:.5,r.bitrateFactorAtEmptyBuffer,r.bitrateFactorAtFullBuffer),T={},O=S.filter((e=>!w||(0,o.Ex)(e.quality,w)?!((0,o.C_)(n)&&isFinite(n)&&(0,o.C_)(e.bitrate))||n-a>=e.bitrate*C?r.lazyQualitySwitch&&(0,o.C_)(r.minBufferToSwitchUp)&&c&&!(0,o.fP)(c.quality)&&(null!=s?s:0)<r.minBufferToSwitchUp&&(0,o.t3)(e.quality,c.quality)?(T[e.quality]="Buffer",!1):d&&(0,o.T8)(e.quality,d)?(T[e.quality]="DroppedFramesLimit",!1):!!(k||((0,o.SG)(i.max)||(0,o.zE)(e.quality,i.max))&&((0,o.SG)(i.min)||(0,o.T8)(e.quality,i.min)))||(T[e.quality]="FitsQualityLimits",!1):(T[e.quality]="FitsThroughput",!1):(T[e.quality]="FitsContainer",!1)))[0];O&&O.bitrate&&Vn.next(O.bitrate);let M=null!=(g=null!=O?O:S[Math.ceil((S.length-1)/2)])?g:e[0];M.quality!==(null==(v=null==u?void 0:u.last)?void 0:v.quality)&&p({message:`\n [available tracks]\n\t${e.map((e=>`{ id: ${e.id}, quality: ${e.quality}, bitrate: ${e.bitrate} }`)).join("\n\t")}\n\n [tuning]\n\t${Object.entries(null!=r?r:{}).map((([e,t])=>`${e}: ${t}`)).join("\n\t")}\n\n [limit params]\n containerQualityLimit: ${w},\n throughput: ${n},\n reserve: ${a},\n playbackRate: ${l},\n playbackRateFactor: ${_},\n forwardBufferHealth: ${s},\n bitrateFactor: ${C},\n minBufferToSwitchUp: ${r.minBufferToSwitchUp},\n droppedVideoMaxQualityLimit: ${d},\n limitsAreInvalid: ${k},\n maxQualityLimit: ${null==i?void 0:i.max},\n minQualityLimit: ${null==i?void 0:i.min},\n\n [limited tracks]\n ${Object.entries(T).map((([e,t])=>`${e}: ${t}`)).join("\n\t")||"All tracks are available"}\n\n [best track] ${null==O?void 0:O.quality}\n [selected track] ${null==M?void 0:M.quality}\n `});let A=M&&u&&u.history[M.id]&&(0,o.zO)()-u.history[M.id]<=r.trackCooldown&&(!u.last||M.id!==u.last.id);if(null!=M&&M.id&&u&&!A&&u.recordSelection(M),A&&null!=u&&u.last){let e=u.last;return null==u||u.recordSwitch(e),p({message:`\n [last selected] ${null==e?void 0:e.quality}\n `}),e}return null==u||u.recordSwitch(M),M},Gn=e=>new URL(e).hostname,qn=e=>{if(e instanceof DOMException&&["Failed to load because no supported source was found.","The element has no supported sources."].includes(e.message))throw e;return!(e instanceof DOMException&&(20===e.code||"AbortError"===e.name))},Wn=async e=>{let t=e.muted;try{await e.play()}catch(n){if(!qn(n))return!1;if(t)return s.warn(n),!1;e.muted=!0;try{await e.play()}catch(t){return qn(t)&&(e.muted=!1,s.warn(t)),!1}}return!0};function Zn(){return(0,o.zO)()}function Yn(e){return Zn()-e}function Kn(e){let t=e.split("/"),n=t.slice(0,t.length-1).join("/"),r=/^([a-z]+:)?\/\//i;return{resolve:(e,t,i=!1)=>{(e=>r.test(e))(e)||(e.startsWith("/")||(e="/"+e),e=n+e);let o=e.indexOf("?")>-1?"&":"?";return i&&(e+=o+"lowLat=1",o="&"),t&&(e+=o+"_rnd="+Math.floor(999999999*Math.random())),e}}}function Qn(e,t,n,r){let i,a,s,l,c,u=window.XMLHttpRequest,d=!1,p=0,f=!1,h="arraybuffer",m=7e3,g=2e3,v=()=>{if(d)return;(0,o.Z3)(l);let e,t=Yn(l);if(t<g)return e=g-t,void setTimeout(v,e);g*=2,g>m&&(g=m),a&&a.abort(),a=new u,b()},y=()=>{if(!d){if(--p>=0)return v(),void(r&&r());d=!0,c&&c(),n&&n()}},b=()=>{l=Zn(),a=new u,a.open("get",e);let n,r=0,p=0,m=()=>((0,o.Z3)(l),Math.max(l,Math.max(n||0,p||0)));if(i&&a.addEventListener("progress",(e=>{let t=Zn();i.updateChunk&&e.loaded>r&&(i.updateChunk(m(),e.loaded-r),r=e.loaded,n=t)})),s&&(a.timeout=s,a.addEventListener("timeout",(()=>y()))),a.addEventListener("load",(()=>{if(d)return;(0,o.Z3)(a);let e=a.status;if(e>=200&&e<300){if(a.response.byteLength&&i){let e=a.response.byteLength-r;e&&i.updateChunk&&i.updateChunk(m(),e)}"json"!==a.responseType||Object.values(a.response).length?(c&&c(),t(a.response)):y()}else y()})),a.addEventListener("error",(()=>{y()})),f){let e=()=>{(0,o.Z3)(a),a.readyState===XMLHttpRequest.HEADERS_RECEIVED&&(p=Zn(),a.removeEventListener("readystatechange",e))};a.addEventListener("readystatechange",e)}return a.responseType=h,a.send(),w},w={withBitrateReporting:e=>(i=e,w),withParallel:e=>(f=e,w),withJSONResponse:()=>(h="json",w),withRetryCount:e=>(p=e,w),withRetryInterval:(e,t)=>((0,o.C_)(e)&&(g=e),(0,o.C_)(t)&&(m=t),w),withTimeout:e=>(s=e,w),withFinally:e=>(c=e,w),send:b,abort:()=>{a&&(a.abort(),a=void 0),d=!0,c&&c()}};return w}var Xn=class{constructor(e){this.intervals=[],this.currentRate=0,this.logger=e}_updateRate(e){let t=.2;this.currentRate&&(e<.1*this.currentRate?t=.8:e<.5*this.currentRate?t=.5:e<.7*this.currentRate&&(t=.3)),e=Math.max(1,Math.min(e,104857600)),this.currentRate=this.currentRate?this.currentRate*(1-t)+e*t:e}_createInterval(e,t,n){return{start:e,end:t,bytes:n}}_doMergeIntervals(e,t){e.start=Math.min(t.start,e.start),e.end=Math.max(t.end,e.end),e.bytes+=t.bytes}_mergeIntervals(e,t){return e.start<=t.end&&t.start<=e.end&&(this._doMergeIntervals(e,t),!0)}_flushIntervals(){if(!this.intervals.length)return!1;let e=this.intervals[0].start,t=this.intervals[this.intervals.length-1].end-500;if(t-e>2e3){let n=0,r=0;for(;this.intervals.length>0;){let e=this.intervals[0];if(e.end<=t)n+=e.end-e.start,r+=e.bytes,this.intervals.splice(0,1);else{if(e.start>=t)break;{let i=t-e.start,o=e.end-e.start;n+=i;let a=e.bytes*i/o;r+=a,e.start=t,e.bytes-=a}}}if(r>0&&n>0){let i=8*r/(n/1e3);return this._updateRate(i),this.logger(`rate updated, new=${Math.round(i/1024)}K; average=${Math.round(this.currentRate/1024)}K bytes/ms=${Math.round(r)}/${Math.round(n)} interval=${Math.round(t-e)}`),!0}}return!1}_joinIntervals(){let e;do{e=!1;for(let t=0;t<this.intervals.length-1;++t)this._mergeIntervals(this.intervals[t],this.intervals[t+1])&&(this.intervals.splice(t+1,1),e=!0)}while(e)}addInterval(e,t,n){return this.intervals.push(this._createInterval(e,t,n)),this._joinIntervals(),this.intervals.length>100&&(this.logger(`too many intervals (${this.intervals.length}); will merge`,{type:"warn"}),this._doMergeIntervals(this.intervals[1],this.intervals[0]),this.intervals.splice(0,1)),this._flushIntervals()}getBitRate(){return this.currentRate}},Jn=class{constructor(e,t,n,r,i){this.pendingQueue=[],this.activeRequests={},this.completeRequests={},this.averageSegmentDuration=2e3,this.lastPrefetchStart=0,this.throttleTimeout=null,this.RETRY_COUNT=e,this.TIMEOUT=t,this.BITRATE_ESTIMATOR=n,this.MAX_PARALLEL_REQUESTS=r,this.logger=i}limitCompleteCount(){let e;for(;(e=Object.keys(this.completeRequests)).length>this._getParallelRequestCount()+2;){let t=e[Math.floor(Math.random()*e.length)];this.logger(`Dropping completed request for url ${t}`,{type:"warn"}),delete this.completeRequests[t]}}_sendRequest(e,t){let n=Zn(),r=n=>{delete this.activeRequests[t],this.limitCompleteCount(),this.completeRequests[t]=e,this._sendPending(),e._error=1,e._errorMsg=n,e._errorCB?e._errorCB(n):(this.limitCompleteCount(),this.completeRequests[t]=e)};e._request=Qn(t,(r=>{e._complete=1,e._responseData=r,e._downloadTime=Zn()-n,delete this.activeRequests[t],this._sendPending(),e._cb?e._cb(r,e._downloadTime):(this.limitCompleteCount(),this.completeRequests[t]=e)}),(()=>r("error")),(()=>{e._retry=1,e._retryCB&&e._retryCB()})),e._request.withRetryCount(this.RETRY_COUNT).withTimeout(this.TIMEOUT).withBitrateReporting(this.BITRATE_ESTIMATOR).withParallel(this._getParallelRequestCount()>1).withFinally((()=>{e._finallyCB&&e._finallyCB()})),this.activeRequests[t]=e,e._request.send(),this.lastPrefetchStart=Zn()}_getParallelRequestCount(){return Math.min(this.MAX_PARALLEL_REQUESTS,this.averageSegmentDuration<3e3?3:2)}_getPrefetchDelay(){return Math.max(100,Math.min(5e3,this.averageSegmentDuration/3))}_canSendPending(){let e=this._getParallelRequestCount(),t=Zn();if(Object.keys(this.activeRequests).length>=e)return!1;let n=this._getPrefetchDelay()-(t-this.lastPrefetchStart);return this.throttleTimeout&&clearTimeout(this.throttleTimeout),!(n>0)||(this.throttleTimeout=window.setTimeout((()=>this._sendPending()),n),!1)}_sendPending(){for(;this._canSendPending();){let e=this.pendingQueue.pop();if(!e)return;this.activeRequests[e]||this.completeRequests[e]||(this.logger(`Submitting pending request url=${e}`),this._sendRequest({},e))}}_removeFromActive(e){delete this.completeRequests[e],delete this.activeRequests[e]}abortAll(){Object.values(this.activeRequests).forEach((e=>{e&&e._request&&e._request.abort()})),this.activeRequests={},this.pendingQueue=[],this.completeRequests={}}requestData(e,t,n,r){let i={};return i.send=()=>{let o=this.activeRequests[e]||this.completeRequests[e];if(o)o._cb=t,o._errorCB=n,o._retryCB=r,o._finallyCB=i._finallyCB,o._error||o._complete?(this._removeFromActive(e),setTimeout((()=>{o._complete?(this.logger(`Requested url already prefetched, url=${e}`),t(o._responseData,o._downloadTime)):(this.logger(`Requested url already prefetched with error, url=${e}`),n(o._errorMsg)),i._finallyCB&&i._finallyCB()}),0)):this.logger(`Attached to active request, url=${e}`);else{let t=this.pendingQueue.indexOf(e);-1!==t&&this.pendingQueue.splice(t,1),this.logger(`Request not prefetched, starting new request, url=${e}${-1===t?"":"; removed pending"}`),this._sendRequest(i,e)}},i._cb=t,i._errorCB=n,i._retryCB=r,i.abort=function(){i.request&&i.request.abort()},i.withFinally=e=>(i._finallyCB=e,i),i}prefetch(e){this.activeRequests[e]||this.completeRequests[e]?this.logger(`Request already active for url=${e}`):(this.logger(`Added to pending queue; url=${e}`),this.pendingQueue.unshift(e),this._sendPending())}optimizeForSegDuration(e){this.averageSegmentDuration=e}},er=1e4,tr=class{constructor(e){this.paused=!1,this.autoQuality=!0,this.maxAutoQuality=void 0,this.buffering=!0,this.destroyed=!1,this.videoPlayStarted=!1,this.lowLatency=!1,this.bitrate=0,this.manifest=[],this.sourceBuffer=0,this.bufferStates=[],this.sourceJitter=-1,this.params=e,this.chunkRateEstimator=new Xn(this.params.logger),this._initVideo()}attachSource(e){this.manifestUrl=e,this.urlResolver=Kn(e),this.bitrateSwitcher=this._initBitrateSwitcher(),this._initManifest()}setAutoQualityEnabled(e){this.autoQuality=e}setMaxAutoQuality(e){this.maxAutoQuality=e}switchByName(e){let t;for(let n=0;n<this.manifest.length;++n)if(t=this.manifest[n],t.name===e)return void this._switchToQuality(t)}catchUp(){this.rep&&this.rep.stop(),this.currentManifestEntry&&(this.paused=!1,this._initPlayerWith(this.currentManifestEntry),this._notifyBuffering(!0))}stop(){this.params.videoElement.pause(),this.rep&&(this.rep.stop(),this.rep=null)}pause(){this.paused=!0,this.params.videoElement.pause(),this.videoPlayStarted=!1,this._notifyBuffering(!1)}play(){this.paused=!1;let e=this.lowLatency&&this._getBufferSizeSec()>this.sourceJitter+5;this.rep&&!e?(this.bufferStates=[],this.videoPlayStarted=!1,this.shouldPlay()?this._playVideoElement():this._notifyBuffering(!0)):this.catchUp()}startPlay(e,t){this.autoQuality=t,this._initPlayerWith(e)}destroy(){this.destroyed=!0,this.rep&&(this.rep.stop(),this.rep=null),this.manifestRequest&&this.manifestRequest.abort(),this.manifestRefetchTimer&&(clearTimeout(this.manifestRefetchTimer),this.manifestRefetchTimer=void 0)}reinit(e){this.manifestUrl=e,this.urlResolver=Kn(e),this.catchUp()}_handleNetworkError(){this.params.logger("Fatal network error"),this.params.playerCallback({name:"error",type:"network"})}_retryCallback(){this.params.playerCallback({name:"retry"})}_getBufferSizeSec(){let e=this.params.videoElement,t=0,n=e.buffered.length;return 0!==n&&(t=e.buffered.end(n-1)-Math.max(e.currentTime,e.buffered.start(0))),t}_notifyBuffering(e){this.destroyed||(this.params.logger(`buffering: ${e}`),this.params.playerCallback({name:"buffering",isBuffering:e}),this.buffering=e)}_initVideo(){let{videoElement:e,logger:t}=this.params;e.addEventListener("error",(()=>{var n;e.error&&!this.destroyed&&(t(`Video element error: ${null==(n=e.error)?void 0:n.code}`),this.params.playerCallback({name:"error",type:"media"}))})),e.addEventListener("timeupdate",(()=>{let e=this._getBufferSizeSec();!this.paused&&e<.3?this.buffering||(this.buffering=!0,window.setTimeout((()=>{!this.paused&&this.buffering&&this._notifyBuffering(!0)}),1e3*(e+.1))):this.buffering&&this.videoPlayStarted&&this._notifyBuffering(!1)})),e.addEventListener("playing",(()=>{t("playing")})),e.addEventListener("stalled",(()=>this._fixupStall())),e.addEventListener("waiting",(()=>this._fixupStall()))}_fixupStall(){let e,{logger:t,videoElement:n}=this.params,r=n.buffered.length;0!==r&&(e=n.buffered.start(r-1),n.currentTime<e&&(t("Fixup stall"),n.currentTime=e))}_selectQuality(e){let t,n,r,{videoElement:i}=this.params,o=i&&1.62*(window.devicePixelRatio||1)*i.offsetHeight||520;for(let i=0;i<this.manifest.length;++i)r=this.manifest[i],!(this.maxAutoQuality&&r.video.height>this.maxAutoQuality)&&(r.bitrate<e&&o>Math.min(r.video.height,r.video.width)?(!n||r.bitrate>n.bitrate)&&(n=r):(!t||t.bitrate>r.bitrate)&&(t=r));return n||t}shouldPlay(){if(this.paused)return!1;let e=this._getBufferSizeSec()-Math.max(1,this.sourceJitter);return e>3||(0,o.C_)(this.downloadRate)&&(this.downloadRate>1.5&&e>2||this.downloadRate>2&&e>1)}_setVideoSrc(e,t){let{logger:n,videoElement:r,playerCallback:i}=this.params;this.mediaSource=new window.MediaSource,n("setting video src"),r.src=URL.createObjectURL(this.mediaSource),this.mediaSource.addEventListener("sourceopen",(()=>{this.mediaSource&&(this.sourceBuffer=this.mediaSource.addSourceBuffer(e.codecs),this.bufferStates=[],t())})),this.videoPlayStarted=!1,r.addEventListener("canplay",(()=>{this.shouldPlay()&&(this.videoPlayStarted=!0,this._playVideoElement())}));let o=()=>{!function(e,t,n){let r=(...i)=>{n.apply(null,i),e.removeEventListener(t,r)};e.addEventListener(t,r)}(r,"progress",(()=>{r.buffered.length?(r.currentTime=r.buffered.start(0),i({name:"playing"})):o()}))};o()}_initPlayerWith(e){this.bitrate=0,this.rep=0,this.sourceBuffer=0,this.bufferStates=[],this.filesFetcher&&this.filesFetcher.abortAll(),this.filesFetcher=new Jn(3,er,this.bitrateSwitcher,this.params.config.maxParallelRequests,this.params.logger),this._setVideoSrc(e,(()=>this._switchToQuality(e)))}_representation(e){let{logger:t,videoElement:n,playerCallback:r}=this.params,i=!1,a=null,s=null,l=null,c=null,u=!1,d=()=>{let e=i&&(!u||u===this.rep);return e||t("Not running!"),e},p=(e,t,n)=>{l&&l.abort(),l=Qn(this.urlResolver.resolve(e,!1),t,n,(()=>this._retryCallback())).withTimeout(er).withBitrateReporting(this.bitrateSwitcher).withRetryCount(3).withFinally((()=>{l=null})).send()},f=(e,t,n)=>{(0,o.Z3)(this.filesFetcher),null==s||s.abort(),s=this.filesFetcher.requestData(this.urlResolver.resolve(e,!1),t,n,(()=>this._retryCallback())).withFinally((()=>{s=null})).send()},h=e=>{let r=n.playbackRate;n.playbackRate!==e&&(t(`Playback rate switch: ${r}=>${e}`),n.playbackRate=e)},m=e=>{this.lowLatency=e,t(`lowLatency changed to ${e}`),g()},g=()=>{if(this.lowLatency||this.params.config.isLiveCatchUpMode){let e=this._getBufferSizeSec();if(this.bufferStates.length<5)return void h(1);let n=Zn()-1e4,r=0;for(let t=0;t<this.bufferStates.length;t++){let i=this.bufferStates[t];e=Math.min(e,i.buf),i.ts<n&&r++}this.bufferStates.splice(0,r),t(`update playback rate; minBuffer=${e} drop=${r} jitter=${this.sourceJitter}`);let i=e-1;this.sourceJitter>=0?i-=this.sourceJitter/2:this.sourceJitter-=1,h(i>3?1.15:i>1?1.1:i>.3?1.05:1)}else h(1)},v=e=>{let n,i=()=>n&&n.start?n.start.length:0,a=e=>n.start[e]/1e3,s=e=>n.dur[e]/1e3,l=e=>n.fragIndex+e,u=(e,t)=>({chunkIdx:l(e),startTS:a(e),dur:s(e),discontinuity:t}),p=()=>{let e=0;if(n&&n.dur){let t=this.lowLatency?this.params.config.lowLatencyMinBuffer:this.params.config.minBuffer,r=this.lowLatency?this.params.config.lowLatencyMinBufferSegments:this.params.config.minBufferSegments,i=t;this.sourceJitter>1&&(i+=this.sourceJitter-1);let o=n.dur.length-1;for(;o>=0&&(i-=n.dur[o],!(i<=0));--o);e=Math.min(o,n.dur.length-1-r),e=Math.max(e,0)}return u(e,!0)},f=(e,t,n)=>{c&&c.abort(),c=Qn(this.urlResolver.resolve(e,!0,this.lowLatency),t,n,(()=>this._retryCallback())).withTimeout(er).withRetryCount(3).withFinally((()=>{c=null})).withJSONResponse().send()};return{seek:(t,s)=>{f(e,(e=>{if(!d())return;n=e;let l=!!n.lowLatency;l!==this.lowLatency&&m(l);let c=0;for(let e=0;e<n.dur.length;++e)c+=n.dur[e];c>0&&((0,o.Z3)(this.filesFetcher),this.filesFetcher.optimizeForSegDuration(c/n.dur.length)),r({name:"index",zeroTime:n.zeroTime,shiftDuration:n.shiftDuration}),this.sourceJitter=n.hasOwnProperty("jitter")?Math.min(10,Math.max(.01,n.jitter/1e3)):1,t((e=>{let t=i();if(!(t<=0)){if((0,o.C_)(e))for(let n=0;n<t;n++)if(a(n)>e)return u(n);return p()}})(s))}),(()=>this._handleNetworkError()))},nextChunk:e=>{let r=i(),o=e?e.chunkIdx+1:0,a=o-n.fragIndex;if(!(r<=0)){if(!e||a<0||a-r>10)return t(`Resync: offset=${a} bChunks=${r} chunk=`+JSON.stringify(e)),p();if(!(a>=r))return u(o-n.fragIndex,!1)}}}},y=()=>{i=!1,s&&s.abort(),l&&l.abort(),c&&c.abort(),(0,o.Z3)(this.filesFetcher),this.filesFetcher.abortAll()};return u={start:t=>{let n,r,s,l,u,h,m,{videoElement:b,logger:w}=this.params,_=v(e.jidxUrl),S=0,x=()=>{u&&(clearTimeout(u),u=void 0);let e=Math.max(500,1e3*(this._getBufferSizeSec()-this.sourceJitter-5)),t=S+e,n=Zn(),r=Math.min(1e4,t-n);S=n;let i=()=>{c||d()&&_.seek((()=>{d()&&(S=Zn(),E(),x())}))};r>0?u=window.setTimeout((()=>{this.paused?x():i()}),r):i()},E=()=>{let t;for(;t=_.nextChunk(l);)l=t,M(t);let n=_.nextChunk(s);if(n){if(s&&n.discontinuity)return w("Detected discontinuity; restarting playback"),void(this.paused?x():(y(),this._initPlayerWith(e)));O(n)}else x()},k=(e,t)=>{if(!d()||!this.sourceBuffer)return;let n,r,i,o=n=>{window.setTimeout((()=>{d()&&k(e,t)}),n)};if(this.sourceBuffer.updating)w("Source buffer is updating; delaying appendBuffer"),o(100);else{let a=Zn(),s=b.currentTime;!this.paused&&b.buffered.length>1&&h===s&&a-m>500&&(w("Stall suspected; trying to fix"),this._fixupStall()),h!==s&&(h=s,m=a);let l=this._getBufferSizeSec();if(l>30)w(`Buffered ${l} seconds; delaying appendBuffer`),o(2e3);else try{this.sourceBuffer.appendBuffer(e),this.videoPlayStarted?(this.bufferStates.push({ts:a,buf:l}),g(),this.bufferStates.length>200&&this.bufferStates.shift()):this.shouldPlay()&&(this.videoPlayStarted=!0,this._playVideoElement()),t&&t()}catch(e){if("QuotaExceededError"!==e.name)throw e;w("QuotaExceededError; delaying appendBuffer"),i=this.sourceBuffer.buffered.length,0!==i&&(n=this.sourceBuffer.buffered.start(0),r=s,r-n>4&&this.sourceBuffer.remove(n,r-3)),o(1e3)}}},C=()=>{r&&n&&(w([`Appending chunk, sz=${r.byteLength}:`,JSON.stringify(s)]),k(r,(function(){r=null,E()})))},T=t=>e.fragUrlTemplate.replace("%%id%%",t.chunkIdx),O=e=>{d()&&f(T(e),((t,n)=>{if(d()){if(n/=1e3,r=t,s=e,a=e.startTS,n){let t=Math.min(10,e.dur/n);this.downloadRate=this.downloadRate?.7*this.downloadRate+.3*t:t}C()}}),(()=>this._handleNetworkError()))},M=e=>{d()&&((0,o.Z3)(this.filesFetcher),this.filesFetcher.prefetch(this.urlResolver.resolve(T(e),!1)))},A=t=>{d()&&(e.cachedHeader=t,k(t,(()=>{n=!0,C()})))};i=!0,_.seek((e=>{if(d()){if(S=Zn(),!e)return void x();l=e,!(0,o.SG)(t)||e.startTS>t?O(e):(s=e,E())}}),t),e.cachedHeader?A(e.cachedHeader):p(e.headerUrl,A,(()=>this._handleNetworkError()))},stop:y,getTimestampSec:()=>a},u}_switchToQuality(e){let t,{logger:n,playerCallback:r}=this.params;e.bitrate!==this.bitrate&&(this.rep&&(t=this.rep.getTimestampSec(),(0,o.C_)(t)&&(t+=.1),this.rep.stop()),this.currentManifestEntry=e,this.rep=this._representation(e),n(`switch to quality: codecs=${e.codecs}; headerUrl=${e.headerUrl}; bitrate=${e.bitrate}`),this.bitrate=e.bitrate,(0,o.Z3)(this.bitrateSwitcher),this.bitrateSwitcher.notifySwitch(this.bitrate),this.rep.start(t),r({name:"qualitySwitch",quality:e}))}_qualityAvailable(e){return(0,o.C_)(this.manifest.find((t=>t.name===e)))}_initBitrateSwitcher(){let e,{logger:t,playerCallback:n}=this.params,r=e=>{if(!this.autoQuality)return;let n,r,i;this.currentManifestEntry&&this._qualityAvailable(this.currentManifestEntry.name)&&e<this.bitrate&&(r=this._getBufferSizeSec(),i=e/this.bitrate,r>10&&i>.8||r>15&&i>.5||r>20&&i>.3)?t(`Not switching: buffer=${Math.floor(r)}; bitrate=${this.bitrate}; newRate=${Math.floor(e)}`):(n=this._selectQuality(e),n?this._switchToQuality(n):t(`Could not find quality by bitrate ${e}`))},i=(()=>({updateChunk:(e,t)=>{let r=Zn();if(this.chunkRateEstimator.addInterval(e,r,t)){let i=this.chunkRateEstimator.getBitRate();return n({name:"bandwidth",size:t,duration:r-e,speed:i}),!0}},get:()=>{let e=this.chunkRateEstimator.getBitRate();return e?.85*e:0}}))(),o=-1/0,a=!0,s=()=>{let t=i.get();if(t&&e&&this.autoQuality){if(a&&t>e&&Yn(o)<3e4)return;r(t)}a=this.autoQuality};return{updateChunk:(e,t)=>{let n=i.updateChunk(e,t);return n&&s(),n},notifySwitch:t=>{let n=Zn();t<e&&(o=n),e=t}}}_fetchManifest(e,t,n){this.manifestRequest=Qn(this.urlResolver.resolve(e,!0),t,n,(()=>this._retryCallback())).withJSONResponse().withTimeout(er).withRetryCount(this.params.config.manifestRetryMaxCount).withRetryInterval(this.params.config.manifestRetryInterval,this.params.config.manifestRetryMaxInterval).send().withFinally((()=>{this.manifestRequest=void 0}))}_playVideoElement(){let{videoElement:e}=this.params;Wn(e).then((e=>{e||(this.params.liveOffset.pause(),this.params.videoState.setState("paused"))}))}_handleManifestUpdate(e){let{logger:t,playerCallback:n,videoElement:r}=this.params;this.manifest=(e=>{let t=[];return null!=e&&e.length?(e.forEach(((e,n)=>{e.video&&r.canPlayType(e.codecs).replace(/no/,"")&&window.MediaSource.isTypeSupported(e.codecs)&&(e.index=n,t.push(e))})),t.sort((function(e,t){return e.video&&t.video?t.video.height-e.video.height:t.bitrate-e.bitrate})),t):(n({name:"error",type:"empty_manifest"}),[])})(e),t(`Valid manifest entries: ${this.manifest.length}/${e.length}`),n({name:"manifest",manifest:this.manifest})}_refetchManifest(e){this.destroyed||(this.manifestRefetchTimer&&clearTimeout(this.manifestRefetchTimer),this.manifestRefetchTimer=window.setTimeout((()=>{this._fetchManifest(e,(t=>{this.destroyed||(this._handleManifestUpdate(t),this._refetchManifest(e))}),(()=>this._refetchManifest(e)))}),6e4))}_initManifest(){this._fetchManifest(this.manifestUrl,(e=>{this.destroyed||(this._handleManifestUpdate(e),this._refetchManifest(this.manifestUrl))}),(()=>this._handleNetworkError()))}},nr=class{constructor(){this.onDroopedVideoFramesLimit$=new o.xQ,this.subscription=new o.w0,this.playing=!1,this.tracks=[],this.forceChecker$=new o.xQ,this.isForceCheckCounter=0,this.prevTotalVideoFrames=0,this.prevDroppedVideoFrames=0,this.limitCounts={},this.handleChangeVideoQuality=()=>{let e=this.tracks.find((({size:e})=>(null==e?void 0:e.height)===this.video.videoHeight&&(null==e?void 0:e.width)===this.video.videoWidth));e&&!(0,o.fP)(e.quality)&&this.onChangeQuality(e.quality)},this.checkDroppedFrames=()=>{var e;let{totalVideoFrames:t,droppedVideoFrames:n}=this.video.getVideoPlaybackQuality(),r=t-this.prevTotalVideoFrames,i=1-(r-(n-this.prevDroppedVideoFrames))/r;!isNaN(i)&&i>0&&this.log({message:`[dropped]. current dropped percent: ${i}, limit: ${this.droppedFramesChecker.percentLimit}`}),!isNaN(i)&&i>=this.droppedFramesChecker.percentLimit&&(0,o.t3)(this.currentQuality,this.droppedFramesChecker.minQualityBanLimit)&&(this.limitCounts[this.currentQuality]=(null!=(e=this.limitCounts[this.currentQuality])?e:0)+1,this.maxQualityLimit=this.getMaxQualityLimit(this.currentQuality),this.currentTimer&&window.clearTimeout(this.currentTimer),this.currentTimer=window.setTimeout((()=>this.maxQualityLimit=this.getMaxQualityLimit()),this.droppedFramesChecker.qualityUpWaitingTime),this.onDroopedVideoFramesLimitTrigger()),this.savePrevFrameCounts(t,n)}}connect(e){this.log=e.logger.createComponentLog("DroppedFramesManager"),this.video=e.video,this.isAuto=e.isAuto,this.droppedFramesChecker=e.droppedFramesChecker,this.subscription.add(e.playing$.subscribe((()=>this.playing=!0))),this.subscription.add(e.pause$.subscribe((()=>this.playing=!1))),this.subscription.add(e.tracks$.subscribe((e=>this.tracks=e))),this.isEnabled&&this.subscribe()}destroy(){this.currentTimer&&window.clearTimeout(this.currentTimer),this.subscription.unsubscribe()}get droppedVideoMaxQualityLimit(){return this.maxQualityLimit}subscribe(){this.subscription.add((0,o.RB)(this.video,"resize").subscribe(this.handleChangeVideoQuality));let e=(0,o.FG)(this.droppedFramesChecker.checkTime).pipe((0,o.hX)((()=>this.playing)),(0,o.hX)((()=>{let e=!!this.isForceCheckCounter;return e&&(this.isForceCheckCounter-=1),!e}))),t=this.forceChecker$.pipe((0,o.Ds)(this.droppedFramesChecker.checkTime)),n=(0,o.TS)(e,t);this.subscription.add(n.subscribe(this.checkDroppedFrames))}onChangeQuality(e){this.currentQuality=e;let{totalVideoFrames:t,droppedVideoFrames:n}=this.video.getVideoPlaybackQuality();this.savePrevFrameCounts(t,n),this.isForceCheckCounter=this.droppedFramesChecker.tickCountAfterQualityChange,this.forceChecker$.next()}onDroopedVideoFramesLimitTrigger(){this.isAuto.getState()&&(this.log({message:`[onDroopedVideoFramesLimit]. maxQualityLimit: ${this.maxQualityLimit}`}),this.onDroopedVideoFramesLimit$.next())}getMaxQualityLimit(e){var t,n;let r=null==(n=null==(t=Object.entries(this.limitCounts).filter((([,e])=>e>=this.droppedFramesChecker.countLimit)).sort((([e],[t])=>(0,o.Ex)(e,t)?-1:1)))?void 0:t[0])?void 0:n[0];return null!=e?e:r}get isEnabled(){return this.droppedFramesChecker.enabled&&this.isDroppedFramesCheckerSupport}get isDroppedFramesCheckerSupport(){return!!this.video&&"function"==typeof this.video.getVideoPlaybackQuality}savePrevFrameCounts(e,t){this.prevTotalVideoFrames=e,this.prevDroppedVideoFrames=t}},rr=()=>{var e;return!(null==(e=window.documentPictureInPicture)||!e.window)||!!document.pictureInPictureElement},ir=(e,t)=>new o.y$((n=>{if(!window.IntersectionObserver)return;let r=new IntersectionObserver(((e,t)=>{e.forEach((e=>n.next(e.isIntersecting||rr())))}),{root:null,...t});r.observe(e);let i=(0,o.RB)(document,"visibilitychange").pipe((0,o.UI)((e=>!document.hidden||rr()))).subscribe((e=>n.next(e)));return()=>{r.unobserve(e),i.unsubscribe}})),or=["paused","playing","ready"],ar=["paused","playing","ready"],sr=class{constructor(e){this.subscription=new o.w0,this.videoState=new yn("stopped"),this.representations$=new o.v0([]),this.textTracksManager=new An,this.droppedFramesManager=new nr,this.maxSeekBackTime$=new o.v0(1/0),this.zeroTime$=new o.v0(void 0),this.liveOffset=new Pn,this._dashCb=e=>{var t,n,r,i;switch(e.name){case"buffering":{let t=e.isBuffering;this.params.output.isBuffering$.next(t);break}case"error":this.params.output.error$.next({id:`DashLiveProviderInternal:${e.type}`,category:o.qj.WTF,message:"LiveDashPlayer reported error"});break;case"manifest":{let i=e.manifest,a=[];for(let e of i){let r=null!=(t=e.name)?t:e.index.toString(10),i=null!=(n=In(e.name))?n:(0,o.fh)(e.video),s=e.bitrate/1e3,l={...e.video};if(!i)continue;let c={id:r,quality:i,bitrate:s,size:l};a.push({track:c,representation:e})}this.representations$.next(a),this.params.output.availableVideoTracks$.next(a.map((({track:e})=>e))),"manifest_ready"===(null==(r=this.videoState.getTransition())?void 0:r.to)&&this.videoState.setState("manifest_ready");break}case"qualitySwitch":{let t=e.quality,n=null==(i=this.representations$.getValue().find((({representation:e})=>e===t)))?void 0:i.track;this.params.output.hostname$.next(new URL(t.headerUrl,this.params.source.url).hostname),(0,o.C_)(n)&&this.params.output.currentVideoTrack$.next(n);break}case"bandwidth":{let{size:t,duration:n}=e;this.params.dependencies.throughputEstimator.addRawSpeed(t,n);break}case"index":this.maxSeekBackTime$.next(e.shiftDuration||0),this.zeroTime$.next(e.zeroTime)}},this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.playbackState.getState(),r=this.params.desiredState.playbackState.getTransition(),i=this.params.desiredState.seekState.getState();if(this.log({message:`[syncPlayback] videoState: ${e}; videoTransition: ${JSON.stringify(t)}; desiredPlaybackState: ${n}; seekState: ${JSON.stringify(i)};`}),"stopped"===n)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.dash.destroy(),this.video.removeAttribute("src"),this.video.load(),this.videoState.setState("stopped")));if(t)return;let a=this.params.desiredState.videoTrack.getTransition(),s=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(ar.includes(e)&&(a||s))this.prepare();else if("paused"!==(null==r?void 0:r.to)&&"requested"===i.state&&or.includes(e))this.seek(i.position-this.liveOffset.getTotalPausedTime());else switch(e){case"stopped":return this.videoState.startTransitionTo("manifest_ready"),void this.dash.attachSource(mn(this.params.source.url));case"manifest_ready":this.videoState.startTransitionTo("ready"),this.prepare();break;case"ready":if("paused"===n)this.videoState.setState("paused");else if("playing"===n){this.videoState.startTransitionTo("playing");let e=null==r?void 0:r.from;e&&"ready"===e&&this.dash.catchUp(),this.dash.play()}return;case"playing":return void("paused"===n&&(this.videoState.startTransitionTo("paused"),this.liveOffset.pause(),this.dash.pause()));case"paused":if("playing"===n)if(this.videoState.startTransitionTo("playing"),this.liveOffset.getTotalPausedTime()<this.params.config.maxPausedTime&&this.liveOffset.getTotalOffset()<this.maxSeekBackTime$.getValue())this.liveOffset.resume(),this.dash.play(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3);else{let e=this.liveOffset.getTotalOffset();e>=this.maxSeekBackTime$.getValue()&&(e=0,this.liveOffset.resetTo(e)),this.liveOffset.resume(),this.params.output.position$.next(-e/1e3),this.dash.reinit(mn(this.params.source.url,e))}return;default:return(0,o.vE)(e)}},this.params=e,this.log=this.params.dependencies.logger.createComponentLog("DashLiveProvider");let t=t=>{e.output.error$.next({id:"DashLiveProvider",category:o.qj.WTF,message:"DashLiveProvider internal logic error",thrown:t})};(0,o.TS)(this.videoState.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,type:"start"})))),this.videoState.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,type:"end"}))))).subscribe((({transition:e,type:t})=>{this.log({message:`[videoState change] ${t}: ${JSON.stringify(e)}`})})),this.video=Sn(e.container),this.params.output.element$.next(this.video),this.dash=this.createLiveDashPlayer(),this.params.output.duration$.next(1/0),this.params.output.position$.next(0),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.textTracksManager.connect(this.video,this.params.desiredState,this.params.output);let n=Rn(this.video);this.droppedFramesManager.connect({logger:this.params.dependencies.logger,video:this.video,droppedFramesChecker:this.params.tuning.droppedFramesChecker,isAuto:this.params.desiredState.autoVideoTrackSwitching,playing$:n.playing$,pause$:n.pause$,tracks$:this.representations$.pipe((0,o.UI)((e=>e.map((({track:e})=>e)))))}),this.subscription.add(n.canplay$.subscribe((()=>{var e;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready")}),t)).add(n.pause$.subscribe((()=>{this.videoState.setState("paused")}),t)).add(n.playing$.subscribe((()=>{"applying"===this.params.desiredState.seekState.getState().state&&this.params.output.seekedEvent$.next(),this.videoState.setState("playing")}),t)).add(n.error$.subscribe(this.params.output.error$)).add(this.maxSeekBackTime$.pipe((0,o.qz)(),(0,o.UI)((e=>-e/1e3))).subscribe(this.params.output.duration$)).add((0,o.$e)({zeroTime:this.zeroTime$.pipe((0,o.hX)(o.C_)),position:n.timeUpdate$}).subscribe((({zeroTime:e,position:t})=>this.params.output.liveTime$.next(e+1e3*t)),t)).add(kn(this.video,this.params.desiredState.isLooped,t)).add(Cn(this.video,this.params.desiredState.volume,n.volumeState$,t)).add(n.volumeState$.subscribe(this.params.output.volume$,t)).add(Tn(this.video,this.params.desiredState.playbackRate,n.playbackRateState$,t)).add(n.loadStart$.subscribe(this.params.output.firstBytesEvent$)).add(n.playing$.subscribe(this.params.output.firstFrameEvent$)).add(n.canplay$.subscribe(this.params.output.canplay$)).add(n.inPiP$.subscribe(this.params.output.inPiP$)).add(n.inFullscreen$.subscribe(this.params.output.inFullscreen$)).add(ir(this.video).subscribe(this.params.output.elementVisible$)).add(this.params.desiredState.autoVideoTrackLimits.stateChangeStarted$.subscribe((({to:{max:e}})=>{let t=e&&(0,o.TD)(e);this.dash.setMaxAutoQuality(t),this.params.output.autoVideoTrackLimits$.next({max:e})}))).add(this.videoState.stateChangeEnded$.subscribe((e=>{var t;switch(e.to){case"stopped":this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.desiredState.playbackState.setState("stopped");break;case"manifest_ready":case"ready":"ready"===(null==(t=this.params.desiredState.playbackState.getTransition())?void 0:t.to)&&this.params.desiredState.playbackState.setState("ready");break;case"paused":this.params.desiredState.playbackState.setState("paused");break;case"playing":this.params.desiredState.playbackState.setState("playing");break;default:return(0,o.vE)(e.to)}}),t)).add((0,o.TS)(e.desiredState.playbackState.stateChangeStarted$,e.desiredState.seekState.stateChangeEnded$,e.desiredState.videoTrack.stateChangeStarted$,e.desiredState.autoVideoTrackSwitching.stateChangeStarted$,this.videoState.stateChangeEnded$,this.droppedFramesManager.onDroopedVideoFramesLimit$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0)).subscribe(this.syncPlayback,t))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.droppedFramesManager.destroy(),this.dash.destroy(),this.params.output.element$.next(void 0),xn(this.video)}createLiveDashPlayer(){let e=new tr({videoElement:this.video,videoState:this.videoState,liveOffset:this.liveOffset,config:{maxParallelRequests:this.params.config.maxParallelRequests,minBuffer:this.params.tuning.live.minBuffer,minBufferSegments:this.params.tuning.live.minBufferSegments,lowLatencyMinBuffer:this.params.tuning.live.lowLatencyMinBuffer,lowLatencyMinBufferSegments:this.params.tuning.live.lowLatencyMinBufferSegments,isLiveCatchUpMode:this.params.tuning.live.isLiveCatchUpMode,manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount},playerCallback:this._dashCb,logger:e=>{this.params.dependencies.logger.log({message:String(e),component:"LiveDashPlayer"})}});return e.pause(),e}prepare(){var e,t,n,r,i,a;let s=this.representations$.getValue(),l=null!=(t=null==(e=this.params.desiredState.videoTrack.getTransition())?void 0:e.to)?t:this.params.desiredState.videoTrack.getState(),c=null!=(r=null==(n=this.params.desiredState.autoVideoTrackSwitching.getTransition())?void 0:n.to)?r:this.params.desiredState.autoVideoTrackSwitching.getState(),u=!c&&(0,o.C_)(l)?l:$n(s.map((({track:e})=>e)),{container:{width:this.video.offsetWidth,height:this.video.offsetHeight},throughput:this.params.dependencies.throughputEstimator.throughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,limits:this.params.desiredState.autoVideoTrackLimits.getState(),droppedVideoMaxQualityLimit:this.droppedFramesManager.droppedVideoMaxQualityLimit,abrLogger:this.params.dependencies.abrLogger}),d=null==u?void 0:u.id,p=this.params.desiredState.videoTrack.getTransition(),f=null==(i=this.params.desiredState.videoTrack.getState())?void 0:i.id,h=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(u&&(p||d!==f)&&this.setVideoTrack(u),h&&this.setAutoQuality(c),p||h||d!==f){let e=null==(a=s.find((({track:e})=>e.id===d)))?void 0:a.representation;(0,o.Z3)(e,"Representations missing"),this.dash.startPlay(e,c)}}setVideoTrack(e){var t;let n=null==(t=this.representations$.getValue().find((({track:t})=>t.id===e.id)))?void 0:t.representation;(0,o.Z3)(n,`No such representation ${e.id}`),this.dash.switchByName(n.name),this.params.desiredState.videoTrack.setState(e)}setAutoQuality(e){this.dash.setAutoQualityEnabled(e),this.params.desiredState.autoVideoTrackSwitching.setState(e)}seek(e){this.log({message:`[seek] position: ${e}`}),this.params.output.willSeekEvent$.next();let t=this.params.desiredState.playbackState.getState(),n=this.videoState.getState(),r="paused"===t&&"paused"===n,i=-e,o=i<=this.maxSeekBackTime$.getValue()?i:0;this.params.output.position$.next(e/1e3),this.dash.reinit(mn(this.params.source.url,o)),r&&this.dash.pause(),this.liveOffset.resetTo(o,r)}},lr=(e,t)=>{let n=0;for(let r=0;r<e.length;r++){let i=1e3*e.start(r),o=1e3*e.end(r);i<=t&&t<=o&&(n=o)}return Math.max(n-t,0)},cr=class{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;let n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;let t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){let r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}},ur=class extends cr{constructor(){super(),this.listeners||cr.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}},dr=class{constructor(){Object.defineProperty(this,"signal",{value:new ur,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if("undefined"==typeof document)n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(e){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};function pr(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(s.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(dr.prototype[Symbol.toStringTag]="AbortController",ur.prototype[Symbol.toStringTag]="AbortSignal");var fr,hr,mr=pr({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),gr=mr?function(e){"function"==typeof e&&(e={fetch:e});let{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!pr({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);let i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);let a=t;return{fetch:(e,t)=>{let n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch(e){r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);let i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,vr=mr?gr.fetch:window.fetch,yr=(mr?gr.Request:window.Request,mr?dr:window.AbortController),br=(mr||window.AbortSignal,m(rt(),1)),wr=(e,t)=>{for(let n=0;n<e.length;n++)if(1e3*e.start(n)<=t&&1e3*e.end(n)>t)return!0;return!1},_r=m(qt(),1),Sr="function"!=typeof window.requestIdleCallback||"function"!=typeof window.cancelIdleCallback,xr=Sr?(e,t={})=>{let n=t.timeout||1,r=performance.now();return window.setTimeout((()=>{e({get didTimeout(){return!t.timeout&&performance.now()-r-1>n},timeRemaining(){return Math.max(0,performance.now()-r+1)}})}),1)}:window.requestIdleCallback,Er=(Sr||window.cancelIdleCallback,m(Vt(),1)),kr=!1;try{kr=(0,o.G4)().browser===o.Ln.Safari&&parseInt(null!=(hr=null==(fr=navigator.userAgent.match(/Version\/(\d+)/))?void 0:fr[1])?hr:"",10)<=16}catch(Of){s.error(Of)}var Cr,Tr,Or,Mr,Ar,Pr,Lr,Dr,Rr,Ir,Nr,jr,Br,Fr,Hr,zr,Vr,Ur=class{constructor(e){this.bufferFull$=new o.xQ,this.error$=new o.xQ,this.queue=[],this.currentTask=null,this.destroyed=!1,this.completeTask=()=>{var e;try{if(this.currentTask){let t=null==(e=this.currentTask.signal)?void 0:e.aborted;this.currentTask.callback(!t),this.currentTask=null}this.queue.length&&this.pull()}catch(e){this.error$.next({id:"BufferTaskQueueUnknown",category:o.qj.VIDEO_PIPELINE,message:"Buffer appending or removal failed",thrown:e})}},this.buffer=e,this.buffer.addEventListener("updateend",this.completeTask)}async append(e,t){return(!t||!t.aborted)&&new Promise((n=>{let r={operation:"append",data:e,signal:t,callback:n};this.queue.push(r),this.pull()}))}async remove(e,t,n){return(!n||!n.aborted)&&new Promise((r=>{let i={operation:"remove",from:e,to:t,signal:n,callback:r};this.queue.unshift(i),this.pull()}))}async abort(e){return new Promise((t=>{let n;n=kr&&e?{operation:"safariAbort",init:e,callback:t}:{operation:"abort",callback:t};for(let{callback:e}of this.queue)e(!1);n&&(this.queue=[n]),this.pull()}))}destroy(){this.destroyed=!0,this.buffer.removeEventListener("updateend",this.completeTask),this.queue=[],this.currentTask=null;try{this.buffer.abort()}catch(e){if(!(e instanceof DOMException&&"InvalidStateError"===e.name))throw e}}pull(){var e;if(this.buffer.updating||this.currentTask||this.destroyed)return;let t=this.queue.shift();if(!t)return;if(null!=(e=t.signal)&&e.aborted)return t.callback(!1),void this.pull();this.currentTask=t;let{operation:n}=this.currentTask;try{this.execute(this.currentTask)}catch(e){e instanceof DOMException&&"QuotaExceededError"===e.name&&"append"===n?this.bufferFull$.next(this.currentTask.data.byteLength):e instanceof DOMException&&"InvalidStateError"===e.name||this.error$.next({id:`BufferTaskQueue:${n}`,category:o.qj.VIDEO_PIPELINE,message:"Buffer operation failed",thrown:e}),this.currentTask.callback(!1),this.currentTask=null}this.currentTask&&"abort"===this.currentTask.operation&&this.completeTask()}execute(e){let{operation:t}=e;switch(t){case"append":this.buffer.appendBuffer(e.data);break;case"remove":this.buffer.remove(e.from/1e3,e.to/1e3);break;case"abort":this.buffer.abort();break;case"safariAbort":this.buffer.abort(),this.buffer.appendBuffer(e.init);break;default:(0,o.vE)(t)}}},$r=e=>{let t=0;for(let n=0;n<e.length;n++)t+=e.end(n)-e.start(n);return 1e3*t},Gr=class{constructor(e,t){this.cursor=0,this.source=e,this.boxParser=t,this.children=[];let n=this.readUint32();this.type=this.readString(4),this.size32=n<=e.buffer.byteLength-e.byteOffset?n:NaN;let r=this.size32?this.size32-8:void 0,i=e.byteOffset+this.cursor;this.size64=0,this.usertype=0,this.content=new DataView(e.buffer,i,r),this.children=this.parseChildrenBoxes()}get id(){return this.type}get size(){return this.size32}parseChildrenBoxes(){return[]}scanForBoxes(e){return this.boxParser.parse(e)}readString(e,t="ascii"){let n=new TextDecoder(t).decode(new DataView(this.source.buffer,this.source.byteOffset+this.cursor,e));return this.cursor+=e,n}readUint8(){let e=this.source.getUint8(this.cursor);return this.cursor+=1,e}readUint16(){let e=this.source.getUint16(this.cursor);return this.cursor+=2,e}readUint32(){let e=this.source.getUint32(this.cursor);return this.cursor+=4,e}readUint64(){let e=this.source.getBigInt64(this.cursor);return this.cursor+=8,e}},qr=class extends Gr{},Wr=class extends Gr{constructor(e,t){super(e,t);let n=this.readUint32();this.version=n>>>24,this.flags=16777215&n}},Zr=class extends Wr{constructor(e,t){super(e,t),this.segments=[],this.referenceId=this.readUint32(),this.timescale=this.readUint32(),this.earliestPresentationTime32=this.readUint32(),this.firstOffset32=this.readUint32(),this.earliestPresentationTime64=0,this.firstOffset64=0,this.referenceCount=65535&this.readUint32();for(let e=0;e<this.referenceCount;e++){let e=this.readUint32(),t=e>>>31,n=e<<1>>>1,r=this.readUint32();e=this.readUint32();let i=e>>>28,o=e<<3>>>3;this.segments.push({referenceType:t,referencedSize:n,subsegmentDuration:r,SAPType:i,SAPDeltaTime:o})}}get earliestPresentationTime(){return this.earliestPresentationTime32}get firstOffset(){return this.firstOffset32}},Yr={ftyp:class extends Gr{constructor(e,t){super(e,t),this.compatibleBrands=[],this.majorBrand=this.readString(4),this.minorVersion=this.readUint32();let n=this.size-this.cursor;for(;n;){let e=this.readString(4);this.compatibleBrands.push(e),n-=4}}},moov:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},moof:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mdat:class extends Gr{constructor(e,t){super(e,t),this.data=this.content}},sidx:Zr,trak:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mdia:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},mfhd:class extends Wr{constructor(e,t){super(e,t),this.sequenceNumber=this.readUint32()}},tkhd:class extends Wr{constructor(e,t){super(e,t),this.creationTime=this.readUint32(),this.modificationTime=this.readUint32(),this.trackId=this.readUint32(),this.cursor+=4,this.duration=this.readUint32(),this.cursor+=8,this.layer=this.readUint16(),this.alternateGroup=this.readUint16(),this.cursor+=2,this.cursor+=2,this.matrix=[[this.readUint32(),this.readUint32(),this.readUint32()],[this.readUint32(),this.readUint32(),this.readUint32()],[this.readUint32(),this.readUint32(),this.readUint32()]],this.width=this.readUint32(),this.height=this.readUint32()}},traf:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},tfhd:class extends Wr{constructor(e,t){super(e,t),this.trackId=this.readUint32(),1&this.flags&&(this.baseDataOffset=this.readUint64()),2&this.flags&&(this.sampleDescriptionIndex=this.readUint32()),8&this.flags&&(this.defaultSampleDuration=this.readUint32()),16&this.flags&&(this.defaultSampleSize=this.readUint32()),32&this.flags&&(this.defaultSampleFlags=this.readUint32())}},tfdt:class extends Wr{constructor(e,t){super(e,t),this.baseMediaDecodeTime32=0,this.baseMediaDecodeTime64=BigInt(0),1===this.version?this.baseMediaDecodeTime64=this.readUint64():this.baseMediaDecodeTime32=this.readUint32()}get baseMediaDecodeTime(){return 1===this.version?this.baseMediaDecodeTime64:this.baseMediaDecodeTime32}},trun:class extends Wr{constructor(e,t){super(e,t),this.sampleDuration=[],this.sampleSize=[],this.sampleFlags=[],this.sampleCompositionTimeOffset=[],this.optionalFields=0,this.sampleCount=this.readUint32(),1&this.flags&&(this.dataOffset=this.readUint32()),4&this.flags&&(this.firstSampleFlags=this.readUint32());for(let e=0;e<this.sampleCount;e++)256&this.flags&&this.sampleDuration.push(this.readUint32()),512&this.flags&&this.sampleSize.push(this.readUint32()),1024&this.flags&&this.sampleFlags.push(this.readUint32()),2048&this.flags&&this.sampleCompositionTimeOffset.push(this.readUint32())}},minf:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},sv3d:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},st3d:class extends Wr{constructor(e,t){switch(super(e,t),this.readUint8()){case 0:this.stereoMode=0;break;case 1:this.stereoMode=1;break;case 2:this.stereoMode=2;break;case 3:this.stereoMode=3;break;case 4:this.stereoMode=4}this.cursor+=1}},prhd:class extends Wr{constructor(e,t){super(e,t),this.poseYawDegrees=this.readUint32(),this.posePitchDegrees=this.readUint32(),this.poseRollDegrees=this.readUint32()}},proj:class extends Gr{parseChildrenBoxes(){return this.scanForBoxes(this.content)}},equi:class extends Wr{constructor(e,t){super(e,t),this.projectionBoundsTop=this.readUint32(),this.projectionBoundsBottom=this.readUint32(),this.projectionBoundsLeft=this.readUint32(),this.projectionBoundsRight=this.readUint32()}},uuid:class extends Gr{},unknown:qr},Kr=class e{constructor(e={}){this.options={offset:0,...e}}parse(e){let t=[],n=this.options.offset;for(;n<e.byteLength;)try{let r=new TextDecoder("ascii").decode(new DataView(e.buffer,e.byteOffset+n+4,4)),i=this.createBox(r,new DataView(e.buffer,e.byteOffset+n));if(!i.size)break;t.push(i),n+=i.size}catch(e){break}return t}createBox(t,n){let r=Yr[t];return r?new r(n,new e):new qr(n,new e)}},Qr=class{constructor(e){this.index={},this.indexBoxLevel(e)}indexBoxLevel(e){e.forEach((e=>{var t,n;null!=(t=this.index)[n=e.type]||(t[n]=[]),this.index[e.type].push(e),e.children.length>0&&this.indexBoxLevel(e.children)}))}find(e){return this.index[e]&&this.index[e][0]?this.index[e][0]:null}findAll(e){return this.index[e]||[]}},Xr=new TextDecoder("ascii"),Jr={validateData:e=>"ftyp"===Xr.decode(new DataView(e.buffer,e.byteOffset+4,4)),parseInit:e=>{let t={is3dVideo:!1,stereoMode:0,projectionType:1,projectionData:{pose:{yaw:0,pitch:0,roll:0},bounds:{top:0,bottom:0,left:0,right:0}}},n=(new Kr).parse(e),r=new Qr(n);if(r.find("sv3d")){t.is3dVideo=!0;let e=r.find("st3d");e&&(t.stereoMode=e.stereoMode);let n=r.find("prhd");n&&(t.projectionData.pose.yaw=n.poseYawDegrees,t.projectionData.pose.pitch=n.posePitchDegrees,t.projectionData.pose.roll=n.poseRollDegrees);let i=r.find("equi");i&&(t.projectionData.bounds.top=i.projectionBoundsTop,t.projectionData.bounds.right=i.projectionBoundsRight,t.projectionData.bounds.bottom=i.projectionBoundsBottom,t.projectionData.bounds.left=i.projectionBoundsLeft)}return t},getIndexRange:()=>{},parseSegments:e=>{let t=new Zr(e,new Kr),n=t.earliestPresentationTime/t.timescale*1e3,r=e.byteOffset+e.byteLength+t.firstOffset;return t.segments.map((e=>{if(0!==e.referenceType)throw new Error("Unsupported multilevel sidx");let i=e.subsegmentDuration/t.timescale*1e3,o={status:"none",time:{from:n,to:n+i},byte:{from:r,to:r+e.referencedSize-1}};return n+=i,r+=e.referencedSize,o}))},parseFeedableSegmentChunk:(e,t)=>{let n=(new Kr).parse(e),r=new Qr(n),i=r.findAll("moof"),o=t?r.findAll("uuid"):r.findAll("mdat");if(!o.length||!i.length)return null;let a=i[0],s=o[o.length-1],l=a.source.byteOffset,c=s.source.byteOffset-a.source.byteOffset+s.size;return new DataView(e.buffer,l,c)},getSegmentEndTime:(e,t)=>{let n=(new Kr).parse(e),r=new Qr(n).findAll("traf"),i=r[r.length-1].children.find((e=>"tfhd"===e.type)),o=r[r.length-1].children.find((e=>"tfdt"===e.type)),a=r[r.length-1].children.find((e=>"trun"===e.type)),s=0;return s=a.sampleDuration.length?a.sampleDuration.reduce(((e,t)=>e+t),0):i.defaultSampleDuration*a.sampleCount,(Number(o.baseMediaDecodeTime)+s)/t*1e3}},ei={440786851:{type:"master"},17030:{type:"uint"},17143:{type:"uint"},17138:{type:"uint"},17139:{type:"uint"},17026:{type:"string"},17031:{type:"uint"},17029:{type:"uint"},236:{type:"binary"},408125543:{type:"master"},290298740:{type:"master"},19899:{type:"master"},21419:{type:"binary"},21420:{type:"uint"},357149030:{type:"master"},2807729:{type:"uint"},17545:{type:"float"},374648427:{type:"master"},174:{type:"master"},224:{type:"master"},30320:{type:"master"},30321:{type:"uint"},30322:{type:"master"},272869232:{type:"master"},524531317:{type:"master"},231:{type:"uint"},22612:{type:"master"},22743:{type:"uint"},167:{type:"uint"},171:{type:"uint"},163:{type:"binary"},160:{type:"master"},175:{type:"binary"},423732329:{type:"master"},307544935:{type:"master"},475249515:{type:"master"},187:{type:"master"},179:{type:"uint"},183:{type:"master"},247:{type:"uint"},241:{type:"uint"},240:{type:"uint"},178:{type:"uint"},21368:{type:"uint"},234:{type:"uint"},219:{type:"master"},150:{type:"uint"}},ti=e=>{let t=e.getUint8(0),n=0;128&t?n=1:64&t?n=2:32&t?n=3:16&t&&(n=4);let r=ni(e,n),i=r in ei,o=i?ei[r].type:"binary",a=e.getUint8(n),s=0;128&a?s=1:64&a?s=2:32&a?s=3:16&a?s=4:8&a?s=5:4&a?s=6:2&a?s=7:1&a&&(s=8);let l,c=new DataView(e.buffer,e.byteOffset+n+1,s-1),u=(a&255>>s)*2**(8*(s-1))+ni(c),d=n+s;return l=d+u>e.byteLength?new DataView(e.buffer,e.byteOffset+d):new DataView(e.buffer,e.byteOffset+d,u),{tag:i?r:"0x"+r.toString(16).toUpperCase(),type:o,tagHeaderSize:d,tagSize:d+u,value:l,valueSize:u}},ni=(e,t=e.byteLength)=>{switch(t){case 1:return e.getUint8(0);case 2:return e.getUint16(0);case 3:return 65536*e.getUint8(0)+e.getUint16(1);case 4:return e.getUint32(0);case 5:return e.getUint8(0)*2**32+e.getUint32(1);case 6:return e.getUint16(0)*2**32+e.getUint32(2);case 7:{let t=281474976710656*e.getUint8(0)+4294967296*e.getUint16(1)+e.getUint32(3);if(Number.isSafeInteger(t))return t}case 8:throw new ReferenceError("Int64 is not supported")}return 0},ri=(e,t)=>{switch(t){case"int":return e.getInt8(0);case"uint":return ni(e);case"float":return 4===e.byteLength?e.getFloat32(0):e.getFloat64(0);case"string":return new TextDecoder("ascii").decode(e);case"utf8":return new TextDecoder("utf-8").decode(e);case"date":return new Date(Date.UTC(2001,0)+e.getInt8(0)).getTime();case"master":case"binary":return e;default:(0,o.vE)(t)}},ii=(e,t)=>{let n=0;for(;n<e.byteLength;){let r=new DataView(e.buffer,e.byteOffset+n),i=ti(r);if(!t(i))return;"master"===i.type&&ii(i.value,t),n=i.value.byteOffset-e.byteOffset+i.valueSize}},oi=[357149030,290298740,374648427,174,224,30320,30321,30322,272869232,524531317,475249515,423732329,307544935],ai=[231,22612,22743,167,171,163,160,175],si={validateData:e=>{if(440786851!==e.getUint32(0))return!1;let t,n,r,i=ti(e);return ii(i.value,(({tag:e,type:i,value:o})=>(17143===e?t=ri(o,i):17026===e?n=ri(o,i):17029===e&&(r=ri(o,i)),!0))),(void 0===t||t<=1)&&void 0!==n&&"webm"===n&&(void 0===r||r<=2)},parseInit:e=>{let t,n,r,i,a,s,l=!1,c=!1,u=!1,d=!1;return ii(e,(({tag:e,type:o,value:p,valueSize:f})=>{if(21419===e){let e=ri(p,o);s=ni(e)}else 21420!==e&&(s=void 0);return 408125543===e?(t=p.byteOffset,n=p.byteOffset+f):357149030===e?l=!0:290298740===e?c=!0:2807729===e?r=ri(p,o):17545===e?i=ri(p,o):21420===e&&475249515===s?a=ri(p,o):374648427===e?ii(p,(({tag:e,type:t,value:n})=>30321!==e||(d=1===ri(n,t),!1))):l&&c&&oi.includes(e)&&(u=!0),!u})),(0,o.Z3)(t,"Failed to parse webm Segment start"),(0,o.Z3)(n,"Failed to parse webm Segment end"),(0,o.Z3)(i,"Failed to parse webm Segment duration"),r=null!=r?r:1e6,{segmentStart:Math.round(t/1e9*r*1e3),segmentEnd:Math.round(n/1e9*r*1e3),timeScale:r,segmentDuration:Math.round(i/1e9*r*1e3),cuesSeekPosition:a,is3dVideo:d,stereoMode:0,projectionType:1,projectionData:{pose:{yaw:0,pitch:0,roll:0},bounds:{top:0,bottom:0,left:0,right:0}}}},getIndexRange:e=>{if((0,o.SG)(e.cuesSeekPosition))return;let t=e.segmentStart+e.cuesSeekPosition;return{from:t,to:t+1048576}},parseSegments:(e,t)=>{let n,r=!1,i=!1,a=e=>(0,o.C_)(e.time)&&(0,o.C_)(e.position),s=[];return ii(e,(({tag:e,type:t,value:o})=>{switch(e){case 475249515:r=!0;break;case 187:n&&a(n)&&s.push(n),n={};break;case 179:n&&(n.time=ri(o,t));break;case 183:break;case 241:n&&(n.position=ri(o,t));break;default:r&&oi.includes(e)&&(i=!0)}return!(r&&i)})),n&&a(n)&&s.push(n),s.map(((e,n)=>{let{time:r,position:i}=e,o=s[n+1];return{status:"none",time:{from:r,to:o?o.time:t.segmentDuration},byte:{from:t.segmentStart+i,to:o?t.segmentStart+o.position-1:t.segmentEnd-1}}}))},parseFeedableSegmentChunk:e=>{let t=0,n=!1;try{ii(e,(r=>524531317===r.tag?r.tagSize<=e.byteLength?(t=r.tagSize,!1):(t+=r.tagHeaderSize,!0):!!ai.includes(r.tag)&&(t+r.tagSize<=e.byteLength&&(t+=r.tagSize,n||(n=[163,160,175].includes(r.tag))),!0)))}catch(e){}return t>0&&t<=e.byteLength&&n?new DataView(e.buffer,e.byteOffset,t):null}},li=m(rn(),1),ci=e=>{if(e.includes("/")){let t=e.split("/");return parseInt(t[0])/parseInt(t[1])}return parseFloat(e)},ui=e=>{if(!e.startsWith("P"))return;let t=(e,t)=>{let n=e?parseFloat(e.replace(",",".")):NaN;return(isNaN(n)?0:n)*t},n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/.exec(e),r="-"===(null==n?void 0:n[1])?-1:1;return 24*t(null==n?void 0:n[5],r)*60*60*1e3+60*t(null==n?void 0:n[6],r)*60*1e3+60*t(null==n?void 0:n[7],r)*1e3+1e3*t(null==n?void 0:n[8],r)},di=(e,t)=>{let n=e;n=(0,li.default)(n,"$$","$");let r={RepresentationID:t.representationId,Number:t.segmentNumber,Bandwidth:t.bandwidth,Time:t.segmentTime};for(let[e,t]of Object.entries(r)){let r=new RegExp(`\\$${e}(?:%0(\\d+)d)?\\$`,"g");n=(0,li.default)(n,r,((e,n)=>(0,o.SG)(t)?e:(0,o.SG)(n)?t:t.padStart(parseInt(n,10),"0")))}return n},pi=m(qt(),1),fi=({id:e,width:t,height:n,bitrate:r,fps:i,quality:a})=>{var s;let l=null!=(s=a?In(a):void 0)?s:(0,o.fh)({width:t,height:n});return l&&{id:e,quality:l,bitrate:r,size:{width:t,height:n},fps:i}},hi=({id:e,bitrate:t})=>({id:e,bitrate:t}),mi=(e,t,n)=>{var r;let i=t.indexOf(n);return null!=(r=(0,pi.default)(e,Math.round(e.length*i/t.length)))?r:(0,pi.default)(e,-1)},gi=({id:e,lang:t,label:n,url:r,isAuto:i})=>({id:e,url:r,isAuto:i,type:"internal",language:t,label:n}),vi=e=>"url"in e,yi=e=>"template"===e.type,bi=e=>e instanceof DOMException&&("AbortError"===e.name||20===e.code),wi=class{constructor(e,t,n,r,{fetcher:i,tuning:a,getCurrentPosition:s,isActiveLowLatency:l,compatibilityMode:c=!1,manifest:u}){switch(this.currentSegmentLength$=new o.v0(0),this.onLastSegment$=new o.v0(!1),this.fullyBuffered$=new o.v0(!1),this.playingRepresentation$=new o.v0(void 0),this.playingRepresentationInit$=new o.v0(void 0),this.error$=new o.xQ,this.gaps=[],this.subscription=new o.w0,this.allInitsLoaded=!1,this.activeSegments=new Set,this.downloadAbortController=new yr,this.destroyAbortController=new yr,this.bufferLimit=1/0,this.failedDownloads=0,this.isLive=!1,this.liveUpdateSegmentIndex=0,this.liveInitialAdditionalOffset=0,this.isSeekingLive=!1,this.index=0,this.loadByteRangeSegmentsTimeoutId=0,this.startWith=(0,o.S2)(this.destroyAbortController.signal,async function*(e){let t=this.representations.get(e);(0,o.Z3)(t,`Cannot find representation ${e}`),this.playingRepresentationId=e,this.downloadingRepresentationId=e,this.sourceBuffer=this.mediaSource.addSourceBuffer(`${t.mime}; codecs="${t.codecs}"`),this.sourceBufferTaskQueue=new Ur(this.sourceBuffer),this.subscription.add((0,o.RB)(this.sourceBuffer,"updateend").subscribe((()=>{this.checkEjectedSegments(),this.maintain()}),(e=>this.error$.next({id:"SegmentEjection",category:o.qj.WTF,message:"Error when trying to clear segments ejected by browser",thrown:e})))),this.subscription.add((0,o.RB)(this.sourceBuffer,"error").subscribe((()=>this.error$.next({id:"SourceBuffer",category:o.qj.VIDEO_PIPELINE,message:"SourceBuffer Error event fired"})))),this.subscription.add(this.sourceBufferTaskQueue.bufferFull$.subscribe((e=>{if(!this.sourceBuffer)return;let t=Math.min(this.bufferLimit,.8*$r(this.sourceBuffer.buffered));this.bufferLimit=t,this.pruneBuffer(this.getCurrentPosition(),e)}))),this.subscription.add(this.sourceBufferTaskQueue.error$.subscribe((e=>this.error$.next(e)))),yield this.loadInit(t,"high",!0);let n=this.initData.get(t.id),r=this.segments.get(t.id),i=this.parsedInitData.get(t.id);(0,o.Z3)(n,"No init buffer for starting representation"),(0,o.Z3)(r,"No segments for starting representation"),n instanceof ArrayBuffer&&(this.searchGaps(r,t),yield this.sourceBufferTaskQueue.append(n,this.destroyAbortController.signal),this.playingRepresentation$.next(this.playingRepresentationId),this.playingRepresentationInit$.next(i))}.bind(this)),this.switchTo=(0,o.S2)(this.destroyAbortController.signal,async function*(e){if(e===this.downloadingRepresentationId||e===this.switchingToRepresentationId)return;this.switchingToRepresentationId=e;let t=this.representations.get(e);(0,o.Z3)(t,`No such representation ${e}`);let n=this.segments.get(e),r=this.initData.get(e);if((0,o.SG)(r)||(0,o.SG)(n)?yield this.loadInit(t,"high",!1):r instanceof Promise&&(yield r),n=this.segments.get(e),(0,o.Z3)(n,"No segments for starting representation"),r=this.initData.get(e),!(r&&r instanceof ArrayBuffer&&this.sourceBuffer))return;this.switchingToRepresentationId=void 0,this.downloadingRepresentationId=e,this.abort(),yield this.sourceBufferTaskQueue.append(r,this.downloadAbortController.signal);let i=this.getCurrentPosition();(0,o.C_)(i)&&(this.isLive||(n.forEach((e=>e.status="none")),this.pruneBuffer(i,1/0,!0)),this.maintain(i))}.bind(this)),this.seekLive=(0,o.S2)(this.destroyAbortController.signal,async function*(e){var t;if(this.isSeekingLive=!0,!this.downloadingRepresentationId||!e)return;for(let t of this.representations.keys()){let n=e.find((e=>e.id===t));n&&this.representations.set(t,n);let r=this.representations.get(t);if(!r||!yi(r.segmentReference))return;let i=this.getActualLiveStartingSegments(r.segmentReference);this.segments.set(r.id,i)}let n=null!=(t=this.switchingToRepresentationId)?t:this.downloadingRepresentationId,r=this.representations.get(n);(0,o.Z3)(r);let i=this.segments.get(n);(0,o.Z3)(i,"No segments for starting representation");let a=this.initData.get(n);if((0,o.Z3)(a,"No init buffer for starting representation"),!(a instanceof ArrayBuffer))return;let s=this.getDebugBufferState();this.liveUpdateSegmentIndex=0,this.abort(),s&&(yield this.sourceBufferTaskQueue.remove(1e3*s.from,1e3*s.to,this.destroyAbortController.signal)),this.searchGaps(i,r),yield this.sourceBufferTaskQueue.append(a,this.destroyAbortController.signal),this.isSeekingLive=!1}.bind(this)),this.fetcher=i,this.tuning=a,this.compatibilityMode=c,this.forwardBufferTarget=a.dash.forwardBufferTargetAuto,this.getCurrentPosition=s,this.isActiveLowLatency=l,this.isLive=!(null==u||!u.dynamic),this.container=n,n){case"mp4":this.containerParser=Jr;break;case"webm":this.containerParser=si;break;default:(0,o.vE)(n)}this.initData=new Map(r.map((e=>[e.id,null]))),this.segments=new Map,this.parsedInitData=new Map,this.representations=new Map(r.map((e=>[e.id,e]))),this.kind=e,this.mediaSource=t,this.sourceBuffer=null}abort(){for(let e of this.activeSegments)this.abortSegment(e.segment);this.activeSegments.clear(),this.downloadAbortController.abort(),this.downloadAbortController=new yr,this.abortBuffer()}maintain(e=this.getCurrentPosition()){var t,n;if((0,o.SG)(e)||(0,o.SG)(this.downloadingRepresentationId)||(0,o.SG)(this.playingRepresentationId)||(0,o.SG)(this.sourceBuffer)||this.isSeekingLive)return;let r=this.representations.get(this.downloadingRepresentationId),i=this.segments.get(this.downloadingRepresentationId);if((0,o.Z3)(r,`No such representation ${this.downloadingRepresentationId}`),!i)return;let a=i.find((t=>e>=t.time.from&&e<t.time.to));this.currentSegmentLength$.next((null!=(t=null==a?void 0:a.time.to)?t:0)-(null!=(n=null==a?void 0:a.time.from)?n:0));let s=e;if(this.playingRepresentationId!==this.downloadingRepresentationId){let t=lr(this.sourceBuffer.buffered,e),n=a?a.time.to+100:-1/0;a&&a.time.to-e<this.tuning.dash.maxSegmentDurationLeftToSelectNextSegment&&t>=a.time.to-e+100&&(s=n)}if(isFinite(this.bufferLimit)&&$r(this.sourceBuffer.buffered)>=this.bufferLimit){let t=lr(this.sourceBuffer.buffered,e),n=Math.min(this.forwardBufferTarget,this.bufferLimit)*this.tuning.dash.minSafeBufferThreshold;return void this.pruneBuffer(e,1/0,t<n)}let l=[];if(!this.activeSegments.size&&(l=this.selectForwardBufferSegments(i,r.segmentReference.type,s),l.length)){let e="auto";if(this.tuning.dash.useFetchPriorityHints&&a)if(l.includes(a))e="high";else{let t=(0,_r.default)(l,0);t&&t.time.from-a.time.to>=this.forwardBufferTarget/2&&(e="low")}this.loadSegments(l,r,e)}(!this.preloadOnly&&!this.allInitsLoaded&&a&&"fed"===a.status&&!l.length&&lr(this.sourceBuffer.buffered,e)>3e3||this.isActiveLowLatency())&&this.loadNextInit();let c=(0,_r.default)(i,-1);c&&"fed"===c.status&&(this.fullyBuffered$.next(!0),this.isLive||this.onLastSegment$.next(a===c))}searchGaps(e,t){this.gaps=[];let n=0,r=this.isLive?this.liveInitialAdditionalOffset:0;for(let i of e)Math.trunc(i.time.from-n)>0&&this.gaps.push({representation:t.id,from:n,to:i.time.from+r}),n=i.time.to;(0,o.C_)(t.duration)&&t.duration-n>0&&this.gaps.push({representation:t.id,from:n,to:t.duration})}getActualLiveStartingSegments(e){let t=e.segments,n=this.isActiveLowLatency()?this.tuning.dashCmafLive.lowLatency.maxTargetOffset:this.tuning.dashCmafLive.maxActiveLiveOffset,r=[],i=0,o=t.length-1;do{r.unshift(t[o]),i+=t[o].time.to-t[o].time.from,o--}while(i<n&&o>=0);return this.liveInitialAdditionalOffset=i-n,this.isActiveLowLatency()?[r[0]]:r}getLiveSegmentsToLoadState(e){let t=null==e?void 0:e.representations[this.kind].find((e=>e.id===this.downloadingRepresentationId));if(!t)return;let n=this.segments.get(t.id);return null!=n&&n.length?{from:n[0].time.from,to:n[n.length-1].time.to}:void 0}updateLive(e){var t,n,r,i;for(let o of null!=(t=null==e?void 0:e.representations[this.kind].values())?t:[]){if(!o||!yi(o.segmentReference))return;let e=o.segmentReference.segments.map((e=>({...e,status:"none",size:void 0}))),t=null!=(n=this.segments.get(o.id))?n:[],a=null!=(i=null==(r=(0,_r.default)(t,-1))?void 0:r.time.to)?i:0,s=null==e?void 0:e.findIndex((e=>Math.floor(a)>=Math.floor(e.time.from)&&Math.floor(a)<=Math.floor(e.time.to)));if(-1===s){this.liveUpdateSegmentIndex=0;let e=this.getActualLiveStartingSegments(o.segmentReference);this.segments.set(o.id,e)}else{let n=e.slice(s+1);this.segments.set(o.id,[...t,...n])}}}updateLowLatencyLive(e){var t;if(this.isActiveLowLatency())for(let n of this.representations.values()){let r=n.segmentReference;if(!yi(r))return;let i=Math.round(e.segment.time.to*r.timescale/1e3).toString(10),o=di(r.segmentTemplateUrl,{segmentTime:i}),a=null!=(t=this.segments.get(n.id))?t:[],s=a.find((t=>Math.floor(t.time.from)===Math.floor(e.segment.time.from)));s&&(s.time.to=e.segment.time.to),a.find((t=>Math.floor(t.time.from)===Math.floor(e.segment.time.to)))||a.push({status:"none",time:{from:e.segment.time.to,to:1/0},url:o})}}findSegmentStartTime(e){var t,n,r;let i=null!=(n=null!=(t=this.switchingToRepresentationId)?t:this.downloadingRepresentationId)?n:this.playingRepresentationId;if(!i)return;let o=this.segments.get(i);if(!o)return;let a=o.find((t=>t.time.from<=e&&t.time.to>=e));return null!=(r=null==a?void 0:a.time.from)?r:void 0}setTarget(e){this.forwardBufferTarget=e}setPreloadOnly(e){this.preloadOnly=e}destroy(){var e;if(this.initData.clear(),this.segments.clear(),this.parsedInitData.clear(),this.representations.clear(),null==(e=this.sourceBufferTaskQueue)||e.destroy(),this.gapDetectionIdleCallback&&window.cancelIdleCallback&&window.cancelIdleCallback(this.gapDetectionIdleCallback),this.initLoadIdleCallback&&window.cancelIdleCallback&&window.cancelIdleCallback(this.initLoadIdleCallback),this.subscription.unsubscribe(),this.sourceBuffer){"open"===this.mediaSource.readyState&&this.abortBuffer();try{this.mediaSource.removeSourceBuffer(this.sourceBuffer)}catch(e){if(!(e instanceof DOMException&&"NotFoundError"===e.name))throw e}}this.sourceBuffer=null,this.downloadAbortController.abort(),this.destroyAbortController.abort(),window.clearTimeout(this.loadByteRangeSegmentsTimeoutId)}selectForwardBufferSegments(e,t,n){return this.isLive?this.selectForwardBufferSegmentsLive(e,n):this.selectForwardBufferSegmentsRecord(e,t,n)}selectForwardBufferSegmentsLive(e,t){let n=e.findIndex((e=>t>=e.time.from&&t<e.time.to));return this.playingRepresentationId!==this.downloadingRepresentationId&&(this.liveUpdateSegmentIndex=n),this.liveUpdateSegmentIndex<e.length?e.slice(this.liveUpdateSegmentIndex++):[]}selectForwardBufferSegmentsRecord(e,t,n){let r=e.findIndex((({status:e,time:{from:t,to:r}},i)=>{let o=t>n||t<=n&&r>=n||0===i&&0===n,a=Math.min(this.forwardBufferTarget,this.bufferLimit),s=this.preloadOnly&&t<=n+a||r<=n+a;return("none"===e||"partially_ejected"===e&&o&&s&&this.sourceBuffer&&!wr(this.sourceBuffer.buffered,n))&&o&&s}));if(-1===r)return[];if("byteRange"!==t)return e.slice(r,r+1);let i=e,o=0,a=0,s=[],l=this.preloadOnly?0:this.tuning.dash.segmentRequestSize,c=this.preloadOnly?this.forwardBufferTarget:0;for(let e=r;e<i.length&&(o<=l||a<=c);e++){let t=i[e];if(o+=t.byte.to+1-t.byte.from,a+=t.time.to+1-t.time.from,"none"!==t.status&&"partially_ejected"!==t.status)break;s.push(t)}return s}async loadSegments(e,t,n="auto"){"template"===t.segmentReference.type?await this.loadTemplateSegment(e[0],t,n):await this.loadByteRangeSegments(e,t,n)}async loadTemplateSegment(e,t,n="auto"){e.status="downloading";let r={segment:e,loadedBytes:0,feedingBytes:0,fedBytes:0,representationId:t.id};this.activeSegments.add(r);let{range:i,url:a,signal:s,onProgress:l,onProgressTasks:c}=this.prepareTemplateFetchSegmentParams(e,t);this.failedDownloads&&s&&(await(0,o.S2)(s,async function*(){let e=(0,o.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>setTimeout(t,e)))}.bind(this))(),s.aborted&&this.abortActiveSegments([e]));try{let e=await this.fetcher.fetch(a,{range:i,signal:s,onProgress:l,priority:n,isLowLatency:this.isActiveLowLatency()});if(!e)return;let o=new DataView(e);if(this.isActiveLowLatency()){let e=t.segmentReference.timescale;r.segment.time.to=this.containerParser.getSegmentEndTime(o,e)}l&&r.feedingBytes&&c?await Promise.all(c):await this.sourceBufferTaskQueue.append(o,s),r.segment.status="downloaded",this.onSegmentFullyAppended(r,t.id),this.failedDownloads=0}catch(t){this.abortActiveSegments([e]),bi(t)||this.failedDownloads++}}async loadByteRangeSegments(e,t,n="auto"){if(!e.length)return;for(let n of e)n.status="downloading",this.activeSegments.add({segment:n,loadedBytes:0,feedingBytes:0,fedBytes:0,representationId:t.id});let{range:r,url:i,signal:a,onProgress:s}=this.prepareByteRangeFetchSegmentParams(e,t);this.failedDownloads&&a&&(await(0,o.S2)(a,async function*(){let e=(0,o.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>{this.loadByteRangeSegmentsTimeoutId=window.setTimeout(t,e),(0,o.RB)(window,"online").pipe((0,o.IH)()).subscribe((()=>{t(),window.clearTimeout(this.loadByteRangeSegmentsTimeoutId)}))}))}.bind(this))(),a.aborted&&this.abortActiveSegments(e));try{await this.fetcher.fetch(i,{range:r,onProgress:s,signal:a,priority:n}),this.failedDownloads=0}catch(t){this.abortActiveSegments(e),bi(t)||this.failedDownloads++}}prepareByteRangeFetchSegmentParams(e,t){if(yi(t.segmentReference))throw new Error("Representation is not byte range type");let n=t.segmentReference.url,r={from:(0,_r.default)(e,0).byte.from,to:(0,_r.default)(e,-1).byte.to},{signal:i}=this.downloadAbortController;return{url:n,range:r,signal:i,onProgress:(e,n)=>{if(!i.aborted)try{this.onSomeByteRangesDataLoaded({dataView:e,loaded:n,signal:i,onSegmentAppendFailed:()=>this.abort(),globalFrom:r?r.from:0,representationId:t.id})}catch(e){this.error$.next({id:"SegmentFeeding",category:o.qj.VIDEO_PIPELINE,message:"Error when feeding segments",thrown:e})}}}}prepareTemplateFetchSegmentParams(e,t){if(!yi(t.segmentReference))throw new Error("Representation is not template type");let n=new URL(e.url,t.segmentReference.baseUrl);this.isActiveLowLatency()&&n.searchParams.set("low-latency","yes");let r=n.toString(),{signal:i}=this.downloadAbortController,a=[],s=this.isActiveLowLatency()||this.tuning.dash.enableSubSegmentBufferFeeding&&this.liveUpdateSegmentIndex<3?(e,n)=>{if(!i.aborted)try{let r=this.onSomeTemplateDataLoaded({dataView:e,loaded:n,signal:i,onSegmentAppendFailed:()=>this.abort(),representationId:t.id});a.push(r)}catch(e){this.error$.next({id:"SegmentFeeding",category:o.qj.VIDEO_PIPELINE,message:"Error when feeding segments",thrown:e})}}:void 0;return{url:r,signal:i,onProgress:s,onProgressTasks:a}}abortActiveSegments(e){for(let t of this.activeSegments)e.includes(t.segment)&&this.abortSegment(t.segment)}async onSomeTemplateDataLoaded({dataView:e,representationId:t,loaded:n,onSegmentAppendFailed:r,signal:i}){if(this.activeSegments.size&&this.representations.get(t))for(let o of this.activeSegments){let{segment:a}=o;if(o.representationId===t){if(i.aborted){r();continue}if(o.loadedBytes=n,o.loadedBytes>o.feedingBytes){let t=new DataView(e.buffer,e.byteOffset+o.feedingBytes,o.loadedBytes-o.feedingBytes),n=this.containerParser.parseFeedableSegmentChunk(t,this.isLive);null!=n&&n.byteLength&&(a.status="partially_fed",o.feedingBytes+=n.byteLength,await this.sourceBufferTaskQueue.append(n),o.fedBytes+=n.byteLength)}}}}onSomeByteRangesDataLoaded({dataView:e,representationId:t,globalFrom:n,loaded:r,signal:i,onSegmentAppendFailed:o}){if(!this.activeSegments.size)return;let a=this.representations.get(t);if(!a)return;let s=a.segmentReference.type,l=e.byteLength;for(let a of this.activeSegments){let{segment:c}=a,u="byteRange"===s,d=u?c.byte.to-c.byte.from+1:l;if(a.representationId!==t||u&&!(c.byte.from>=n&&c.byte.to<n+e.byteLength))continue;if(i.aborted){o();continue}let p=u?c.byte.from-n:0,f=p<r,h=(u?c.byte.to-n:e.byteLength)<=r;if("downloading"===c.status&&f&&h){c.status="downloaded";let n=new DataView(e.buffer,e.byteOffset+p,d);this.sourceBufferTaskQueue.append(n,i).then((e=>e&&!i.aborted?this.onSegmentFullyAppended(a,t):o()))}else if(this.tuning.dash.enableSubSegmentBufferFeeding&&f&&(a.loadedBytes=Math.min(d,r-p),a.loadedBytes>a.feedingBytes)){let n=new DataView(e.buffer,e.byteOffset+p+a.feedingBytes,a.loadedBytes-a.feedingBytes),r=a.loadedBytes===d?n:this.containerParser.parseFeedableSegmentChunk(n);null!=r&&r.byteLength&&(c.status="partially_fed",a.feedingBytes+=r.byteLength,this.sourceBufferTaskQueue.append(r,i).then((e=>{if(i.aborted)o();else if(e)a.fedBytes+=r.byteLength,a.fedBytes===d&&this.onSegmentFullyAppended(a,t);else{if(a.feedingBytes<d)return;o()}})))}}}onSegmentFullyAppended(e,t){var n;this.playingRepresentationId=t,this.playingRepresentation$.next(this.playingRepresentationId),this.playingRepresentationInit$.next(this.parsedInitData.get(this.playingRepresentationId)),e.segment.status="fed",vi(e.segment)&&(e.segment.size=e.fedBytes);for(let r of this.representations.values())if(r.id!==t)for(let t of null!=(n=this.segments.get(r.id))?n:[])"fed"===t.status&&t.time.from===e.segment.time.from&&t.time.to===e.segment.time.to&&(t.status="none");this.isActiveLowLatency()&&this.updateLowLatencyLive(e),this.activeSegments.delete(e),this.detectGapsWhenIdle(t,[e.segment])}abortSegment(e){this.tuning.useDashAbortPartiallyFedSegment&&"partially_fed"===e.status||"partially_ejected"===e.status?(this.sourceBufferTaskQueue.remove(e.time.from,e.time.to).then((()=>e.status="none")),e.status="partially_ejected"):e.status="none";for(let t of this.activeSegments.values())if(t.segment===e){this.activeSegments.delete(t);break}}loadNextInit(){if(this.allInitsLoaded||this.initLoadIdleCallback)return;let e=null,t=!1;for(let[n,r]of this.initData.entries()){t||(t=r instanceof Promise),null===r&&(e=n)}if(!e)return void(this.allInitsLoaded=!0);if(t)return;let n=this.representations.get(e);n&&(this.initLoadIdleCallback=xr((()=>(0,Er.default)(this.loadInit(n,"low",!1),(()=>this.initLoadIdleCallback=null)))))}async loadInit(e,t="auto",n=!1){let r=this.tuning.dash.useFetchPriorityHints?t:"auto",i=(!n&&this.failedDownloads>0?(0,o.S2)(this.destroyAbortController.signal,async function*(){let e=(0,o.SV)(this.failedDownloads,this.tuning.downloadBackoff);yield new Promise((t=>setTimeout(t,e)))}.bind(this))():Promise.resolve()).then((()=>this.fetcher.fetchRepresentation(e.segmentReference,this.containerParser,r))).then((async t=>{if(!t)return;let{init:n,dataView:r,segments:i}=t,o=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);this.initData.set(e.id,o);let a=i;this.isLive&&yi(e.segmentReference)&&(a=this.getActualLiveStartingSegments(e.segmentReference)),(!this.isLive||!this.segments.has(e.id))&&this.segments.set(e.id,a),n&&this.parsedInitData.set(e.id,n)})).then((()=>this.failedDownloads=0),(t=>{this.initData.set(e.id,null),n&&this.error$.next({id:"LoadInits",category:o.qj.WTF,message:"loadInit threw",thrown:t})}));return this.initData.set(e.id,i),i}async pruneBuffer(e,t,n=!1){if(!this.sourceBuffer||!this.playingRepresentationId||(0,o.SG)(e)||this.sourceBuffer.updating)return!1;let r=0,i=1/0,a=-1/0,s=!1,l=e=>{var t;i=Math.min(i,e.time.from),a=Math.max(a,e.time.to);let n=vi(e)?null!=(t=e.size)?t:0:e.byte.to-e.byte.from;r+=n};for(let n of this.segments.values())for(let i of n){if(i.time.to>=e-this.tuning.dash.bufferPruningSafeZone||r>=t)break;"fed"===i.status&&l(i)}if(s=isFinite(i)&&isFinite(a),!s){r=0,i=1/0,a=-1/0;for(let n of this.segments.values())for(let i of n){if(i.time.from<e+Math.min(this.forwardBufferTarget,this.bufferLimit)||r>t)break;"fed"===i.status&&l(i)}}if(s=isFinite(i)&&isFinite(a),!s)for(let e=0;e<this.sourceBuffer.buffered.length;e++){let t=1e3*this.sourceBuffer.buffered.start(e),n=1e3*this.sourceBuffer.buffered.end(e);for(let e of this.segments.values())for(let r of e)if("none"===r.status&&Math.round(r.time.from)<=Math.round(t)&&Math.round(r.time.to)>=Math.round(n)){i=t,a=n;break}}if(s=isFinite(i)&&isFinite(a),!s&&n){r=0,i=1/0,a=-1/0;let t=Math.min(this.forwardBufferTarget,this.bufferLimit)*this.tuning.dash.minSafeBufferThreshold;for(let n of this.segments.values())for(let r of n)r.time.from>e+t&&"fed"===r.status&&l(r)}return s=isFinite(i)&&isFinite(a),!!s&&this.sourceBufferTaskQueue.remove(i,a)}abortBuffer(){if(!this.sourceBuffer||"open"!==this.mediaSource.readyState)return;let e=this.playingRepresentationId&&this.initData.get(this.playingRepresentationId),t=e instanceof ArrayBuffer?e:void 0;this.sourceBufferTaskQueue.abort(t)}getDebugBufferState(){if(this.sourceBuffer&&this.sourceBuffer.buffered.length)return{from:this.sourceBuffer.buffered.start(0),to:this.sourceBuffer.buffered.end(this.sourceBuffer.buffered.length-1)}}detectGaps(e,t){if(this.sourceBuffer)for(let n of t){let t={representation:e,from:n.time.from,to:n.time.to};for(let e=0;e<this.sourceBuffer.buffered.length;e++){let r=1e3*this.sourceBuffer.buffered.start(e),i=1e3*this.sourceBuffer.buffered.end(e);if(!(i<=n.time.from||r>=n.time.to)){if(r<=n.time.from&&i>=n.time.to){t=void 0;break}i>n.time.from&&i<n.time.to&&(t.from=i),r<n.time.to&&r>n.time.from&&(t.to=r)}}t&&t.to-t.from>1&&!this.gaps.some((e=>t&&e.from===t.from&&e.to===t.to))&&this.gaps.push(t)}}detectGapsWhenIdle(e,t){this.gapDetectionIdleCallback||(this.gapDetectionIdleCallback=xr((()=>{try{this.detectGaps(e,t)}catch(e){this.error$.next({id:"GapDetection",category:o.qj.WTF,message:"detectGaps threw",thrown:e})}finally{this.gapDetectionIdleCallback=null}})))}checkEjectedSegments(){if((0,o.SG)(this.sourceBuffer)||(0,o.SG)(this.playingRepresentationId))return;let e=[];for(let t=0;t<this.sourceBuffer.buffered.length;t++){let n=Math.round(1e3*this.sourceBuffer.buffered.start(t)),r=Math.round(1e3*this.sourceBuffer.buffered.end(t));e.push({from:n,to:r})}for(let t of this.segments.values())for(let n of t){let{status:t}=n;if("fed"!==t&&"partially_ejected"!==t)continue;let r=Math.floor(n.time.from),i=Math.ceil(n.time.to),o=e.some((e=>e.from-1<=r&&e.to+1>=i)),a=e.filter((e=>r>=e.from-1&&r<=e.to+1||i>=e.from-1&&i<=e.to+1));o||(1===a.length||this.gaps.some((e=>e.from===n.time.from||e.to===n.time.to))?n.status="partially_ejected":n.status="none")}}},_i=e=>{let t=new URL(e);return t.searchParams.set("quic","1"),t.toString()},Si=class{constructor({throughputEstimator:e,requestQuic:t,compatibilityMode:n=!1}){this.lastConnectionType$=new o.v0(void 0),this.lastConnectionReused$=new o.v0(void 0),this.lastRequestFirstBytes$=new o.v0(void 0),this.abortAllController=new yr,this.subscription=new o.w0,this.fetchManifest=(0,o.S2)(this.abortAllController.signal,async function*(e){let t=e;this.requestQuic&&(t=_i(t));let n=yield vr(t,{signal:this.abortAllController.signal}).catch(xi);return n?(this.onHeadersReceived(n.headers),n.text()):null}.bind(this)),this.fetch=(0,o.S2)(this.abortAllController.signal,async function*(e,{rangeMethod:t=(this.compatibilityMode?0:1),range:n,onProgress:r,priority:i="auto",signal:a,measureThroughput:s=!0,isLowLatency:l=!1}={}){var c,u;let d=e,p=new Headers;if(n)switch(t){case 0:p.append("Range",`bytes=${n.from}-${n.to}`);break;case 1:{let e=new URL(d,location.href);e.searchParams.append("bytes",`${n.from}-${n.to}`),d=e.toString();break}default:(0,o.vE)(t)}this.requestQuic&&(d=_i(d));let f,h=this.abortAllController.signal;if(a){let e=new yr;if(f=(0,o.TS)((0,o.RB)(this.abortAllController.signal,"abort"),(0,o.RB)(a,"abort")).subscribe((()=>{try{e.abort()}catch(e){xi(e)}})),this.abortAllController.signal.aborted||a.aborted)try{e.abort()}catch(e){xi(e)}h=e.signal}let m=(0,o.zO)(),g=yield vr(d,{priority:i,headers:p,signal:h}).catch(xi),v=(0,o.zO)();if(!g)return null==f||f.unsubscribe(),null;if(null==(c=this.throughputEstimator)||c.addRawRtt(v-m),!g.ok||!g.body)return null==f||f.unsubscribe(),Promise.reject(new Error(`Fetch error ${g.status}: ${g.statusText}`));if(this.onHeadersReceived(g.headers),!r&&!s)return null==f||f.unsubscribe(),g.arrayBuffer();let[y,b]=g.body.tee(),w=y.getReader();s&&(null==(u=this.throughputEstimator)||u.trackStream(b,l));let _=0,S=new Uint8Array(0),x=!1,E=e=>{null==f||f.unsubscribe(),x=!0,xi(e)},k=(0,o.S2)(h,async function*({done:e,value:t}){if(0===_&&this.lastRequestFirstBytes$.next((0,o.zO)()-m),h.aborted)null==f||f.unsubscribe();else if(!e&&t){let e=new Uint8Array(S.length+t.length);e.set(S),e.set(t,S.length),S=e,_+=t.byteLength,null==r||r(new DataView(S.buffer),_),yield null==w?void 0:w.read().then(k,E)}}.bind(this));return yield null==w?void 0:w.read().then(k,E),null==f||f.unsubscribe(),x?null:S.buffer}.bind(this)),this.fetchByteRangeRepresentation=(0,o.S2)(this.abortAllController.signal,async function*(e,t,n){var r;if("byteRange"!==e.type)return null;let i,o,{from:a,to:s}=e.initRange,l=a,c=s,u=!1;e.indexRange&&(i=e.indexRange.from,o=e.indexRange.to,u=s+1===i,u&&(l=Math.min(i,a),c=Math.max(o,s))),l=Math.min(l,0);let d=yield this.fetch(e.url,{range:{from:l,to:c},priority:n,measureThroughput:!1});if(!d)return null;let p=new DataView(d,a-l,s-l+1);if(!t.validateData(p))throw new Error("Invalid media file");let f,h=t.parseInit(p),m=null!=(r=e.indexRange)?r:t.getIndexRange(h);if(!m)throw new ReferenceError("No way to load representation index");if(u)f=new DataView(d,m.from-l,m.to-m.from+1);else{let t=yield this.fetch(e.url,{range:m,priority:n,measureThroughput:!1});if(!t)return null;f=new DataView(t)}let g=t.parseSegments(f,h,m);return{init:h,dataView:new DataView(d),segments:g}}.bind(this)),this.fetchTemplateRepresentation=(0,o.S2)(this.abortAllController.signal,async function*(e,t){if("template"!==e.type)return null;let n=new URL(e.initUrl,e.baseUrl).toString(),r=yield this.fetch(n,{priority:t,measureThroughput:!1});return r?{init:null,segments:e.segments.map((e=>({...e,status:"none",size:void 0}))),dataView:new DataView(r)}:null}.bind(this)),this.throughputEstimator=e,this.requestQuic=t,this.compatibilityMode=n}onHeadersReceived(e){let{type:t,reused:n}=(e=>{var t;let n=e.get("X-Delivery-Type"),r=e.get("X-Reused");return{type:null===n?"http1":null!=n?n:void 0,reused:null===r?void 0:null!=(t={1:!0,0:!1}[r])?t:void 0}})(e);this.lastConnectionType$.next(t),this.lastConnectionReused$.next(n)}async fetchRepresentation(e,t,n="auto"){var r,i;let{type:a}=e;switch(a){case"byteRange":return null!=(r=await this.fetchByteRangeRepresentation(e,t,n))?r:null;case"template":return null!=(i=await this.fetchTemplateRepresentation(e,n))?i:null;default:(0,o.vE)(a)}}destroy(){this.abortAllController.abort(),this.subscription.unsubscribe()}},xi=e=>{if(!bi(e))throw e},Ei=(e,t,n)=>n*t+(1-n)*e,ki=(e,t)=>e.reduce(((e,t)=>e+t),0)/t,Ci=class{constructor(e){var t;this.prevReported=void 0,this.pastMeasures=[],this.takenMeasures=0,this.measuresCursor=0,this.params=e,this.pastMeasures=Array(e.deviationDepth),this.smoothed=this.prevReported=e.initial,this.smoothed$=new o.v0(e.initial),this.debounced$=new o.v0(e.initial);let n=null!=(t=e.label)?t:"value"+Math.random().toString(16).substring(2,6);this.rawSeries$=new zn(`raw_${n}`),this.smoothedSeries$=new zn(`smoothed_${n}`),this.reportedSeries$=new zn(`reported_${n}`),this.rawSeries$.next(e.initial),this.smoothedSeries$.next(e.initial),this.reportedSeries$.next(e.initial)}next(e){let t=0,n=0;for(let e=0;e<this.pastMeasures.length;e++)void 0!==this.pastMeasures[e]&&(t+=(this.pastMeasures[e]-this.smoothed)**2,n++);this.takenMeasures=n,t/=n;let r=Math.sqrt(t),i=this.smoothed+this.params.deviationFactor*r,a=this.smoothed-this.params.deviationFactor*r;this.pastMeasures[this.measuresCursor]=e,this.measuresCursor=(this.measuresCursor+1)%this.pastMeasures.length,this.rawSeries$.next(e),this.updateSmoothedValue(e),this.smoothed$.next(this.smoothed),this.smoothedSeries$.next(this.smoothed),!(this.smoothed>i||this.smoothed<a)&&((0,o.SG)(this.prevReported)||Math.abs(this.smoothed-this.prevReported)/this.prevReported>=this.params.changeThreshold)&&(this.prevReported=this.smoothed,this.debounced$.next(this.smoothed),this.reportedSeries$.next(this.smoothed))}},Ti=class extends Ci{constructor(e){super(e),this.slow=this.fast=e.initial}updateSmoothedValue(e){this.slow=Ei(this.slow,e,this.params.emaAlphaSlow),this.fast=Ei(this.fast,e,this.params.emaAlphaFast);let t=this.params.fastDirection>0?Math.max:Math.min;this.smoothed=t(this.slow,this.fast)}},Oi=class extends Ci{constructor(e){super(e),this.emaSmoothed=e.initial}updateSmoothedValue(e){let t=ki(this.pastMeasures,this.takenMeasures);this.emaSmoothed=Ei(this.emaSmoothed,e,this.params.emaAlpha);let n=((e,t,n,r)=>{let i=0,o=n,a=ki(e,t),s=t<r?t:r;for(let t=0;t<s;t++)e[o]>a?i++:i--,o=(e.length+o-1)%e.length;return Math.abs(i)===s})(this.pastMeasures,this.takenMeasures,this.measuresCursor-1,this.params.basisTrendChangeCount);this.smoothed=n?this.emaSmoothed:t}},Mi=class extends Ci{constructor(e){super(e),this.furtherValues=[],this.currentTopExtremumValue=0,this.extremumInterval=e.extremumInterval}next(e){this.currentTopExtremumValue<=e?(this.currentTopExtremumValue=e,this.furtherValues=[]):this.furtherValues.length===this.extremumInterval?(super.next(this.currentTopExtremumValue),this.currentTopExtremumValue=e,this.furtherValues=[]):this.furtherValues.push(e)}updateSmoothedValue(e){this.smoothed=this.smoothed?Ei(this.smoothed,e,this.params.emaAlpha):e}},Ai=class{static getSmoothedValue(e,t,n){return"TwoEma"===n.type?new Ti({initial:e,emaAlphaSlow:n.emaAlphaSlow,emaAlphaFast:n.emaAlphaFast,changeThreshold:n.changeThreshold,fastDirection:t,deviationDepth:n.deviationDepth,deviationFactor:n.deviationFactor,label:"throughput"}):new Oi({initial:e,emaAlpha:n.emaAlpha,basisTrendChangeCount:n.basisTrendChangeCount,changeThreshold:n.changeThreshold,deviationDepth:n.deviationDepth,deviationFactor:n.deviationFactor,label:"throughput"})}static getLiveEstimatedDelaySmoothedValue(e,t){return new Mi({initial:e,label:"liveEdgeDelay",...t})}},Pi=()=>window.ManagedMediaSource||window.MediaSource,Li=()=>{var e,t;return!(!window.ManagedMediaSource||null==(t=null==(e=window.ManagedSourceBuffer)?void 0:e.prototype)||!t.appendBuffer)},Di=["timeupdate","progress","play","seeked","stalled","waiting"],Ri=class{constructor(e){this.element=null,this.manifestUrlString="",this.source=null,this.manifest=null,this.subscription=new o.w0,this.representationSubscription=new o.w0,this.state$=new yn("none"),this.currentVideoRepresentation$=new o.v0(void 0),this.currentVideoRepresentationInit$=new o.v0(void 0),this.currentVideoSegmentLength$=new o.v0(0),this.currentAudioSegmentLength$=new o.v0(0),this.error$=new o.xQ,this.lastConnectionType$=new o.v0(void 0),this.lastConnectionReused$=new o.v0(void 0),this.lastRequestFirstBytes$=new o.v0(void 0),this.isLive$=new o.v0(!1),this.liveDuration$=new o.v0(0),this.liveAvailabilityStartTime$=new o.v0(void 0),this.bufferLength$=new o.v0(0),this.liveLoadBufferLength$=new o.v0(0),this.livePositionFromPlayer$=new o.v0(0),this.timeInWaiting=0,this.isActiveLowLatency=!1,this.isUpdatingLive=!1,this.isJumpGapAfterSeekLive=!1,this.liveLastSeekOffset=0,this.forceEnded$=new o.xQ,this.gapWatchdogActive=!1,this.destroyController=new yr,this.initManifest=(0,o.S2)(this.destroyController.signal,async function*(e,t,n){var r;this.element=e,this.manifestUrlString=mn(t,n,2),this.state$.startTransitionTo("manifest_ready"),this.manifest=yield this.updateManifest(),null!=(r=this.manifest)&&r.representations.video.length?this.state$.setState("manifest_ready"):this.error$.next({id:"NoRepresentations",category:o.qj.PARSER,message:"No playable video representations"})}.bind(this)),this.updateManifest=(0,o.S2)(this.destroyController.signal,async function*(){var e;let t,n=yield this.fetcher.fetchManifest(this.manifestUrlString).catch((e=>{!this.manifest&&!this.bufferLength$.getValue()&&this.error$.next({id:"LoadManifest",category:o.qj.NETWORK,message:"Failed to load manifest",thrown:e})}));if(!n)return null;try{t=((e,t)=>{var n,r,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C,T,O,M,A,P,L,D,R,I,N,j,B,F,H,z,V,U,$;let G,q={video:[],audio:[],text:[]},W=(new DOMParser).parseFromString(e,"application/xml").children[0],Z=W.getElementsByTagName("Period")[0],Y=null!=(i=null==(r=null==(n=W.querySelector("BaseURL"))?void 0:n.textContent)?void 0:r.trim())?i:"",K=Z.children,Q="dynamic"===W.getAttribute("type"),X=W.getAttribute("availabilityStartTime"),J=X?new Date(X).getTime():void 0,ee=W.getAttribute("mediaPresentationDuration"),te=Z.getAttribute("duration"),ne=W.getElementsByTagName("vk:Attrs")[0],re=null==ne?void 0:ne.getElementsByTagName("vk:XPlaybackDuration")[0].textContent;if(ee)G=ui(ee);else if(te){let e=ui(te);(0,o.C_)(e)&&(G=e)}else re&&(G=parseInt(re,10));let ie=0,oe=null!=(s=null==(a=W.getAttribute("profiles"))?void 0:a.split(","))?s:[],ae=oe.includes("urn:webm:dash:profile:webm-on-demand:2012")||oe.includes("urn:mpeg:dash:profile:webm-on-demand:2012")?"webm":"mp4";for(let e of K){let n=e.getAttribute("mimeType"),r=e.getAttribute("codecs"),i=null!=(l=e.getAttribute("contentType"))?l:null==n?void 0:n.split("/")[0],a=null!=(u=null==(c=e.getAttribute("profiles"))?void 0:c.split(","))?u:[],s=e.querySelectorAll("Representation"),W=e.querySelector("SegmentTemplate");if("text"!==i)for(let l of s){let s,c=null!=(h=l.getAttribute("mimeType"))?h:n,u=null!=(g=null!=(m=l.getAttribute("codecs"))?m:r)?g:"",d=null!=(y=null!=(v=l.getAttribute("contentType"))?v:null==c?void 0:c.split("/")[0])?y:i,p=null!=(w=null==(b=e.getAttribute("profiles"))?void 0:b.split(","))?w:[],f=parseInt(null!=(_=l.getAttribute("width"))?_:"",10),Z=parseInt(null!=(S=l.getAttribute("height"))?S:"",10),K=parseInt(null!=(x=l.getAttribute("bandwidth"))?x:"",10)/1e3,Q=null!=(E=l.getAttribute("frameRate"))?E:"",X=null!=(k=l.getAttribute("quality"))?k:void 0,J=Q?ci(Q):void 0,ee=`${null!=(C=l.getAttribute("id"))?C:(ie++).toString(10)}@${"video"===d?`${Z}p`:"audio"===d?`${K}Kbps`:u}`,te=null!=(M=null==(O=null==(T=l.querySelector("BaseURL"))?void 0:T.textContent)?void 0:O.trim())?M:"",ne=new URL(te||Y,t).toString(),re=[...oe,...a,...p],ae=l.querySelector("SegmentBase"),se=null!=(A=l.querySelector("SegmentTemplate"))?A:W;if(ae){let e=null!=(L=null==(P=l.querySelector("SegmentBase Initialization"))?void 0:P.getAttribute("range"))?L:"",[t,n]=e.split("-").map((e=>parseInt(e,10))),r={from:t,to:n},i=null==(D=l.querySelector("SegmentBase"))?void 0:D.getAttribute("indexRange"),[o,a]=i?i.split("-").map((e=>parseInt(e,10))):[];s={type:"byteRange",url:ne,initRange:r,indexRange:i?{from:o,to:a}:void 0}}else{if(!se)throw new ReferenceError("Unknown MPD segment referencing type");{let e={representationId:null!=(R=l.getAttribute("id"))?R:void 0,bandwidth:null!=(I=l.getAttribute("bandwidth"))?I:void 0},t=parseInt(null!=(N=se.getAttribute("timescale"))?N:"",10),n=null!=(j=se.getAttribute("initialization"))?j:"",r=se.getAttribute("media"),i=null!=(F=parseInt(null!=(B=se.getAttribute("startNumber"))?B:"",10))?F:1,a=di(n,e);if(!r)throw new ReferenceError("No media attribute in SegmentTemplate");let c=null!=(H=se.querySelectorAll("SegmentTimeline S"))?H:[],u=[],d=0,p="",f=0;if(c.length){let n=i,o=0;for(let i of c){let a=parseInt(null!=(z=i.getAttribute("d"))?z:"",10),s=parseInt(null!=(V=i.getAttribute("r"))?V:"",10)||0,l=parseInt(null!=(U=i.getAttribute("t"))?U:"",10);o=Number.isFinite(l)?l:o;let c=a/t*1e3,p=o/t*1e3;for(let t=0;t<s+1;t++){let i=di(r,{...e,segmentNumber:n.toString(10),segmentTime:(o+t*a).toString(10)}),s=(null!=p?p:0)+t*c,l=s+c;n++,u.push({time:{from:s,to:l},url:i})}o+=(s+1)*a,d+=(s+1)*c}f=o/t*1e3,p=di(r,{...e,segmentNumber:n.toString(10),segmentTime:o.toString(10)})}else if((0,o.C_)(G)){let n=parseInt(null!=($=se.getAttribute("duration"))?$:"",10)/t*1e3,i=Math.ceil(G/n),o=0;for(let t=1;t<i;t++){let i=di(r,{...e,segmentNumber:t.toString(10),segmentTime:o.toString(10)});u.push({time:{from:o,to:o+n},url:i}),o+=n}f=o,p=di(r,{...e,segmentNumber:i.toString(10),segmentTime:o.toString(10)})}s={type:"template",baseUrl:ne,segmentTemplateUrl:r,initUrl:a,totalSegmentsDurationMs:d,segments:u,nextSegmentBeyondManifest:{time:{from:f,to:1/0},url:p},timescale:t}}}if(!d||!c)continue;let le={video:"video",audio:"audio",text:"text"}[d];le&&q[le].push({id:ee,kind:le,segmentReference:s,profiles:re,duration:G,bitrate:K,mime:c,codecs:u,width:f,height:Z,fps:J,quality:X})}else for(let n of s){let r=n.getAttribute("id")||"",i=e.getAttribute("lang"),o=e.getAttribute("label"),a=null!=(f=null==(p=null==(d=n.querySelector("BaseURL"))?void 0:d.textContent)?void 0:p.trim())?f:"",s=new URL(a||Y,t).toString(),l=r.includes("_auto");q.text.push({id:r,lang:i,label:o,isAuto:l,kind:"text",url:s})}}return{dynamic:Q,liveAvailabilityStartTime:J,duration:G,container:ae,representations:q}})(null!=n?n:"",this.manifestUrlString)}catch(e){this.error$.next({id:"ManifestParsing",category:o.qj.PARSER,message:"Failed to parse MPD manifest",thrown:e})}if(!t)return null;let r=({kind:e,mime:t,codecs:n})=>{var r,i,o,a;return!!(null!=(i=null==(r=this.element)?void 0:r.canPlayType)&&i.call(r,t)&&null!=(a=null==(o=Pi())?void 0:o.isTypeSupported)&&a.call(o,`${t}; codecs="${n}"`)||"text"===e)};return t.dynamic&&this.isLive$.getValue()!==t.dynamic&&(this.isLive$.next(t.dynamic),this.liveDuration$.getValue()!==t.duration&&this.liveDuration$.next(-1*(null!=(e=t.duration)?e:0)/1e3),this.liveAvailabilityStartTime$.getValue()!==t.liveAvailabilityStartTime&&this.liveAvailabilityStartTime$.next(t.liveAvailabilityStartTime)),{...t,representations:(0,br.default)(Object.entries(t.representations).map((([e,t])=>[e,t.filter(r)])))}}.bind(this)),this.initRepresentations=(0,o.S2)(this.destroyController.signal,async function*(e,t,n){var r;(0,o.Z3)(this.manifest),(0,o.Z3)(this.element),this.representationSubscription.unsubscribe(),this.state$.startTransitionTo("representations_ready");let i=e=>{this.representationSubscription.add((0,o.RB)(e,"error").pipe((0,o.hX)((e=>{var t;return!(null==(t=this.element)||!t.played.length)}))).subscribe((e=>{this.error$.next({id:"VideoSource",category:o.qj.VIDEO_PIPELINE,message:"Unexpected video source error",thrown:e})})))};this.source=this.tuning.useManagedMediaSource&&window.ManagedMediaSource?new ManagedMediaSource:new MediaSource;let a=document.createElement("source");if(i(a),a.src=URL.createObjectURL(this.source),this.element.appendChild(a),this.tuning.useManagedMediaSource&&Li())if(n){let e=document.createElement("source");i(e),e.type="application/x-mpegurl",e.src=n.url,this.element.appendChild(e)}else this.element.disableRemotePlayback=!0;this.isActiveLowLatency=this.isLive$.getValue()&&this.tuning.dashCmafLive.lowLatency.isActive;let s={fetcher:this.fetcher,tuning:this.tuning,getCurrentPosition:()=>this.element?1e3*this.element.currentTime:void 0,isActiveLowLatency:()=>this.isActiveLowLatency,manifest:this.manifest};if(this.videoBufferManager=new wi("video",this.source,this.manifest.container,this.manifest.representations.video,s),this.bufferManagers=[this.videoBufferManager],(0,o.C_)(t)&&(this.audioBufferManager=new wi("audio",this.source,this.manifest.container,this.manifest.representations.audio,s),this.bufferManagers.push(this.audioBufferManager)),this.representationSubscription.add(this.fetcher.lastConnectionType$.subscribe(this.lastConnectionType$)),this.representationSubscription.add(this.fetcher.lastConnectionReused$.subscribe(this.lastConnectionReused$)),this.representationSubscription.add(this.fetcher.lastRequestFirstBytes$.subscribe(this.lastRequestFirstBytes$)),this.representationSubscription.add((0,o.FG)(1e3).subscribe((e=>{var t;if(null!=(t=this.element)&&t.paused){let e=gn(this.manifestUrlString,2);this.manifestUrlString=mn(this.manifestUrlString,e+1e3,2)}}))),this.representationSubscription.add((0,o.TS)(...Di.filter((e=>"waiting"!==e)).map((e=>(0,o.RB)(this.element,e)))).pipe((0,o.UI)((e=>this.element?lr(this.element.buffered,1e3*this.element.currentTime):0)),(0,o.qz)(),(0,o.hX)((e=>!!e)),(0,o.bw)((e=>{var t;null==(t=this.stallWatchdogSubscription)||t.unsubscribe(),this.timeInWaiting=0}))).subscribe(this.bufferLength$)),this.isLive$.getValue()){this.representationSubscription.add(this.bufferLength$.pipe((0,o.hX)((e=>this.isActiveLowLatency&&!!e))).subscribe((e=>this.liveEstimatedDelay.next(e)))),this.representationSubscription.add(this.liveEstimatedDelay.smoothed$.subscribe((e=>{if(!this.isActiveLowLatency)return;let t=this.tuning.dashCmafLive.lowLatency.maxTargetOffset,n=this.tuning.dashCmafLive.lowLatency.maxTargetOffsetDeviation,r=this.tuning.dashCmafLive.lowLatency.playbackCatchupSpeedup,i=e-t,o=1+Math.sign(i)*r;Math.abs(i)<n?o=1:Math.abs(i)>2*n&&(o=1+Math.sign(i)*r*2),((e,t)=>{e&&e.playbackRate!==t&&(e.playbackRate=t)})(this.element,o)}))),this.representationSubscription.add(this.bufferLength$.subscribe((e=>{var t,n;let r=0;if(e){let e=1e3*(null!=(n=null==(t=this.element)?void 0:t.currentTime)?n:0);r=Math.min(...this.bufferManagers.map((t=>{var n,r;return null!=(r=null==(n=t.getLiveSegmentsToLoadState(this.manifest))?void 0:n.to)?r:e})))-e}this.liveLoadBufferLength$.getValue()!==r&&this.liveLoadBufferLength$.next(r)})));let e=0;this.representationSubscription.add((0,o.$e)({liveLoadBufferLength:this.liveLoadBufferLength$,bufferLength:this.bufferLength$}).pipe((0,o.P2)(1e3)).subscribe((async({liveLoadBufferLength:t,bufferLength:n})=>{if((0,o.Z3)(this.element),this.isUpdatingLive)return;let r=this.element.playbackRate,i=gn(this.manifestUrlString,2),a=1e3*Math.abs(this.livePositionFromPlayer$.getValue()),s=Math.min(a,this.tuning.dashCmafLive.normalizedTargetMinBufferSize*r),l=this.tuning.dashCmafLive.normalizedActualBufferOffset*r,c=this.tuning.dashCmafLive.normalizedLiveMinBufferSize*r,u=this.isActiveLowLatency?n:t,d=3;if(this.isActiveLowLatency?d=0:u<s+c&&u>=s?d=1:0!==i&&u<s&&(d=2),isFinite(t)&&(e=t>e?t:e),2===d||1===d){let n,o=e-(s+l),a=this.normolizeLiveOffset(Math.trunc(i+o/r)),c=Math.abs(a-i);n=!t||c<=this.tuning.dashCmafLive.offsetCalculationError?i:a>0&&c>this.tuning.dashCmafLive.offsetCalculationError?a:0,this.manifestUrlString=mn(this.manifestUrlString,n,2)}3!==d&&0!==d&&(e=0,this.updateLive())})))}let l=(0,o.TS)(...this.bufferManagers.map((e=>e.fullyBuffered$))).pipe((0,o.UI)((()=>this.bufferManagers.every((e=>e.fullyBuffered$.getValue()))))),c=(0,o.TS)(...this.bufferManagers.map((e=>e.onLastSegment$))).pipe((0,o.UI)((()=>this.bufferManagers.some((e=>e.onLastSegment$.getValue())))));this.representationSubscription.add((0,o.TS)(this.forceEnded$,(0,o.$e)({allBuffersFull:l,someBufferEnded:c}).pipe((0,o.hX)((({allBuffersFull:e,someBufferEnded:t})=>e&&t)))).subscribe((()=>{var e;if(this.source&&"open"===this.source.readyState&&Array.from(this.source.sourceBuffers).every((e=>!e.updating)))try{null==(e=this.source)||e.endOfStream()}catch(e){this.error$.next({id:"EndOfStream",category:o.qj.VIDEO_PIPELINE,message:"Failed to end MediaSource stream",thrown:e})}}))),this.representationSubscription.add((0,o.TS)(...this.bufferManagers.map((e=>e.error$))).subscribe(this.error$)),this.representationSubscription.add(this.videoBufferManager.playingRepresentation$.subscribe(this.currentVideoRepresentation$)),this.subscription.add(this.videoBufferManager.playingRepresentationInit$.subscribe(this.currentVideoRepresentationInit$)),this.subscription.add(this.videoBufferManager.currentSegmentLength$.subscribe(this.currentVideoSegmentLength$)),this.audioBufferManager&&this.subscription.add(this.audioBufferManager.currentSegmentLength$.subscribe(this.currentAudioSegmentLength$)),"open"!==this.source.readyState&&(yield new Promise((e=>{var t;return null==(t=this.source)?void 0:t.addEventListener("sourceopen",e)})));let u=null!=(r=this.manifest.duration)?r:0,d=(e,t)=>{var n;return Math.max(e,null!=(n=t.duration)?n:0)},p=this.manifest.representations.audio.reduce(d,u),f=this.manifest.representations.video.reduce(d,u);(p||f)&&(this.source.duration=Math.max(p,f)/1e3),this.audioBufferManager&&(0,o.C_)(t)?yield Promise.all([this.videoBufferManager.startWith(e),this.audioBufferManager.startWith(t)]):yield this.videoBufferManager.startWith(e),this.state$.setState("representations_ready")}.bind(this)),this.tick=()=>{var e,t;if(!this.element||!this.videoBufferManager)return;let n=1e3*this.element.currentTime;this.videoBufferManager.maintain(n),null==(e=this.audioBufferManager)||e.maintain(n),(this.videoBufferManager.gaps.length||null!=(t=this.audioBufferManager)&&t.gaps.length)&&!this.gapWatchdogActive&&(this.gapWatchdogActive=!0,this.gapWatchdogSubscription=(0,o.FG)(this.tuning.gapWatchdogInterval).subscribe((()=>this.jumpGap()),(e=>{this.error$.next({id:"GapWatchdog",category:o.qj.WTF,message:"Error handling gaps",thrown:e})})),this.subscription.add(this.gapWatchdogSubscription))},this.throughputEstimator=e.throughputEstimator,this.tuning=e.tuning,this.fetcher=new Si({throughputEstimator:this.throughputEstimator,requestQuic:this.tuning.requestQuick,compatibilityMode:e.compatibilityMode}),this.liveEstimatedDelay=Ai.getLiveEstimatedDelaySmoothedValue(0,{...e.tuning.dashCmafLive.lowLatency.delayEstimator})}async seekLive(e){var t,n,r,i;(0,o.Z3)(this.element);let a=this.normolizeLiveOffset(e);this.isActiveLowLatency=this.tuning.dashCmafLive.lowLatency.isActive&&0===a,this.liveLastSeekOffset=a,this.manifestUrlString=mn(this.manifestUrlString,a,2),this.manifest=await this.updateManifest(),this.manifest&&(this.isJumpGapAfterSeekLive=!0,await(null==(n=this.videoBufferManager)?void 0:n.seekLive(null==(t=this.manifest)?void 0:t.representations.video)),await(null==(i=this.audioBufferManager)?void 0:i.seekLive(null==(r=this.manifest)?void 0:r.representations.audio)))}initBuffer(){(0,o.Z3)(this.element),this.state$.setState("running"),this.subscription.add((0,o.TS)(...Di.map((e=>(0,o.RB)(this.element,e))),(0,o.RB)(window,"online")).subscribe((()=>this.tick()),(e=>{this.error$.next({id:"DashVKPlayer",category:o.qj.WTF,message:"Internal logic error",thrown:e})}))),this.subscription.add((0,o.RB)(this.element,"progress").subscribe((()=>{this.element&&2===this.element.readyState&&!this.element.seeking&&(this.element.currentTime=this.element.currentTime)}))),this.subscription.add((0,o.RB)(this.element,"waiting").subscribe((()=>{var e;this.element&&2===this.element.readyState&&!this.element.seeking&&wr(this.element.buffered,1e3*this.element.currentTime)&&(this.element.currentTime=this.element.currentTime);null==(e=this.stallWatchdogSubscription)||e.unsubscribe(),this.stallWatchdogSubscription=(0,o.FG)(1e3).subscribe((()=>{if(this.element){if(this.timeInWaiting+=1e3,this.timeInWaiting>=this.tuning.dash.crashOnStallTimeout)throw new Error(`Stall timeout exceeded: ${this.tuning.dash.crashOnStallTimeout} ms`);this.isLive$.getValue()&&this.seekLive(this.liveLastSeekOffset)}}),(e=>{this.error$.next({id:"StallWatchdogCallback",category:o.qj.FATAL,message:"Can't restore DASH after stall.",thrown:e})})),this.subscription.add(this.stallWatchdogSubscription)}))),this.tick()}async switchRepresentation(e,t){let n={video:this.videoBufferManager,audio:this.audioBufferManager,text:null}[e];return null==n?void 0:n.switchTo(t)}seek(e,t){var n,r,i,a,s;let l;(0,o.Z3)(this.element),(0,o.Z3)(this.videoBufferManager),l=t||1e3*this.element.duration<=this.tuning.dashSeekInSegmentDurationThreshold||Math.abs(1e3*this.element.currentTime-e)<=this.tuning.dashSeekInSegmentAlwaysSeekDelta?e:Math.max(null!=(n=this.videoBufferManager.findSegmentStartTime(e))?n:e,null!=(i=null==(r=this.audioBufferManager)?void 0:r.findSegmentStartTime(e))?i:e),wr(this.element.buffered,l)||(this.videoBufferManager.abort(),null==(a=this.audioBufferManager)||a.abort()),this.videoBufferManager.maintain(l),null==(s=this.audioBufferManager)||s.maintain(l),this.element.currentTime=l/1e3}stop(){var e,t,n;null==(e=this.element)||e.querySelectorAll("source").forEach((e=>e.remove())),this.element=null,this.source=null,this.manifest=null,this.currentVideoRepresentation$.next(void 0),null==(t=this.videoBufferManager)||t.destroy(),this.videoBufferManager=null,null==(n=this.audioBufferManager)||n.destroy(),this.audioBufferManager=null,this.bufferManagers=[],this.state$.setState("none")}setBufferTarget(e){for(let t of this.bufferManagers)t.setTarget(e)}getRepresentations(){var e;return null==(e=this.manifest)?void 0:e.representations}setPreloadOnly(e){for(let t of this.bufferManagers)t.setPreloadOnly(e)}destroy(){var e;this.subscription.unsubscribe(),this.representationSubscription.unsubscribe(),this.destroyController.abort(),this.fetcher.destroy(),this.stop(),"open"===(null==(e=this.source)?void 0:e.readyState)&&Array.from(this.source.sourceBuffers).every((e=>!e.updating))&&this.source.endOfStream(),this.source=null}normolizeLiveOffset(e){return 1e3*Math.trunc(e/1e3)}async updateLive(){var e;this.isUpdatingLive=!0,this.manifest=await this.updateManifest(),this.manifest&&(null==(e=this.bufferManagers)||e.forEach((e=>e.updateLive(this.manifest)))),this.isUpdatingLive=!1}jumpGap(){if(!this.element||!this.videoBufferManager)return;let e=this.videoBufferManager.getDebugBufferState();if(!e)return;this.isJumpGapAfterSeekLive&&!this.isActiveLowLatency&&this.element.currentTime>e.to&&(this.isJumpGapAfterSeekLive=!1,this.element.currentTime=0);let t=1e3*this.element.currentTime,n=[],r=1===this.element.readyState?this.tuning.endGapTolerance:0;for(let e of this.bufferManagers)for(let i of e.gaps)e.playingRepresentation$.getValue()===i.representation&&i.from-r<=t&&i.to+r>t&&(1e3*this.element.duration-i.to<this.tuning.endGapTolerance?n.push(1/0):n.push(i.to));if(n.length){let e=Math.max(...n)+10;this.gapWatchdogSubscription.unsubscribe(),this.gapWatchdogActive=!1,e===1/0?this.forceEnded$.next():this.element.currentTime=e/1e3}}},Ii=class{constructor(e,t){this.fov=e,this.orientation=t}},Ni=class{constructor(e,t){this.rotating=!1,this.fading=!1,this.lastTickTS=0,this.lastCameraTurnTS=0,this.fadeStartSpeed=null,this.fadeTime=0,this.camera=e,this.options=t,this.rotationSpeed={x:0,y:0,z:0},this.fadeCorrection=1/(this.options.speedFadeTime/1e3)**2}turnCamera(e=0,t=0,n=0){this.pointCameraTo(this.camera.orientation.x+e,this.camera.orientation.y+t,this.camera.orientation.z+n)}pointCameraTo(e=0,t=0,n=0){t=this.limitCameraRotationY(t);let r=e-this.camera.orientation.x,i=t-this.camera.orientation.y,o=n-this.camera.orientation.z;this.camera.orientation.x=e,this.camera.orientation.y=t,this.camera.orientation.z=n,this.lastCameraTurn={x:r,y:i,z:o},this.lastCameraTurnTS=Date.now()}setRotationSpeed(e,t,n){this.rotationSpeed.x=null!=e?e:this.rotationSpeed.x,this.rotationSpeed.y=null!=t?t:this.rotationSpeed.y,this.rotationSpeed.z=null!=n?n:this.rotationSpeed.z}startRotation(){this.rotating=!0}stopRotation(e=!1){e?(this.setRotationSpeed(0,0,0),this.fadeStartSpeed=null):this.startFading(this.rotationSpeed.x,this.rotationSpeed.y,this.rotationSpeed.z),this.rotating=!1}onCameraRelease(){if(this.lastCameraTurn&&this.lastCameraTurnTS){let e=Date.now()-this.lastCameraTurnTS;if(e<this.options.speedFadeThreshold){let t=(1-e/this.options.speedFadeThreshold)*this.options.rotationSpeedCorrection;this.startFading(this.lastCameraTurn.x*t,this.lastCameraTurn.y*t,this.lastCameraTurn.z*t)}}}startFading(e,t,n){this.setRotationSpeed(e,t,n),this.fadeStartSpeed={...this.rotationSpeed},this.fading=!0}stopFading(){this.fadeStartSpeed=null,this.fading=!0,this.fadeTime=0}limitCameraRotationY(e){return Math.max(-this.options.maxYawAngle,Math.min(e,this.options.maxYawAngle))}tick(e){if(!this.lastTickTS)return this.lastTickTS=e,void(this.lastCameraTurnTS=Date.now());let t=e-this.lastTickTS,n=t/1e3;if(this.rotating)this.turnCamera(this.rotationSpeed.x*this.options.rotationSpeedCorrection*n,this.rotationSpeed.y*this.options.rotationSpeedCorrection*n,this.rotationSpeed.z*this.options.rotationSpeedCorrection*n);else if(this.fading&&this.fadeStartSpeed){let e=-this.fadeCorrection*(this.fadeTime/1e3)**2+1;this.setRotationSpeed(this.fadeStartSpeed.x*e,this.fadeStartSpeed.y*e,this.fadeStartSpeed.z*e),e>0?this.turnCamera(this.rotationSpeed.x*this.options.rotationSpeedCorrection*n,this.rotationSpeed.y*this.options.rotationSpeedCorrection*n,this.rotationSpeed.z*this.options.rotationSpeedCorrection*n):(this.stopRotation(!0),this.stopFading()),this.fadeTime=Math.min(this.fadeTime+t,this.options.speedFadeTime)}this.lastTickTS=e}},ji=class{constructor(e,t,n){this.videoInitialized=!1,this.active=!1,this.container=e,this.sourceVideoElement=t,this.params=n,this.canvas=this.createCanvas();let r=this.canvas.getContext("webgl");if(!r)throw new Error("Could not initialize WebGL context");this.gl=r,this.container.appendChild(this.canvas),this.camera=new Ii(this.params.fov,this.params.orientation),this.cameraRotationManager=new Ni(this.camera,{rotationSpeed:this.params.rotationSpeed,maxYawAngle:this.params.maxYawAngle,rotationSpeedCorrection:this.params.rotationSpeedCorrection,degreeToPixelCorrection:this.params.degreeToPixelCorrection,speedFadeTime:this.params.speedFadeTime,speedFadeThreshold:this.params.speedFadeThreshold}),this.updateFrameSize(),this.vertexBuffer=this.createVertexBuffer(),this.textureMappingBuffer=this.createTextureMappingBuffer(),this.updateTextureMappingBuffer(),this.program=this.createProgram(),this.videoTexture=this.createTexture(),this.gl.useProgram(this.program),this.videoElementDataLoadedFn=this.onDataLoadedHandler.bind(this),this.renderFn=this.render.bind(this)}play(){this.active||(this.videoInitialized?this.doPlay():this.sourceVideoElement.readyState>=2?(this.videoInitialized=!0,this.doPlay()):this.sourceVideoElement.addEventListener("loadeddata",this.videoElementDataLoadedFn))}stop(){this.active=!1}startCameraManualRotation(e,t){this.cameraRotationManager.setRotationSpeed(e*this.params.rotationSpeed,t*this.params.rotationSpeed,0),this.cameraRotationManager.startRotation()}stopCameraManualRotation(e=!1){this.cameraRotationManager.stopRotation(e)}turnCamera(e,t){this.cameraRotationManager.turnCamera(e,t)}pointCameraTo(e,t){this.cameraRotationManager.pointCameraTo(e,t)}pixelToDegree(e){return{x:this.params.degreeToPixelCorrection*this.params.fov.x*-e.x/this.viewportWidth,y:this.params.degreeToPixelCorrection*this.params.fov.y*e.y/this.viewportHeight}}getCameraRotation(){return this.camera.orientation}holdCamera(){this.cameraRotationManager.stopRotation(!0)}releaseCamera(){this.cameraRotationManager.onCameraRelease()}destroy(){this.sourceVideoElement.removeEventListener("loadeddata",this.videoElementDataLoadedFn),this.stop(),this.canvas.remove()}setViewportSize(e,t){this.viewportWidth=e,this.viewportHeight=t,this.canvas.width=this.viewportWidth,this.canvas.height=this.viewportHeight,this.gl.viewport(0,0,this.canvas.width,this.canvas.height)}onDataLoadedHandler(){this.videoInitialized=!0,this.doPlay()}doPlay(){this.updateFrameSize(),this.vertexBuffer=this.createVertexBuffer(),this.active=!0,this.sourceVideoElement.removeEventListener("loadeddata",this.videoElementDataLoadedFn),requestAnimationFrame(this.renderFn)}render(e){this.cameraRotationManager.tick(e),this.updateTexture(),this.updateTextureMappingBuffer();let t=this.gl.getAttribLocation(this.program,"a_vertex"),n=this.gl.getAttribLocation(this.program,"a_texel"),r=this.gl.getUniformLocation(this.program,"u_texture"),i=this.gl.getUniformLocation(this.program,"u_focus");this.gl.enableVertexAttribArray(t),this.gl.enableVertexAttribArray(n),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.vertexBuffer),this.gl.vertexAttribPointer(t,2,this.gl.FLOAT,!1,0,0),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.textureMappingBuffer),this.gl.vertexAttribPointer(n,2,this.gl.FLOAT,!1,0,0),this.gl.activeTexture(this.gl.TEXTURE0),this.gl.bindTexture(this.gl.TEXTURE_2D,this.videoTexture),this.gl.uniform1i(r,0),this.gl.uniform2f(i,-this.camera.orientation.x,-this.camera.orientation.y),this.gl.drawArrays(this.gl.TRIANGLE_FAN,0,4),this.gl.bindTexture(this.gl.TEXTURE_2D,null),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null),this.gl.disableVertexAttribArray(t),this.gl.disableVertexAttribArray(n),this.active&&requestAnimationFrame(this.renderFn)}createShader(e,t){let n=this.gl.createShader(t);if(!n)throw this.destroy(),new Error(`Could not create shader (${t})`);if(this.gl.shaderSource(n,e),this.gl.compileShader(n),!this.gl.getShaderParameter(n,this.gl.COMPILE_STATUS))throw this.destroy(),new Error("An error occurred while compiling the shader: "+this.gl.getShaderInfoLog(n));return n}createProgram(){let e=this.gl.createProgram();if(!e)throw this.destroy(),new Error("Could not create shader program");let t=this.createShader("attribute vec2 a_vertex;\nattribute vec2 a_texel;\n\nvarying vec2 v_texel;\n\nvoid main(void) {\n // direct vertex drawing\n gl_Position = vec4(a_vertex, 0.0, 1.0);\n // save texel vector to pass to fragment shader\n v_texel = a_texel;\n}\n",this.gl.VERTEX_SHADER),n=this.createShader("#ifdef GL_ES\n precision highp float;\n precision highp int;\n#else\n precision highp float;\n#endif\n\n#define PI 3.14159265358979323846264\n\nvarying vec2 v_texel; // [0..1, 0..1]\n\nuniform sampler2D u_texture;\nuniform vec2 u_focus; // current central point [-180..180, -90..90] (degrees)\n\nvoid main(void) {\n // center point of output projection\n float lambda0 = u_focus.x / 360.0;\n float phi0 = u_focus.y / 180.0;\n\n float lambda = PI * 2.0 * (v_texel.x - 0.5 - lambda0); // [-pi..+pi] (rad)\n float phi = PI * (v_texel.y - 0.5 - phi0); // [-pi/2..+pi/2] (rad)\n\n float p = sqrt(lambda * lambda + phi * phi); // rou\n float c = atan(p);\n float cos_c = cos(c);\n float sin_c = sin(c);\n\n // geo coordinates of projection\n float x = lambda0 + atan(\n lambda * sin_c,\n p * cos(phi0) * cos_c - phi * sin(phi0) * sin_c\n );\n float y = asin(cos_c * sin(phi0) + (phi * sin_c * cos(phi0)) / p);\n\n // reprojected texture coordinates\n vec2 tc = vec2(\n mod(x / (PI * 2.0) - 0.5, 1.0), // [0..1]\n mod(y / PI - 0.5, 1.0) // [0..1]\n );\n\n // sample using new coordinates\n gl_FragColor = texture2D(u_texture, tc);\n}\n",this.gl.FRAGMENT_SHADER);if(this.gl.attachShader(e,t),this.gl.attachShader(e,n),this.gl.linkProgram(e),!this.gl.getProgramParameter(e,this.gl.LINK_STATUS))throw this.destroy(),new Error("Could not link shader program.");return e}createTexture(){let e=this.gl.createTexture();if(!e)throw this.destroy(),new Error("Could not create texture");return this.gl.bindTexture(this.gl.TEXTURE_2D,e),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,this.gl.CLAMP_TO_EDGE),this.gl.bindTexture(this.gl.TEXTURE_2D,null),e}updateTexture(){this.gl.bindTexture(this.gl.TEXTURE_2D,this.videoTexture),this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!0),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,this.sourceVideoElement),this.gl.bindTexture(this.gl.TEXTURE_2D,null)}createVertexBuffer(){let e=this.gl.createBuffer();if(!e)throw this.destroy(),new Error("Could not create vertex buffer");let t=1,n=1,r=this.frameHeight/(this.frameWidth/this.viewportWidth);return r>this.viewportHeight?t=this.viewportHeight/r:n=r/this.viewportHeight,this.gl.bindBuffer(this.gl.ARRAY_BUFFER,e),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([-t,-n,t,-n,t,n,-t,n]),this.gl.STATIC_DRAW),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null),e}createTextureMappingBuffer(){let e=this.gl.createBuffer();if(!e)throw this.destroy(),new Error("Could not create texture mapping buffer");return e}calculateTexturePosition(){let e=.5-this.camera.orientation.x/360,t=.5-this.camera.orientation.y/180,n=this.camera.fov.x/360/2,r=this.camera.fov.y/180/2;return[e-n,t-r,e+n,t-r,e+n,t+r,e-n,t+r]}updateTextureMappingBuffer(){this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.textureMappingBuffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([...this.calculateTexturePosition()]),this.gl.STATIC_DRAW),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null)}updateFrameSize(){this.frameWidth=this.sourceVideoElement.videoWidth,this.frameHeight=this.sourceVideoElement.videoHeight}createCanvas(){let e=document.createElement("canvas");return e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.width="100%",e.style.height="100%",e}},Bi=class{constructor(e){this.subscription=new o.w0,this.videoState=new yn("stopped"),this.elementSize$=new o.v0(void 0),this.textTracksManager=new An,this.droppedFramesManager=new nr,this.videoTracks$=new o.v0([]),this.audioTracks=[],this.audioRepresentations=new Map,this.videoTrackSwitchHistory=new Un,this.textTracks=[],this.syncPlayback=()=>{var e,t,n;let r=this.videoState.getState(),i=this.params.desiredState.playbackState.getState(),a=this.params.desiredState.playbackState.getTransition(),s=this.params.desiredState.seekState.getState();if(!this.videoState.getTransition()){if("requested"===s.state&&"paused"!==(null==a?void 0:a.to)&&"stopped"!==r&&"stopped"!==i){let n=null!=(t=null==(e=this.liveOffset)?void 0:e.getTotalPausedTime())?t:0;this.seek(s.position-n,s.forcePrecise)}if("stopped"===i)return void("stopped"!==r&&(this.videoState.startTransitionTo("stopped"),this.player.stop(),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));switch(r){case"stopped":return this.videoState.startTransitionTo("ready"),void this.prepare();case"ready":return void("paused"===i?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===i?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"ready"===(null==a?void 0:a.to)&&vn(this.params.desiredState.playbackState,"ready"));case"playing":return void("paused"===i?(this.videoState.startTransitionTo("paused"),null==(n=this.liveOffset)||n.pause(),this.video.pause()):"playing"===(null==a?void 0:a.to)&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===i?(this.videoState.startTransitionTo("playing"),this.liveOffset?this.liveOffset.getTotalOffset()/1e3<Math.abs(this.params.output.duration$.getValue())?(this.liveOffset.resume(),this.playIfAllowed(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3)):this.seek(0,!1):this.playIfAllowed()):"paused"===(null==a?void 0:a.to)&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,o.vE)(r)}}},this.init3DScene=e=>{var t,n,r;if(this.scene3D)return;this.scene3D=new ji(this.params.container,this.video,{fov:this.params.tuning.spherical.fov,orientation:this.params.tuning.spherical.orientation||{x:(null==(t=e.projectionData)?void 0:t.pose.yaw)||0,y:(null==(n=e.projectionData)?void 0:n.pose.pitch)||0,z:(null==(r=e.projectionData)?void 0:r.pose.roll)||0},rotationSpeed:this.params.tuning.spherical.rotationSpeed,maxYawAngle:this.params.tuning.spherical.maxYawAngle,rotationSpeedCorrection:this.params.tuning.spherical.rotationSpeedCorrection,degreeToPixelCorrection:this.params.tuning.spherical.degreeToPixelCorrection,speedFadeTime:this.params.tuning.spherical.speedFadeTime,speedFadeThreshold:this.params.tuning.spherical.speedFadeThreshold});let i=this.elementSize$.getValue();i&&this.scene3D.setViewportSize(i.width,i.height)},this.destroy3DScene=()=>{this.scene3D&&(this.scene3D.destroy(),this.scene3D=void 0)},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.isLive$.next(!1),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.player=new Ri({throughputEstimator:this.params.dependencies.throughputEstimator,tuning:this.params.tuning,compatibilityMode:this.params.source.compatibilityMode}),this.subscribe()}getProviderSubscriptionInfo(){let{output:e,desiredState:t}=this.params,n=Rn(this.video),r=this.constructor.name,i=t=>{e.error$.next({id:r,category:o.qj.WTF,message:`${r} internal logic error`,thrown:t})};return{output:e,desiredState:t,observableVideo:n,genericErrorListener:i,connect:(e,t)=>this.subscription.add(e.subscribe(t,i))}}subscribe(){let{output:e,desiredState:t,observableVideo:n,genericErrorListener:r,connect:i}=this.getProviderSubscriptionInfo();this.droppedFramesManager.connect({logger:this.params.dependencies.logger,video:this.video,droppedFramesChecker:this.params.tuning.droppedFramesChecker,isAuto:this.params.desiredState.autoVideoTrackSwitching,playing$:n.playing$,pause$:n.pause$,tracks$:this.videoTracks$.pipe((0,o.UI)((e=>e.map((({track:e})=>e)))))}),i(n.ended$,e.endedEvent$),i(n.looped$,e.loopedEvent$),i(n.error$,e.error$),i(n.isBuffering$,e.isBuffering$),i(n.currentBuffer$,e.currentBuffer$),i(n.playing$,e.firstFrameEvent$),i(n.canplay$,e.canplay$),i(n.inPiP$,e.inPiP$),i(n.inFullscreen$,e.inFullscreen$),i(this.player.error$,e.error$),i(this.player.lastConnectionType$,e.httpConnectionType$),i(this.player.lastConnectionReused$,e.httpConnectionReused$),i(this.player.isLive$,e.isLive$),i(this.player.lastRequestFirstBytes$.pipe((0,o.hX)(o.C_),(0,o.IH)()),e.firstBytesEvent$),this.subscription.add(n.seeked$.subscribe(e.seekedEvent$,r)),this.subscription.add(kn(this.video,t.isLooped,r)),this.subscription.add(Cn(this.video,t.volume,n.volumeState$,r)),this.subscription.add(n.volumeState$.subscribe(this.params.output.volume$,r)),this.subscription.add(Tn(this.video,t.playbackRate,n.playbackRateState$,r)),i((0,o.t$)(this.video),this.elementSize$),i(ir(this.video,{threshold:this.params.tuning.autoTrackSelection.activeVideoAreaThreshold}),e.elementVisible$),this.subscription.add(n.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing"),this.scene3D&&this.scene3D.play()}),r)).add(n.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),r)).add(n.canplay$.subscribe((()=>{"playing"===this.videoState.getState()&&this.playIfAllowed()}),r)),this.subscription.add(this.player.state$.stateChangeEnded$.subscribe((({to:e})=>{var t;if("manifest_ready"===e){let e=[];this.audioTracks=[],this.textTracks=[];let n=this.player.getRepresentations();(0,o.Z3)(n,"Manifest not loaded or empty");let r=Array.from(n.audio).sort(((e,t)=>t.bitrate-e.bitrate)),i=Array.from(n.video).sort(((e,t)=>t.bitrate-e.bitrate)),a=Array.from(n.text);if(!this.params.tuning.isAudioDisabled)for(let e of r){let t=hi(e);t&&this.audioTracks.push({track:t,representation:e})}for(let t of i){let n=fi(t);if(n){e.push({track:n,representation:t});let o=!this.params.tuning.isAudioDisabled&&mi(r,i,t);o&&this.audioRepresentations.set(t.id,o)}}this.videoTracks$.next(e);for(let e of a){let t=gi(e);t&&this.textTracks.push({track:t,representation:e})}this.params.output.availableVideoTracks$.next(e.map((({track:e})=>e))),this.params.output.availableAudioTracks$.next(this.audioTracks.map((({track:e})=>e))),this.params.output.isAudioAvailable$.next(!!this.audioTracks.length),this.textTracks.length>0&&this.params.desiredState.internalTextTracks.startTransitionTo(this.textTracks.map((({track:e})=>e)));let s=this.selectVideoRepresentation();(0,o.Z3)(s),this.player.initRepresentations(s.id,null==(t=this.audioRepresentations.get(s.id))?void 0:t.id,this.params.sourceHls)}else"representations_ready"===e&&(this.videoState.setState("ready"),this.player.initBuffer())}),r));let a=t=>e.error$.next({id:"RepresentationSwitch",category:o.qj.WTF,message:"Switching representations threw",thrown:t});this.subscription.add((0,o.TS)(this.player.state$.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.transitionStarted$,this.params.dependencies.throughputEstimator.rttAdjustedThroughput$,t.autoVideoTrackLimits.stateChangeStarted$,this.elementSize$,this.params.output.elementVisible$,this.droppedFramesManager.onDroopedVideoFramesLimit$,(0,o.RB)(this.video,"progress")).subscribe((()=>{let e=this.player.state$.getState(),n=this.player.state$.getTransition();if("running"!==e||n||!this.videoTracks$.getValue().length)return;t.autoVideoTrackSwitching.getTransition()&&t.autoVideoTrackSwitching.setState(t.autoVideoTrackSwitching.getState());let r=this.selectVideoRepresentation(),i=this.params.desiredState.autoVideoTrackLimits.getTransition();i&&this.params.output.autoVideoTrackLimits$.next(i.to);let s=this.params.desiredState.autoVideoTrackSwitching.getState(),l=this.params.tuning.autoTrackSelection.backgroundVideoQualityLimit;if(r){let e=r.id;!this.params.output.elementVisible$.getValue()&&s&&(e=this.videoTracks$.getValue().map((e=>e.representation)).sort(((e,t)=>t.bitrate-e.bitrate)).filter((e=>{let t=(0,o.fh)(e),n=(0,o.fh)(r);if(t&&n)return(0,o.zE)(t,n)&&(0,o.zE)(t,l)})).map((e=>e.id))[0]),this.player.switchRepresentation("video",e).catch(a);let t=this.audioRepresentations.get(r.id);t&&this.player.switchRepresentation("audio",t.id).catch(a)}}),r)),this.subscription.add(t.cameraOrientation.stateChangeEnded$.subscribe((({to:e})=>{this.scene3D&&e&&this.scene3D.pointCameraTo(e.x,e.y)}))),this.subscription.add(this.elementSize$.subscribe((e=>{this.scene3D&&e&&this.scene3D.setViewportSize(e.width,e.height)}))),this.subscription.add(this.player.currentVideoRepresentation$.pipe((0,o.qz)(),(0,o.UI)((e=>{var t;return e&&(null==(t=this.videoTracks$.getValue().find((({representation:{id:t}})=>t===e)))?void 0:t.track)}))).subscribe(e.currentVideoTrack$,r)),this.subscription.add(this.player.currentVideoRepresentationInit$.subscribe((t=>{var n,r;if(null!=t&&t.is3dVideo&&null!=(n=this.params.tuning.spherical)&&n.enabled)try{this.init3DScene(t),e.is3DVideo$.next(!0)}catch(t){e.warning$.next({id:"DashProvider",message:`DashProvider could not initialize 3D-scene: ${t}`})}else this.destroy3DScene(),null!=(r=this.params.tuning.spherical)&&r.enabled&&e.is3DVideo$.next(!1)}),r)),this.subscription.add(this.player.currentVideoSegmentLength$.subscribe(e.currentVideoSegmentLength$,r)),this.subscription.add(this.player.currentAudioSegmentLength$.subscribe(e.currentAudioSegmentLength$,r)),this.textTracksManager.connect(this.video,t,e);let s=t.playbackState.stateChangeStarted$.pipe((0,o.UI)((({to:e})=>"ready"===e)),(0,o.qz)());this.subscription.add((0,o.TS)(s,t.autoVideoTrackSwitching.stateChangeStarted$,this.player.state$.stateChangeEnded$).subscribe((()=>{let e=t.autoVideoTrackSwitching.getState(),n="ready"===t.playbackState.getState()?this.params.tuning.dash.forwardBufferTargetPreload:e?this.params.tuning.dash.forwardBufferTargetAuto:this.params.tuning.dash.forwardBufferTargetManual;this.player.setBufferTarget(n)}))),this.subscription.add((0,o.TS)(s,this.player.state$.stateChangeEnded$).subscribe((()=>this.player.setPreloadOnly("ready"===t.playbackState.getState()))));let l=(0,o.TS)(t.playbackState.stateChangeStarted$,t.videoTrack.stateChangeStarted$,t.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0));this.subscription.add(l.subscribe(this.syncPlayback,r))}selectVideoRepresentation(){var e,t,n,r,i,o,a;let s=this.params.desiredState.autoVideoTrackSwitching.getState(),l=null==(e=this.params.desiredState.videoTrack.getState())?void 0:e.id,c=null==(t=this.videoTracks$.getValue().find((({track:{id:e}})=>e===l)))?void 0:t.track,u=this.params.output.currentVideoTrack$.getValue(),d=lr(this.video.buffered,1e3*this.video.currentTime),p=s?this.params.tuning.dash.forwardBufferTargetAuto:this.params.tuning.dash.forwardBufferTargetManual,f=Math.min(d/Math.min(p,(1e3*this.video.duration||1/0)-1e3*this.video.currentTime),1),h=Math.max(c&&!s&&null!=(r=null==(n=this.audioRepresentations.get(c.id))?void 0:n.bitrate)?r:0,u&&null!=(o=null==(i=this.audioRepresentations.get(u.id))?void 0:i.bitrate)?o:0),m=$n(this.videoTracks$.getValue().map((({track:e})=>e)),{container:this.elementSize$.getValue(),throughput:this.params.dependencies.throughputEstimator.rttAdjustedThroughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,limits:this.params.desiredState.autoVideoTrackLimits.getState(),reserve:h,forwardBufferHealth:f,current:u,history:this.videoTrackSwitchHistory,playbackRate:this.video.playbackRate,droppedVideoMaxQualityLimit:this.droppedFramesManager.droppedVideoMaxQualityLimit,abrLogger:this.params.dependencies.abrLogger}),g=s?null!=m?m:c:null!=c?c:m;return g&&(null==(a=this.videoTracks$.getValue().find((({track:e})=>e===g)))?void 0:a.representation)}prepare(e=0){this.player.initManifest(this.video,this.params.source.url,e)}playIfAllowed(){Wn(this.video).then((e=>{var t;e||(null==(t=this.liveOffset)||t.pause(),this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))}destroy(){this.subscription.unsubscribe(),this.droppedFramesManager.destroy(),this.destroy3DScene(),this.textTracksManager.destroy(),this.player.destroy(),this.params.output.element$.next(void 0),xn(this.video)}},Fi=class extends Bi{subscribe(){super.subscribe();let{output:e,observableVideo:t,connect:n}=this.getProviderSubscriptionInfo();n(t.timeUpdate$,e.position$),n(t.durationChange$,e.duration$)}seek(e,t){this.params.output.willSeekEvent$.next(),this.player.seek(e,t)}},Hi=class extends Bi{constructor(e){super(e),this.liveOffset=new Pn}subscribe(){super.subscribe();let{output:e,observableVideo:t,connect:n}=this.getProviderSubscriptionInfo();this.params.output.position$.next(0),n(t.timeUpdate$,e.liveBufferTime$),n(this.player.liveDuration$,e.duration$),this.subscription.add(this.params.output.position$.subscribe(this.player.livePositionFromPlayer$)).add((0,o.$e)({interval:(0,o.FG)(1e3),playbackRate:t.playbackRateState$}).subscribe((({playbackRate:t})=>{var n;if("playing"===this.videoState.getState()&&!this.player.isActiveLowLatency){let r=e.position$.getValue()+(t-1);e.position$.next(r),null==(n=this.liveOffset)||n.resetTo(1e3*-r)}}))).add((0,o.$e)({liveBufferTime:e.liveBufferTime$,liveAvailabilityStartTime:this.player.liveAvailabilityStartTime$}).pipe((0,o.UI)((({liveBufferTime:e,liveAvailabilityStartTime:t})=>e&&t?e+t:void 0))).subscribe(e.liveTime$))}seek(e){this.params.output.willSeekEvent$.next();let t=this.params.desiredState.playbackState.getState(),n=this.videoState.getState(),r="paused"===t&&"paused"===n,i=-e,o=Math.trunc(i/1e3<=Math.abs(this.params.output.duration$.getValue())?i:0);this.player.seekLive(o).then((()=>{var t;this.params.output.position$.next(e/1e3),null==(t=this.liveOffset)||t.resetTo(o,r)}))}},zi=m(Vt(),1),Vi={},Ui=(e,t)=>new o.y$((n=>{let r=(e,t)=>n.next(t);return e.on(t,r),()=>e.off(t,r)})),$i=class{constructor(e){this.subscription=new o.w0,this.videoState=new yn("initializing"),this.textTracksManager=new An,this.trackLevels=new Map,this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.seekState.getState();if("initializing"!==e)switch("paused"!==(null==n?void 0:n.to)&&"requested"===r.state&&this.seek(r.position),t){case"stopped":switch(e){case"stopped":break;case"ready":case"playing":case"paused":this.stop();break;default:(0,o.vE)(e)}break;case"ready":switch(e){case"stopped":this.prepare();break;case"ready":case"playing":case"paused":break;default:(0,o.vE)(e)}break;case"playing":switch(e){case"playing":break;case"stopped":this.prepare();break;case"ready":case"paused":this.playIfAllowed();break;default:(0,o.vE)(e)}break;case"paused":switch(e){case"paused":break;case"stopped":this.prepare();break;case"ready":this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused");break;case"playing":this.pause();break;default:(0,o.vE)(e)}break;default:(0,o.vE)(t)}},this.video=Sn(e.container),this.params=e,this.params.output.element$.next(this.video),this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.loadHlsJs()}destroy(){var e,t;this.subscription.unsubscribe(),this.trackLevels.clear(),this.textTracksManager.destroy(),null==(e=this.hls)||e.detachMedia(),null==(t=this.hls)||t.destroy(),this.params.output.element$.next(void 0),xn(this.video)}loadHlsJs(){let e=!1,t=t=>{e||this.params.output.error$.next({id:"timeout"===t?"HlsJsTimeout":"HlsJsLoadError",category:o.qj.NETWORK,message:"Failed to load Hls.js",thrown:t}),e=!0},r=window.setTimeout((()=>t("timeout")),this.params.tuning.dynamicImportTimeout);(0,zi.default)(n.e(3041).then(n.bind(n,93041)).then((t=>{e||(Vi.Hls=t.default,Vi.Events=t.default.Events,this.init())}),t),(()=>{window.clearTimeout(r),e=!0}))}init(){(0,o.Z3)(Vi.Hls,"hls.js not loaded"),this.hls=new Vi.Hls({fragLoadingMaxRetry:5,levelLoadingMaxRetry:2,manifestLoadingMaxRetry:2,fragLoadingMaxRetryTimeout:16e3,manifestLoadingMaxRetryTimeout:2e3,levelLoadingMaxRetryTimeout:2e3}),this.subscribe(),this.videoState.setState("stopped")}subscribe(){(0,o.Z3)(Vi.Events,"hls.js not loaded");let{desiredState:e,output:t}=this.params,n=e=>{t.error$.next({id:"HlsJsProvider",category:o.qj.WTF,message:"HlsJsProvider internal logic error",thrown:e})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,t.position$),i(r.durationChange$,t.duration$),i(r.ended$,t.endedEvent$),i(r.looped$,t.loopedEvent$),i(r.error$,t.error$),i(r.isBuffering$,t.isBuffering$),i(r.currentBuffer$,t.currentBuffer$),i(r.loadStart$,t.firstBytesEvent$),i(r.playing$,t.firstFrameEvent$),i(r.canplay$,t.canplay$),i(r.seeked$,t.seekedEvent$),i(r.inPiP$,t.inPiP$),i(r.inFullscreen$,t.inFullscreen$),this.subscription.add(kn(this.video,e.isLooped,n)),this.subscription.add(Cn(this.video,e.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$)),this.subscription.add(Tn(this.video,e.playbackRate,r.playbackRateState$,n)),i(ir(this.video),t.elementVisible$),this.subscription.add(Ui(this.hls,Vi.Events.ERROR).subscribe((e=>{var n;e.fatal&&t.error$.next({id:["HlsJsFatal",e.type,e.details].join("_"),category:o.qj.WTF,message:`HlsJs fatal ${e.type} ${e.details}, ${null==(n=e.err)?void 0:n.message} ${e.reason}`,thrown:e.error})}))),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(e.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(e.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{var e;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),i(Ui(this.hls,Vi.Events.MANIFEST_PARSED).pipe((0,o.UI)((({levels:e})=>e.reduce(((e,t)=>{var n,r;let i=t.name||t.height.toString(10),{width:a,height:s}=t,l=null!=(r=In(null!=(n=t.attrs.QUALITY)?n:""))?r:(0,o.fh)({width:a,height:s});if(!l)return e;let c=t.attrs["FRAME-RATE"]?parseFloat(t.attrs["FRAME-RATE"]):void 0,u={id:i.toString(),quality:l,bitrate:t.bitrate/1e3,size:{width:a,height:s},fps:c};return this.trackLevels.set(i,{track:u,level:t}),e.push(u),e}),[])))),t.availableVideoTracks$),i(Ui(this.hls,Vi.Events.MANIFEST_PARSED),(t=>{if(t.subtitleTracks.length>0){let n=[];for(let e of t.subtitleTracks){let t=e.name,r=e.attrs.URI||"",i=e.lang,o="internal";n.push({id:t,url:r,language:i,type:o})}e.internalTextTracks.startTransitionTo(n)}})),i(Ui(this.hls,Vi.Events.LEVEL_LOADING).pipe((0,o.UI)((({url:e})=>Gn(e)))),t.hostname$),i(Ui(this.hls,Vi.Events.FRAG_CHANGED),(e=>{var n,r,i,o;let{video:a,audio:s}=e.frag.elementaryStreams;t.currentVideoSegmentLength$.next(1e3*((null!=(n=null==a?void 0:a.endPTS)?n:0)-(null!=(r=null==a?void 0:a.startPTS)?r:0))),t.currentAudioSegmentLength$.next(1e3*((null!=(i=null==s?void 0:s.endPTS)?i:0)-(null!=(o=null==s?void 0:s.startPTS)?o:0)))})),this.subscription.add(On(e.autoVideoTrackSwitching,(()=>this.hls.autoLevelEnabled),(e=>{this.hls.nextLevel=e?-1:this.hls.currentLevel,this.hls.loadLevel=e?-1:this.hls.loadLevel}),{onError:n}));let a=e=>{var t;return null==(t=Array.from(this.trackLevels.values()).find((({level:t})=>t===e)))?void 0:t.track},s=Ui(this.hls,Vi.Events.LEVEL_SWITCHED).pipe((0,o.UI)((({level:e})=>a(this.hls.levels[e]))));s.pipe((0,o.hX)(o.C_)).subscribe(t.currentVideoTrack$,n),this.subscription.add(On(e.videoTrack,(()=>a(this.hls.levels[this.hls.currentLevel])),(e=>{var t;if((0,o.SG)(e))return;let n=null==(t=this.trackLevels.get(e.id))?void 0:t.level;if(!n)return;let r=this.hls.levels.indexOf(n),i=this.hls.currentLevel,a=this.hls.levels[i];!a||n.bitrate>a.bitrate?this.hls.nextLevel=r:(this.hls.loadLevel=r,this.hls.loadLevel=r)}),{changed$:s,onError:n})),i(r.progress$,(()=>{this.params.dependencies.throughputEstimator.addRawThroughput(this.hls.bandwidthEstimate/1e3)})),this.textTracksManager.connect(this.video,e,t);let l=(0,o.TS)(e.playbackState.stateChangeStarted$,e.videoTrack.stateChangeStarted$,e.seekState.stateChangeEnded$,this.videoState.stateChangeEnded$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0));this.subscription.add(l.subscribe(this.syncPlayback,n))}prepare(){this.videoState.startTransitionTo("ready"),this.hls.attachMedia(this.video),this.hls.loadSource(this.params.source.url)}async playIfAllowed(){this.videoState.startTransitionTo("playing"),await Wn(this.video).catch((e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}pause(){this.videoState.startTransitionTo("paused"),this.video.pause()}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}stop(){this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.hls.stopLoad(),this.hls.detachMedia(),this.video.removeAttribute("src"),this.video.load(),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)}},Gi="X-Playback-Duration",qi=async e=>{var t;let n=await vr(e),r=await n.text(),i=null==(t=/#EXT-X-VK-PLAYBACK-DURATION:(\d+)/m.exec(r))?void 0:t[1];return i?parseInt(i,10):n.headers.has(Gi)?parseInt(n.headers.get(Gi),10):void 0},Wi=m(rt(),1),Zi=e=>{let t=null;if(e.QUALITY&&(t=In(e.QUALITY)),!t&&e.RESOLUTION){let[n,r]=e.RESOLUTION.split("x").map((e=>parseInt(e,10)));t=(0,o.fh)({width:n,height:r})}return null!=t?t:null},Yi=0,Ki=async(e,t=e,n)=>{let r=await(await vr(e)).text();Yi+=1;try{let{qualityManifests:e,textTracks:n}=((e,t)=>{var n,r;let i=e.split("\n"),o=[],a=[];for(let e=0;e<i.length;e++){let s=i[e],l=s.match(/^#EXT-X-STREAM-INF:(.+)/),c=s.match(/^#EXT-X-MEDIA:TYPE=SUBTITLES,(.+)/);if(l||c){if(l){let r,a=(0,Wi.default)(l[1].split(",").map((e=>e.split("=")))),s=null!=(n=a.QUALITY)?n:`stream-${a.BANDWIDTH}`,c=Zi(a);a.BANDWIDTH&&(r=parseInt(a.BANDWIDTH,10)/1e3||void 0),!r&&a["AVERAGE-BANDWIDTH"]&&(r=parseInt(a["AVERAGE-BANDWIDTH"],10)/1e3||void 0);let u,d=a["FRAME-RATE"]?parseFloat(a["FRAME-RATE"]):void 0;if(a.RESOLUTION){let[e,t]=a.RESOLUTION.split("x").map((e=>parseInt(e,10)));e&&t&&(u={width:e,height:t})}let p=new URL(i[++e],t).toString();c&&o.push({id:s,quality:c,url:p,bandwidth:r,size:u,fps:d})}if(c){let e=(0,Wi.default)(c[1].split(",").map((e=>e.split("="))).map((([e,t])=>[e,t.replace(/^"|"$/g,"")]))),t=null==(r=e.URI)?void 0:r.replace(/playlist$/,"subtitles.vtt"),n=e.LANGUAGE,i=e.NAME;t&&n&&a.push({type:"internal",id:n,label:i,language:n,url:t,isAuto:!1})}}}if(!o.length)throw new Error("Empty manifest");return{qualityManifests:o,textTracks:a}})(r,t);return{qualityManifests:e,textTracks:n}}catch(r){if(Yi<=n.manifestRetryMaxCount)return await(e=>new Promise((t=>{setTimeout((()=>{t()}),e)})))((0,o.SV)(Yi-1,{start:n.manifestRetryInterval,max:n.manifestRetryMaxInterval})),Ki(e,t,n)}return{qualityManifests:[],textTracks:[]}},Qi=Ki,Xi=class{constructor(e){var t;this.subscription=new o.w0,this.videoState=new yn("stopped"),this.textTracksManager=new An,this.manifests$=new o.v0([]),this.liveOffset=new Pn,this.manifestStartTime$=new o.v0(void 0),this.syncPlayback=()=>{if(!this.manifests$.getValue().length)return;let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.videoTrack.getTransition(),i=this.params.desiredState.autoVideoTrackSwitching.getTransition(),a=this.params.desiredState.autoVideoTrackLimits.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let s=this.params.desiredState.seekState.getState();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r||i||a){let e=this.videoState.getState();return this.videoState.setState("changing_manifest"),this.videoState.startTransitionTo(e),this.prepare(),a&&this.params.output.autoVideoTrackLimits$.next(a.to),void("none"===s.state&&this.params.desiredState.seekState.setState({state:"requested",position:-this.liveOffset.getTotalOffset(),forcePrecise:!0}))}if("paused"!==(null==n?void 0:n.to)&&"requested"===s.state)return this.videoState.startTransitionTo("ready"),this.seek(s.position-this.liveOffset.getTotalPausedTime()),void this.prepare();switch(e){case"ready":return void("ready"===t?vn(this.params.desiredState.playbackState,"ready"):"paused"===t?(this.videoState.setState("paused"),this.liveOffset.pause(),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.liveOffset.pause(),this.video.pause()):"playing"===(null==n?void 0:n.to)&&vn(this.params.desiredState.playbackState,"playing"));case"paused":if("playing"===t)if(this.videoState.startTransitionTo("playing"),this.liveOffset.getTotalPausedTime()<this.params.config.maxPausedTime&&this.liveOffset.getTotalOffset()<this.maxSeekBackTime$.getValue())this.liveOffset.resume(),this.playIfAllowed(),this.params.output.position$.next(-this.liveOffset.getTotalOffset()/1e3);else{let e=this.liveOffset.getTotalOffset();e>=this.maxSeekBackTime$.getValue()&&(e=0,this.liveOffset.resetTo(e)),this.liveOffset.resume(),this.params.output.position$.next(-e/1e3),this.prepare()}else"paused"===(null==n?void 0:n.to)&&(vn(this.params.desiredState.playbackState,"paused"),this.liveOffset.pause());return;case"changing_manifest":break;default:return(0,o.vE)(e)}},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.masterManifest={id:"master",quality:o.SF.INVARIANT,url:this.params.source.url},Qi(mn(this.params.source.url),this.params.source.url,{manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount}).then((({qualityManifests:e})=>{0===e.length&&this.params.output.error$.next({id:"HlsLiveProviderInternal:empty_manifest",category:o.qj.WTF,message:"HlsLiveProvider: there are no qualities in manifest"}),this.manifests$.next([this.masterManifest,...e])}),(e=>this.params.output.error$.next({id:"ExtractHlsQualities",category:o.qj.NETWORK,message:"Error fetching manifest and extracting qualities",thrown:e}))),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.maxSeekBackTime$=new o.v0(null!=(t=e.source.maxSeekBackTime)?t:1/0),this.subscribe()}selectManifest(){var e,t,n,r;let{autoVideoTrackSwitching:i,videoTrack:o}=this.params.desiredState,a=i.getState(),s=o.getTransition(),l=null!=(r=null!=(n=null==(e=null==s?void 0:s.to)?void 0:e.id)?n:null==(t=o.getState())?void 0:t.id)?r:"master",c=this.manifests$.getValue();if(!c.length)return;let u=a?"master":l;return a&&!s&&o.startTransitionTo(this.masterManifest),c.find((e=>e.id===u))}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"HlsLiveProvider",category:o.qj.WTF,message:"HlsLiveProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.ended$,e.endedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(t.isLooped.stateChangeStarted$.subscribe((()=>t.isLooped.setState(!1)),n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),i(ir(this.video),e.elementVisible$),this.textTracksManager.connect(this.video,t,e),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{var e;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),this.subscription.add(this.maxSeekBackTime$.pipe((0,o.qz)(),(0,o.UI)((e=>-e/1e3))).subscribe(this.params.output.duration$,n)),this.subscription.add(r.loadedMetadata$.subscribe((()=>{let e=this.params.desiredState.seekState.getState(),t=this.videoState.getTransition(),n=this.params.desiredState.videoTrack.getTransition(),r=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(n&&(0,o.C_)(n.to)){let e=n.to.id;this.params.desiredState.videoTrack.setState(n.to);let t=this.manifests$.getValue().find((t=>t.id===e));t&&(this.params.output.currentVideoTrack$.next(t),this.params.output.hostname$.next(Gn(t.url)))}r&&this.params.desiredState.autoVideoTrackSwitching.setState(r.to),t&&"changing_manifest"===t.from&&this.videoState.setState(t.to),e&&"requested"===e.state&&this.seek(e.position)}),n)),this.subscription.add(r.loadedData$.subscribe((()=>{var e,t,n;let r=null==(n=null==(t=null==(e=this.video)?void 0:e.getStartDate)?void 0:t.call(e))?void 0:n.getTime();this.manifestStartTime$.next(r||void 0)}),n)),this.subscription.add((0,o.$e)({startTime:this.manifestStartTime$.pipe((0,o.hX)(o.C_)),currentTime:r.timeUpdate$}).subscribe((({startTime:e,currentTime:t})=>this.params.output.liveTime$.next(e+1e3*t)),n)),this.subscription.add(this.manifests$.pipe((0,o.UI)((e=>e.map((({id:e,quality:t,size:n,bandwidth:r,fps:i})=>({id:e,quality:t,size:n,fps:i,bitrate:r})))))).subscribe(this.params.output.availableVideoTracks$,n));let a=(0,o.TS)(t.playbackState.stateChangeStarted$,t.seekState.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.stateChangeStarted$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,this.manifests$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0));this.subscription.add(a.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.params.output.element$.next(void 0),xn(this.video)}prepare(){var e,t;let n=this.selectManifest();if((0,o.SG)(n))return;let r=this.params.desiredState.autoVideoTrackLimits.getTransition(),i=this.params.desiredState.autoVideoTrackLimits.getState(),a=new URL(n.url);if((r||i)&&n.id===this.masterManifest.id){let{max:n,min:o}=null!=(t=null!=(e=null==r?void 0:r.to)?e:i)?t:{};for(let[e,t]of[[n,"mq"],[o,"lq"]]){let n=String(parseFloat(e||""));t&&e&&a.searchParams.set(t,n)}}let s="HLS_LIVE_CMAF"===this.params.format?2:0,l=mn(a.toString(),this.liveOffset.getTotalOffset(),s);this.video.setAttribute("src",l),this.video.load(),qi(l).then((e=>{var t;if((0,o.SG)(e)){let e=null!=(t=this.params.source.maxSeekBackTime)?t:this.maxSeekBackTime$.getValue();if((0,o.SG)(e)||!isFinite(e))try{vr(l).then((e=>e.text())).then((e=>{var t;let n=null==(t=/#EXT-X-STREAM-INF[^\n]+\n(.+)/m.exec(e))?void 0:t[1];if(n){let e=new URL(n,l).toString();qi(e).then((e=>{(0,o.SG)(e)||this.maxSeekBackTime$.next(e)}))}}))}catch(e){}}else this.maxSeekBackTime$.next(e)}))}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),this.liveOffset.pause(),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next();let t=-e,n=t<this.maxSeekBackTime$.getValue()?t:0;this.liveOffset.resetTo(n),this.params.output.position$.next(-n/1e3),this.params.output.seekedEvent$.next()}},Ji=class{constructor(e){this.subscription=new o.w0,this.videoState=new yn("stopped"),this.textTracksManager=new An,this.manifests$=new o.v0([]),this.syncPlayback=()=>{if(!this.manifests$.getValue().length)return;let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition(),r=this.params.desiredState.videoTrack.getTransition(),i=this.params.desiredState.autoVideoTrackSwitching.getTransition(),a=this.params.desiredState.autoVideoTrackLimits.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let s=this.params.desiredState.seekState.getState();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r||i||a){let e=this.videoState.getState();this.videoState.setState("changing_manifest"),this.videoState.startTransitionTo(e);let{currentTime:t}=this.video;return this.prepare(),a&&this.params.output.autoVideoTrackLimits$.next(a.to),void("none"===s.state&&this.params.desiredState.seekState.setState({state:"requested",position:1e3*t,forcePrecise:!0}))}switch("paused"!==(null==n?void 0:n.to)&&"requested"===s.state&&this.seek(s.position),e){case"ready":return void("ready"===t?vn(this.params.desiredState.playbackState,"ready"):"paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===(null==n?void 0:n.to)&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===(null==n?void 0:n.to)&&vn(this.params.desiredState.playbackState,"paused"));case"changing_manifest":break;default:return(0,o.vE)(e)}},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),this.masterManifest={id:"master",quality:o.SF.INVARIANT,url:this.params.source.url},this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),Qi(mn(this.params.source.url),this.params.source.url,{manifestRetryInterval:this.params.tuning.manifestRetryInterval,manifestRetryMaxInterval:this.params.tuning.manifestRetryMaxInterval,manifestRetryMaxCount:this.params.tuning.manifestRetryMaxCount}).then((({qualityManifests:e,textTracks:t})=>{this.manifests$.next([this.masterManifest,...e]),this.params.tuning.useNativeHLSTextTracks||this.params.desiredState.internalTextTracks.startTransitionTo(t)}),(e=>this.params.output.error$.next({id:"ExtractHlsQualities",category:o.qj.NETWORK,message:"Error fetching manifest and extracting qualities",thrown:e}))),this.subscribe()}selectManifest(){var e,t,n,r;let{autoVideoTrackSwitching:i,videoTrack:o}=this.params.desiredState,a=i.getState(),s=o.getTransition(),l=null!=(r=null!=(n=null==(e=null==s?void 0:s.to)?void 0:e.id)?n:null==(t=o.getState())?void 0:t.id)?r:"master",c=this.manifests$.getValue();if(!c.length)return;let u=a?"master":l;return a&&!s&&o.startTransitionTo(this.masterManifest),c.find((e=>e.id===u))}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"HlsProvider",category:o.qj.WTF,message:"HlsProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t));if(i(r.timeUpdate$,e.position$),i(r.durationChange$,e.duration$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.seeked$,e.seekedEvent$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(kn(this.video,t.isLooped,n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),this.textTracksManager.connect(this.video,t,e),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{var e;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready"),"playing"===this.videoState.getState()&&this.playIfAllowed()}),n).add(r.loadedMetadata$.subscribe((()=>{var e;let t=this.params.desiredState.seekState.getState(),n=this.videoState.getTransition(),r=this.params.desiredState.videoTrack.getTransition(),i=this.params.desiredState.autoVideoTrackSwitching.getTransition();if(r&&(0,o.C_)(r.to)){let t=r.to.id;this.params.desiredState.videoTrack.setState(r.to);let n=this.manifests$.getValue().find((e=>e.id===t));if(n){this.params.output.currentVideoTrack$.next(n),this.params.output.hostname$.next(Gn(n.url));let t=this.params.desiredState.playbackRate.getState();if(t!==(null==(e=this.params.output.element$.getValue())?void 0:e.playbackRate)){let e=this.params.output.element$.getValue();e&&(this.params.desiredState.playbackRate.setState(t),e.playbackRate=t)}}}i&&this.params.desiredState.autoVideoTrackSwitching.setState(i.to),n&&"changing_manifest"===n.from&&this.videoState.setState(n.to),"requested"===t.state&&this.seek(t.position)}),n))),this.subscription.add(this.manifests$.pipe((0,o.UI)((e=>e.map((({id:e,quality:t,size:n,bandwidth:r,fps:i})=>({id:e,quality:t,size:n,fps:i,bitrate:r})))))).subscribe(this.params.output.availableVideoTracks$,n)),!(0,o.gn)()||!this.params.tuning.useNativeHLSTextTracks){let{textTracks:e}=this.video;this.subscription.add((0,o.TS)((0,o.RB)(e,"addtrack"),(0,o.RB)(e,"removetrack"),(0,o.RB)(e,"change"),(0,o.$T)(["init"])).subscribe((()=>{for(let t=0;t<e.length;t++)e[t].mode="hidden"}),n))}let a=(0,o.TS)(t.playbackState.stateChangeStarted$,t.seekState.stateChangeEnded$,t.videoTrack.stateChangeStarted$,t.autoVideoTrackSwitching.stateChangeStarted$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,this.manifests$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0));this.subscription.add(a.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.params.output.element$.next(void 0),xn(this.video)}prepare(){var e,t;let n=this.selectManifest();if((0,o.SG)(n))return;let r=this.params.desiredState.autoVideoTrackLimits.getTransition(),i=this.params.desiredState.autoVideoTrackLimits.getState(),a=new URL(n.url);if((r||i)&&n.id===this.masterManifest.id){let{max:n,min:o}=null!=(t=null!=(e=null==r?void 0:r.to)?e:i)?t:{};for(let[e,t]of[[n,"mq"],[o,"lq"]]){let n=String(parseFloat(e||""));t&&e&&a.searchParams.set(t,n)}}this.video.setAttribute("src",a.toString()),this.video.load()}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}},eo=class{constructor(e){this.subscription=new o.w0,this.videoState=new yn("stopped"),this.trackUrls={},this.textTracksManager=new An,this.syncPlayback=()=>{var e,t,n;let r=this.videoState.getState(),i=this.params.desiredState.playbackState.getState(),a=this.params.desiredState.playbackState.getTransition();if("stopped"===i)return void("stopped"!==r&&(this.videoState.startTransitionTo("stopped"),this.video.removeAttribute("src"),this.video.load(),this.params.output.position$.next(0),this.params.output.duration$.next(1/0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let s=this.params.desiredState.autoVideoTrackLimits.getTransition(),l=this.params.desiredState.videoTrack.getTransition(),c=this.params.desiredState.seekState.getState();if(!s||"ready"===r||l){if("stopped"===r)return this.videoState.startTransitionTo("ready"),void this.prepare();if(l){let{currentTime:r}=this.video;return this.prepare(),"none"===c.state&&this.params.desiredState.seekState.setState({state:"requested",position:1e3*r,forcePrecise:!0}),void(l.to&&(null==(e=this.params.desiredState.autoVideoTrackLimits.getState())?void 0:e.max)!==(null==(n=null==(t=this.trackUrls[l.to.id])?void 0:t.track)?void 0:n.quality)&&this.params.output.autoVideoTrackLimits$.next({max:void 0}))}switch("paused"!==(null==a?void 0:a.to)&&"requested"===c.state&&this.seek(c.position),r){case"ready":return void("ready"===i?vn(this.params.desiredState.playbackState,"ready"):"paused"===i?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===i&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===i?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===(null==a?void 0:a.to)&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===i?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===(null==a?void 0:a.to)&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,o.vE)(r)}}else this.handleQualityLimitTransition(s.to.max)},this.params=e,this.video=Sn(e.container),this.params.output.element$.next(this.video),Object.entries(this.params.source).reverse().forEach((([e,t],n)=>{let r=n.toString(10);this.trackUrls[r]={track:{quality:e,id:r},url:t}})),this.params.output.isLive$.next(!1),this.params.output.availableVideoTracks$.next(Object.values(this.trackUrls).map((({track:e})=>e))),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.desiredState.autoVideoTrackSwitching.setState(!1),this.params.output.autoVideoTrackLimitingAvailable$.next(!0),this.subscribe()}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"MpegProvider",category:o.qj.WTF,message:"MpegProvider internal logic error",thrown:t})},r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,e.position$),i(r.durationChange$,e.duration$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(r.loadedMetadata$,e.firstBytesEvent$),i(r.playing$,e.firstFrameEvent$),i(r.canplay$,e.canplay$),i(r.seeked$,e.seekedEvent$),i(r.inPiP$,e.inPiP$),i(r.inFullscreen$,e.inFullscreen$),this.subscription.add(kn(this.video,t.isLooped,n)),this.subscription.add(Cn(this.video,t.volume,r.volumeState$,n)),this.subscription.add(r.volumeState$.subscribe(this.params.output.volume$,n)),this.subscription.add(Tn(this.video,t.playbackRate,r.playbackRateState$,n)),i(ir(this.video),e.elementVisible$),this.subscription.add(r.playing$.subscribe((()=>{this.videoState.setState("playing"),vn(t.playbackState,"playing")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused"),vn(t.playbackState,"paused")}),n)).add(r.canplay$.subscribe((()=>{var e,t;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready");let n=this.params.desiredState.videoTrack.getTransition();if(n&&(0,o.C_)(n.to)){this.params.desiredState.videoTrack.setState(n.to),this.params.output.currentVideoTrack$.next(this.trackUrls[n.to.id].track);let e=this.params.desiredState.playbackRate.getState();if(e!==(null==(t=this.params.output.element$.getValue())?void 0:t.playbackRate)){let t=this.params.output.element$.getValue();t&&(this.params.desiredState.playbackRate.setState(e),t.playbackRate=e)}}"playing"===this.videoState.getState()&&this.playIfAllowed()}),n)),this.textTracksManager.connect(this.video,t,e);let a=(0,o.TS)(t.playbackState.stateChangeStarted$,t.videoTrack.stateChangeStarted$,t.seekState.stateChangeEnded$,t.autoVideoTrackLimits.stateChangeStarted$,this.videoState.stateChangeEnded$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0));this.subscription.add(a.subscribe(this.syncPlayback,n))}destroy(){this.subscription.unsubscribe(),this.textTracksManager.destroy(),this.trackUrls={},this.params.output.element$.next(void 0),xn(this.video)}prepare(){var e;let t=null==(e=this.params.desiredState.videoTrack.getState())?void 0:e.id;(0,o.Z3)(t,"MpegProvider: track is not selected");let{url:n}=this.trackUrls[t];(0,o.Z3)(n,`MpegProvider: No url for ${t}`),this.params.tuning.requestQuick&&(n=_i(n)),this.video.setAttribute("src",n),this.video.load(),this.params.output.hostname$.next(Gn(n))}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))}seek(e){this.params.output.willSeekEvent$.next(),this.video.currentTime=e/1e3}handleQualityLimitTransition(e){var t,n,r,i;let a,s=e;if(e&&(null==(t=this.params.output.currentVideoTrack$.getValue())?void 0:t.quality)!==e){let t=null==(n=Object.values(this.trackUrls).find((t=>!(0,o.fP)(t.track.quality)&&(0,o.zE)(t.track.quality,e))))?void 0:n.track,l=null==(r=this.params.desiredState.videoTrack.getState())?void 0:r.id,c=null==(i=this.trackUrls[null!=l?l:"0"])?void 0:i.track;if(t&&c&&(0,o.T8)(c.quality,t.quality)&&(a=t),!a){let t=Object.values(this.trackUrls).filter((t=>!(0,o.fP)(t.track.quality)&&(0,o.t3)(t.track.quality,e))),n=t.length;n&&(a=t[n-1].track)}a&&(s=a.quality)}else if(!e){let e=Object.values(this.trackUrls).map((e=>e.track));a=$n(e,{container:{width:this.video.offsetWidth,height:this.video.offsetHeight},throughput:this.params.dependencies.throughputEstimator.throughput$.getValue(),tuning:this.params.tuning.autoTrackSelection,forwardBufferHealth:0,abrLogger:this.params.dependencies.abrLogger})}a&&(this.params.output.currentVideoTrack$.next(a),this.params.desiredState.videoTrack.startTransitionTo(a)),this.params.output.autoVideoTrackLimits$.next({max:s})}},to=["stun:videostun.mycdn.me:80"],no=()=>null,ro=class{constructor(e,t){this.ws=null,this.peerConnection=null,this.serverUrl="",this.streamKey="",this.stream=null,this.signalingType="JOIN",this.retryCount=0,this.externalStartCallback=no,this.externalStopCallback=no,this.externalErrorCallback=no,this.options=this.normalizeOptions(t);let n=e.split("/");this.serverUrl=n.slice(0,n.length-1).join("/"),this.streamKey=n[n.length-1]}onStart(e){try{this.externalStartCallback=e}catch(e){this.handleSystemError(e)}}onStop(e){try{this.externalStopCallback=e}catch(e){this.handleSystemError(e)}}onError(e){try{this.externalErrorCallback=e}catch(e){this.handleSystemError(e)}}connect(){this.connectWS()}disconnect(){try{this.externalStopCallback(),this.closeConnections()}catch(e){this.handleSystemError(e)}}connectWS(){this.ws||(this.ws=new WebSocket(this.serverUrl),this.ws.onopen=this.onSocketOpen.bind(this),this.ws.onmessage=this.onSocketMessage.bind(this),this.ws.onclose=this.onSocketClose.bind(this),this.ws.onerror=this.onSocketError.bind(this))}onSocketOpen(){this.handleLogin()}onSocketClose(e){try{if(!this.ws)return;this.ws=null,e.code>1e3?(this.retryCount++,this.retryCount>this.options.maxRetryNumber?this.handleNetworkError():this.scheduleRetry()):this.externalStopCallback()}catch(e){this.handleRTCError(e)}}onSocketError(e){try{this.externalErrorCallback(new Error(e.toString()))}catch(e){this.handleRTCError(e)}}onSocketMessage(e){try{let t=this.parseMessage(e.data);switch(t.type){case"JOIN":case"CALL_JOIN":this.handleJoinMessage(t);break;case"UPDATE":this.handleUpdateMessage(t);break;case"STATUS":this.handleStatusMessage(t)}}catch(e){this.handleRTCError(e)}}handleJoinMessage(e){switch(e.inviteType){case"ANSWER":this.handleAnswer(e.sdp);break;case"CANDIDATE":this.handleCandidate(e.candidate)}}handleStatusMessage(e){if("UNPUBLISHED"===e.status)this.handleUnpublished()}async handleUpdateMessage(e){try{let t=await this.createOffer();this.peerConnection&&await this.peerConnection.setLocalDescription(t),this.handleAnswer(e.sdp)}catch(e){this.handleRTCError(e)}}async handleLogin(){try{let e={iceServers:[{urls:to}]};this.peerConnection=new RTCPeerConnection(e),this.peerConnection.ontrack=this.onPeerConnectionStream.bind(this),this.peerConnection.onicecandidate=this.onPeerConnectionIceCandidate.bind(this),this.peerConnection.oniceconnectionstatechange=this.onPeerConnectionIceConnectionStateChange.bind(this);let t=await this.createOffer();await this.peerConnection.setLocalDescription(t),this.send({type:this.signalingType,inviteType:"OFFER",streamKey:this.streamKey,sdp:t.sdp,callSupport:!1})}catch(e){this.handleRTCError(e)}}async handleAnswer(e){try{this.peerConnection&&await this.peerConnection.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:e}))}catch(e){this.handleRTCError(e)}}async handleCandidate(e){if(e)try{this.peerConnection&&await this.peerConnection.addIceCandidate(e)}catch(e){this.handleRTCError(e)}}handleUnpublished(){try{this.closeConnections(),this.externalStopCallback()}catch(e){this.handleRTCError(e)}}handleSystemError(e){this.options.errorChanel&&this.options.errorChanel.next({id:"webrtc-provider-error",category:o.qj.WTF,message:e.message})}async onPeerConnectionStream(e){let t=e.streams[0];this.stream&&this.stream.id===t.id||(this.stream=t,this.externalStartCallback(this.stream))}onPeerConnectionIceCandidate(e){e.candidate&&this.send({type:this.signalingType,inviteType:"CANDIDATE",candidate:e.candidate})}onPeerConnectionIceConnectionStateChange(){if(this.peerConnection){let e=this.peerConnection.iceConnectionState;["failed","closed"].indexOf(e)>-1&&(this.retryCount++,this.retryCount>this.options.maxRetryNumber?this.handleNetworkError():(this.closeConnections(),this.scheduleRetry()))}}async createOffer(){if(!this.peerConnection)throw new Error("Can not create offer - no peer connection instance ");let e=await this.peerConnection.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!0,voiceActivityDetection:!1}),t=e.sdp||"";if(!/^a=rtpmap:\d+ H264\/\d+$/m.test(t))throw new Error("No h264 codec support error");return e}handleRTCError(e){try{this.externalErrorCallback(e||new Error("RTC connection error"))}catch(e){this.handleSystemError(e)}}handleNetworkError(){try{this.externalErrorCallback(new Error("Network error"))}catch(e){this.handleSystemError(e)}}send(e){this.ws&&this.ws.send(JSON.stringify(e))}parseMessage(e){try{return JSON.parse(e)}catch(e){throw new Error("Can not parse socket message")}}closeConnections(){let e=this.ws;e&&(this.ws=null,e.close(1e3)),this.removePeerConnection()}removePeerConnection(){let e=this.peerConnection;e&&(this.peerConnection=null,e.close(),e.ontrack=null,e.onicecandidate=null,e.oniceconnectionstatechange=null,e=null)}scheduleRetry(){this.retryTimeout=setTimeout(this.connectWS.bind(this),1e3)}normalizeOptions(e={}){let t={stunServerList:to,maxRetryNumber:3,errorChanel:null};return e.stunServerList&&(t.stunServerList=e.stunServerList),e.maxRetryNumber&&e.maxRetryNumber>0&&(t.maxRetryNumber=e.maxRetryNumber),t}},io=class{constructor(e){this.videoState=new yn("stopped"),this.maxSeekBackTime$=new o.v0(0),this.syncPlayback=()=>{let e=this.videoState.getState(),t=this.params.desiredState.playbackState.getState(),n=this.params.desiredState.playbackState.getTransition();if("stopped"===t)return void("stopped"!==e&&(this.videoState.startTransitionTo("stopped"),this.video.pause(),this.video.srcObject=null,this.params.output.position$.next(0),this.params.output.duration$.next(0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.videoState.setState("stopped"),vn(this.params.desiredState.playbackState,"stopped",!0)));if(this.videoState.getTransition())return;let r=this.params.desiredState.videoTrack.getTransition();if("stopped"===e)return this.videoState.startTransitionTo("ready"),void this.prepare();if(r)this.prepare();else switch(e){case"ready":return void("paused"===t?(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused")):"playing"===t&&(this.videoState.startTransitionTo("playing"),this.playIfAllowed()));case"playing":return void("paused"===t?(this.videoState.startTransitionTo("paused"),this.video.pause()):"playing"===(null==n?void 0:n.to)&&vn(this.params.desiredState.playbackState,"playing"));case"paused":return void("playing"===t?(this.videoState.startTransitionTo("playing"),this.playIfAllowed()):"paused"===(null==n?void 0:n.to)&&vn(this.params.desiredState.playbackState,"paused"));default:return(0,o.vE)(e)}},this.subscription=new o.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("WebRTCLiveProvider"),this.video=Sn(e.container),this.liveStreamClient=new ro(this.params.source.url,{maxRetryNumber:this.params.tuning.webrtc.connectionRetryMaxNumber,errorChanel:this.params.output.error$}),this.liveStreamClient.onStart(this.onLiveStreamStart.bind(this)),this.liveStreamClient.onStop(this.onLiveStreamStop.bind(this)),this.liveStreamClient.onError(this.onLiveStreamError.bind(this)),this.subscribe()}destroy(){this.subscription.unsubscribe(),this.liveStreamClient.disconnect(),this.params.output.element$.next(void 0),xn(this.video)}subscribe(){let{output:e,desiredState:t}=this.params,n=t=>{e.error$.next({id:"WebRTCLiveProvider",category:o.qj.WTF,message:"WebRTCLiveProvider internal logic error",thrown:t})};(0,o.TS)(this.videoState.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,type:"start"})))),this.videoState.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,type:"end"}))))).subscribe((({transition:e,type:t})=>{this.log({message:`[videoState change] ${t}: ${JSON.stringify(e)}`})}));let r=Rn(this.video),i=(e,t)=>this.subscription.add(e.subscribe(t,n));i(r.timeUpdate$,e.liveTime$),i(r.ended$,e.endedEvent$),i(r.looped$,e.loopedEvent$),i(r.error$,e.error$),i(r.isBuffering$,e.isBuffering$),i(r.currentBuffer$,e.currentBuffer$),i(ir(this.video),this.params.output.elementVisible$),this.subscription.add(r.durationChange$.subscribe((t=>{e.duration$.next(t===1/0?0:t)}))).add(r.canplay$.subscribe((()=>{var e;"ready"===(null==(e=this.videoState.getTransition())?void 0:e.to)&&this.videoState.setState("ready")}),n)).add(r.pause$.subscribe((()=>{this.videoState.setState("paused")}),n)).add(r.playing$.subscribe((()=>{this.videoState.setState("playing")}),n)).add(r.error$.subscribe(e.error$)).add(this.maxSeekBackTime$.subscribe(this.params.output.duration$)).add(Cn(this.video,t.volume,r.volumeState$,n)).add(r.volumeState$.subscribe(e.volume$,n)).add(this.videoState.stateChangeEnded$.subscribe((n=>{switch(n.to){case"stopped":e.position$.next(0),e.duration$.next(0),t.playbackState.setState("stopped");break;case"ready":break;case"paused":t.playbackState.setState("paused");break;case"playing":t.playbackState.setState("playing");break;default:return(0,o.vE)(n.to)}}),n)).add((0,o.TS)(t.playbackState.stateChangeStarted$,this.videoState.stateChangeEnded$,(0,o.$T)(["init"])).pipe((0,o.Ds)(0)).subscribe(this.syncPlayback.bind(this),n)),this.subscription.add(t.isLooped.stateChangeStarted$.subscribe((()=>t.isLooped.setState(!1)),n)),this.subscription.add(t.autoVideoTrackSwitching.stateChangeStarted$.subscribe((()=>t.autoVideoTrackSwitching.setState(!1)),n))}onLiveStreamStart(e){this.params.output.element$.next(this.video),this.params.output.duration$.next(0),this.params.output.position$.next(0),this.params.output.isLive$.next(!0),this.params.output.canChangePlaybackSpeed$.next(!1),this.params.output.hostname$.next(Gn(this.params.source.url)),this.params.output.autoVideoTrackLimitingAvailable$.next(!1),this.params.output.availableVideoTracks$.next([]),this.params.output.availableAudioTracks$.next([]),this.params.output.isAudioAvailable$.next(!0),this.params.output.currentVideoTrack$.next({id:"webrtc",quality:o.SF.INVARIANT}),this.video.srcObject=e,vn(this.params.desiredState.playbackState,"playing")}onLiveStreamStop(){this.videoState.startTransitionTo("stopped"),this.syncPlayback(),this.params.output.position$.next(0),this.params.output.duration$.next(0),this.params.output.currentBuffer$.next(void 0),this.params.output.hostname$.next(void 0),this.params.output.endedEvent$.next()}onLiveStreamError(e){this.onLiveStreamStop(),this.params.output.error$.next({id:"WebRTC stream runtime error",category:o.qj.EXTERNAL_API,message:e.message,thrown:e})}playIfAllowed(){Wn(this.video).then((e=>{e||(this.videoState.setState("paused"),vn(this.params.desiredState.playbackState,"paused",!0))}),(e=>this.params.output.error$.next({id:"ForcePlay",message:"play() failed even with workarounds",category:o.qj.DOM,thrown:e})))}prepare(){this.liveStreamClient.connect()}},oo=class{constructor(e){this.iterator=e[Symbol.iterator](),this.next()}next(){this.current=this.iterator.next()}getValue(){if(this.current.done)throw new Error("Iterable is completed");return this.current.value}isCompleted(){return!!this.current.done}},ao=(0,o.G4)().device===o.hZ.Android,so=document.createElement("video"),lo='video/webm; codecs="vp09.00.10.08"',co='video/webm; codecs="av01.0.00M.08"',uo={mms:Li(),mse:(()=>{var e,t;return!!(window.MediaSource&&window.MediaStreamTrack&&null!=(t=null==(e=window.SourceBuffer)?void 0:e.prototype)&&t.appendBuffer)})(),hls:!!(null!=(Cr=so.canPlayType)&&Cr.call(so,"application/x-mpegurl")||null!=(Tr=so.canPlayType)&&Tr.call(so,"vnd.apple.mpegURL")),webrtc:!!window.RTCPeerConnection,ws:!!window.WebSocket},po={mp4:!(null==(Or=so.canPlayType)||!Or.call(so,"video/mp4")),webm:!(null==(Mr=so.canPlayType)||!Mr.call(so,"video/webm")),cmaf:!0},fo={h264:!(null==(Pr=null==(Ar=Pi())?void 0:Ar.isTypeSupported)||!Pr.call(Ar,'video/mp4; codecs="avc1.42000a,mp4a.40.2"')),h265:!(null==(Dr=null==(Lr=Pi())?void 0:Lr.isTypeSupported)||!Dr.call(Lr,'video/mp4; codecs="hev1.1.6.L93.B0"')),vp9:!(null==(Ir=null==(Rr=Pi())?void 0:Rr.isTypeSupported)||!Ir.call(Rr,lo)),av1:!(null==(jr=null==(Nr=Pi())?void 0:Nr.isTypeSupported)||!jr.call(Nr,co)),aac:!(null==(Fr=null==(Br=Pi())?void 0:Br.isTypeSupported)||!Fr.call(Br,'audio/mp4; codecs="mp4a.40.2"')),opus:!(null==(zr=null==(Hr=Pi())?void 0:Hr.isTypeSupported)||!zr.call(Hr,'audio/webm; codecs="opus"'))},ho=(fo.h264||fo.h265)&&fo.aac;try{(async()=>{if(!window.navigator.mediaCapabilities)return;let e={type:"media-source",video:{contentType:"video/webm",width:1280,height:720,bitrate:1e6,framerate:30}},[t,n]=await Promise.all([window.navigator.mediaCapabilities.decodingInfo({...e,video:{...e.video,contentType:co}}),window.navigator.mediaCapabilities.decodingInfo({...e,video:{...e.video,contentType:lo}})]);Vr={DASH_WEBM_AV1:t,DASH_WEBM:n}})()}catch(Of){s.error(Of)}var mo=uo.hls&&po.mp4,go=e=>{let t="DASH_WEBM",n="DASH_WEBM_AV1";switch(e){case"vp9":return[t,n];case"av1":return[n,t];case"none":return[];case"smooth":return Vr?Vr[n].smooth?[n,t]:Vr[t].smooth?[t,n]:[n,t]:[t,n];case"power_efficient":return Vr?Vr[n].powerEfficient?[n,t]:Vr[t].powerEfficient?[t,n]:[n,t]:[t,n];default:(0,o.vE)(e)}return[t,n]},vo=({webmCodec:e,androidPreferredFormat:t})=>{if(ao)switch(t){case"mpeg":return["MPEG",...go(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND"];case"hls":return["HLS","HLS_ONDEMAND",...go(e),"DASH_SEP","DASH_ONDEMAND","MPEG"];case"dash":return[...go(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"];case"dash_any_mpeg":return["DASH_SEP","DASH_ONDEMAND","MPEG",...go(e),"HLS","HLS_ONDEMAND"];case"dash_any_webm":return[...go(e),"MPEG","DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND"];case"dash_sep":return["DASH_SEP","MPEG",...go(e),"DASH_ONDEMAND","HLS","HLS_ONDEMAND"];default:(0,o.vE)(t)}return[...go(e),"DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"]},yo=({androidPreferredFormat:e,preferCMAF:t,preferWebRTC:n})=>{let r,i=t?["DASH_LIVE_CMAF","DASH_LIVE"]:["DASH_LIVE","DASH_LIVE_CMAF"],a=t?["HLS_LIVE_CMAF","HLS_LIVE"]:["HLS_LIVE","HLS_LIVE_CMAF"],s=[...i,...a],l=[...a,...i];if(ao)switch(e){case"dash":case"dash_any_mpeg":case"dash_any_webm":case"dash_sep":r=s;break;case"hls":case"mpeg":r=l;break;default:(0,o.vE)(e)}else r=mo?l:s;return n?["WEB_RTC_LIVE",...r]:[...r,"WEB_RTC_LIVE"]},bo=e=>e?["HLS_LIVE","HLS_LIVE_CMAF","DASH_LIVE_CMAF"]:["DASH_WEBM","DASH_WEBM_AV1","DASH_SEP","DASH_ONDEMAND","HLS","HLS_ONDEMAND","MPEG"],wo={chunkDuration:5e3,maxParallelRequests:5},_o=class{constructor(e){this.current$=new o.v0({type:void 0}),this.providerError$=new o.xQ,this.noAvailableProvidersError$=new o.xQ,this.providerOutput={position$:new o.v0(0),duration$:new o.v0(1/0),volume$:new o.v0({muted:!1,volume:1}),currentVideoTrack$:new o.v0(void 0),currentVideoSegmentLength$:new o.v0(0),currentAudioSegmentLength$:new o.v0(0),availableVideoTracks$:new o.v0([]),availableAudioTracks$:new o.v0([]),isAudioAvailable$:new o.v0(!0),autoVideoTrackLimitingAvailable$:new o.v0(!1),autoVideoTrackLimits$:new o.v0(void 0),currentBuffer$:new o.v0(void 0),isBuffering$:new o.v0(!0),error$:new o.xQ,warning$:new o.xQ,willSeekEvent$:new o.xQ,seekedEvent$:new o.xQ,loopedEvent$:new o.xQ,endedEvent$:new o.xQ,firstBytesEvent$:new o.xQ,firstFrameEvent$:new o.xQ,canplay$:new o.xQ,isLive$:new o.v0(void 0),isLowLatency$:new o.v0(!1),canChangePlaybackSpeed$:new o.v0(!0),liveTime$:new o.v0(void 0),liveBufferTime$:new o.v0(void 0),availableTextTracks$:new o.v0([]),currentTextTrack$:new o.v0(void 0),hostname$:new o.v0(void 0),httpConnectionType$:new o.v0(void 0),httpConnectionReused$:new o.v0(void 0),inPiP$:new o.v0(!1),inFullscreen$:new o.v0(!1),element$:new o.v0(void 0),elementVisible$:new o.v0(!0),availableSources$:new o.v0(void 0),is3DVideo$:new o.v0(!1)},this.subscription=new o.w0,this.params=e,this.log=this.params.dependencies.logger.createComponentLog("ProviderContainer");let t=((e,t=!1,n=!1)=>{let r=uo.mse||uo.mms&&n;return e.filter((e=>{switch(e){case"DASH_SEP":case"DASH_ONDEMAND":return r&&po.mp4&&ho;case"DASH_WEBM":return r&&po.webm&&fo.vp9&&fo.opus;case"DASH_WEBM_AV1":return r&&po.webm&&fo.av1&&fo.opus;case"DASH_LIVE":return uo.mse&&po.mp4&&ho;case"DASH_LIVE_CMAF":return r&&po.mp4&&ho&&po.cmaf;case"HLS":case"HLS_ONDEMAND":return mo||t&&uo.mse&&po.mp4&&ho;case"HLS_LIVE":case"HLS_LIVE_CMAF":return mo;case"MPEG":return po.mp4;case"DASH_LIVE_WEBM":return!1;case"WEB_RTC_LIVE":return uo.webrtc&&uo.ws&&fo.h264&&(po.mp4||po.webm);default:return(0,o.vE)(e)}}))})([...yo(this.params.tuning),...vo(this.params.tuning)],this.params.tuning.useHlsJs,this.params.tuning.useManagedMediaSource).filter((t=>(0,o.C_)(e.sources[t]))),{forceFormat:n,formatsToAvoid:r}=this.params.tuning,i=[];i=n?[n]:r.length?[...t.filter((e=>!r.includes(e))),...t.filter((e=>r.includes(e)))]:t,this.log({message:`Selected formats: ${i.join(" > ")}`}),this.screenFormatsIterator=new oo(i);let a=[...bo(!0),...bo(!1)];this.chromecastFormatsIterator=new oo(a.filter((t=>(0,o.C_)(e.sources[t])))),this.providerOutput.availableSources$.next(e.sources)}init(){this.subscription.add(this.initProviderErrorHandling()),this.subscription.add(this.params.dependencies.chromecastInitializer.connection$.subscribe((()=>{this.reinitProvider()})))}destroy(){this.destroyProvider(),this.current$.next({type:void 0}),this.subscription.unsubscribe()}initProvider(){let e,t=this.chooseDestination(),n=this.chooseFormat(t);if((0,o.SG)(n))this.handleNoFormatsError(t);else{try{e=this.createProvider(t,n)}catch(e){this.providerError$.next({id:"ProviderNotConstructed",category:o.qj.WTF,message:"Failed to create provider",thrown:e})}e?this.current$.next({type:n,provider:e,destination:t}):this.current$.next({type:void 0})}}reinitProvider(){this.destroyProvider(),this.initProvider()}switchToNextProvider(e){this.destroyProvider(),this.failoverIndex=void 0,this.skipFormat(e),this.initProvider()}destroyProvider(){let e=this.current$.getValue().provider;if(!e)return;this.log({message:"destroyProvider"});let t=1e3*this.providerOutput.position$.getValue(),n=this.params.desiredState.seekState.getState(),r="none"!==n.state;if(this.params.desiredState.seekState.setState({state:"requested",position:r?n.position:t,forcePrecise:!!r&&n.forcePrecise}),e.scene3D){let t=e.scene3D.getCameraRotation();this.params.desiredState.cameraOrientation.setState({x:t.x,y:t.y})}e.destroy();let i=this.providerOutput.isBuffering$;i.getValue()||i.next(!0)}createProvider(e,t){switch(this.log({message:`createProvider: ${e}:${t}`}),e){case"SCREEN":return this.createScreenProvider(t);case"CHROMECAST":return this.createChromecastProvider(t);default:return(0,o.vE)(e)}}createScreenProvider(e){let{sources:t,container:n,desiredState:r}=this.params,i=this.providerOutput,a={container:n,source:null,desiredState:r,output:i,dependencies:this.params.dependencies,tuning:this.params.tuning};switch(e){case"DASH_SEP":case"DASH_WEBM":case"DASH_WEBM_AV1":case"DASH_ONDEMAND":{let n=this.applyFailoverHost(t[e]),r=this.applyFailoverHost(t.HLS_ONDEMAND||t.HLS);return(0,o.Z3)(n),new Fi({...a,source:n,sourceHls:r})}case"DASH_LIVE_CMAF":{let n=this.applyFailoverHost(t[e]);return(0,o.Z3)(n),new Hi({...a,source:n})}case"HLS":case"HLS_ONDEMAND":{let n=this.applyFailoverHost(t[e]);return(0,o.Z3)(n),mo||!this.params.tuning.useHlsJs?new Ji({...a,source:n}):new $i({...a,source:n})}case"HLS_LIVE":case"HLS_LIVE_CMAF":{let n=this.applyFailoverHost(t[e]);return(0,o.Z3)(n),new Xi({...a,source:n,config:{maxPausedTime:this.params.tuning.live.maxPausedTime},format:e})}case"MPEG":{let n=this.applyFailoverHost(t[e]);return(0,o.Z3)(n),new eo({...a,source:n})}case"DASH_LIVE":{let n=this.applyFailoverHost(t[e]);return(0,o.Z3)(n),new sr({...a,source:n,config:{...wo,maxPausedTime:this.params.tuning.live.maxPausedTime}})}case"WEB_RTC_LIVE":{let a=this.applyFailoverHost(t[e]);return(0,o.Z3)(a),new io({container:n,source:a,desiredState:r,output:i,dependencies:this.params.dependencies,tuning:this.params.tuning})}case"DASH_LIVE_WEBM":throw new Error("DASH_LIVE_WEBM is no longer supported");default:return(0,o.vE)(e)}}createChromecastProvider(e){let{sources:t,container:n,desiredState:r,meta:i}=this.params,a=this.providerOutput,s=this.params.dependencies.chromecastInitializer.connection$.getValue();return(0,o.Z3)(s),new bn({connection:s,meta:i,container:n,source:t,format:e,desiredState:r,output:a,dependencies:this.params.dependencies,tuning:this.params.tuning})}chooseDestination(){return this.params.dependencies.chromecastInitializer.connection$.getValue()?"CHROMECAST":"SCREEN"}chooseFormat(e){switch(e){case"SCREEN":return this.screenFormatsIterator.isCompleted()?void 0:this.screenFormatsIterator.getValue();case"CHROMECAST":return this.chromecastFormatsIterator.isCompleted()?void 0:this.chromecastFormatsIterator.getValue();default:return(0,o.vE)(e)}}skipFormat(e){switch(e){case"SCREEN":return this.screenFormatsIterator.next();case"CHROMECAST":return this.chromecastFormatsIterator.next();default:return(0,o.vE)(e)}}handleNoFormatsError(e){switch(e){case"SCREEN":return this.noAvailableProvidersError$.next(this.params.tuning.forceFormat),void this.current$.next({type:void 0});case"CHROMECAST":return void this.params.dependencies.chromecastInitializer.disconnect();default:return(0,o.vE)(e)}}applyFailoverHost(e){if(void 0===this.failoverIndex)return e;let t=this.params.failoverHosts[this.failoverIndex];if(!t)return e;let n=e=>{let n=new URL(e);return n.host=t,n.toString()};if(void 0===e)return e;if("type"in e){if("raw"===e.type)return e;if("url"===e.type)return{...e,url:n(e.url)}}return(0,fn.default)(Object.entries(e).map((([e,t])=>[e,n(t)])))}initProviderErrorHandling(){let e=new o.w0,t=!1,n=0;return e.add((0,o.TS)(this.providerOutput.error$,(r={desiredPlaybackState$:this.params.desiredState.playbackState,maxTransitionInterval:this.params.tuning.maxPlaybackTransitionInterval,position$:this.providerOutput.position$,providerChanged$:this.current$},new o.y$((e=>{let t=new o.w0,n=r.desiredPlaybackState$.stateChangeStarted$.pipe((0,o.UI)((({from:e,to:t})=>`${e}-${t}`))),i=r.desiredPlaybackState$.stateChangeEnded$,a=r.providerChanged$.pipe((0,o.UI)((({type:e})=>void 0!==e))),s=new o.xQ,l=0,c="unknown";return t.add(n.subscribe((e=>{l&&window.clearTimeout(l),c=e,l=window.setTimeout((()=>s.next(e)),r.maxTransitionInterval)}))),t.add(i.subscribe((()=>{window.clearTimeout(l),c="unknown",l=0}))),t.add(a.subscribe((e=>{l&&(window.clearTimeout(l),l=0,e&&(l=window.setTimeout((()=>s.next(c)),r.maxTransitionInterval)))}))),t.add(s.subscribe(e)),()=>{window.clearTimeout(l),t.unsubscribe()}}))).pipe((0,o.UI)((e=>({id:`ProviderHangup:${e}`,category:o.qj.WTF,message:`A ${e} transition failed to complete within reasonable time`}))))).subscribe(this.providerError$)),e.add(this.current$.subscribe((()=>{t=!1;let n=this.params.desiredState.playbackState.transitionEnded$.pipe((0,o.hX)((({to:e})=>"playing"===e)),(0,o.IH)()).subscribe((()=>t=!0));e.add(n)}))),e.add(this.providerError$.subscribe((e=>{let r=this.current$.getValue().destination;if("CHROMECAST"===r)this.destroyProvider(),this.params.dependencies.chromecastInitializer.stopMedia().then((()=>this.switchToNextProvider("SCREEN")),(()=>this.params.dependencies.chromecastInitializer.disconnect()));else{let i=e.category===o.qj.NETWORK,a=e.category===o.qj.FATAL,s=this.params.failoverHosts.length>0&&(void 0===this.failoverIndex||this.failoverIndex<this.params.failoverHosts.length-1),l=n<this.params.tuning.providerErrorLimit&&!a;s&&!a&&(i&&t||!l)?(this.failoverIndex=void 0===this.failoverIndex?0:this.failoverIndex+1,this.reinitProvider()):l?(n++,this.reinitProvider()):this.switchToNextProvider(null!=r?r:"SCREEN")}}))),e;var r}},So="one_video_throughput",xo="one_video_rtt",Eo=window.navigator.connection,ko=()=>{let e=null==Eo?void 0:Eo.downlink;if((0,o.C_)(e)&&10!==e)return 1e3*e},Co=()=>{let e=null==Eo?void 0:Eo.rtt;if((0,o.C_)(e)&&3e3!==e)return e},To=(e,t,n)=>{let r=8*n;return r/(r/e+t)},Oo=class e{constructor(t){var n,r;this.subscription=new o.w0,this.concurrentDownloads=new Set,this.tuningConfig=t;let i=e.load(So)||(t.useBrowserEstimation?ko():void 0)||5e3,a=null!=(r=null!=(n=e.load(xo))?n:t.useBrowserEstimation?Co():void 0)?r:0;if(this.throughput$=new o.v0(i),this.rtt$=new o.v0(a),this.rttAdjustedThroughput$=new o.v0(To(i,a,t.rttPenaltyRequestSize)),this.throughput=Ai.getSmoothedValue(i,-1,t),this.rtt=Ai.getSmoothedValue(a,1,t),t.useBrowserEstimation){let e=()=>{let e=ko();e&&this.throughput.next(e);let t=Co();(0,o.C_)(t)&&this.rtt.next(t)};Eo&&"onchange"in Eo&&this.subscription.add((0,o.RB)(Eo,"change").subscribe(e)),e()}this.subscription.add(this.throughput.smoothed$.subscribe((e=>{o.we.set(So,e.toFixed(0))}))),this.subscription.add(this.rtt.smoothed$.subscribe((e=>{o.we.set(xo,e.toFixed(0))}))),this.subscription.add(this.throughput.debounced$.subscribe(this.throughput$)),this.subscription.add(this.rtt.debounced$.subscribe(this.rtt$)),this.subscription.add((0,o.$e)({throughput:this.throughput.smoothed$,rtt:this.rtt.smoothed$}).pipe((0,o.UI)((({throughput:e,rtt:n})=>To(e,n,t.rttPenaltyRequestSize))),(0,o.hX)((e=>{let n=this.rttAdjustedThroughput$.getValue()||0;return Math.abs(e-n)/n>=t.changeThreshold}))).subscribe(this.rttAdjustedThroughput$))}destroy(){this.concurrentDownloads.clear(),this.subscription.unsubscribe()}trackXHR(e){let t=0,n=(0,o.zO)(),r=new o.w0;switch(this.subscription.add(r),this.concurrentDownloads.add(e),e.readyState){case 4:break;case 3:case 2:r.add((0,o.RB)(e,"progress").pipe((0,o.IH)()).subscribe((e=>{t=e.loaded,n=(0,o.zO)()})));break;case 1:case 0:r.add((0,o.RB)(e,"loadstart").subscribe((()=>{t=0,n=(0,o.zO)()})))}r.add((0,o.RB)(e,"loadend").subscribe((i=>{if(200===e.status){let e=i.loaded,r=(0,o.zO)(),a=e-t,s=r-n;this.addRawSpeed(a,s,1)}this.concurrentDownloads.delete(e),r.unsubscribe()})))}trackStream(e,t=!1){let n=e.getReader();if(!n)return void e.cancel("Could not get reader");let r=0,i=(0,o.zO)(),a=0,s=(0,o.zO)(),l=t=>{this.concurrentDownloads.delete(e),n.releaseLock(),e.cancel(`Throughput Estimator error: ${t}`).catch((()=>{}))},c=async({done:u,value:d})=>{if(u)!t&&this.addRawSpeed(r,(0,o.zO)()-i,1),this.concurrentDownloads.delete(e);else if(d){if(t){if((0,o.zO)()-s<this.tuningConfig.lowLatency.continuesByteSequenceInterval)a+=d.byteLength;else{let e=s-i;e&&this.addRawSpeed(a,e,1,t),a=d.byteLength,i=(0,o.zO)()}s=(0,o.zO)()}else r+=d.byteLength,a+=d.byteLength,a>=this.tuningConfig.streamMinSampleSize&&(0,o.zO)()-s>=this.tuningConfig.streamMinSampleTime&&(this.addRawSpeed(a,(0,o.zO)()-s,this.concurrentDownloads.size),a=0,s=(0,o.zO)());await(null==n?void 0:n.read().then(c,l))}};this.concurrentDownloads.add(e),null==n||n.read().then(c,l)}addRawSpeed(t,n,r=1,i=!1){if(e.sanityCheck(t,n,i)){let e=8*t/n;this.throughput.next(e*r)}}addRawThroughput(e){this.throughput.next(e)}addRawRtt(e){this.rtt.next(e)}static sanityCheck(e,t,n=!1){let r=8*e/t;return!(!r||!isFinite(r)||r>1e6||r<30||n&&e<1e4||!n&&e<10240||!n&&t<=20)}static load(e){var t;let n=o.we.get(e);if((0,o.C_)(n))return null!=(t=parseInt(n,10))?t:void 0}},Mo={configName:["core"],throughputEstimator:{type:"EmaAndMa",emaAlphaSlow:.2,emaAlphaFast:.7,emaAlpha:.45,basisTrendChangeCount:10,changeThreshold:.05,useBrowserEstimation:!0,rttPenaltyRequestSize:1048576,streamMinSampleSize:10240,streamMinSampleTime:300,deviationDepth:20,deviationFactor:.5,lowLatency:{continuesByteSequenceInterval:10}},autoTrackSelection:{bitrateFactorAtEmptyBuffer:1.8,bitrateFactorAtFullBuffer:1.2,usePixelRatio:!0,limitByContainer:!0,containerSizeFactor:2,lazyQualitySwitch:!0,minBufferToSwitchUp:.4,considerPlaybackRate:!1,trackCooldown:3e3,backgroundVideoQualityLimit:o.SF.Q_4320P,activeVideoAreaThreshold:.1},droppedFramesChecker:{enabled:!1,percentLimit:.1,checkTime:1e3,countLimit:3,tickCountAfterQualityChange:5,qualityUpWaitingTime:5e3,minQualityBanLimit:o.SF.Q_480P},dash:{forwardBufferTarget:6e4,forwardBufferTargetAuto:6e4,forwardBufferTargetManual:3e5,forwardBufferTargetPreload:5e3,maxSegmentDurationLeftToSelectNextSegment:3e3,minSafeBufferThreshold:.5,bufferPruningSafeZone:1e3,segmentRequestSize:1048576,representationSwitchForwardBufferGap:3e3,crashOnStallTimeout:3e4,enableSubSegmentBufferFeeding:!0,segmentTimelineTolerance:100,useFetchPriorityHints:!0},dashCmafLive:{maxActiveLiveOffset:1e4,normalizedTargetMinBufferSize:6e4,normalizedLiveMinBufferSize:5e3,normalizedActualBufferOffset:1e4,offsetCalculationError:3e3,lowLatency:{maxTargetOffset:3e3,maxTargetOffsetDeviation:500,playbackCatchupSpeedup:.05,isActive:!1,delayEstimator:{emaAlpha:.45,changeThreshold:.05,deviationDepth:20,deviationFactor:.5,extremumInterval:5}}},live:{minBuffer:3e3,minBufferSegments:3,lowLatencyMinBuffer:1e3,lowLatencyMinBufferSegments:1,isLiveCatchUpMode:!1,lowLatencyActiveLiveDelay:3e3,activeLiveDelay:5e3,maxPausedTime:5e3},downloadBackoff:{bufferThreshold:100,start:100,factor:2,max:3e3,random:.1},enableWakeLock:!0,enableTelemetryAtStart:!1,forceFormat:void 0,formatsToAvoid:[],disableChromecast:!1,chromecastReceiverId:void 0,useWebmBigRequest:!1,webmCodec:"vp9",androidPreferredFormat:"mpeg",preferCMAF:!1,preferWebRTC:!1,bigRequestMinInitSize:51200,bigRequestMinDataSize:1048576,stripRangeHeader:!0,flushShortLoopedBuffers:!0,insufficientBufferRuleMargin:1e4,dashSeekInSegmentDurationThreshold:18e4,dashSeekInSegmentAlwaysSeekDelta:1e4,endGapTolerance:300,stallIgnoreThreshold:33,gapWatchdogInterval:50,requestQuick:!1,useHlsJs:!0,useDashAbortPartiallyFedSegment:!1,useNativeHLSTextTracks:!1,useManagedMediaSource:!1,isAudioDisabled:!1,autoplayOnlyInActiveTab:!0,dynamicImportTimeout:5e3,maxPlaybackTransitionInterval:2e4,providerErrorLimit:3,manifestRetryInterval:300,manifestRetryMaxInterval:1e4,manifestRetryMaxCount:10,webrtc:{connectionRetryMaxNumber:3},spherical:{enabled:!1,fov:{x:135,y:76},rotationSpeed:45,maxYawAngle:175,rotationSpeedCorrection:10,degreeToPixelCorrection:5,speedFadeTime:2e3,speedFadeThreshold:50}},Ao=({seekState:e,position$:t})=>(0,o.TS)(e.stateChangeEnded$.pipe((0,o.UI)((({to:e})=>{var t;return"none"===e.state?void 0:(null!=(t=e.position)?t:NaN)/1e3})),(0,o.hX)(o.C_)),t.pipe((0,o.hX)((()=>"none"===e.getState().state)))),Po=class{constructor(e={configName:[]}){if(this.subscription=new o.w0,this.logger=new o.Yd,this.abrLogger=this.logger.createComponentLog("ABR"),this.isPlaybackStarted=!1,this.hasLiveOffsetByPaused=new o.v0(!1),this.hasLiveOffsetByPausedTimer=0,this.desiredState={playbackState:new yn("stopped"),seekState:new yn({state:"none"}),volume:new yn({volume:1,muted:!1}),videoTrack:new yn(void 0),autoVideoTrackSwitching:new yn(!0),autoVideoTrackLimits:new yn({}),isLooped:new yn(!1),playbackRate:new yn(1),externalTextTracks:new yn([]),internalTextTracks:new yn([]),currentTextTrack:new yn(void 0),textTrackCuesSettings:new yn({}),cameraOrientation:new yn({x:0,y:0})},this.info={playbackState$:new o.v0("stopped"),position$:new o.v0(0),duration$:new o.v0(1/0),muted$:new o.v0(!1),volume$:new o.v0(1),availableQualities$:new o.v0([]),availableQualitiesFps$:new o.v0({}),availableAudioTracks$:new o.v0([]),isAudioAvailable$:new o.v0(!0),currentQuality$:new o.v0(void 0),isAutoQualityEnabled$:new o.v0(!0),autoQualityLimitingAvailable$:new o.v0(!1),autoQualityLimits$:new o.v0({}),currentPlaybackRate$:new o.v0(1),currentBuffer$:new o.v0({start:0,end:0}),isBuffering$:new o.v0(!0),isStalled$:new o.v0(!1),isEnded$:new o.v0(!1),isLooped$:new o.v0(!1),isLive$:new o.v0(void 0),canChangePlaybackSpeed$:new o.v0(void 0),atLiveEdge$:new o.v0(void 0),atLiveDurationEdge$:new o.v0(void 0),liveTime$:new o.v0(void 0),liveBufferTime$:new o.v0(void 0),currentFormat$:new o.v0(void 0),availableTextTracks$:new o.v0([]),currentTextTrack$:new o.v0(void 0),throughputEstimation$:new o.v0(void 0),rttEstimation$:new o.v0(void 0),videoBitrate$:new o.v0(void 0),hostname$:new o.v0(void 0),httpConnectionType$:new o.v0(void 0),httpConnectionReused$:new o.v0(void 0),surface$:new o.v0("none"),chromecastState$:new o.v0("NOT_AVAILABLE"),chromecastDeviceName$:new o.v0(void 0),intrinsicVideoSize$:new o.v0(void 0),availableSources$:new o.v0(void 0),is3DVideo$:new o.v0(!1),currentVideoSegmentLength$:new o.v0(0),currentAudioSegmentLength$:new o.v0(0)},this.events={inited$:new o.xQ,ready$:new o.xQ,started$:new o.xQ,playing$:new o.xQ,paused$:new o.xQ,stopped$:new o.xQ,willStart$:new o.xQ,willResume$:new o.xQ,willPause$:new o.xQ,willStop$:new o.xQ,willDestruct$:new o.xQ,watchCoverageRecord$:new o.xQ,watchCoverageLive$:new o.xQ,managedError$:new o.xQ,fatalError$:new o.xQ,ended$:new o.xQ,looped$:new o.xQ,seeked$:new o.xQ,willSeek$:new o.xQ,firstBytes$:new o.xQ,firstFrame$:new o.xQ,canplay$:new o.xQ,log$:new o.xQ},this.experimental={element$:new o.v0(void 0),tuningConfigName$:new o.v0([]),enableDebugTelemetry$:new o.v0(!1),dumpTelemetry:Fn},this.initLogs(),this.tuning=(e=>{var t;return{...(0,o.Cd)(e,Mo),configName:[...null!=(t=e.configName)?t:[],...Mo.configName]}})(e),this.experimental.tuningConfigName$.next(this.tuning.configName),this.chromecastInitializer=new dn({receiverApplicationId:e.chromecastReceiverId,isDisabled:e.disableChromecast,dependencies:{logger:this.logger}}),this.throughputEstimator=new Oo(this.tuning.throughputEstimator),this.initChromecastSubscription(),this.initDesiredStateSubscriptions(),Proxy&&Reflect)return new Proxy(this,{get:(e,t,n)=>{let r=Reflect.get(e,t,n);return"function"!=typeof r?r:(...n)=>{try{return r.apply(e,n)}catch(e){let r=n.map((e=>JSON.stringify(e,((e,t)=>{let n=typeof t;return["number","string","boolean"].includes(n)?t:null===t?null:`<${n}>`})))),i=`Player.${String(t)}`,a=`Exception calling ${i} (${r.join(", ")})`;throw this.events.fatalError$.next({id:i,category:o.qj.WTF,message:a,thrown:e}),e}}}})}initVideo(e){var t,n,r;return this.config=e,this.domContainer=(e=>{let t="string"==typeof e.container?document.getElementById(e.container):e.container;return(0,o.Z3)(t,`Wrong container or containerId {${e.container}}`),t})(e),this.chromecastInitializer.contentId=null==(t=e.meta)?void 0:t.videoId,this.providerContainer=new _o({sources:e.sources,meta:null!=(n=e.meta)?n:{},failoverHosts:null!=(r=e.failoverHosts)?r:[],container:this.domContainer,desiredState:this.desiredState,dependencies:{throughputEstimator:this.throughputEstimator,chromecastInitializer:this.chromecastInitializer,logger:this.logger,abrLogger:this.abrLogger},tuning:this.tuning}),this.initProviderContainerSubscription(this.providerContainer),this.initStartingVideoTrack(this.providerContainer),this.providerContainer.init(),this.setMuted(this.tuning.isAudioDisabled),this.initDebugTelemetry(),this.initWakeLock(),this}destroy(){var e;window.clearTimeout(this.hasLiveOffsetByPausedTimer),this.events.willDestruct$.next(),this.stop(),null==(e=this.providerContainer)||e.destroy(),this.throughputEstimator.destroy(),this.chromecastInitializer.destroy(),this.subscription.unsubscribe()}prepare(){let e=this.desiredState.playbackState;return"stopped"===e.getState()&&e.startTransitionTo("ready"),this}play(){let e=()=>{let e=this.desiredState.playbackState;"playing"!==e.getState()&&e.startTransitionTo("playing")};return document.hidden&&this.tuning.autoplayOnlyInActiveTab&&!rr()?(0,o.RB)(document,"visibilitychange").pipe((0,o.IH)()).subscribe(e):e(),this}pause(){let e=this.desiredState.playbackState;return"paused"!==e.getState()&&e.startTransitionTo("paused"),this}stop(){let e=this.desiredState.playbackState;return"stopped"!==e.getState()&&e.startTransitionTo("stopped"),this}seekTime(e,t=!0){let n=this.info.duration$.getValue(),r=this.info.isLive$.getValue();return e>=n&&!r&&(e=n-.1),this.events.willSeek$.next({from:this.getExactTime(),to:e}),this.desiredState.seekState.setState({state:"requested",position:1e3*e,forcePrecise:t}),this}seekPercent(e){let t=this.info.duration$.getValue();return isFinite(t)&&this.seekTime(Math.abs(t)*e,!1),this}setVolume(e){let t=this.tuning.isAudioDisabled||this.desiredState.volume.getState().muted;return"CONNECTED"===this.chromecastInitializer.castState$.getValue()?this.chromecastInitializer.setVolume(e):this.desiredState.volume.startTransitionTo({volume:e,muted:t}),this}setMuted(e){let t=this.tuning.isAudioDisabled||e;return"CONNECTED"===this.chromecastInitializer.castState$.getValue()?this.chromecastInitializer.setMuted(t):this.desiredState.volume.startTransitionTo({volume:this.desiredState.volume.getState().volume,muted:t}),this}setQuality(e){(0,o.Z3)(this.providerContainer);let t=this.providerContainer.providerOutput.availableVideoTracks$.getValue();return void 0===this.desiredState.videoTrack.getState()&&void 0===this.desiredState.videoTrack.getPrevState()&&0===t.length?this.providerContainer.providerOutput.availableVideoTracks$.pipe((0,o.hX)((e=>e.length>0)),(0,o.IH)()).subscribe((t=>{this.setVideoTrackIdByQuality(t,e)})):t.length>0&&this.setVideoTrackIdByQuality(t,e),this}setAutoQuality(e){return this.desiredState.autoVideoTrackSwitching.startTransitionTo(e),this}setAutoQualityLimits(e){return this.desiredState.autoVideoTrackLimits.startTransitionTo(e),this}setPlaybackRate(e){var t;(0,o.Z3)(this.providerContainer);let n=null==(t=this.providerContainer)?void 0:t.providerOutput.element$.getValue();return n&&(this.desiredState.playbackRate.setState(e),n.playbackRate=e),this}setExternalTextTracks(e){return this.desiredState.externalTextTracks.startTransitionTo(e.map((e=>({type:"external",...e})))),this}selectTextTrack(e){var t;return((e,t,n,r)=>{void 0!==e&&void 0===t.getState()&&void 0===t.getPrevState()&&0===(null==n?void 0:n.getValue().length)?n.pipe((0,o.hX)((e=>e.length>0)),(0,o.IH)()).subscribe((n=>{n.find(r)&&t.startTransitionTo(e)})):(void 0===e||null!=n&&n.getValue().find(r))&&t.startTransitionTo(e)})(e,this.desiredState.currentTextTrack,null==(t=this.providerContainer)?void 0:t.providerOutput.availableTextTracks$,(t=>t.id===e)),this}setTextTrackCueSettings(e){return this.desiredState.textTrackCuesSettings.startTransitionTo(e),this}setLooped(e){return this.desiredState.isLooped.startTransitionTo(e),this}toggleChromecast(){this.chromecastInitializer.toggleConnection()}startCameraManualRotation(e,t){let n=this.getScene3D();return n&&n.startCameraManualRotation(e,t),this}stopCameraManualRotation(e=!1){let t=this.getScene3D();return t&&t.stopCameraManualRotation(e),this}moveCameraFocusPX(e,t){let n=this.getScene3D();if(n){let r=n.getCameraRotation(),i=n.pixelToDegree({x:e,y:t});this.desiredState.cameraOrientation.setState({x:r.x+i.x,y:r.y+i.y})}return this}holdCamera(){let e=this.getScene3D();return e&&e.holdCamera(),this}releaseCamera(){let e=this.getScene3D();return e&&e.releaseCamera(),this}getExactTime(){if(!this.providerContainer)return 0;let e=this.providerContainer.providerOutput.element$.getValue();if((0,o.SG)(e))return this.info.position$.getValue();let t=this.desiredState.seekState.getState(),n="none"===t.state?void 0:t.position;return(0,o.C_)(n)?n/1e3:e.currentTime}getAllLogs(){return this.logger.getAllLogs()}getScene3D(){var e,t;let n=null==(e=this.providerContainer)?void 0:e.current$.getValue();if(null!=(t=null==n?void 0:n.provider)&&t.scene3D)return n.provider.scene3D}setIntrinsicVideoSize(...e){let t={width:e.reduce(((e,{width:t})=>e||t||0),0),height:e.reduce(((e,{height:t})=>e||t||0),0)};t.width&&t.height&&this.info.intrinsicVideoSize$.next({width:t.width,height:t.height})}initDesiredStateSubscriptions(){this.subscription.add((0,o.TS)(this.desiredState.playbackState.stateChangeStarted$,this.desiredState.playbackState.forceChanged$).pipe((0,o.UI)((e=>e.to))).subscribe(this.info.playbackState$)).add(this.desiredState.isLooped.stateChangeEnded$.pipe((0,o.UI)((e=>e.to))).subscribe(this.info.isLooped$)).add(this.desiredState.playbackRate.stateChangeEnded$.pipe((0,o.UI)((e=>e.to))).subscribe(this.info.currentPlaybackRate$)).add(this.desiredState.autoVideoTrackSwitching.stateChangeEnded$.pipe((0,o.UI)((e=>e.to))).subscribe(this.info.isAutoQualityEnabled$)).add(this.desiredState.autoVideoTrackLimits.stateChangeEnded$.pipe((0,o.UI)((e=>e.to))).subscribe(this.info.autoQualityLimits$)),this.subscription.add(this.desiredState.playbackState.stateChangeStarted$.pipe((0,o.hX)((({from:e})=>"stopped"===e)),(0,o.IH)()).subscribe((()=>{this.initedAt=(0,o.zO)(),this.events.inited$.next()}))).add(this.desiredState.playbackState.stateChangeEnded$.subscribe((e=>{switch(e.to){case"ready":this.events.ready$.next();break;case"playing":this.isPlaybackStarted||this.events.started$.next(),this.isPlaybackStarted=!0,this.events.playing$.next();break;case"paused":this.events.paused$.next();break;case"stopped":this.events.stopped$.next()}}))).add(this.desiredState.playbackState.stateChangeStarted$.subscribe((e=>{switch(e.to){case"paused":this.events.willPause$.next();break;case"playing":this.isPlaybackStarted?this.events.willResume$.next():this.events.willStart$.next();break;case"stopped":this.events.willStop$.next()}})))}initProviderContainerSubscription(e){this.subscription.add(e.providerOutput.willSeekEvent$.subscribe((()=>{let e=this.desiredState.seekState.getState();"requested"===e.state?this.desiredState.seekState.setState({...e,state:"applying"}):this.events.managedError$.next({id:`WillSeekIn${e.state}`,category:o.qj.WTF,message:"Received unexpeceted willSeek$"})}))).add(e.providerOutput.seekedEvent$.subscribe((()=>{"applying"===this.desiredState.seekState.getState().state&&(this.desiredState.seekState.setState({state:"none"}),this.events.seeked$.next())}))).add(e.current$.pipe((0,o.UI)((e=>e.type))).subscribe(this.info.currentFormat$)).add(e.current$.pipe((0,o.UI)((e=>e.destination)),(0,o.qz)()).subscribe((()=>{this.isPlaybackStarted=!1}))).add(e.providerOutput.availableVideoTracks$.pipe((0,o.UI)((e=>e.map((({quality:e})=>e)).sort(((e,t)=>(0,o.fP)(e)?1:(0,o.fP)(t)?-1:(0,o.t3)(t,e)?1:-1))))).subscribe(this.info.availableQualities$)).add(e.providerOutput.availableVideoTracks$.subscribe((e=>{let t={};for(let n of e)n.fps&&(t[n.quality]=n.fps);this.info.availableQualitiesFps$.next(t)}))).add(e.providerOutput.availableAudioTracks$.subscribe(this.info.availableAudioTracks$)).add(e.providerOutput.isAudioAvailable$.subscribe(this.info.isAudioAvailable$)).add(e.providerOutput.currentVideoTrack$.subscribe((e=>{this.info.currentQuality$.next(null==e?void 0:e.quality),this.info.videoBitrate$.next(null==e?void 0:e.bitrate)}))).add(e.providerOutput.currentVideoSegmentLength$.subscribe(this.info.currentVideoSegmentLength$)).add(e.providerOutput.currentAudioSegmentLength$.subscribe(this.info.currentAudioSegmentLength$)).add(e.providerOutput.hostname$.pipe((0,o.qz)()).subscribe(this.info.hostname$)).add(e.providerOutput.httpConnectionType$.pipe((0,o.qz)()).subscribe(this.info.httpConnectionType$)).add(e.providerOutput.httpConnectionReused$.pipe((0,o.qz)()).subscribe(this.info.httpConnectionReused$)).add(e.providerOutput.currentTextTrack$.subscribe(this.info.currentTextTrack$)).add(e.providerOutput.availableTextTracks$.subscribe(this.info.availableTextTracks$)).add(e.providerOutput.autoVideoTrackLimitingAvailable$.subscribe(this.info.autoQualityLimitingAvailable$)).add(e.providerOutput.autoVideoTrackLimits$.subscribe((e=>{this.desiredState.autoVideoTrackLimits.setState(null!=e?e:{})}))).add(e.providerOutput.currentBuffer$.pipe((0,o.UI)((e=>e?{start:e.from,end:e.to}:{start:0,end:0}))).subscribe(this.info.currentBuffer$)).add(e.providerOutput.duration$.subscribe(this.info.duration$)).add(e.providerOutput.isBuffering$.subscribe(this.info.isBuffering$)).add(e.providerOutput.isLive$.subscribe(this.info.isLive$)).add(e.providerOutput.canChangePlaybackSpeed$.subscribe(this.info.canChangePlaybackSpeed$)).add(e.providerOutput.liveTime$.subscribe(this.info.liveTime$)).add(e.providerOutput.liveBufferTime$.subscribe(this.info.liveBufferTime$)).add((0,o.$e)({hasLiveOffsetByPaused:(0,o.TS)(this.desiredState.playbackState.stateChangeStarted$,this.desiredState.playbackState.forceChanged$).pipe((0,o.UI)((e=>e.to)),(0,o.qz)(),(0,o.UI)((e=>"paused"===e))),isLowLatency:e.providerOutput.isLowLatency$}).subscribe((({hasLiveOffsetByPaused:e,isLowLatency:t})=>{window.clearTimeout(this.hasLiveOffsetByPausedTimer),e?this.hasLiveOffsetByPausedTimer=window.setTimeout((()=>{this.hasLiveOffsetByPaused.next(!0)}),this.getActiveLiveDelay(t)):this.hasLiveOffsetByPaused.next(!1)}))).add((0,o.$e)({atLiveEdge:(0,o.$e)({isLive:e.providerOutput.isLive$,isLowLatency:e.providerOutput.isLowLatency$,position:Ao({seekState:this.desiredState.seekState,position$:e.providerOutput.position$})}).pipe((0,o.UI)((({isLive:e,position:t,isLowLatency:n})=>{let r=this.getActiveLiveDelay(n);return e&&Math.abs(t)<r/1e3})),(0,o.qz)(),(0,o.bw)((e=>e&&this.setPlaybackRate(1)))),hasPausedTimeoutCase:this.hasLiveOffsetByPaused}).pipe((0,o.UI)((({atLiveEdge:e,hasPausedTimeoutCase:t})=>e&&!t))).subscribe(this.info.atLiveEdge$)).add((0,o.$e)({isLive:e.providerOutput.isLive$,position:e.providerOutput.position$,duration:e.providerOutput.duration$}).pipe((0,o.UI)((({isLive:e,position:t,duration:n})=>e&&1e3*(Math.abs(n)-Math.abs(t))<this.tuning.live.activeLiveDelay)),(0,o.qz)(),(0,o.bw)((e=>e&&this.setPlaybackRate(1)))).subscribe(this.info.atLiveDurationEdge$)).add(e.providerOutput.volume$.pipe((0,o.UI)((e=>e.muted)),(0,o.qz)()).subscribe(this.info.muted$)).add(e.providerOutput.volume$.pipe((0,o.UI)((e=>e.volume)),(0,o.qz)()).subscribe(this.info.volume$)).add(Ao({seekState:this.desiredState.seekState,position$:e.providerOutput.position$}).subscribe(this.info.position$)).add((0,o.TS)(e.providerOutput.endedEvent$.pipe((0,o.CB)(!0)),e.providerOutput.seekedEvent$.pipe((0,o.CB)(!1))).pipe((0,o.qz)()).subscribe(this.info.isEnded$)).add(e.providerOutput.endedEvent$.subscribe(this.events.ended$)).add(e.providerOutput.loopedEvent$.subscribe(this.events.looped$)).add(e.providerError$.subscribe(this.events.managedError$)).add(e.noAvailableProvidersError$.pipe((0,o.UI)((e=>({id:e?`No${e}`:"NoProviders",category:o.qj.VIDEO_PIPELINE,message:e?`${e} was forced but failed or not available`:"No suitable providers or all providers failed"})))).subscribe(this.events.fatalError$)).add(e.providerOutput.element$.subscribe(this.experimental.element$)).add(e.providerOutput.firstBytesEvent$.pipe((0,o.IH)(),(0,o.UI)((e=>null!=e?e:(0,o.zO)()-this.initedAt))).subscribe(this.events.firstBytes$)).add(e.providerOutput.firstFrameEvent$.pipe((0,o.IH)(),(0,o.UI)((()=>(0,o.zO)()-this.initedAt))).subscribe(this.events.firstFrame$)).add(e.providerOutput.canplay$.pipe((0,o.IH)(),(0,o.UI)((()=>(0,o.zO)()-this.initedAt))).subscribe(this.events.canplay$)).add(this.throughputEstimator.throughput$.subscribe(this.info.throughputEstimation$)).add(this.throughputEstimator.rtt$.subscribe(this.info.rttEstimation$)).add(e.providerOutput.availableSources$.subscribe(this.info.availableSources$));let t=new o.v0(!1);this.subscription.add(e.providerOutput.seekedEvent$.subscribe((()=>t.next(!1)))).add(e.providerOutput.willSeekEvent$.subscribe((()=>t.next(!0))));let n=new o.v0(!0);this.subscription.add(e.current$.subscribe((()=>n.next(!0)))).add(this.desiredState.playbackState.stateChangeEnded$.pipe((0,o.hX)((({to:e})=>"playing"===e)),(0,o.IH)()).subscribe((()=>n.next(!1))));let r=0,i=(0,o.TS)(e.providerOutput.isBuffering$,t,n).pipe((0,o.UI)((()=>{let r=e.providerOutput.isBuffering$.getValue(),i=t.getValue()||n.getValue();return r&&!i})),(0,o.qz)());this.subscription.add(i.subscribe((e=>{e?r=window.setTimeout((()=>this.info.isStalled$.next(!0)),this.tuning.stallIgnoreThreshold):(window.clearTimeout(r),this.info.isStalled$.next(!1))}))),this.subscription.add((0,o.TS)(e.providerOutput.canplay$,e.providerOutput.firstFrameEvent$,e.providerOutput.firstBytesEvent$).subscribe((()=>{let t=e.providerOutput.element$.getValue();this.setIntrinsicVideoSize({width:null==t?void 0:t.videoWidth,height:null==t?void 0:t.videoHeight})}))).add(e.providerOutput.currentVideoTrack$.subscribe((t=>{var n,r;let i=e.providerOutput.element$.getValue();this.setIntrinsicVideoSize({width:null==(n=null==t?void 0:t.size)?void 0:n.width,height:null==(r=null==t?void 0:t.size)?void 0:r.height},{width:null==i?void 0:i.videoWidth,height:null==i?void 0:i.videoHeight})}))).add(e.providerOutput.is3DVideo$.subscribe(this.info.is3DVideo$)),this.subscription.add((0,o.TS)(e.providerOutput.inPiP$,e.providerOutput.inFullscreen$,e.providerOutput.element$,e.providerOutput.elementVisible$,this.chromecastInitializer.castState$).subscribe((()=>{let t,n=e.providerOutput.inPiP$.getValue(),r=e.providerOutput.inFullscreen$.getValue(),i=e.providerOutput.element$.getValue(),o=e.providerOutput.elementVisible$.getValue();t="CONNECTED"===this.chromecastInitializer.castState$.getValue()?"second_screen":i?o?n?"pip":r?"fullscreen":"inline":"invisible":"none",this.info.surface$.getValue()!==t&&this.info.surface$.next(t)})))}initChromecastSubscription(){this.subscription.add(this.chromecastInitializer.castState$.subscribe(this.info.chromecastState$)),this.subscription.add(this.chromecastInitializer.connection$.pipe((0,o.UI)((e=>null==e?void 0:e.castDevice.friendlyName))).subscribe(this.info.chromecastDeviceName$)),this.subscription.add(this.chromecastInitializer.errorEvent$.subscribe(this.events.managedError$))}initStartingVideoTrack(e){let t=new o.w0;this.subscription.add(t),this.subscription.add(e.current$.pipe((0,o.qz)(((e,t)=>e.provider===t.provider))).subscribe((()=>{t.unsubscribe(),t.add(e.providerOutput.availableVideoTracks$.pipe((0,o.hX)((e=>e.length>0)),(0,o.IH)()).subscribe((e=>{this.setStartingVideoTrack(e)})))})))}setStartingVideoTrack(e){var t;let n,r=null==(t=this.desiredState.videoTrack.getState())?void 0:t.quality;r&&(n=e.find((({quality:e})=>e===r)),n||this.setAutoQuality(!0)),n||(n=$n(e,{container:this.domContainer.getBoundingClientRect(),throughput:this.throughputEstimator.throughput$.getValue(),tuning:this.tuning.autoTrackSelection,limits:this.desiredState.autoVideoTrackLimits.getState(),playbackRate:this.info.currentPlaybackRate$.getValue(),forwardBufferHealth:0,abrLogger:this.abrLogger})),this.desiredState.videoTrack.startTransitionTo(n),this.info.currentQuality$.next(n.quality),this.info.videoBitrate$.next(n.bitrate)}initLogs(){this.subscription.add((0,o.TS)(this.desiredState.videoTrack.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,entity:"quality",type:"start"})))),this.desiredState.videoTrack.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,entity:"quality",type:"end"})))),this.desiredState.autoVideoTrackSwitching.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,entity:"autoQualityEnabled",type:"start"})))),this.desiredState.autoVideoTrackSwitching.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,entity:"autoQualityEnabled",type:"end"})))),this.desiredState.seekState.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,entity:"seekState",type:"start"})))),this.desiredState.seekState.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,entity:"seekState",type:"end"})))),this.desiredState.playbackState.stateChangeStarted$.pipe((0,o.UI)((e=>({transition:e,entity:"playbackState",type:"start"})))),this.desiredState.playbackState.stateChangeEnded$.pipe((0,o.UI)((e=>({transition:e,entity:"playbackState",type:"end"}))))).pipe((0,o.UI)((e=>({component:"desiredState",message:`[${e.entity} change] ${e.type}: ${JSON.stringify(e.transition)}`})))).subscribe(this.logger.log)),this.subscription.add(this.logger.log$.subscribe(this.events.log$))}initDebugTelemetry(){var e;let t=null==(e=this.providerContainer)?void 0:e.providerOutput;(0,o.Z3)(this.providerContainer),(0,o.Z3)(t),Bn={},this.experimental.enableDebugTelemetry$.next(this.tuning.enableTelemetryAtStart),[this.experimental.enableDebugTelemetry$.subscribe((e=>{jn=e})),this.providerContainer.current$.subscribe((({type:e})=>Hn("provider",e))),t.duration$.subscribe((e=>Hn("duration",e))),t.availableVideoTracks$.pipe((0,o.hX)((e=>!!e.length)),(0,o.IH)()).subscribe((e=>Hn("tracks",e))),this.events.fatalError$.subscribe(new zn("fatalError")),this.events.managedError$.subscribe(new zn("managedError")),t.position$.subscribe(new zn("position")),t.currentVideoTrack$.pipe((0,o.UI)((e=>null==e?void 0:e.quality))).subscribe(new zn("quality")),this.info.currentBuffer$.subscribe(new zn("buffer")),t.isBuffering$.subscribe(new zn("isBuffering"))].forEach((e=>this.subscription.add(e))),Hn("codecs",Object.keys(fo).filter((e=>fo[e])))}initWakeLock(){if(!window.navigator.wakeLock||!this.tuning.enableWakeLock)return;let e,t=()=>{null==e||e.release(),e=void 0},n=async()=>{t(),e=await window.navigator.wakeLock.request("screen").catch((e=>{e instanceof DOMException&&"NotAllowedError"===e.name||this.events.managedError$.next({id:"WakeLock",category:o.qj.DOM,message:String(e)})}))};this.subscription.add((0,o.TS)((0,o.RB)(document,"visibilitychange"),(0,o.RB)(document,"fullscreenchange"),this.desiredState.playbackState.stateChangeEnded$).subscribe((()=>{let r="visible"===document.visibilityState,i="playing"===this.desiredState.playbackState.getState(),o=!(!e||null!=e&&e.released);r&&i?o||n():t()}))).add(this.events.willDestruct$.subscribe(t))}setVideoTrackIdByQuality(e,t){let n=e.find((e=>e.quality===t));n?this.desiredState.videoTrack.startTransitionTo(n):this.setAutoQuality(!0)}getActiveLiveDelay(e=!1){return e?this.tuning.live.lowLatencyActiveLiveDelay:this.tuning.live.activeLiveDelay}},Lo=n(25108);class Do{constructor(){this.subscriptions=[]}unsubscribe(){const e=this.subscriptions;this.subscriptions=[],e.forEach((e=>"function"==typeof e?e():e.unsubscribe()))}add(e){return this.subscriptions.push(e),this}}const Ro=e=>{throw new Error(`${e} is value of unexpected type`)},Io=()=>{};class No{constructor(e){e&&(this._subscribe=e)}subscribe(e,t){var n;let r;r=t?"function"==typeof t?{next:t,error:Io}:{next:e=>t.next(e),error:e=>{var n;return null===(n=t.error)||void 0===n?void 0:n.call(t,e)}}:{next:Io,error:Io};const i="function"==typeof e?{next:t=>{try{e(t)}catch(e){r.next(e)}},error:e=>r.next(e)}:{next:t=>e.next(t),error:t=>e.error?e.error(t):r.next(t)};let o;try{o=this._subscribe(i)}catch(e){null===(n=i.error)||void 0===n||n.call(i,e)}return(new Do).add((()=>{switch(i.next=Io,i.error=Io,typeof o){case"function":return void o();case"object":return void o.unsubscribe();case"undefined":return;default:return Ro(o)}}))}pipe(...e){return e.reduce(((e,t)=>t(e)),this)}_subscribe(e){}}class jo extends No{constructor(){super(),this.keyCounter=0,this.subscribers=new Map}next(e){this.subscribers.forEach((t=>t.next(e)))}error(e){this.subscribers.forEach((t=>{var n;return null===(n=t.error)||void 0===n?void 0:n.call(t,e)}))}_subscribe(e){const t=this.keyCounter++;return this.subscribers.set(t,e),(new Do).add((()=>this.subscribers.delete(t)))}}class Bo{constructor(){this.log$=new jo,this.logs=[],this.log=e=>{const t={...e,timestamp:Date.now()};this.logs.push(t),this.log$.next(t)},this.getAllLogs=()=>this.logs}createCustomLog(e){return(...t)=>{let n;try{n=e(...t)}catch(e){n={message:"error in `createCustomLog`",component:"Logger"}}this.log(n)}}createComponentLog(e){return this.createCustomLog((t=>({component:e,...t})))}}function Fo(e,t='Assertion "value is not nullable" failed'){if(null==e)throw new Error(t)}function Ho(e){return null!=e}function zo(e){return null==e}var Vo;null===(Vo=window.performance)||void 0===Vo||Vo.now;var Uo,$o;!function(e){e.Unknown="Unknown",e.Yandex="Yandex",e.Chrome="Chrome",e.Chromium="Chromium",e.Firefox="Firefox",e.Safari="Safari",e.Opera="Opera",e.Edge="Edge",e.Rest="Rest"}(Uo||(Uo={})),function(e){e.Unknown="Unknown",e.Android="Android",e.iPhone="iPhone",e.iPad="iPad",e.iPod="iPod",e.RestMobile="RestMobile",e.Mac="Mac",e.Desktop="Desktop"}($o||($o={}));const Go=()=>{const{userAgent:e}=window.navigator,t=/yabrowser/i.test(e)?Uo.Yandex:void 0,n=/chrome|crios/i.test(e)?Uo.Chrome:void 0,r=/chromium/i.test(e)?Uo.Chromium:void 0,i=/firefox|fxios/i.test(e)?Uo.Firefox:void 0,o=/webkit|safari|khtml/i.test(e)?Uo.Safari:void 0,a=/opr\//i.test(e)?Uo.Opera:void 0,s=/edg/i.test(e)?Uo.Edge:void 0,l=/android/i.test(e)?$o.Android:void 0,c=/iphone/i.test(e)?$o.iPhone:void 0,u=/ipad/i.test(e)?$o.iPad:void 0,d=/ipod/i.test(e)?$o.iPod:void 0,p=/mac/i.test(e)?$o.Mac:void 0,f=/webOS|BlackBerry|IEMobile|Opera Mini/i.test(e)?$o.RestMobile:void 0;return{browser:t||i||a||s||n||r||o||Uo.Rest,device:l||c||u||d||f||p||$o.Desktop}},qo=(e=!1)=>{const t=[$o.iPhone,$o.iPad,$o.iPod].includes(Go().device);if(!e)return t;const{userAgent:n,maxTouchPoints:r}=window.navigator;return!!(t||/macintosh/i.test(n)&&r>0)},Wo=()=>[$o.Mac,$o.iPhone,$o.iPad,$o.iPod].includes(Go().device);var Zo;let Yo,Ko;!function(e){e[e.LOCAL_STORAGE=0]="LOCAL_STORAGE",e[e.SESSION_STORAGE=1]="SESSION_STORAGE",e[e.RUNTIME=2]="RUNTIME"}(Zo||(Zo={}));const Qo=`vk-videoplayer-dummy-key-${Math.random()}`,Xo=()=>{if(void 0!==Ko)return Ko;try{localStorage.setItem(Qo,"test"),localStorage.removeItem(Qo),Ko=Zo.LOCAL_STORAGE}catch(e){if(!(e instanceof DOMException||e instanceof TypeError))throw e;try{sessionStorage.getItem(Qo),Ko=Zo.SESSION_STORAGE}catch(e){if(!(e instanceof DOMException||e instanceof TypeError))throw e;Ko=Zo.RUNTIME}}return Ko===Zo.RUNTIME&&(Yo=new Map),Ko};var Jo=Object.freeze({__proto__:null,clear:()=>{const e=Xo();switch(e){case Zo.LOCAL_STORAGE:return localStorage.clear();case Zo.SESSION_STORAGE:return sessionStorage.clear();case Zo.RUNTIME:return null==Yo?void 0:Yo.clear();default:Ro(e)}},get:e=>{var t,n;const r=Xo();switch(r){case Zo.LOCAL_STORAGE:return null!==(t=localStorage.getItem(e))&&void 0!==t?t:void 0;case Zo.SESSION_STORAGE:return null!==(n=sessionStorage.getItem(e))&&void 0!==n?n:void 0;case Zo.RUNTIME:return null==Yo?void 0:Yo.get(e);default:Ro(r)}},has:e=>{var t;const n=Xo();switch(n){case Zo.LOCAL_STORAGE:return e in localStorage;case Zo.SESSION_STORAGE:return e in sessionStorage;case Zo.RUNTIME:return null!==(t=null==Yo?void 0:Yo.has(e))&&void 0!==t&&t;default:return Ro(n),!1}},isPersistent:()=>Xo()===Zo.LOCAL_STORAGE,remove:e=>{const t=Xo();switch(t){case Zo.LOCAL_STORAGE:return localStorage.removeItem(e);case Zo.SESSION_STORAGE:return sessionStorage.removeItem(e);case Zo.RUNTIME:return void(null==Yo||Yo.delete(e));default:Ro(t)}},set:(e,t)=>{const n=Xo();switch(n){case Zo.LOCAL_STORAGE:try{localStorage.setItem(e,t)}catch(e){if(!(e instanceof DOMException))throw e;Lo.error(e)}break;case Zo.SESSION_STORAGE:try{sessionStorage.setItem(e,t)}catch(e){if(!(e instanceof DOMException))throw e;Lo.error(e)}break;case Zo.RUNTIME:return void(null==Yo||Yo.set(e,t));default:Ro(n)}}});var ea;!function(e){e.INVARIANT="Invariant quality",e.Q_144P="144p",e.Q_240P="240p",e.Q_360P="360p",e.Q_480P="480p",e.Q_720P="720p",e.Q_1080P="1080p",e.Q_1440P="1440p",e.Q_2160P="2160p",e.Q_4320P="4320p"}(ea||(ea={}));const ta={[ea.Q_144P]:{width:256,height:144},[ea.Q_240P]:{width:428,height:240},[ea.Q_360P]:{width:640,height:360},[ea.Q_480P]:{width:856,height:480},[ea.Q_720P]:{width:1280,height:720},[ea.Q_1080P]:{width:1920,height:1080},[ea.Q_1440P]:{width:2560,height:1440},[ea.Q_2160P]:{width:3840,height:2160},[ea.Q_4320P]:{width:7680,height:4320}},na=(e,t)=>ta[e].height<ta[t].height;Object.keys(ta).sort(((e,t)=>na(e,t)?-1:1));const ra=(e,t)=>{const n={};for(const r of Object.keys(t)){const i=t[r],o=e[r];Array.isArray(i)&&Array.isArray(o)?n[r]=o:n[r]="object"==typeof i&&"object"==typeof o?ra(o,i):r in e?o:i}return n};class ia extends jo{constructor(e){super(),this.value=e}next(e){super.next(this.value=e)}error(e){super.error(this.value=e)}getValue(){return this.value}_subscribe(e){const t=super._subscribe(e);return e.next(this.value),t}}function oa(e){return t=>new No((n=>t.subscribe(new aa(n,e))))}let aa=class{constructor(e,t){this.destination=e,this.mapper=t}next(e){let t;try{t=this.mapper(e)}catch(e){throw this.error(e),e}this.destination.next(t)}error(e){var t,n;null===(n=(t=this.destination).error)||void 0===n||n.call(t,e)}};var sa;!function(e){e.NETWORK="network",e.VIDEO_PIPELINE="video_pipeline",e.EXTERNAL_API="external_api",e.PARSER="parser",e.DOM="dom",e.WTF="wtf",e.FATAL="fatal"}(sa||(sa={}));class la{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;const t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){const r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class ca extends la{constructor(){super(),this.listeners||la.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}}function ua(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(Lo.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(class{constructor(){Object.defineProperty(this,"signal",{value:new ca,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if("undefined"==typeof document)n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(e){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}}.prototype[Symbol.toStringTag]="AbortController",ca.prototype[Symbol.toStringTag]="AbortSignal");const da=ua({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),pa=da?function(e){"function"==typeof e&&(e={fetch:e});const{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!ua({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);const i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);const a=t;return{fetch:(e,t)=>{const n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch(e){r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);const i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,fa=da?pa.fetch:window.fetch;da?pa.Request:window.Request;var ha="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var ma,ga,va=function(e){try{return!!e()}catch(e){return!0}},ya=!va((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),ba=ya,wa=Function.prototype,_a=wa.call,Sa=ba&&wa.bind.bind(_a,_a),xa=ba?Sa:function(e){return function(){return _a.apply(e,arguments)}},Ea=xa,ka=Ea({}.toString),Ca=Ea("".slice),Ta=function(e){return Ca(ka(e),8,-1)},Oa=va,Ma=Ta,Aa=Object,Pa=xa("".split),La=Oa((function(){return!Aa("z").propertyIsEnumerable(0)}))?function(e){return"String"==Ma(e)?Pa(e,""):Aa(e)}:Aa,Da=function(e){return null==e},Ra=Da,Ia=TypeError,Na=function(e){if(Ra(e))throw Ia("Can't call method on "+e);return e},ja=La,Ba=Na,Fa=function(e){return ja(Ba(e))},Ha={},za=function(e){return e&&e.Math==Math&&e},Va=za("object"==typeof globalThis&&globalThis)||za("object"==typeof window&&window)||za("object"==typeof self&&self)||za("object"==typeof ha&&ha)||function(){return this}()||ha||Function("return this")(),Ua="object"==typeof document&&document.all,$a={all:Ua,IS_HTMLDDA:void 0===Ua&&void 0!==Ua},Ga=$a.all,qa=$a.IS_HTMLDDA?function(e){return"function"==typeof e||e===Ga}:function(e){return"function"==typeof e},Wa=qa,Za=Va.WeakMap,Ya=Wa(Za)&&/native code/.test(String(Za)),Ka=qa,Qa=$a.all,Xa=$a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Ka(e)||e===Qa}:function(e){return"object"==typeof e?null!==e:Ka(e)},Ja=!va((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),es={},ts=Xa,ns=Va.document,rs=ts(ns)&&ts(ns.createElement),is=function(e){return rs?ns.createElement(e):{}},os=is,as=!Ja&&!va((function(){return 7!=Object.defineProperty(os("div"),"a",{get:function(){return 7}}).a})),ss=Ja&&va((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ls=Xa,cs=String,us=TypeError,ds=function(e){if(ls(e))return e;throw us(cs(e)+" is not an object")},ps=ya,fs=Function.prototype.call,hs=ps?fs.bind(fs):function(){return fs.apply(fs,arguments)},ms={},gs=ms,vs=Va,ys=qa,bs=function(e){return ys(e)?e:void 0},ws=function(e,t){return arguments.length<2?bs(gs[e])||bs(vs[e]):gs[e]&&gs[e][t]||vs[e]&&vs[e][t]},_s=xa({}.isPrototypeOf),Ss=Va,xs="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Es=Ss.process,ks=Ss.Deno,Cs=Es&&Es.versions||ks&&ks.version,Ts=Cs&&Cs.v8;Ts&&(ga=(ma=Ts.split("."))[0]>0&&ma[0]<4?1:+(ma[0]+ma[1])),!ga&&xs&&((!(ma=xs.match(/Edge\/(\d+)/))||ma[1]>=74)&&((ma=xs.match(/Chrome\/(\d+)/))&&(ga=+ma[1])));var Os=ga,Ms=va,As=Va.String,Ps=!!Object.getOwnPropertySymbols&&!Ms((function(){var e=Symbol();return!As(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Os&&Os<41})),Ls=Ps&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ds=ws,Rs=qa,Is=_s,Ns=Object,js=Ls?function(e){return"symbol"==typeof e}:function(e){var t=Ds("Symbol");return Rs(t)&&Is(t.prototype,Ns(e))},Bs=String,Fs=function(e){try{return Bs(e)}catch(e){return"Object"}},Hs=qa,zs=Fs,Vs=TypeError,Us=function(e){if(Hs(e))return e;throw Vs(zs(e)+" is not a function")},$s=Us,Gs=Da,qs=function(e,t){var n=e[t];return Gs(n)?void 0:$s(n)},Ws=hs,Zs=qa,Ys=Xa,Ks=TypeError,Qs={exports:{}},Xs=Va,Js=Object.defineProperty,el=function(e,t){try{Js(Xs,e,{value:t,configurable:!0,writable:!0})}catch(n){Xs[e]=t}return t},tl="__core-js_shared__",nl=Va[tl]||el(tl,{}),rl=nl;(Qs.exports=function(e,t){return rl[e]||(rl[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js"});var il=Qs.exports,ol=Na,al=Object,sl=function(e){return al(ol(e))},ll=sl,cl=xa({}.hasOwnProperty),ul=Object.hasOwn||function(e,t){return cl(ll(e),t)},dl=xa,pl=0,fl=Math.random(),hl=dl(1..toString),ml=function(e){return"Symbol("+(void 0===e?"":e)+")_"+hl(++pl+fl,36)},gl=il,vl=ul,yl=ml,bl=Ps,wl=Ls,_l=Va.Symbol,Sl=gl("wks"),xl=wl?_l.for||_l:_l&&_l.withoutSetter||yl,El=function(e){return vl(Sl,e)||(Sl[e]=bl&&vl(_l,e)?_l[e]:xl("Symbol."+e)),Sl[e]},kl=hs,Cl=Xa,Tl=js,Ol=qs,Ml=function(e,t){var n,r;if("string"===t&&Zs(n=e.toString)&&!Ys(r=Ws(n,e))||Zs(n=e.valueOf)&&!Ys(r=Ws(n,e))||"string"!==t&&Zs(n=e.toString)&&!Ys(r=Ws(n,e)))return r;throw Ks("Can't convert object to primitive value")},Al=TypeError,Pl=El("toPrimitive"),Ll=function(e,t){if(!Cl(e)||Tl(e))return e;var n,r=Ol(e,Pl);if(r){if(void 0===t&&(t="default"),n=kl(r,e,t),!Cl(n)||Tl(n))return n;throw Al("Can't convert object to primitive value")}return void 0===t&&(t="number"),Ml(e,t)},Dl=js,Rl=function(e){var t=Ll(e,"string");return Dl(t)?t:t+""},Il=Ja,Nl=as,jl=ss,Bl=ds,Fl=Rl,Hl=TypeError,zl=Object.defineProperty,Vl=Object.getOwnPropertyDescriptor,Ul="enumerable",$l="configurable",Gl="writable";es.f=Il?jl?function(e,t,n){if(Bl(e),t=Fl(t),Bl(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Gl in n&&!n[Gl]){var r=Vl(e,t);r&&r[Gl]&&(e[t]=n.value,n={configurable:$l in n?n[$l]:r[$l],enumerable:Ul in n?n[Ul]:r[Ul],writable:!1})}return zl(e,t,n)}:zl:function(e,t,n){if(Bl(e),t=Fl(t),Bl(n),Nl)try{return zl(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Hl("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ql,Wl,Zl,Yl=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Kl=es,Ql=Yl,Xl=Ja?function(e,t,n){return Kl.f(e,t,Ql(1,n))}:function(e,t,n){return e[t]=n,e},Jl=ml,ec=il("keys"),tc=function(e){return ec[e]||(ec[e]=Jl(e))},nc={},rc=Ya,ic=Va,oc=Xa,ac=Xl,sc=ul,lc=nl,cc=tc,uc=nc,dc="Object already initialized",pc=ic.TypeError,fc=ic.WeakMap;if(rc||lc.state){var hc=lc.state||(lc.state=new fc);hc.get=hc.get,hc.has=hc.has,hc.set=hc.set,ql=function(e,t){if(hc.has(e))throw pc(dc);return t.facade=e,hc.set(e,t),t},Wl=function(e){return hc.get(e)||{}},Zl=function(e){return hc.has(e)}}else{var mc=cc("state");uc[mc]=!0,ql=function(e,t){if(sc(e,mc))throw pc(dc);return t.facade=e,ac(e,mc,t),t},Wl=function(e){return sc(e,mc)?e[mc]:{}},Zl=function(e){return sc(e,mc)}}var gc={set:ql,get:Wl,has:Zl,enforce:function(e){return Zl(e)?Wl(e):ql(e,{})},getterFor:function(e){return function(t){var n;if(!oc(t)||(n=Wl(t)).type!==e)throw pc("Incompatible receiver, "+e+" required");return n}}},vc=ya,yc=Function.prototype,bc=yc.apply,wc=yc.call,_c="object"==typeof Reflect&&Reflect.apply||(vc?wc.bind(bc):function(){return wc.apply(bc,arguments)}),Sc=Ta,xc=xa,Ec=function(e){if("Function"===Sc(e))return xc(e)},kc={},Cc={},Tc={}.propertyIsEnumerable,Oc=Object.getOwnPropertyDescriptor,Mc=Oc&&!Tc.call({1:2},1);Cc.f=Mc?function(e){var t=Oc(this,e);return!!t&&t.enumerable}:Tc;var Ac=Ja,Pc=hs,Lc=Cc,Dc=Yl,Rc=Fa,Ic=Rl,Nc=ul,jc=as,Bc=Object.getOwnPropertyDescriptor;kc.f=Ac?Bc:function(e,t){if(e=Rc(e),t=Ic(t),jc)try{return Bc(e,t)}catch(e){}if(Nc(e,t))return Dc(!Pc(Lc.f,e,t),e[t])};var Fc=va,Hc=qa,zc=/#|\.prototype\./,Vc=function(e,t){var n=$c[Uc(e)];return n==qc||n!=Gc&&(Hc(t)?Fc(t):!!t)},Uc=Vc.normalize=function(e){return String(e).replace(zc,".").toLowerCase()},$c=Vc.data={},Gc=Vc.NATIVE="N",qc=Vc.POLYFILL="P",Wc=Vc,Zc=Us,Yc=ya,Kc=Ec(Ec.bind),Qc=function(e,t){return Zc(e),void 0===t?e:Yc?Kc(e,t):function(){return e.apply(t,arguments)}},Xc=Va,Jc=_c,eu=Ec,tu=qa,nu=kc.f,ru=Wc,iu=ms,ou=Qc,au=Xl,su=ul,lu=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return Jc(e,this,arguments)};return t.prototype=e.prototype,t},cu=function(e,t){var n,r,i,o,a,s,l,c,u,d=e.target,p=e.global,f=e.stat,h=e.proto,m=p?Xc:f?Xc[d]:(Xc[d]||{}).prototype,g=p?iu:iu[d]||au(iu,d,{})[d],v=g.prototype;for(o in t)r=!(n=ru(p?o:d+(f?".":"#")+o,e.forced))&&m&&su(m,o),s=g[o],r&&(e.dontCallGetSet?l=(u=nu(m,o))&&u.value:l=m[o]),a=r&&l?l:t[o],(!r||typeof s!=typeof a)&&(c=e.bind&&r?ou(a,Xc):e.wrap&&r?lu(a):h&&tu(a)?eu(a):a,(e.sham||a&&a.sham||s&&s.sham)&&au(c,"sham",!0),au(g,o,c),h&&(su(iu,i=d+"Prototype")||au(iu,i,{}),au(iu[i],o,a),e.real&&v&&(n||!v[o])&&au(v,o,a)))},uu=Ja,du=ul,pu=Function.prototype,fu=uu&&Object.getOwnPropertyDescriptor,hu=du(pu,"name"),mu={EXISTS:hu,PROPER:hu&&"something"===function(){}.name,CONFIGURABLE:hu&&(!uu||uu&&fu(pu,"name").configurable)},gu={},vu=Math.ceil,yu=Math.floor,bu=Math.trunc||function(e){var t=+e;return(t>0?yu:vu)(t)},wu=bu,_u=function(e){var t=+e;return t!=t||0===t?0:wu(t)},Su=_u,xu=Math.max,Eu=Math.min,ku=_u,Cu=Math.min,Tu=function(e){return e>0?Cu(ku(e),9007199254740991):0},Ou=function(e){return Tu(e.length)},Mu=Fa,Au=function(e,t){var n=Su(e);return n<0?xu(n+t,0):Eu(n,t)},Pu=Ou,Lu=function(e){return function(t,n,r){var i,o=Mu(t),a=Pu(o),s=Au(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Du={includes:Lu(!0),indexOf:Lu(!1)},Ru=ul,Iu=Fa,Nu=Du.indexOf,ju=nc,Bu=xa([].push),Fu=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hu=function(e,t){var n,r=Iu(e),i=0,o=[];for(n in r)!Ru(ju,n)&&Ru(r,n)&&Bu(o,n);for(;t.length>i;)Ru(r,n=t[i++])&&(~Nu(o,n)||Bu(o,n));return o},zu=Fu,Vu=Object.keys||function(e){return Hu(e,zu)},Uu=Ja,$u=ss,Gu=es,qu=ds,Wu=Fa,Zu=Vu;gu.f=Uu&&!$u?Object.defineProperties:function(e,t){qu(e);for(var n,r=Wu(t),i=Zu(t),o=i.length,a=0;o>a;)Gu.f(e,n=i[a++],r[n]);return e};var Yu,Ku=ws("document","documentElement"),Qu=ds,Xu=gu,Ju=Fu,ed=nc,td=Ku,nd=is,rd="prototype",id="script",od=tc("IE_PROTO"),ad=function(){},sd=function(e){return"<"+id+">"+e+"</"+id+">"},ld=function(e){e.write(sd("")),e.close();var t=e.parentWindow.Object;return e=null,t},cd=function(){try{Yu=new ActiveXObject("htmlfile")}catch(e){}cd="undefined"!=typeof document?document.domain&&Yu?ld(Yu):function(){var e,t=nd("iframe"),n="java"+id+":";return t.style.display="none",td.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(sd("document.F=Object")),e.close(),e.F}():ld(Yu);for(var e=Ju.length;e--;)delete cd[rd][Ju[e]];return cd()};ed[od]=!0;var ud,dd,pd,fd=Object.create||function(e,t){var n;return null!==e?(ad[rd]=Qu(e),n=new ad,ad[rd]=null,n[od]=e):n=cd(),void 0===t?n:Xu.f(n,t)},hd=!va((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),md=ul,gd=qa,vd=sl,yd=hd,bd=tc("IE_PROTO"),wd=Object,_d=wd.prototype,Sd=yd?wd.getPrototypeOf:function(e){var t=vd(e);if(md(t,bd))return t[bd];var n=t.constructor;return gd(n)&&t instanceof n?n.prototype:t instanceof wd?_d:null},xd=Xl,Ed=function(e,t,n,r){return r&&r.enumerable?e[t]=n:xd(e,t,n),e},kd=va,Cd=qa,Td=Xa,Od=fd,Md=Sd,Ad=Ed,Pd=El("iterator"),Ld=!1;[].keys&&("next"in(pd=[].keys())?(dd=Md(Md(pd)))!==Object.prototype&&(ud=dd):Ld=!0);var Dd=!Td(ud)||kd((function(){var e={};return ud[Pd].call(e)!==e}));Cd((ud=Dd?{}:Od(ud))[Pd])||Ad(ud,Pd,(function(){return this}));var Rd={IteratorPrototype:ud,BUGGY_SAFARI_ITERATORS:Ld},Id={};Id[El("toStringTag")]="z";var Nd="[object z]"===String(Id),jd=Nd,Bd=qa,Fd=Ta,Hd=El("toStringTag"),zd=Object,Vd="Arguments"==Fd(function(){return arguments}()),Ud=jd?Fd:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=zd(e),Hd))?n:Vd?Fd(t):"Object"==(r=Fd(t))&&Bd(t.callee)?"Arguments":r},$d=Ud,Gd=Nd?{}.toString:function(){return"[object "+$d(this)+"]"},qd=Nd,Wd=es.f,Zd=Xl,Yd=ul,Kd=Gd,Qd=El("toStringTag"),Xd=function(e,t,n,r){if(e){var i=n?e:e.prototype;Yd(i,Qd)||Wd(i,Qd,{configurable:!0,value:t}),r&&!qd&&Zd(i,"toString",Kd)}},Jd=Rd.IteratorPrototype,ep=fd,tp=Yl,np=Xd,rp=Ha,ip=function(){return this},op=cu,ap=hs,sp=mu,lp=function(e,t,n,r){var i=t+" Iterator";return e.prototype=ep(Jd,{next:tp(+!r,n)}),np(e,i,!1,!0),rp[i]=ip,e},cp=Sd,up=Xd,dp=Ed,pp=Ha,fp=Rd,hp=sp.PROPER,mp=fp.BUGGY_SAFARI_ITERATORS,gp=El("iterator"),vp="keys",yp="values",bp="entries",wp=function(){return this},_p=Fa,Sp=Ha,xp=gc;es.f;var Ep=function(e,t,n,r,i,o,a){lp(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!mp&&e in f)return f[e];switch(e){case vp:case yp:case bp:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[gp]||f["@@iterator"]||i&&f[i],m=!mp&&h||u(i),g="Array"==t&&f.entries||h;if(g&&((s=cp(g.call(new e)))!==Object.prototype&&s.next&&(up(s,d,!0,!0),pp[d]=wp)),hp&&i==yp&&h&&h.name!==yp&&(p=!0,m=function(){return ap(h,this)}),i)if(l={values:u(yp),keys:o?m:u(vp),entries:u(bp)},a)for(c in l)(mp||p||!(c in f))&&dp(f,c,l[c]);else op({target:t,proto:!0,forced:mp||p},l);return a&&f[gp]!==m&&dp(f,gp,m,{name:i}),pp[t]=m,l},kp=function(e,t){return{value:e,done:t}},Cp="Array Iterator",Tp=xp.set,Op=xp.getterFor(Cp);Ep(Array,"Array",(function(e,t){Tp(this,{type:Cp,target:_p(e),index:0,kind:t})}),(function(){var e=Op(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,kp(void 0,!0)):kp("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Sp.Arguments=Sp.Array;var Mp=Ha,Ap=El("iterator"),Pp=Array.prototype,Lp=Ud,Dp=qs,Rp=Da,Ip=Ha,Np=El("iterator"),jp=function(e){if(!Rp(e))return Dp(e,Np)||Dp(e,"@@iterator")||Ip[Lp(e)]},Bp=hs,Fp=Us,Hp=ds,zp=Fs,Vp=jp,Up=TypeError,$p=hs,Gp=ds,qp=qs,Wp=Qc,Zp=hs,Yp=ds,Kp=Fs,Qp=function(e){return void 0!==e&&(Mp.Array===e||Pp[Ap]===e)},Xp=Ou,Jp=_s,ef=function(e,t){var n=arguments.length<2?Vp(e):t;if(Fp(n))return Hp(Bp(n,e));throw Up(zp(e)+" is not iterable")},tf=jp,nf=function(e,t,n){var r,i;Gp(e);try{if(!(r=qp(e,"return"))){if("throw"===t)throw n;return n}r=$p(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return Gp(r),n},rf=TypeError,of=function(e,t){this.stopped=e,this.result=t},af=of.prototype,sf=Rl,lf=es,cf=Yl,uf=function(e,t,n){var r,i,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),f=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Wp(t,u),g=function(e){return r&&nf(r,"normal",e),new of(!0,e)},v=function(e){return d?(Yp(e),h?m(e[0],e[1],g):m(e[0],e[1])):h?m(e,g):m(e)};if(p)r=e.iterator;else if(f)r=e;else{if(!(i=tf(e)))throw rf(Kp(e)+" is not iterable");if(Qp(i)){for(o=0,a=Xp(e);a>o;o++)if((s=v(e[o]))&&Jp(af,s))return s;return new of(!1)}r=ef(e,i)}for(l=p?e.next:r.next;!(c=Zp(l,r)).done;){try{s=v(c.value)}catch(e){nf(r,"throw",e)}if("object"==typeof s&&s&&Jp(af,s))return s}return new of(!1)},df=function(e,t,n){var r=sf(t);r in e?lf.f(e,r,cf(0,n)):e[r]=n};cu({target:"Object",stat:!0},{fromEntries:function(e){var t={};return uf(e,(function(e,n){df(t,e,n)}),{AS_ENTRIES:!0}),t}});var pf=ms.Object.fromEntries,ff={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},hf=Va,mf=Ud,gf=Xl,vf=Ha,yf=El("toStringTag");for(var bf in ff){var wf=hf[bf],_f=wf&&wf.prototype;_f&&mf(_f)!==yf&&gf(_f,yf,bf),vf[bf]=vf.Array}var Sf,xf=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(pf);!function(e){e.Armenian="58",e.Azerbaijani="57",e.Belarusian="114",e.English="3",e.Kazakh="97",e.Portuguese="73",e.Russian="0",e.Spanish="4",e.Ukrainian="1",e.Uzbek="65",e.Vietnamese="75"}(Sf||(Sf={}));const Ef=(e,t)=>xf(Object.entries(e.keys).map((([e,n])=>[e.substring(`${t}_`.length),kf(n)]))),kf=e=>Array.isArray(e)?e[0]:e;var Cf;!function(e){e.RU="ru",e.EN="en"}(Cf||(Cf={}));var Tf,Of,Mf=n(91234),Af=n(34155),Pf=n(25108),Lf=Object.create,Df=Object.defineProperty,Rf=Object.getOwnPropertyDescriptor,If=Object.getOwnPropertyNames,Nf=Object.getPrototypeOf,jf=Object.prototype.hasOwnProperty,Bf=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ff=(e,t,n)=>(n=null!=e?Lf(Nf(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of If(t))!jf.call(e,i)&&i!==n&&Df(e,i,{get:()=>t[i],enumerable:!(r=Rf(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:Df(n,"default",{value:e,enumerable:!0}),e)),Hf=Bf((()=>{})),zf=Bf((()=>{})),Vf=Bf(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||e||Function("return this")()})),Uf=Bf(((e,t)=>{t.exports=function(e){try{return!!e()}catch(e){return!0}}})),$f=Bf(((e,t)=>{var n=Uf();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),Gf=Bf(((e,t)=>{var n=$f(),r=Function.prototype,i=r.apply,o=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})})),qf=Bf(((e,t)=>{var n=$f(),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);t.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}})),Wf=Bf(((e,t)=>{var n=qf(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}})),Zf=Bf(((e,t)=>{var n=Wf(),r=qf();t.exports=function(e){if("Function"===n(e))return r(e)}})),Yf=Bf(((e,t)=>{var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}})),Kf=Bf(((e,t)=>{var n=Yf(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),Qf=Bf(((e,t)=>{var n=Uf();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Xf=Bf(((e,t)=>{var n=$f(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Jf=Bf((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),eh=Bf(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),th=Bf(((e,t)=>{var n=qf(),r=Uf(),i=Wf(),o=Object,a=n("".split);t.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o})),nh=Bf(((e,t)=>{t.exports=function(e){return null==e}})),rh=Bf(((e,t)=>{var n=nh(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}})),ih=Bf(((e,t)=>{var n=th(),r=rh();t.exports=function(e){return n(r(e))}})),oh=Bf(((e,t)=>{var n=Kf(),r=Yf(),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}})),ah=Bf(((e,t)=>{t.exports={}})),sh=Bf(((e,t)=>{var n=ah(),r=Vf(),i=Kf(),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),lh=Bf(((e,t)=>{var n=qf();t.exports=n({}.isPrototypeOf)})),ch=Bf(((e,t)=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""})),uh=Bf(((e,t)=>{var n,r,i=Vf(),o=ch(),a=i.process,s=i.Deno,l=a&&a.versions||s&&s.version,c=l&&l.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&((!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&((n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]))),t.exports=r})),dh=Bf(((e,t)=>{var n=uh(),r=Uf(),i=Vf().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),ph=Bf(((e,t)=>{var n=dh();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),fh=Bf(((e,t)=>{var n=sh(),r=Kf(),i=lh(),o=ph(),a=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,a(e))}})),hh=Bf(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),mh=Bf(((e,t)=>{var n=Kf(),r=hh(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}})),gh=Bf(((e,t)=>{var n=mh(),r=nh();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),vh=Bf(((e,t)=>{var n=Xf(),r=Kf(),i=oh(),o=TypeError;t.exports=function(e,t){var a,s;if("string"===t&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||"string"!==t&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw o("Can't convert object to primitive value")}})),yh=Bf(((e,t)=>{t.exports=!0})),bh=Bf(((e,t)=>{var n=Vf(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),wh=Bf(((e,t)=>{var n=Vf(),r=bh(),i="__core-js_shared__",o=n[i]||r(i,{});t.exports=o})),_h=Bf(((e,t)=>{var n=yh(),r=wh();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js"})})),Sh=Bf(((e,t)=>{var n=rh(),r=Object;t.exports=function(e){return r(n(e))}})),xh=Bf(((e,t)=>{var n=qf(),r=Sh(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),Eh=Bf(((e,t)=>{var n=qf(),r=0,i=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}})),kh=Bf(((e,t)=>{var n=Vf(),r=_h(),i=xh(),o=Eh(),a=dh(),s=ph(),l=n.Symbol,c=r("wks"),u=s?l.for||l:l&&l.withoutSetter||o;t.exports=function(e){return i(c,e)||(c[e]=a&&i(l,e)?l[e]:u("Symbol."+e)),c[e]}})),Ch=Bf(((e,t)=>{var n=Xf(),r=oh(),i=fh(),o=gh(),a=vh(),s=kh(),l=TypeError,c=s("toPrimitive");t.exports=function(e,t){if(!r(e)||i(e))return e;var s,u=o(e,c);if(u){if(void 0===t&&(t="default"),s=n(u,e,t),!r(s)||i(s))return s;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),Th=Bf(((e,t)=>{var n=Ch(),r=fh();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),Oh=Bf(((e,t)=>{var n=Vf(),r=oh(),i=n.document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}})),Mh=Bf(((e,t)=>{var n=Qf(),r=Uf(),i=Oh();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),Ah=Bf((e=>{var t=Qf(),n=Xf(),r=Jf(),i=eh(),o=ih(),a=Th(),s=xh(),l=Mh(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=o(e),t=a(t),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),Ph=Bf(((e,t)=>{var n=Uf(),r=Kf(),i=/#|\.prototype\./,o=function(e,t){var i=s[a(e)];return i==c||i!=l&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),Lh=Bf(((e,t)=>{var n=Zf(),r=mh(),i=$f(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),Dh=Bf(((e,t)=>{var n=Qf(),r=Uf();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),Rh=Bf(((e,t)=>{var n=oh(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}})),Ih=Bf((e=>{var t=Qf(),n=Mh(),r=Dh(),i=Rh(),o=Th(),a=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",d="writable";e.f=t?r?function(e,t,n){if(i(e),t=o(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:c in n?n[c]:r[c],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=o(t),i(r),n)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),Nh=Bf(((e,t)=>{var n=Qf(),r=Ih(),i=eh();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),jh=Bf(((e,t)=>{var n=Vf(),r=Gf(),i=Zf(),o=Kf(),a=Ah().f,s=Ph(),l=ah(),c=Lh(),u=Nh(),d=xh(),p=function(e){var t=function(n,i,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,i)}return new e(n,i,o)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,f,h,m,g,v,y,b,w,_=e.target,S=e.global,x=e.stat,E=e.proto,k=S?n:x?n[_]:(n[_]||{}).prototype,C=S?l:l[_]||u(l,_,{})[_],T=C.prototype;for(m in t)f=!(r=s(S?m:_+(x?".":"#")+m,e.forced))&&k&&d(k,m),v=C[m],f&&(e.dontCallGetSet?y=(w=a(k,m))&&w.value:y=k[m]),g=f&&y?y:t[m],(!f||typeof v!=typeof g)&&(b=e.bind&&f?c(g,n):e.wrap&&f?p(g):E&&o(g)?i(g):g,(e.sham||g&&g.sham||v&&v.sham)&&u(b,"sham",!0),u(C,m,b),E&&(d(l,h=_+"Prototype")||u(l,h,{}),u(l[h],m,g),e.real&&T&&(r||!T[m])&&u(T,m,g)))}})),Bh=Bf(((e,t)=>{var n=oh(),r=Wf(),i=kh()("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}})),Fh=Bf(((e,t)=>{var n={};n[kh()("toStringTag")]="z",t.exports="[object z]"===String(n)})),Hh=Bf(((e,t)=>{var n=Fh(),r=Kf(),i=Wf(),o=kh()("toStringTag"),a=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i:function(e){var t,n,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:s?i(t):"Object"==(l=i(t))&&r(t.callee)?"Arguments":l}})),zh=Bf(((e,t)=>{var n=Hh(),r=String;t.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}})),Vh=Bf(((e,t)=>{var n=Rh();t.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),Uh=Bf(((e,t)=>{var n=Xf(),r=xh(),i=lh(),o=Vh(),a=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||r(e,"flags")||!i(a,e)?t:n(o,e)}})),$h=Bf(((e,t)=>{var n=qf(),r=Sh(),i=Math.floor,o=n("".charAt),a=n("".replace),s=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,p){var f=n+e.length,h=u.length,m=c;return void 0!==d&&(d=r(d),m=l),a(p,m,(function(r,a){var l;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,f);case"<":l=d[s(a,1,-1)];break;default:var c=+a;if(0===c)return r;if(c>h){var p=i(c/10);return 0===p?r:p<=h?void 0===u[p-1]?o(a,1):u[p-1]+o(a,1):r}l=u[c-1]}return void 0===l?"":l}))}})),Gh=Bf((()=>{var e=jh(),t=Xf(),n=qf(),r=rh(),i=Kf(),o=nh(),a=Bh(),s=zh(),l=gh(),c=Uh(),u=$h(),d=kh(),p=yh(),f=d("replace"),h=TypeError,m=n("".indexOf),g=n("".replace),v=n("".slice),y=Math.max,b=function(e,t,n){return n>e.length?-1:""===t?n:m(e,t,n)};e({target:"String",proto:!0},{replaceAll:function(e,n){var d,w,_,S,x,E,k,C,T,O=r(this),M=0,A=0,P="";if(!o(e)){if((d=a(e))&&(w=s(r(c(e))),!~m(w,"g")))throw h("`.replaceAll` does not allow non-global regexes");if(_=l(e,f))return t(_,e,O,n);if(p&&d)return g(s(O),e,n)}for(S=s(O),x=s(e),(E=i(n))||(n=s(n)),k=x.length,C=y(1,k),M=b(S,x,0);-1!==M;)T=E?s(n(x,M,S)):u(x,S,M,[],void 0,n),P+=v(S,A,M)+T,A=M+k,M=b(S,x,M+C);return A<S.length&&(P+=v(S,A)),P}})})),qh=Bf(((e,t)=>{var n=sh();t.exports=n})),Wh=Bf(((e,t)=>{Hf(),zf(),Gh();var n=qh();t.exports=n("String","replaceAll")})),Zh=Bf(((e,t)=>{var n=Wh();t.exports=n})),Yh=Bf(((e,t)=>{var n=Zh();t.exports=n})),Kh=Bf((()=>{})),Qh=Bf(((e,t)=>{var n=Wf();t.exports=void 0!==Af&&"process"==n(Af)})),Xh=Bf(((e,t)=>{var n=Nh();t.exports=function(e,t,r,i){return i&&i.enumerable?e[t]=r:n(e,t,r),e}})),Jh=Bf(((e,t)=>{var n=qf(),r=mh();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}})),em=Bf(((e,t)=>{var n=Kf(),r=String,i=TypeError;t.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+r(e)+" as a prototype")}})),tm=Bf(((e,t)=>{var n=Jh(),r=Rh(),i=em();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e(n,o):n.__proto__=o,n}}():void 0)})),nm=Bf(((e,t)=>{var n=Fh(),r=Hh();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),rm=Bf(((e,t)=>{var n=Fh(),r=Ih().f,i=Nh(),o=xh(),a=nm(),s=kh()("toStringTag");t.exports=function(e,t,l,c){if(e){var u=l?e:e.prototype;o(u,s)||r(u,s,{configurable:!0,value:t}),c&&!n&&i(u,"toString",a)}}})),im=Bf(((e,t)=>{var n=Ih();t.exports=function(e,t,r){return n.f(e,t,r)}})),om=Bf(((e,t)=>{var n=sh(),r=im(),i=kh(),o=Qf(),a=i("species");t.exports=function(e){var t=n(e);o&&t&&!t[a]&&r(t,a,{configurable:!0,get:function(){return this}})}})),am=Bf(((e,t)=>{var n=lh(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw r("Incorrect invocation")}})),sm=Bf(((e,t)=>{var n=qf(),r=Kf(),i=wh(),o=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),t.exports=i.inspectSource})),lm=Bf(((e,t)=>{var n=qf(),r=Uf(),i=Kf(),o=Hh(),a=sh(),s=sm(),l=function(){},c=[],u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),f=!d.exec(l),h=function(e){if(!i(e))return!1;try{return u(l,c,e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,s(e))}catch(e){return!0}};m.sham=!0,t.exports=!u||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h})),cm=Bf(((e,t)=>{var n=lm(),r=hh(),i=TypeError;t.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a constructor")}})),um=Bf(((e,t)=>{var n=Rh(),r=cm(),i=nh(),o=kh()("species");t.exports=function(e,t){var a,s=n(e).constructor;return void 0===s||i(a=n(s)[o])?t:r(a)}})),dm=Bf(((e,t)=>{var n=sh();t.exports=n("document","documentElement")})),pm=Bf(((e,t)=>{var n=qf();t.exports=n([].slice)})),fm=Bf(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}})),hm=Bf(((e,t)=>{var n=ch();t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)})),mm=Bf(((e,t)=>{var n,r,i,o,a=Vf(),s=Gf(),l=Lh(),c=Kf(),u=xh(),d=Uf(),p=dm(),f=pm(),h=Oh(),m=fm(),g=hm(),v=Qh(),y=a.setImmediate,b=a.clearImmediate,w=a.process,_=a.Dispatch,S=a.Function,x=a.MessageChannel,E=a.String,k=0,C={},T="onreadystatechange";d((function(){n=a.location}));var O=function(e){if(u(C,e)){var t=C[e];delete C[e],t()}},M=function(e){return function(){O(e)}},A=function(e){O(e.data)},P=function(e){a.postMessage(E(e),n.protocol+"//"+n.host)};(!y||!b)&&(y=function(e){m(arguments.length,1);var t=c(e)?e:S(e),n=f(arguments,1);return C[++k]=function(){s(t,void 0,n)},r(k),k},b=function(e){delete C[e]},v?r=function(e){w.nextTick(M(e))}:_&&_.now?r=function(e){_.now(M(e))}:x&&!g?(o=(i=new x).port2,i.port1.onmessage=A,r=l(o.postMessage,o)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(P)?(r=P,a.addEventListener("message",A,!1)):r=T in h("script")?function(e){p.appendChild(h("script"))[T]=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(M(e),0)}),t.exports={set:y,clear:b}})),gm=Bf(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},t.exports=n})),vm=Bf(((e,t)=>{var n=ch();t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble})),ym=Bf(((e,t)=>{var n=ch();t.exports=/web0s(?!.*chrome)/i.test(n)})),bm=Bf(((e,t)=>{var n,r,i,o,a,s,l,c=Vf(),u=Lh(),d=Ah().f,p=mm().set,f=gm(),h=hm(),m=vm(),g=ym(),v=Qh(),y=c.MutationObserver||c.WebKitMutationObserver,b=c.document,w=c.process,_=c.Promise,S=d(c,"queueMicrotask"),x=S&&S.value;x||(s=new f,l=function(){var e,t;for(v&&(e=w.domain)&&e.exit();t=s.get();)try{t()}catch(e){throw s.head&&n(),e}e&&e.enter()},h||v||g||!y||!b?!m&&_&&_.resolve?((o=_.resolve(void 0)).constructor=_,a=u(o.then,o),n=function(){a(l)}):v?n=function(){w.nextTick(l)}:(p=u(p,c),n=function(){p(l)}):(r=!0,i=b.createTextNode(""),new y(l).observe(i,{characterData:!0}),n=function(){i.data=r=!r}),x=function(e){s.head||n(),s.add(e)}),t.exports=x})),wm=Bf(((e,t)=>{t.exports=function(e,t){try{1==arguments.length?Pf.error(e):Pf.error(e,t)}catch(e){}}})),_m=Bf(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),Sm=Bf(((e,t)=>{var n=Vf(),r=Kf(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),xm=Bf(((e,t)=>{var n=_h(),r=Eh(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),Em=Bf(((e,t)=>{t.exports={}})),km=Bf(((e,t)=>{var n,r,i,o,a,s=Sm(),l=Vf(),c=oh(),u=Nh(),d=xh(),p=wh(),f=xm(),h=Em(),m="Object already initialized",g=l.TypeError,v=l.WeakMap;s||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw g(m);return t.facade=e,o.set(e,t),t},r=function(e){return o.get(e)||{}},i=function(e){return o.has(e)}):(h[a=f("state")]=!0,n=function(e,t){if(d(e,a))throw g(m);return t.facade=e,u(e,a,t),t},r=function(e){return d(e,a)?e[a]:{}},i=function(e){return d(e,a)}),t.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}})),Cm=Bf(((e,t)=>{var n=Vf();t.exports=n.Promise})),Tm=Bf(((e,t)=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version})),Om=Bf(((e,t)=>{var n=Tm(),r=Qh();t.exports=!n&&!r&&"object"==typeof window&&"object"==typeof document})),Mm=Bf(((e,t)=>{var n=Vf(),r=Cm(),i=Kf(),o=Ph(),a=sm(),s=kh(),l=Om(),c=Tm(),u=yh(),d=uh(),p=r&&r.prototype,f=s("species"),h=!1,m=i(n.PromiseRejectionEvent),g=o("Promise",(function(){var e=a(r),t=e!==String(r);if(!t&&66===d||u&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),i=function(e){e((function(){}),(function(){}))};if((n.constructor={})[f]=i,!(h=n.then((function(){}))instanceof i))return!0}return!t&&(l||c)&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:h}})),Am=Bf(((e,t)=>{var n=mh(),r=TypeError,i=function(e){var t,i;this.promise=new e((function(e,n){if(void 0!==t||void 0!==i)throw r("Bad Promise constructor");t=e,i=n})),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),Pm=Bf((()=>{var e,t,n,r=jh(),i=yh(),o=Qh(),a=Vf(),s=Xf(),l=Xh(),c=tm(),u=rm(),d=om(),p=mh(),f=Kf(),h=oh(),m=am(),g=um(),v=mm().set,y=bm(),b=wm(),w=_m(),_=gm(),S=km(),x=Cm(),E=Mm(),k=Am(),C="Promise",T=E.CONSTRUCTOR,O=E.REJECTION_EVENT,M=E.SUBCLASSING,A=S.getterFor(C),P=S.set,L=x&&x.prototype,D=x,R=L,I=a.TypeError,N=a.document,j=a.process,B=k.f,F=B,H=!!(N&&N.createEvent&&a.dispatchEvent),z="unhandledrejection",V=function(e){var t;return!(!h(e)||!f(t=e.then))&&t},U=function(e,t){var n,r,i,o=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,d=e.domain;try{l?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===l?n=o:(d&&d.enter(),n=l(o),d&&(d.exit(),i=!0)),n===e.promise?u(I("Promise-chain cycle")):(r=V(n))?s(r,n,c,u):c(n)):u(o)}catch(e){d&&!i&&d.exit(),u(e)}},$=function(e,t){e.notified||(e.notified=!0,y((function(){for(var n,r=e.reactions;n=r.get();)U(n,e);e.notified=!1,t&&!e.rejection&&q(e)})))},G=function(e,t,n){var r,i;H?((r=N.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),a.dispatchEvent(r)):r={promise:t,reason:n},!O&&(i=a["on"+e])?i(r):e===z&&b("Unhandled promise rejection",n)},q=function(e){s(v,a,(function(){var t,n=e.facade,r=e.value;if(W(e)&&(t=w((function(){o?j.emit("unhandledRejection",r,n):G(z,n,r)})),e.rejection=o||W(e)?2:1,t.error))throw t.value}))},W=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){s(v,a,(function(){var t=e.facade;o?j.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},Y=function(e,t,n){return function(r){e(t,r,n)}},K=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,$(e,!0))},Q=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw I("Promise can't be resolved itself");var r=V(t);r?y((function(){var n={done:!1};try{s(r,t,Y(Q,n,e),Y(K,n,e))}catch(t){K(n,t,e)}})):(e.value=t,e.state=1,$(e,!1))}catch(t){K({done:!1},t,e)}}};if(T&&(R=(D=function(t){m(this,R),p(t),s(e,this);var n=A(this);try{t(Y(Q,n),Y(K,n))}catch(e){K(n,e)}}).prototype,(e=function(e){P(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:0,value:void 0})}).prototype=l(R,"then",(function(e,t){var n=A(this),r=B(g(this,D));return n.parent=!0,r.ok=!f(e)||e,r.fail=f(t)&&t,r.domain=o?j.domain:void 0,0==n.state?n.reactions.add(r):y((function(){U(r,n)})),r.promise})),t=function(){var t=new e,n=A(t);this.promise=t,this.resolve=Y(Q,n),this.reject=Y(K,n)},k.f=B=function(e){return e===D||undefined===e?new t(e):F(e)},!i&&f(x)&&L!==Object.prototype)){n=L.then,M||l(L,"then",(function(e,t){var r=this;return new D((function(e,t){s(n,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}c&&c(L,R)}r({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:D}),u(D,C,!1,!0),d(C)})),Lm=Bf(((e,t)=>{t.exports={}})),Dm=Bf(((e,t)=>{var n=kh(),r=Lm(),i=n("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}})),Rm=Bf(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),Im=Bf(((e,t)=>{var n=Rm();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Nm=Bf(((e,t)=>{var n=Im(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),jm=Bf(((e,t)=>{var n=Nm();t.exports=function(e){return n(e.length)}})),Bm=Bf(((e,t)=>{var n=Hh(),r=gh(),i=nh(),o=Lm(),a=kh()("iterator");t.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}})),Fm=Bf(((e,t)=>{var n=Xf(),r=mh(),i=Rh(),o=hh(),a=Bm(),s=TypeError;t.exports=function(e,t){var l=arguments.length<2?a(e):t;if(r(l))return i(n(l,e));throw s(o(e)+" is not iterable")}})),Hm=Bf(((e,t)=>{var n=Xf(),r=Rh(),i=gh();t.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}})),zm=Bf(((e,t)=>{var n=Lh(),r=Xf(),i=Rh(),o=hh(),a=Dm(),s=jm(),l=lh(),c=Fm(),u=Bm(),d=Hm(),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},h=f.prototype;t.exports=function(e,t,m){var g,v,y,b,w,_,S,x=m&&m.that,E=!(!m||!m.AS_ENTRIES),k=!(!m||!m.IS_RECORD),C=!(!m||!m.IS_ITERATOR),T=!(!m||!m.INTERRUPTED),O=n(t,x),M=function(e){return g&&d(g,"normal",e),new f(!0,e)},A=function(e){return E?(i(e),T?O(e[0],e[1],M):O(e[0],e[1])):T?O(e,M):O(e)};if(k)g=e.iterator;else if(C)g=e;else{if(!(v=u(e)))throw p(o(e)+" is not iterable");if(a(v)){for(y=0,b=s(e);b>y;y++)if((w=A(e[y]))&&l(h,w))return w;return new f(!1)}g=c(e,v)}for(_=k?e.next:g.next;!(S=r(_,g)).done;){try{w=A(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(h,w))return w}return new f(!1)}})),Vm=Bf(((e,t)=>{var n,r,i=kh()("iterator"),o=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){o=!0}})[i]=function(){return this},Array.from(r,(function(){throw 2}))}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}})),Um=Bf(((e,t)=>{var n=Cm(),r=Vm(),i=Mm().CONSTRUCTOR;t.exports=i||!r((function(e){n.all(e).then(void 0,(function(){}))}))})),$m=Bf((()=>{var e=jh(),t=Xf(),n=mh(),r=Am(),i=_m(),o=zm();e({target:"Promise",stat:!0,forced:Um()},{all:function(e){var a=this,s=r.f(a),l=s.resolve,c=s.reject,u=i((function(){var r=n(a.resolve),i=[],s=0,u=1;o(e,(function(e){var n=s++,o=!1;u++,t(r,a,e).then((function(e){o||(o=!0,i[n]=e,--u||l(i))}),c)})),--u||l(i)}));return u.error&&c(u.value),s.promise}})})),Gm=Bf((()=>{var e,t=jh(),n=yh(),r=Mm().CONSTRUCTOR,i=Cm(),o=sh(),a=Kf(),s=Xh(),l=i&&i.prototype;t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&a(i)&&(e=o("Promise").prototype.catch,l.catch!==e&&s(l,"catch",e,{unsafe:!0}))})),qm=Bf((()=>{var e=jh(),t=Xf(),n=mh(),r=Am(),i=_m(),o=zm();e({target:"Promise",stat:!0,forced:Um()},{race:function(e){var a=this,s=r.f(a),l=s.reject,c=i((function(){var r=n(a.resolve);o(e,(function(e){t(r,a,e).then(s.resolve,l)}))}));return c.error&&l(c.value),s.promise}})})),Wm=Bf((()=>{var e=jh(),t=Xf(),n=Am();e({target:"Promise",stat:!0,forced:Mm().CONSTRUCTOR},{reject:function(e){var r=n.f(this);return t(r.reject,void 0,e),r.promise}})})),Zm=Bf(((e,t)=>{var n=Rh(),r=oh(),i=Am();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var o=i.f(e);return(0,o.resolve)(t),o.promise}})),Ym=Bf((()=>{var e=jh(),t=sh(),n=yh(),r=Cm(),i=Mm().CONSTRUCTOR,o=Zm(),a=t("Promise"),s=n&&!i;e({target:"Promise",stat:!0,forced:n||i},{resolve:function(e){return o(s&&this===a?r:this,e)}})})),Km=Bf((()=>{Pm(),$m(),Gm(),qm(),Wm(),Ym()})),Qm=Bf((()=>{var e,t=jh(),n=yh(),r=Cm(),i=Uf(),o=sh(),a=Kf(),s=um(),l=Zm(),c=Xh(),u=r&&r.prototype;t({target:"Promise",proto:!0,real:!0,forced:!!r&&i((function(){u.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,o("Promise")),n=a(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!n&&a(r)&&(e=o("Promise").prototype.finally,u.finally!==e&&c(u,"finally",e,{unsafe:!0}))})),Xm=Bf(((e,t)=>{Kh(),Km(),Qm();var n=qh();t.exports=n("Promise","finally")})),Jm=Bf(((e,t)=>{var n=Xm();t.exports=n})),eg=Bf(((e,t)=>{var n=Jm();t.exports=n})),tg=Bf(((e,t)=>{t.exports=function(){}})),ng=Bf(((e,t)=>{var n=Qf(),r=xh(),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),s=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:l}})),rg=Bf(((e,t)=>{var n=Im(),r=Math.max,i=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}})),ig=Bf(((e,t)=>{var n=ih(),r=rg(),i=jm(),o=function(e){return function(t,o,a){var s,l=n(t),c=i(l),u=r(a,c);if(e&&o!=o){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),og=Bf(((e,t)=>{var n=qf(),r=xh(),i=ih(),o=ig().indexOf,a=Em(),s=n([].push);t.exports=function(e,t){var n,l=i(e),c=0,u=[];for(n in l)!r(a,n)&&r(l,n)&&s(u,n);for(;t.length>c;)r(l,n=t[c++])&&(~o(u,n)||s(u,n));return u}})),ag=Bf(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),sg=Bf(((e,t)=>{var n=og(),r=ag();t.exports=Object.keys||function(e){return n(e,r)}})),lg=Bf((e=>{var t=Qf(),n=Dh(),r=Ih(),i=Rh(),o=ih(),a=sg();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n,s=o(t),l=a(t),c=l.length,u=0;c>u;)r.f(e,n=l[u++],s[n]);return e}})),cg=Bf(((e,t)=>{var n,r=Rh(),i=lg(),o=ag(),a=Em(),s=dm(),l=Oh(),c=xm(),u="prototype",d="script",p=c("IE_PROTO"),f=function(){},h=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}g="undefined"!=typeof document?document.domain&&n?m(n):function(){var e,t=l("iframe"),n="java"+d+":";return t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F}():m(n);for(var e=o.length;e--;)delete g[u][o[e]];return g()};a[p]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=r(e),n=new f,f[u]=null,n[p]=e):n=g(),void 0===t?n:i.f(n,t)}})),ug=Bf(((e,t)=>{var n=Uf();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),dg=Bf(((e,t)=>{var n=xh(),r=Kf(),i=Sh(),o=xm(),a=ug(),s=o("IE_PROTO"),l=Object,c=l.prototype;t.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var o=t.constructor;return r(o)&&t instanceof o?o.prototype:t instanceof l?c:null}})),pg=Bf(((e,t)=>{var n,r,i,o=Uf(),a=Kf(),s=oh(),l=cg(),c=dg(),u=Xh(),d=kh(),p=yh(),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(n=r):h=!0);var m=!s(n)||o((function(){var e={};return n[f].call(e)!==e}));m?n={}:p&&(n=l(n)),a(n[f])||u(n,f,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}})),fg=Bf(((e,t)=>{var n=pg().IteratorPrototype,r=cg(),i=eh(),o=rm(),a=Lm(),s=function(){return this};t.exports=function(e,t,l,c){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!c,l)}),o(e,u,!1,!0),a[u]=s,e}})),hg=Bf(((e,t)=>{var n=jh(),r=Xf(),i=yh(),o=ng(),a=Kf(),s=fg(),l=dg(),c=tm(),u=rm(),d=Nh(),p=Xh(),f=kh(),h=Lm(),m=pg(),g=o.PROPER,v=o.CONFIGURABLE,y=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=f("iterator"),_="keys",S="values",x="entries",E=function(){return this};t.exports=function(e,t,o,f,m,k,C){s(o,t,f);var T,O,M,A=function(e){if(e===m&&I)return I;if(!b&&e in D)return D[e];switch(e){case _:case S:case x:return function(){return new o(this,e)}}return function(){return new o(this)}},P=t+" Iterator",L=!1,D=e.prototype,R=D[w]||D["@@iterator"]||m&&D[m],I=!b&&R||A(m),N="Array"==t&&D.entries||R;if(N&&((T=l(N.call(new e)))!==Object.prototype&&T.next&&(!i&&l(T)!==y&&(c?c(T,y):a(T[w])||p(T,w,E)),u(T,P,!0,!0),i&&(h[P]=E))),g&&m==S&&R&&R.name!==S&&(!i&&v?d(D,"name",S):(L=!0,I=function(){return r(R,this)})),m)if(O={values:A(S),keys:k?I:A(_),entries:A(x)},C)for(M in O)(b||L||!(M in D))&&p(D,M,O[M]);else n({target:t,proto:!0,forced:b||L},O);return(!i||C)&&D[w]!==I&&p(D,w,I,{name:m}),h[t]=I,O}})),mg=Bf(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),gg=Bf(((e,t)=>{var n=ih(),r=tg(),i=Lm(),o=km(),a=Ih().f,s=hg(),l=mg(),c=yh(),u=Qf(),d="Array Iterator",p=o.set,f=o.getterFor(d);t.exports=s(Array,"Array",(function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var h=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==h.name)try{a(h,"name",{value:"values"})}catch(e){}})),vg=Bf(((e,t)=>{var n=Th(),r=Ih(),i=eh();t.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}})),yg=Bf((()=>{var e=jh(),t=zm(),n=vg();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,(function(e,t){n(r,e,t)}),{AS_ENTRIES:!0}),r}})})),bg=Bf(((e,t)=>{gg(),yg();var n=ah();t.exports=n.Object.fromEntries})),wg=Bf(((e,t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),_g=Bf((()=>{gg();var e,t,n,r=wg(),i=Vf(),o=Hh(),a=Nh(),s=Lm(),l=kh()("toStringTag");for(n in r)(t=(e=i[n])&&e.prototype)&&o(t)!==l&&a(t,l,n),s[n]=s.Array})),Sg=Bf(((e,t)=>{var n=bg();_g(),t.exports=n})),xg=Bf(((e,t)=>{var n=Sg();t.exports=n})),Eg=Ff(Yh(),1),kg=(e=>(e.PROD="prod",e.VK_ALIAS="vk_alias",e.VIDEOTEST="videotest",e.TEST="test",e.AUTO="auto",e))(kg||{}),Cg=(e=>(e.Q144P="mobile",e.Q240P="lowest",e.Q360P="low",e.Q480P="medium",e.Q720P="high",e.Q1080P="fullhd",e.Q1440P="quadhd",e.Q2160P="ultrahd",e.UNKNOWN="unknown",e))(Cg||{}),Tg=((Tf=Tg||{}).MP4="mp4",Tf.DASH="dash",Tf.DASH_SEP="dash_sep",Tf.ONDEMAND_DASH="ondemand_dash",Tf.HLS="hls",Tf.ONDEMAND_HLS="ondemand_hls",Tf.WEBM="webm",Tf.AV1="av1",Tf.ONDEMAND_DASH_LIVE="ondemand_dash_live",Tf.ONDEMAND_HLS_LIVE="ondemand_hls_live",Tf.WEBRTC="webrtc",Tf.UNKNOWN="unknown",Tf.RTMP="rtmp",Tf),Og=((Of=Og||{}).HTTP1="http1",Of.HTTP2="http2",Of.HTTP3="http3",Of),Mg=(e=>(e.SLIDER="slider",e.DOUBLE_TAP="double_tap",e.TIME_CODE="time_code",e.EPISODE="episode",e.REWIND="rewind",e.LIVE="live",e.UNKNOWN="unknown",e))(Mg||{}),Ag=(e=>(e.GRAPH_SHOW="iGraphShow",e.GRAPH_HIDE="iGraphHide",e.NEXT_AREA="iNextChapterArea",e.NEXT_BUTTON="iNextChapterBtn",e.WATCH_AGAIN="iWatchAgainBtn",e))(Ag||{}),Pg={action_play:"ap",action_play_interactive:"api",first_bytes:"fb",player_ready:"pr",first_frame:"ff",seek:"sk",watch_coverage_record:"wr",watch_coverage_live:"wl",empty_buffer:"eb",action_stop:"as",close_at_empty_buffer:"cb",content_error:"er",player_interface_click:"pc",next_movie:"nm",track_switch:"ts",failover:"fo"},Lg={vsid:"si",isid:"is",vid:"vi",place:"pl",quality:"qt",cdn_host:"ch",stat_type:"st",param:"pm",vk_app_id:"va",track_code:"tc",connection_type:"cnt",connection_reused:"cr",cached_data:"cd",live:"lv",muted:"mu",mode:"mo",subtitles:"sb",failover:"fo",download_speed:"ds",manual_quality:"mq",ref_domain:"rd",direct_url:"du"},Dg={unknown:"un",mobile:"m",lowest:"ls",low:"l",medium:"md",high:"h",fullhd:"f",quadhd:"q",ultrahd:"u"},Rg={pip:"pi",fullscreen:"fs",external:"ex",prefetch:"pr",airplay:"ap",chromecast:"cc",invisible:"iv"},Ig={apiEnv:"vk_alias",requestRetryCount:1,firstFlushTime:5e3,flushDebounceTime:1e4,flushMaxWait:6e4,storageExpiration:1296e5,watchCoverageInterval:15e3,disabledOperations:[],disabledCustomFields:[],shorten:!0,maxLoops:100,embedUrlParams:[],useBeacon:!0,synchronizeTime:!0,debugLog:!1,backoff:{start:1e3,factor:1.5,max:3e5,random:.1}};var Ng=Ff(eg(),1),jg=Ff(xg(),1),Bg=e=>{var t;let{operation:n,custom:r}=e,i=(0,jg.default)(Object.entries(r).map((([e,t])=>{var n,r,i;let o=null!=(n=Lg[e])?n:e,a=t;return t&&("mode"===e?a=null!=(r=Rg[t])?r:t:"quality"===e&&(a=null!=(i=Dg[t])?i:t)),[o,a]})));return{...e,operation:null!=(t=Pg[n])?t:n,custom:i}},Fg="__VERSION__",Hg={prod:"https://webcf.waybackmachine.org/web/20240801092516/https://api.ok.ru",vk_alias:"https://webcf.waybackmachine.org/web/20240801092516/https://api.mycdn.me",videotest:"https://webcf.waybackmachine.org/web/20240801092516/https://videotestapi.ok.ru/api",test:"https://webcf.waybackmachine.org/web/20240801092516/https://apitest.ok.ru",auto:""},zg=class{constructor(e){this.consequentAuthErrors=0,this.authorized$=new o.v0(!1),this.params=e}async authorize(e){return this.authToken=null!=e?e:await this.refreshAuthToken(),this._authorizeWithBackoff()}logBeacon(e){let t=this.createLogParams(e),n=this.sessionKey;n&&(this.params.apiTransport.sendBeacon("log.externalLog",t,n)||this.logRequest(e))}async logRequest(e){var t;let n="log.externalLog",r=this.createLogParams(e),i=null!=(t=this.sessionKey)?t:await this._authorizeWithBackoff();if(!i)return;let a=async(e,t=this.params.config.requestRetryCount)=>{try{return await this.params.apiTransport.sendRequest(n,r,i)}catch(r){if(!r||!("error_code"in r))return void this.params.error$.next({id:"logRequestUnknown",category:o.qj.NETWORK,message:`Unknown ${n} error`,thrown:r});let i=null==r?void 0:r.error_code;switch(i){case 102:case 103:case 104:return this.authorized$.next(!1),this.sessionKey=await this._authorizeWithBackoff(),t>0?a(e,t-1):void 0;case 401:return this.authorized$.next(!1),this.authToken=await this.refreshAuthToken(),this.sessionKey=await this._authorizeWithBackoff(),t>0?a(e,t-1):void 0;default:return void this.params.error$.next({id:`LogRequest#${i}`,category:o.qj.EXTERNAL_API,message:`${n} error`,data:r})}}};return a(e)}destroy(){window.clearTimeout(this.backoffTimeoutId),this.backoffTimeoutId=0}async refreshAuthToken(){if(this.params.refreshAuthToken)return this.refreshAuthTokenPromise||(this.refreshAuthTokenPromise=(0,Ng.default)(this.params.refreshAuthToken(),(()=>{this.refreshAuthTokenPromise=void 0}))),this.refreshAuthTokenPromise}createLogParams(e){return{collector:"ok.mobile.apps.video",data:JSON.stringify({application:`@vkontakte/videoplayer-statistics:${Fg}`,platform:this.params.mobile?"M_WEB":"WEB",items:this.params.config.shorten?e.map(Bg):e})}}_authorizeWithBackoff(){if(!this.consequentAuthErrors)return this._authorize();let e=(0,o.SV)(this.consequentAuthErrors,this.params.config.backoff);return new Promise((t=>{this.backoffTimeoutId||(this.backoffTimeoutId=window.setTimeout((()=>{(0,Ng.default)(this._authorize().then(t).catch((e=>this.params.error$.next({id:"AuthorizeBackoff",category:o.qj.NETWORK,message:"Otherwise unhandled error in authorization",thrown:e}))),(()=>this.backoffTimeoutId=0))}),e))}))}async _authorize(){if(this.authorizePromise)return this.authorizePromise;this.sessionKey=void 0,this.authorized$.next(!1);let e={session_data:{version:2,device_id:this.params.uuid,client_version:Fg.split("-")[0],client_type:"SDK_JS"}};return void 0!==this.authToken&&(e.session_data.auth_token=this.authToken,e.session_data.version=3),this.authorizePromise=(0,Ng.default)(this.params.apiTransport.sendRequest("auth.anonymLogin",e).then((e=>{var t;return(!e||!e.session_key)&&this.params.error$.next({id:"AuthorizeFailed",category:o.qj.EXTERNAL_API,message:"No session key",data:e}),this.sessionKey=null!=(t=null==e?void 0:e.session_key)?t:void 0,this.sessionKey})).catch((async e=>{this.sessionKey=void 0;let t=null==e?void 0:e.error_code;if(401===t)return this.authToken=await this.refreshAuthToken(),this._authorizeWithBackoff();t?this.params.error$.next({id:`Authorize#${t}`,category:o.qj.EXTERNAL_API,message:"authorize error",data:e}):this.params.error$.next({id:"AuthorizeUnknown",category:o.qj.NETWORK,message:"authorize error",thrown:e})})),(()=>{this.authorizePromise=void 0,this.consequentAuthErrors=this.sessionKey?0:this.consequentAuthErrors+1,this.authorized$.next(void 0!==this.sessionKey)})),this.authorizePromise}},Vg=class{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;let n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;let t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){let r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}},Ug=class extends Vg{constructor(){super(),this.listeners||Vg.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}},$g=class{constructor(){Object.defineProperty(this,"signal",{value:new Ug,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if("undefined"==typeof document)n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(e){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};function Gg(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(Pf.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&($g.prototype[Symbol.toStringTag]="AbortController",Ug.prototype[Symbol.toStringTag]="AbortSignal");var qg=Gg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Wg=qg?function(e){"function"==typeof e&&(e={fetch:e});let{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!Gg({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);let i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);let a=t;return{fetch:(e,t)=>{let n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch(e){r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);let i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Zg=qg?Wg.fetch:window.fetch,Yg=(qg?Wg.Request:window.Request,qg||window.AbortController,qg||window.AbortSignal,class{constructor(e){this.params=e,this.apiKey=e.apiKey,this.apiEnv=e.config.apiEnv,this.apiBaseUrl=Hg[this.apiEnv],this.timeSynchronisation=e.timeSynchronisation,this.isApiBaseUrlFetched=!1}async resolveApiBaseUrl(){var e;if("auto"!==this.apiEnv||this.isApiBaseUrlFetched)return this.apiBaseUrl;try{let t=atob("aHR0cHM6Ly9kbnMuZ29vZ2xlL3Jlc29sdmU/bmFtZT12aWRlby5fZW5kcG9pbnQub2sucnUmdHlwZT1UWFQ="),n=await(await Zg(t,{method:"GET",mode:"cors",cache:"no-cache"})).json(),r=null==(e=null==n?void 0:n.Answer[0])?void 0:e.data;if(!r)throw new Error("Wrong DNS response");return r}catch(e){return this.params.error$.next({id:"OneStat:ApiTransport:resolveApiBaseUrl",category:o.qj.NETWORK,message:"Unhandled resolve api base url error",thrown:e}),Hg.vk_alias}finally{this.isApiBaseUrlFetched=!0}}sendBeacon(e,t,n){if(!window.Blob||!window.navigator.sendBeacon)return!1;let r=this._prepareQueryParams({method:e,queryParams:t,sessionKey:n}),i=new window.Blob([r.toString()],{type:"application/x-www-form-urlencoded"});try{return window.navigator.sendBeacon(`${this.apiBaseUrl}/fb.do`,i)}catch(n){this.params.error$.next({id:"OneStat:ApiTransport:sendBeacon",category:o.qj.NETWORK,message:"Unhandled beacon error",thrown:n,data:{method:e,params:t}})}return!1}async sendRequest(e,t,n){let r=(0,o.zO)(),i=i=>{i instanceof TypeError&&["Failed to fetch","NetworkError when attempting to fetch resource."].includes(i.message)?this.params.error$.next({id:"Network",category:o.qj.NETWORK,message:"Request failed",thrown:i}):this.params.error$.next({id:"OneStat:ApiTransport:sendRequest",category:o.qj.NETWORK,message:"Unhandled request error",thrown:i,data:{method:e,params:t,sessionKey:n,time:(0,o.zO)()-r}})};return this.apiBaseUrl=await this.resolveApiBaseUrl(),Zg(`${this.apiBaseUrl}/fb.do`,{method:"post",headers:{"Content-type":"application/x-www-form-urlencoded"},body:this._prepareQueryParams({method:e,queryParams:t,sessionKey:n})}).then((e=>{var t,n;let a=0===Number(e.headers.get("content-length")),s=new Date(null!=(t=e.headers.get("date"))?t:"").getTime(),l=(0,o.zO)()-r;if(isFinite(s)&&(null==(n=this.timeSynchronisation)||n.addServerTime(s,l)),!a)return e.json().then((e=>Object.prototype.hasOwnProperty.call(e,"error_msg")?Promise.reject(e):e),i)}),i)}_prepareQueryParams(e){let t=new URLSearchParams({format:"JSON",method:e.method,application_key:this.apiKey});return void 0!==e.sessionKey&&t.append("session_key",e.sessionKey),Object.entries(e.queryParams).forEach((([e,n])=>t.append(e,"string"==typeof n?n:JSON.stringify(n)))),t}}),Kg="onestat_events",Qg=e=>t=>t.timestamp+e>=(0,o.zO)(),Xg=class{constructor(e){this.unsaltedStorage=[],this.isPaused=!1,this.isUrgent=e=>{let{operation:t}=e;return["action_play","watch_coverage_record","watch_coverage_live"].includes(t)},this.params=e,this.api=e.api,this.error$=e.error$,this.userSalt=e.userSalt,this.loggerDebugLog=e.debugLogger.createComponentLog("stat logger"),this.firstFlush=(0,o.d4)((()=>this.safeFlush()),this.params.config.firstFlushTime,{maxWait:this.params.config.firstFlushTime});let t=o.we.isPersistent()?this.params.config.flushMaxWait:0;this.debouncedFlush=(0,o.d4)((()=>this.safeFlush()),this.params.config.flushDebounceTime,{maxWait:t}),this.subscription=this.api.authorized$.subscribe((e=>{e&&this.debouncedFlush()})),this.housekeepStorage()}safeFlush(){var e;try{this.flush()}catch(t){this.error$.next({id:"LoggerError",category:o.qj.WTF,message:null!=(e=String(t))?e:"Unknown logger error",thrown:t})}}readFromStorage(){let e=o.we.get(Kg);try{return e?JSON.parse(e):{}}catch(e){}return{}}addToStorage(e){var t;if(!this.userSalt)return void this.unsaltedStorage.push(e);let n=this.readFromStorage(),r=(null!=(t=n[this.userSalt])?t:[]).filter(Qg(this.params.config.storageExpiration));o.we.set(Kg,JSON.stringify({...n,[this.userSalt]:[...r,e]}))}getFromStorage(){var e;return this.userSalt?(null!=(e=this.readFromStorage()[this.userSalt])?e:[]).filter(Qg(this.params.config.storageExpiration)):this.unsaltedStorage}markStorageSent(){if(!this.userSalt)return void(this.unsaltedStorage=[]);let e=this.readFromStorage();delete e[this.userSalt],o.we.set(Kg,JSON.stringify(e))}housekeepStorage(){let e=this.readFromStorage();for(let[t,n]of Object.entries(e)){let r=n.filter(Qg(this.params.config.storageExpiration));r.length?e[t]=r:delete e[t],this.loggerDebugLog({message:`${n.length} retrieved from storage, ${r.length} of them actual`})}o.we.set(Kg,JSON.stringify(e))}log(e){this.addToStorage(e),!this.isPaused&&(this.isUrgent(e)?this.flush():this.lastVsid!==e.custom.vsid?this.firstFlush():this.debouncedFlush(),this.lastVsid=e.custom.vsid)}flush(e=!1){let t=this.getFromStorage();0!==t.length&&(this.api.authorized$.getValue()?(e&&this.params.config.useBeacon?(this.loggerDebugLog({message:`Flushing ${t.length} events through beacon`}),this.api.logBeacon(t)):(this.loggerDebugLog({message:`Flushing ${t.length} events`}),this.api.logRequest(t)),this.markStorageSent()):this.api.authorize(),this.firstFlush.cancel(),this.debouncedFlush.cancel())}pause(){this.isPaused=!0,this.debouncedFlush.cancel()}resume(){this.isPaused=!1,this.debouncedFlush()}destroy(){this.subscription.unsubscribe(),this.firstFlush.cancel(),this.debouncedFlush.cancel()}},Jg=e=>e&&{[Mf.SF.INVARIANT]:"unknown",[Mf.SF.Q_144P]:"mobile",[Mf.SF.Q_240P]:"lowest",[Mf.SF.Q_360P]:"low",[Mf.SF.Q_480P]:"medium",[Mf.SF.Q_720P]:"high",[Mf.SF.Q_1080P]:"fullhd",[Mf.SF.Q_1440P]:"quadhd",[Mf.SF.Q_2160P]:"ultrahd",[Mf.SF.Q_4320P]:"unknown"}[e],ev=e=>e&&{[Mf.jZ.HTTP1]:"http1",[Mf.jZ.HTTP2]:"http2",[Mf.jZ.QUIC]:"http3"}[e],tv=e=>{if(void 0!==e)switch(e){case Mf.ZT.MPEG:return"mp4";case Mf.ZT.DASH_LIVE:return"dash";case Mf.ZT.DASH_SEP:return"dash_sep";case Mf.ZT.DASH_ONDEMAND:return"ondemand_dash";case Mf.ZT.DASH_WEBM:case Mf.ZT.DASH_LIVE_WEBM:return"webm";case Mf.ZT.DASH_WEBM_AV1:return"av1";case Mf.ZT.DASH_LIVE_CMAF:return"ondemand_dash_live";case Mf.ZT.HLS:case Mf.ZT.HLS_LIVE:return"hls";case Mf.ZT.HLS_ONDEMAND:return"ondemand_hls";case Mf.ZT.HLS_LIVE_CMAF:return"ondemand_hls_live";case Mf.ZT.WEB_RTC_LIVE:return"webrtc";default:return(0,o.vE)(e)}},nv=e=>{if(void 0!==e)switch(e){case Mf.Tg.NONE:case Mf.Tg.INLINE:return;case Mf.Tg.FULLSCREEN:return"fullscreen";case Mf.Tg.SECOND_SCREEN:return"chromecast";case Mf.Tg.PIP:return"pip";case Mf.Tg.INVISIBLE:return"invisible";default:return(0,o.vE)(e)}},rv=e=>{switch(e){case"slow-2g":case"2g":return"poor";case"3g":return"good";case"4g":return"excellent"}},iv=class{constructor(e){this.offset=void 0,this.offset=e}getOffset(){var e;return null!=(e=this.offset)?e:0}setOffset(e){this.offset=e}now(){var e;return Date.now()+(null!=(e=this.offset)?e:0)}date(e=new Date){var t;return e.setTime(e.getTime()+(null!=(t=this.offset)?t:0)),e}addServerTime(e,t){let n=e-Date.now()-t/2;Math.abs(n)<1e3?this.offset=0:void 0===this.offset?this.offset=Math.round(n):this.offset=Math.round(.2*n+.8*this.offset)}},ov="_one-stat_uuid",av=()=>{let e=new o.w0;return{subscription:e,subscribe:(t,n)=>{t&&e.add(t.subscribe(n))}}},sv=class{constructor(e,t){var n,r,i;this.subscription=new o.w0,this.debugLogger=new o.Yd,this.oneStatDebugLog=this.debugLogger.createComponentLog("onestat"),this.loopCounter=0,this.disabled=!1,this.vsid$=new o.v0(void 0),this.isid$=new o.v0(void 0),this.seekAction$=new o.v0("unknown"),this.statContext=e,this.config=(e=>(0,o.Cd)(e,Ig))(null!=(n=t.config)?n:{}),(0,o.C_)(t.apiEnv)&&(this.config.apiEnv=t.apiEnv),this.config.synchronizeTime&&(this.timeSynchronisation=new iv);let a=new o.xQ;this.experimental={error$:a};let s=o.we.get(ov);s?s.startsWith('"')&&s.endsWith('"')?(this.uuid=(0,Eg.default)(s,'"',""),o.we.set(ov,this.uuid)):this.uuid=s:(this.uuid=function(){let e,t,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=new Array(36),i=0;for(t=0;t<36;t++)8===t||13===t||18===t||23===t?r[t]="-":14===t?r[t]="4":(i<=2&&(i=33554432+16777216*Math.random()|0),e=15&i,i>>=4,r[t]=n[19===t?3&e|8:e]);return r.join("")}(),o.we.set(ov,this.uuid)),this.resetViewSession(),t.useIsid&&this.isid$.next(null!=(r=t.isid)?r:Math.floor(0x10000000000000000*Math.random()).toString(36).padStart(13,"0"));let l=new Yg({apiKey:"CIOPGQJGDIHBABABA",config:this.config,error$:a,timeSynchronisation:this.timeSynchronisation});this.api=new zg({config:this.config,apiTransport:l,refreshAuthToken:t.refreshAuthToken,mobile:null!=(i=this.statContext.mobile)&&i,uuid:this.uuid,error$:a}),this.logger=new Xg({config:this.config,debugLogger:this.debugLogger,api:this.api,error$:a,userSalt:t.userSalt});let{isEmbed:c,host:u}=(0,o.lE)();this.isEmbed=c,this.embedParent=u,this.subscribe()}updateContext(e){this.statContext={...this.statContext,...e}}attachTo(e){let t,n=new o.w0,r=(e,t)=>n.add(e.subscribe(t));r(e.events.willStart$,(()=>{let t=e.info.position$.getValue();this.logActionPlay({position:t}),this.statContext.projectId&&this.logActionPlayInteractive({position:t})})),r(e.events.looped$,(()=>{this.resetViewSession(),++this.loopCounter>this.config.maxLoops&&(this.disabled=!0),this.logActionPlay({position:e.info.position$.getValue()})})),r(e.events.seeked$,(()=>{this.logSeek({action:this.seekAction$.getValue(),time:e.info.position$.getValue()}),this.seekAction$.next("unknown")})),r(e.events.paused$,(()=>{this.logPause({position:e.info.position$.getValue()})})),r(e.events.willResume$,(()=>{this.logPlay()})),r(e.events.started$,(()=>{this.statContext.clip&&this.logWatchCoverageRecord({start:0,end:0})})),r(((e,t)=>new o.y$((n=>{let r,i=new o.w0,a=(0,o.TS)((0,o.RB)(window,"beforeunload"),e.events.willDestruct$),s=new o.v0(void 0);i.add(e.info.isLive$.pipe((0,o.qz)()).subscribe((t=>{r&&(r.unsubscribe(),s.next(void 0)),r=t?e.info.liveTime$.pipe((0,o.UI)((e=>e&&e/1e3))).subscribe(s):e.info.position$.subscribe(s),i.add(r)})));let{playing$:l,paused$:c}=e.events,u=e.events.willSeek$.pipe((0,o.hX)((()=>e.info.playbackState$.getValue()===Mf.q9.PLAYING))),d=e.events.seeked$.pipe((0,o.hX)((()=>e.info.playbackState$.getValue()===Mf.q9.PLAYING))),p=!1,f=new o.xQ;i.add(u.subscribe((()=>{p||f.next(),p=!0}))),i.add(d.subscribe((()=>p=!1)));let h,m=new o.xQ,g=new o.xQ,v=(0,o.TS)(l,d,m),y=(0,o.TS)(c,f,a,e.events.looped$,g),b=()=>{g.next(),m.next()};if(i.add(v.subscribe((()=>h=s.getValue()))),i.add(y.subscribe((()=>{let e=s.getValue();(0,o.SG)(h)||h===e||(0,o.SG)(e)||(n.next({from:h,to:e}),h=void 0)}))),t.forceInterval&&isFinite(t.forceInterval)){let e=0;i.add(v.subscribe((()=>e=window.setTimeout(b,t.forceInterval)))),i.add(y.subscribe((()=>window.clearTimeout(e))))}return i})))(e,{forceInterval:this.config.watchCoverageInterval}),(t=>{let n=e.info.isLive$.getValue(),r={start:parseFloat(t.from.toFixed(3)),end:parseFloat(t.to.toFixed(3))};n?this.logWatchCoverageLive(r):this.logWatchCoverageRecord(r)})),r(e.info.isStalled$,(e=>{e?t=(0,o.zO)():((0,o.C_)(t)&&this.logEmptyBuffer({duration:(0,o.zO)()-t}),t=void 0)}));let i=!1;n.add(e.events.fatalError$.pipe((0,o.IH)()).subscribe((()=>i=!0))),r(e.events.willStop$,(()=>{if(e.info.isStalled$.getValue()){let e=(0,o.C_)(t)?(0,o.zO)()-t:void 0;this.logCloseAtEmptyBuffer({duration:null!=e?e:0}),t=void 0}else i||this.logActionStop()})),r(e.events.managedError$,(({id:e})=>{this.logError({fatal:!1,errorType:e})})),r(e.events.fatalError$,(({id:e})=>{this.logError({fatal:!0,errorType:e})}));let a,s,l,c=!1;return r(e.events.firstBytes$,(e=>{a=(0,o.zO)(),this.logFirstBytes({time:e})})),r(e.events.willStart$,(()=>s=(0,o.zO)())),r(e.info.currentBuffer$,(e=>{!c&&e&&e.end-e.start>0&&(0,o.C_)(a)&&(this.logPlayerReady({duration:(0,o.zO)()-a}),c=!0)})),r(e.events.firstFrame$,(()=>{(0,o.C_)(a)&&!c&&(this.logPlayerReady({duration:(0,o.zO)()-a}),c=!0),(0,o.C_)(s)&&this.logFirstFrame({time:(0,o.zO)()-s})})),r(e.info.atLiveEdge$,(e=>this.updateContext({liveEdge:e}))),r((0,o.$e)({muted:e.info.muted$,volume:e.info.volume$}),(({muted:e,volume:t})=>this.updateContext({audible:!e&&t>0}))),r(e.info.currentQuality$,(e=>this.updateContext({quality:Jg(e)}))),r(e.info.isAutoQualityEnabled$,(e=>this.updateContext({autoQuality:e}))),r(e.info.currentFormat$,(e=>this.updateContext({contentType:tv(e)}))),r(e.info.currentPlaybackRate$,(e=>this.updateContext({rate:e}))),r(e.info.is3DVideo$,(e=>this.updateContext({is3d:e}))),r(e.info.hostname$,(e=>{let t=void 0!==l&&l!==e;this.updateContext({cdnHostname:e,failover:t}),t&&this.logFailover(e),l=e})),r(e.info.throughputEstimation$,(e=>this.updateContext({downloadSpeed:e}))),r(e.info.httpConnectionType$,(e=>{this.statContext.firstConnectionType||this.updateContext({firstConnectionType:ev(e)}),this.updateContext({connectionType:ev(e)})})),r(e.info.httpConnectionReused$,(e=>{(0,o.SG)(this.statContext.firstConnectionReused)&&this.updateContext({firstConnectionReused:e}),this.updateContext({connectionReused:e})})),r(e.info.surface$,(e=>this.updateContext({mode:nv(e)}))),r((0,o.$e)({current:e.info.currentTextTrack$,available:e.info.availableTextTracks$}),(({current:e,available:t})=>{let n=t.find((({id:t})=>t===e)),r=n&&(n.isAuto?`${n.language}_auto`:n.language);this.updateContext({subtitles:r})})),this.player=e,this.uiEvents&&this.attachToUi(this.uiEvents),this.resubscribeBeforeunload(),this.subscription.add(n),n}attachToUi(e){this.uiEvents=e;let{subscription:t,subscribe:n}=av();return this.player&&(n(e.actionRewind$,(()=>{this.player&&(this.resetViewSession(),this.logActionPlay({position:this.player.info.position$.getValue()}))})),n(e.actionSeek$,this.seekAction$),n(e.inPiP$,(e=>{var t;let n=e?"pip":nv(null==(t=this.player)?void 0:t.info.surface$.getValue());this.updateContext({mode:n})})),n(e.inFullscreen$,(e=>{var t;let n=e?"fullscreen":nv(null==(t=this.player)?void 0:t.info.surface$.getValue());this.updateContext({mode:n})})),n(e.actionSetSubtitle$,(e=>this.updateContext({subtitles:e}))),n(e.nextMovie$,(e=>this.logNextMovie(e))),this.resubscribeBeforeunload(),this.subscription.add(t)),t}attachToAds(e){let{subscription:t,subscribe:n}=av();return n(e.slotRequested$,(()=>this.logAdSlotRequest())),n(e.started$,(e=>this.logAdStarted(e))),n(e.paused$,(()=>this.logAdPaused())),n(e.resumed$,(()=>this.logAdResumed())),n(e.ended$,(()=>this.logAdEnded())),n(e.skipped$,(()=>this.logAdSkipped())),n(e.clicked$,(()=>this.logAdClicked())),this.resubscribeBeforeunload(),this.subscription.add(t),t}attachToInteractive(e){let{subscription:t,subscribe:n}=av();return n(e.click$,(e=>this.logInterfaceClick(e))),n(e.nextMovie$,(e=>this.logNextMovie(e))),this.resubscribeBeforeunload(),this.subscription.add(t),t}authorize(e){return this.api.authorize(e)}pause(){this.logger.pause(),this.oneStatDebugLog({message:"paused"})}resume(){this.logger.resume(),this.oneStatDebugLog({message:"resumed"})}destroy(){this.logger.flush(),this.subscription.unsubscribe(),this.api.destroy(),this.logger.destroy()}resetViewSession(){this.oneStatDebugLog({message:"VSID reset"}),this.vsid$.next(Math.floor(4294967296*Math.random()).toString(36).padStart(7,"0"))}getDeviceId(){return this.uuid}setFieldBlacklist(){}logInited(){}logReady(e){this.log({operation:"player_ready",param:String(e.time)})}logStarted(...e){this.logActionPlay(...e)}logPlay(){this.log({operation:"play_toggle"})}logPause(e){this.log({operation:"pause",param:String(Math.round(e.position))})}logSeek(e){this.log({operation:"seek",param:e.action,time:e.time})}logFirstBytes(e){this.log({operation:"first_bytes",param:String(e.time)})}logFirstFrame(e){this.log({operation:"first_frame",param:String(e.time)})}logError(e){this.log({operation:"content_error",param:`${e.fatal?"fatal":"recoverable"}_${e.errorType}`})}logWatchCoverageRecord(e){this.log({operation:"watch_coverage_record",param:`${e.start}-${e.end}`})}logWatchCoverageLive(e){var t,n;let r=null!=(n=null==(t=this.timeSynchronisation)?void 0:t.getOffset())?n:0,i=e.start+r,o=e.end+r;this.log({operation:"watch_coverage_live",param:`${i}-${o}`})}logEmptyBuffer(e){this.log({operation:"empty_buffer",param:String(e.duration)})}logDownloadSpeed(){}logAdSlotRequest(){this.log({operation:"adv",param:"slot_request"})}logAdStarted(e){this.log({operation:"adv",param:e})}logAdPaused(){this.log({operation:"adv",param:"pause"})}logAdResumed(){this.log({operation:"adv",param:"resume"})}logAdEnded(){this.log({operation:"adv",param:"ended"})}logAdSkipped(){this.log({operation:"adv",param:"skip"})}logAdClicked(){this.log({operation:"adv",param:"click"})}logInterfaceClick(e){this.log({operation:"player_interface_click",param:e})}logNextMovie(e){this.log({operation:"next_movie",param:String(e)})}subscribe(){this.resubscribeBeforeunload();let e=window.navigator.connection;e&&"onchange"in e&&"effectiveType"in e&&this.subscription.add((0,o.TS)((0,o.RB)(e,"change"),(0,o.$T)(["init"])).subscribe((()=>this.updateContext({network:rv(e.effectiveType)})))),this.config.debugLog&&this.debugLogger.log$.subscribe((e=>{Pf.debug("%c stat ","background:#fa6470;",`component: ${e.component}.`,e.message)}))}resubscribeBeforeunload(){var e;null==(e=this.beforeunloadSubscription)||e.unsubscribe(),this.beforeunloadSubscription=(0,o.RB)(window,"beforeunload").subscribe((()=>this.logger.flush(!0))),this.subscription.add(this.beforeunloadSubscription)}logPlayerReady(e){this.log({operation:"player_ready",param:String(Math.round(e.duration))})}logActionPlay(e){this.log({operation:"action_play",param:String(Math.round(e.position))})}logActionPlayInteractive(e){this.statContext.projectId&&this.log({operation:"action_play_interactive",param:String(Math.round(e.position))},{vid:this.statContext.projectId})}logFailover(e){this.log({operation:"failover",param:e})}logCloseAtEmptyBuffer(e){this.log({operation:"close_at_empty_buffer",param:String(Math.round(e.duration))})}logActionStop(){this.log({operation:"action_stop"})}log(e,t={}){if(this.disabled)return void this.oneStatDebugLog({message:`operation ${e.operation} but statistics is disabled`});if(this.config.disabledOperations.includes(e.operation))return void this.oneStatDebugLog({message:`operation ${e.operation} but it is disabled`});this.oneStatDebugLog({message:`operation ${e.operation} ${e.param}`});let n=this.createLogItem(e,t);this.logger.log(n)}createLogItem({operation:e,param:t,time:n},r={}){var i,a;let s=null!=(a=null==(i=this.timeSynchronisation)?void 0:i.now())?a:(0,o.zO)(),l=this.vsid$.getValue();(0,o.Z3)(l);let c,u,d=this.isid$.getValue(),p="empty_buffer"===e||"close_at_empty_buffer"===e?this.statContext.connectionType:this.statContext.firstConnectionType,f=this.statContext.firstConnectionReused;if(this.isEmbed){c=this.embedParent;let e=[...new URLSearchParams(location.search).entries()].filter((([e,t])=>this.config.embedUrlParams.includes(e)));u=new URLSearchParams(e).toString()}else"direct"===this.statContext.place&&((this.statContext.refDomain||document.referrer)&&(c=new URL(this.statContext.refDomain||document.referrer).hostname),u=location.href.substring(0,1024));let h={vsid:l,isid:d,vid:this.statContext.movieId,ct:this.statContext.contentType,place:this.isEmbed?"embed":this.statContext.place,quality:this.statContext.quality,cdn_host:this.statContext.cdnHostname,stat_type:!0===this.statContext.autoplay?"auto":!1===this.statContext.autoplay?"":void 0,param:t,vk_app_id:this.statContext.vkAppId,track_code:this.statContext.trackCode,connection_type:p,connection_reused:!0===f?1:!1===f?0:void 0,cached_data:!0===this.statContext.cached?1:!1===this.statContext.cached?0:void 0,live:this.statContext.liveEdge?1:void 0,muted:!1===this.statContext.audible?1:void 0,mode:this.statContext.mode,subtitles:this.statContext.subtitles,download_speed:this.statContext.downloadSpeed,manual_quality:this.statContext.autoQuality?void 0:1,ref_domain:c,direct_url:u,rate:1===this.statContext.rate||(0,o.SG)(this.statContext.rate)?void 0:this.statContext.rate.toFixed(2),view_360:this.statContext.is3d?1:void 0,aid:this.statContext.albumId,vk_playlist_id:this.statContext.vkPlaylistId,...r};for(let e of this.config.disabledCustomFields)delete h[e];return{operation:e,type:1,time:n,network:this.statContext.network,timestamp:s,custom:h}}},lv=n(23279),cv=n(91966),uv=n(53888),dv=n(25108),pv=Object.defineProperty,fv=(e,t,n)=>(((e,t,n)=>{t in e?pv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);function hv(){}function mv(e,t){for(const n in t)e[n]=t[n];return e}function gv(e){return e()}function vv(){return Object.create(null)}function yv(e){e.forEach(gv)}function bv(e){return"function"==typeof e}function wv(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let _v;function Sv(e,t){return _v||(_v=document.createElement("a")),_v.href=t,e===_v.href}function xv(e,...t){if(null==e){for(const e of t)e(void 0);return hv}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ev(e){let t;return xv(e,(e=>t=e))(),t}function kv(e,t,n){e.$$.on_destroy.push(xv(t,n))}function Cv(e,t,n,r){if(e){const i=Tv(e,t,n,r);return e[0](i)}}function Tv(e,t,n,r){return e[1]&&r?mv(n.ctx.slice(),e[1](r(t))):n.ctx}function Ov(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(void 0===t.dirty)return i;if("object"==typeof i){const e=[],n=Math.max(t.dirty.length,i.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|i[r];return e}return t.dirty|i}return t.dirty}function Mv(e,t,n,r,i,o){if(i){const a=Tv(t,n,r,o);e.p(a,i)}}function Av(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function Pv(e){return null==e?"":e}const Lv="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function Dv(e,t){e.appendChild(t)}function Rv(e,t,n){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=Bv("style");e.id=t,e.textContent=n,function(e,t){Dv(e.head||e,t),t.sheet}(r,e)}}function Iv(e,t,n){e.insertBefore(t,n||null)}function Nv(e){e.parentNode&&e.parentNode.removeChild(e)}function jv(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function Bv(e){return document.createElement(e)}function Fv(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Hv(e){return document.createTextNode(e)}function zv(){return Hv(" ")}function Vv(){return Hv("")}function Uv(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function $v(e){return function(t){return t.preventDefault(),e.call(this,t)}}function Gv(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function qv(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Wv(e,t){t=""+t,e.data!==t&&(e.data=t)}function Zv(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let Yv,Kv;function Qv(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=Bv("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===Yv){Yv=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){Yv=!0}}return Yv}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=Uv(window,"message",(e=>{e.source===n.contentWindow&&t()}))):(n.src="about:blank",n.onload=()=>{i=Uv(n.contentWindow,"resize",t),t()}),Dv(e,n),()=>{(r||i&&n.contentWindow)&&i(),Nv(n)}}function Xv(e,t,n){e.classList.toggle(t,!!n)}function Jv(e){Kv=e}function ey(){if(!Kv)throw new Error("Function called outside component initialization");return Kv}function ty(e){ey().$$.on_mount.push(e)}function ny(e){ey().$$.on_destroy.push(e)}function ry(e,t){return ey().$$.context.set(e,t),t}function iy(e){return ey().$$.context.get(e)}function oy(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const ay=[],sy=[];let ly=[];const cy=[],uy=Promise.resolve();let dy=!1;function py(e){ly.push(e)}function fy(e){cy.push(e)}const hy=new Set;let my=0;function gy(){if(0!==my)return;const e=Kv;do{try{for(;my<ay.length;){const e=ay[my];my++,Jv(e),vy(e.$$)}}catch(e){throw ay.length=0,my=0,e}for(Jv(null),ay.length=0,my=0;sy.length;)sy.pop()();for(let e=0;e<ly.length;e+=1){const t=ly[e];hy.has(t)||(hy.add(t),t())}ly.length=0}while(ay.length);for(;cy.length;)cy.pop()();dy=!1,hy.clear(),Jv(e)}function vy(e){if(null!==e.fragment){e.update(),yv(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(py)}}const yy=new Set;let by;function wy(){by={r:0,c:[],p:by}}function _y(){by.r||yv(by.c),by=by.p}function Sy(e,t){e&&e.i&&(yy.delete(e),e.i(t))}function xy(e,t,n,r){if(e&&e.o){if(yy.has(e))return;yy.add(e),by.c.push((()=>{yy.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}function Ey(e){return void 0!==(null==e?void 0:e.length)?e:Array.from(e)}function ky(e){return"object"==typeof e&&null!==e?e:{}}function Cy(e,t,n){const r=e.$$.props[t];void 0!==r&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}function Ty(e){e&&e.c()}function Oy(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),py((()=>{const t=e.$$.on_mount.map(gv).filter(bv);e.$$.on_destroy?e.$$.on_destroy.push(...t):yv(t),e.$$.on_mount=[]})),i.forEach(py)}function My(e,t){const n=e.$$;null!==n.fragment&&(function(e){const t=[],n=[];ly.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),ly=t}(n.after_update),yv(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ay(e,t){-1===e.$$.dirty[0]&&(ay.push(e),dy||(dy=!0,uy.then(gy)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Py(e,t,n,r,i,o,a,s=[-1]){const l=Kv;Jv(e);const c=e.$$={fragment:null,ctx:[],props:o,update:hv,not_equal:i,bound:vv(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:vv(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=n?n(e,t.props||{},((t,n,...r)=>{const o=r.length?r[0]:n;return c.ctx&&i(c.ctx[t],c.ctx[t]=o)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](o),u&&Ay(e,t)),n})):[],c.update(),u=!0,yv(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);c.fragment&&c.fragment.l(e),e.forEach(Nv)}else c.fragment&&c.fragment.c();t.intro&&Sy(e.$$.fragment),Oy(e,t.target,t.anchor),gy()}Jv(l)}class Ly{constructor(){fv(this,"$$"),fv(this,"$$set")}$destroy(){My(this,1),this.$destroy=hv}$on(e,t){if(!bv(t))return hv;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");const Dy=[];function Ry(e,t){return{subscribe:Iy(e,t).subscribe}}function Iy(e,t=hv){let n;const r=new Set;function i(t){if(wv(e,t)&&(e=t,n)){const t=!Dy.length;for(const t of r)t[1](),Dy.push(t,e);if(t){for(let e=0;e<Dy.length;e+=2)Dy[e][0](Dy[e+1]);Dy.length=0}}}function o(t){i(t(e))}return{set:i,update:o,subscribe:function(a,s=hv){const l=[a,s];return r.add(l),1===r.size&&(n=t(i,o)||hv),a(e),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function Ny(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Ry(n,((e,n)=>{let a=!1;const s=[];let l=0,c=hv;const u=()=>{if(l)return;c();const i=t(r?s[0]:s,e,n);o?e(i):c=bv(i)?i:hv},d=i.map(((e,t)=>xv(e,(e=>{s[t]=e,l&=~(1<<t),a&&u()}),(()=>{l|=1<<t}))));return a=!0,u(),function(){yv(d),c(),a=!1}}))}var jy="data:image/svg+xml,%3csvg width='76' height='45' viewBox='0 0 76 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg filter='url(%23filter0_d_618_12297)'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M67 9.48903C67 11.442 65.442 13 63.511 13C61.558 13 60 11.442 60 9.48903C60 7.55799 61.558 6 63.511 6C65.442 6 67 7.55799 67 9.48903ZM61.9969 9.48903C61.9969 10.3229 62.6771 11.0031 63.511 11.0031C64.3229 11.0031 65.0032 10.3229 65.0032 9.48903C65.0032 8.67712 64.3229 7.99687 63.511 7.99687C62.6771 7.99687 61.9969 8.67712 61.9969 9.48903Z' fill='white'/%3e%3cpath d='M26.8597 15.1834C28.2316 14.691 29.3943 13.4717 29.3943 11.5724C29.3943 8.92276 27.1852 7 24.0692 7C22.1037 7 20.4963 7.78431 19.3998 9.28943C19.3639 9.33873 19.3274 9.38872 19.2905 9.43889C18.8588 10.0275 18.9747 10.8559 19.5586 11.2939C20.0949 11.6961 20.8538 11.6367 21.2952 11.1322C21.3849 11.0296 21.4589 10.9415 21.5001 10.8853C22.0944 10.0743 22.931 9.57931 23.9995 9.57931C25.5342 9.57931 26.6039 10.4938 26.6039 11.8303C26.6039 13.1903 25.5109 14.1048 23.9529 14.1048H23.3702C22.6903 14.1048 22.1392 14.656 22.1392 15.3359C22.1392 16.0157 22.6903 16.5669 23.3702 16.5669H23.9529C25.697 16.5669 26.8597 17.5517 26.8597 18.9586C26.8597 20.4124 25.6737 21.4207 23.9762 21.4207C22.6802 21.4207 21.7747 20.8694 21.0933 19.8184C21.0598 19.7667 20.9866 19.6622 20.8931 19.5311C20.4163 18.8621 19.4674 18.7528 18.8415 19.2848C18.3469 19.7051 18.1917 20.415 18.5361 20.9651C18.6084 21.0807 18.6823 21.1915 18.7538 21.2874C20.1321 23.1365 21.6779 24 23.9995 24C27.2782 24 29.6269 21.96 29.6269 19.0759C29.6269 16.8717 28.2316 15.6759 26.8597 15.1834Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M37.7324 12.6745C37.2673 12.6745 36.7325 12.7214 36.2209 12.8386L38.8054 9.0986C39.4187 8.21113 38.7835 7 37.7047 7C37.2637 7 36.851 7.21733 36.6015 7.58098L32.8491 13.0497C31.4307 15.1834 31.0121 16.8717 31.0121 18.3255C31.0121 21.7959 33.57 24 37.1976 24C40.8019 24 43.3598 21.6083 43.3598 18.2317C43.3598 14.9959 41.0112 12.6745 37.7324 12.6745ZM37.1976 21.4207C35.221 21.4207 33.8723 20.1545 33.8723 18.2786C33.8723 16.4262 35.221 15.1366 37.1976 15.1366C39.1509 15.1366 40.4996 16.4262 40.4996 18.2786C40.4996 20.1545 39.1509 21.4207 37.1976 21.4207Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M58 15.5117C58 20.5531 55.3026 23.9531 51.3727 23.9531C47.4428 23.9531 44.7454 20.5531 44.7454 15.5117C44.7454 10.4703 47.4428 7.07035 51.3727 7.07035C55.3026 7.07035 58 10.4703 58 15.5117ZM47.6521 15.5117C47.6521 19.0759 49.1404 21.3738 51.3727 21.3738C53.6051 21.3738 55.0933 19.0759 55.0933 15.5117C55.0933 11.9476 53.6051 9.64965 51.3727 9.64965C49.1404 9.64965 47.6521 11.9476 47.6521 15.5117Z' fill='white'/%3e%3cpath d='M67 23.5C67 22.1819 65.7989 20.4058 62.8011 18.8272C62.0681 18.4413 61.7868 17.5341 62.1728 16.8011C62.5588 16.0681 63.4659 15.7868 64.1989 16.1728C67.4516 17.8856 70 20.4331 70 23.5C70 26.6258 67.4441 29.0541 63.9116 30.7706C60.2791 32.5356 55.0873 33.832 48.6531 34.4922C47.829 34.5767 47.0924 33.9772 47.0078 33.1531C46.9233 32.329 47.5228 31.5924 48.3469 31.5078C54.5955 30.8667 59.4037 29.6256 62.6005 28.0722C65.8973 26.4703 67 24.7992 67 23.5Z' fill='white'/%3e%3cpath d='M38.8787 35H38C28.3591 35 20.5526 33.8675 15.1006 31.9818C12.3795 31.0406 10.1602 29.8831 8.59386 28.5141C7.01887 27.1376 6 25.4451 6 23.5C6 21.8593 6.78457 20.427 7.90778 19.2446C9.02699 18.0664 10.5673 17.0403 12.3286 16.1587C13.0694 15.7878 13.9705 16.0878 14.3413 16.8286C14.7122 17.5694 14.4122 18.4705 13.6714 18.8413C12.0869 19.6345 10.8772 20.4746 10.0828 21.3108C9.29251 22.1427 9 22.873 9 23.5C9 24.3071 9.40726 25.2407 10.5681 26.2553C11.7376 27.2774 13.5636 28.2758 16.0812 29.1466C21.1064 30.8847 28.55 32 38 32H38.8787L37.4393 30.5607C36.8536 29.9749 36.8536 29.0251 37.4393 28.4393C38.0251 27.8536 38.9749 27.8536 39.5607 28.4393L43.5597 32.4383C43.5633 32.4419 43.5668 32.4455 43.5704 32.4492C43.7094 32.5907 43.8146 32.7529 43.8862 32.9258C43.9502 33.0802 43.9892 33.2475 43.998 33.4228C43.9993 33.4484 44 33.4741 44 33.5C44 33.7029 43.9597 33.8963 43.8868 34.0728C43.8135 34.2502 43.7048 34.4165 43.5607 34.5607L39.5607 38.5607C38.9749 39.1464 38.0251 39.1464 37.4393 38.5607C36.8536 37.9749 36.8536 37.0251 37.4393 36.4393L38.8787 35Z' fill='white'/%3e%3cpath d='M7.90778 19.2446L7.72652 19.0724C8.8728 17.8657 10.4407 16.8241 12.2167 15.9351C13.0809 15.5025 14.1323 15.8524 14.5649 16.7167C14.9975 17.5809 14.6476 18.6323 13.7833 19.0649C12.2135 19.8507 11.0314 20.6752 10.2641 21.4829C9.50186 22.2853 9.25 22.9571 9.25 23.5C9.25 24.2128 9.6068 25.0831 10.7326 26.067C11.869 27.0602 13.6623 28.0454 16.1629 28.9103C21.1526 30.6361 28.5659 31.75 38 31.75H38.2751L37.2626 30.7374C36.5791 30.054 36.5791 28.946 37.2626 28.2626C37.946 27.5791 39.054 27.5791 39.7374 28.2626L43.7362 32.2614L43.7364 32.2616L43.7488 32.274C43.7488 32.274 43.7488 32.274 43.7488 32.274C43.9106 32.4388 44.0335 32.6281 44.1171 32.8301C44.1171 32.8301 44.1172 32.8302 44.1172 32.8302L43.8862 32.9258C43.9502 33.0802 43.9892 33.2475 43.998 33.4228C43.9993 33.4484 44 33.4741 44 33.5C44 33.7029 43.9597 33.8963 43.8868 34.0728L7.90778 19.2446ZM7.90778 19.2446L7.72652 19.0724C6.57576 20.2838 5.75 21.7746 5.75 23.5C5.75 25.5402 6.82012 27.2959 8.42934 28.7024C10.0287 30.1002 12.2809 31.271 15.0189 32.218C20.5065 34.1161 28.3432 35.25 38 35.25H38.2751L7.90778 19.2446ZM37.7324 12.4245C37.4318 12.4245 37.1025 12.4434 36.7675 12.4875L39.0111 9.24073C39.739 8.18743 38.985 6.75 37.7047 6.75C37.1813 6.75 36.6915 7.00794 36.3953 7.43954L32.643 12.9082L32.643 12.9082L32.6409 12.9113C31.1992 15.0801 30.7621 16.8158 30.7621 18.3255C30.7621 20.1258 31.4275 21.614 32.5771 22.6499C33.7241 23.6834 35.3339 24.25 37.1976 24.25C40.9241 24.25 43.6098 21.7617 43.6098 18.2317C43.6098 14.8549 41.1464 12.4245 37.7324 12.4245ZM63.511 13.25C65.5811 13.25 67.25 11.5791 67.25 9.48903C67.25 7.41992 65.5801 5.75 63.511 5.75C61.421 5.75 59.75 7.4189 59.75 9.48903C59.75 11.5801 61.4199 13.25 63.511 13.25ZM63.511 10.7531C62.8152 10.7531 62.2469 10.1848 62.2469 9.48903C62.2469 8.81755 62.8128 8.24687 63.511 8.24687C64.1848 8.24687 64.7532 8.81519 64.7532 9.48903C64.7532 10.1872 64.1825 10.7531 63.511 10.7531ZM29.8769 19.0759C29.8769 17.0331 28.7385 15.8037 27.4891 15.1807C28.6971 14.552 29.6443 13.3352 29.6443 11.5724C29.6443 8.75116 27.2872 6.75 24.0692 6.75C22.0296 6.75 20.3446 7.56798 19.1978 9.14223C19.162 9.19128 19.1256 9.24104 19.089 9.29103C18.5776 9.98817 18.7131 10.9723 19.4086 11.4939C20.0437 11.9702 20.9511 11.9052 21.4834 11.2968C21.5728 11.1945 21.6534 11.0991 21.7017 11.0331C22.2549 10.2783 23.0201 9.82931 23.9995 9.82931C24.7181 9.82931 25.308 10.0432 25.714 10.393C26.1172 10.7404 26.3539 11.2335 26.3539 11.8303C26.3539 12.4383 26.1119 12.9369 25.7006 13.2873C25.286 13.6404 24.6842 13.8548 23.9529 13.8548H23.3702C22.5522 13.8548 21.8892 14.5179 21.8892 15.3359C21.8892 16.1538 22.5522 16.8169 23.3702 16.8169H23.9529C24.7793 16.8169 25.4457 17.0501 25.9007 17.4276C26.3521 17.8021 26.6097 18.3295 26.6097 18.9586C26.6097 19.6126 26.3451 20.1585 25.8923 20.5446C25.4366 20.9332 24.7765 21.1707 23.9762 21.1707C23.3651 21.1707 22.8585 21.0412 22.4278 20.7963C21.9963 20.551 21.627 20.182 21.3031 19.6824C21.266 19.6252 21.1893 19.5159 21.0967 19.386C20.5333 18.5955 19.415 18.4692 18.6796 19.0943C18.1031 19.5843 17.9055 20.429 18.3242 21.0978C18.3987 21.2168 18.4765 21.3337 18.5534 21.4368C19.2582 22.3823 20.0159 23.0894 20.9064 23.5583C21.798 24.0278 22.8064 24.25 23.9995 24.25C27.3834 24.25 29.8769 22.1289 29.8769 19.0759ZM37.1976 21.1707C36.263 21.1707 35.4963 20.872 34.9653 20.3712C34.4355 19.8716 34.1223 19.154 34.1223 18.2786C34.1223 17.4156 34.4351 16.6975 34.9657 16.1943C35.4974 15.6903 36.2642 15.3866 37.1976 15.3866C38.1186 15.3866 38.8796 15.6898 39.4086 16.1939C39.9368 16.6972 40.2496 17.4155 40.2496 18.2786C40.2496 19.1541 39.9363 19.8719 39.4091 20.3717C38.8807 20.8725 38.1198 21.1707 37.1976 21.1707ZM51.3727 24.2031C53.4167 24.2031 55.145 23.316 56.3565 21.7776C57.5644 20.2437 58.25 18.0749 58.25 15.5117C58.25 12.9486 57.5644 10.7797 56.3565 9.24585C55.145 7.7074 53.4167 6.82035 51.3727 6.82035C49.3287 6.82035 47.6004 7.7074 46.3889 9.24585C45.181 10.7797 44.4954 12.9486 44.4954 15.5117C44.4954 18.0749 45.181 20.2437 46.3889 21.7776C47.6004 23.316 49.3287 24.2031 51.3727 24.2031ZM51.3727 21.1238C50.3557 21.1238 49.4991 20.6053 48.886 19.6448C48.2684 18.6772 47.9021 17.2631 47.9021 15.5117C47.9021 13.7604 48.2684 12.3462 48.886 11.3787C49.4991 10.4182 50.3557 9.89965 51.3727 9.89965C52.3898 9.89965 53.2463 10.4182 53.8594 11.3787C54.4771 12.3462 54.8433 13.7604 54.8433 15.5117C54.8433 17.2631 54.4771 18.6772 53.8594 19.6448C53.2463 20.6053 52.3898 21.1238 51.3727 21.1238ZM62.6846 19.0484C65.6599 20.6151 66.75 22.3268 66.75 23.5C66.75 24.648 65.7669 26.2557 62.4912 27.8474C59.3307 29.3831 54.5545 30.6196 48.3214 31.2591C47.3599 31.3578 46.6605 32.2172 46.7591 33.1786C46.8578 34.1401 47.7172 34.8395 48.6786 34.7409C55.1283 34.0791 60.3521 32.7781 64.0209 30.9954C67.572 29.2699 70.25 26.7786 70.25 23.5C70.25 20.2868 67.5886 17.6751 64.3154 15.9516C63.4602 15.5012 62.4019 15.8295 61.9516 16.6846C61.5012 17.5398 61.8294 18.5981 62.6846 19.0484Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_618_12297' x='0.5' y='0.5' width='75' height='44' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_618_12297'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_618_12297' result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";const By={isMobile:void 0,defaultLanguage:Cf.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://webcf.waybackmachine.org/web/20240801092516/https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://webcf.waybackmachine.org/web/20240801092516/https://vk.com/video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ea.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,features:{autoplay:!0,statistics:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveLastFrame:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0}},Fy=()=>iy("ui-config"),Hy="vk_player_debug_panel_opened",zy="control-disabled";var Vy,Uy;(Uy=Vy||(Vy={})).ArrowLeft="ArrowLeft",Uy.ArrowUp="ArrowUp",Uy.ArrowRight="ArrowRight",Uy.ArrowDown="ArrowDown",Uy.Comma="Comma",Uy.Period="Period",Uy.Space="Space",Uy.KeyM="KeyM",Uy.KeyF="KeyF",Uy.KeyK="KeyK",Uy.KeyL="KeyL",Uy.KeyJ="KeyJ",Uy.KeyC="KeyC",Uy.KeyI="KeyI",Uy.Digit1="Digit1",Uy.Digit2="Digit2",Uy.Digit3="Digit3",Uy.Digit4="Digit4",Uy.Digit5="Digit5",Uy.Digit6="Digit6",Uy.Digit7="Digit7",Uy.Digit8="Digit8",Uy.Digit9="Digit9",Uy.Digit0="Digit0",Uy.Numpad1="Numpad1",Uy.Numpad2="Numpad2",Uy.Numpad3="Numpad3",Uy.Numpad4="Numpad4",Uy.Numpad5="Numpad5",Uy.Numpad6="Numpad6",Uy.Numpad7="Numpad7",Uy.Numpad8="Numpad8",Uy.Numpad9="Numpad9",Uy.Numpad0="Numpad0",Uy.ShiftLeft="ShiftLeft",Uy.ShiftRight="ShiftRight",Uy.Slash="Slash";const $y=new Set([Vy.ArrowLeft,Vy.ArrowRight,Vy.KeyL,Vy.KeyJ]),Gy={PLAY_BUTTON:"PLAY_BUTTON",NEXT_BUTTON:"NEXT_BUTTON",PREV_BUTTON:"PREV_BUTTON",PICTURE_IN_PICTURE:"PICTURE_IN_PICTURE",FULLSCREEN_BUTTON:"FULLSCREEN_BUTTON",SETTINGS_BUTTON:"SETTINGS_BUTTON",LIVE_BUTTON:"LIVE_BUTTON",GRAPH_BUTTON:"GRAPH_BUTTON",SEEK_TO_INTERACTIVE_BUTTON:"SEEK_TO_INTERACTIVE_BUTTON",TIMELINE:"TIMELINE",VOLUME_BAR:"VOLUME_BAR",MUTE_BUTTON:"MUTE_BUTTON",SUBTITLES_BUTTON:"SUBTITLES_BUTTON",CHROMECAST_BUTTON:"CHROMECAST_BUTTON",VK_BUTTON:"VK_BUTTON",EPISODE_BUTTON:"EPISODE_BUTTON",INCREMENT_PLAYBACK_RATE:"INCREMENT_PLAYBACK_RATE",DECREMENT_PLAYBACK_RATE:"DECREMENT_PLAYBACK_RATE"},qy=[Gy.TIMELINE],Wy=[...qy,Gy.GRAPH_BUTTON],Zy=[...qy,Gy.PLAY_BUTTON],Yy=[...Wy,Gy.PLAY_BUTTON],Ky="1.1.29",Qy=Symbol("storeContext"),Xy=()=>{const e=iy(Qy);return Fo(e,"Store context is empty!"),e},Jy=(e,t)=>eb(e,e.getValue(),t),eb=(e,t,n)=>Ry(t,(t=>{const r=e.subscribe((e=>{t(e),null==n||n(e)}));return()=>r.unsubscribe()}));var tb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var nb=function(e){return e&&e.Math==Math&&e},rb=nb("object"==typeof globalThis&&globalThis)||nb("object"==typeof window&&window)||nb("object"==typeof self&&self)||nb("object"==typeof tb&&tb)||function(){return this}()||tb||Function("return this")(),ib=function(e){try{return!!e()}catch(e){return!0}},ob=!ib((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),ab=ob,sb=Function.prototype,lb=sb.apply,cb=sb.call,ub="object"==typeof Reflect&&Reflect.apply||(ab?cb.bind(lb):function(){return cb.apply(lb,arguments)}),db=ob,pb=Function.prototype,fb=pb.call,hb=db&&pb.bind.bind(fb,fb),mb=db?hb:function(e){return function(){return fb.apply(e,arguments)}},gb=mb,vb=gb({}.toString),yb=gb("".slice),bb=function(e){return yb(vb(e),8,-1)},wb=bb,_b=mb,Sb=function(e){if("Function"===wb(e))return _b(e)},xb="object"==typeof document&&document.all,Eb={all:xb,IS_HTMLDDA:void 0===xb&&void 0!==xb},kb=Eb.all,Cb=Eb.IS_HTMLDDA?function(e){return"function"==typeof e||e===kb}:function(e){return"function"==typeof e},Tb={},Ob=!ib((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Mb=ob,Ab=Function.prototype.call,Pb=Mb?Ab.bind(Ab):function(){return Ab.apply(Ab,arguments)},Lb={},Db={}.propertyIsEnumerable,Rb=Object.getOwnPropertyDescriptor,Ib=Rb&&!Db.call({1:2},1);Lb.f=Ib?function(e){var t=Rb(this,e);return!!t&&t.enumerable}:Db;var Nb,jb,Bb=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Fb=ib,Hb=bb,zb=Object,Vb=mb("".split),Ub=Fb((function(){return!zb("z").propertyIsEnumerable(0)}))?function(e){return"String"==Hb(e)?Vb(e,""):zb(e)}:zb,$b=function(e){return null==e},Gb=$b,qb=TypeError,Wb=function(e){if(Gb(e))throw qb("Can't call method on "+e);return e},Zb=Ub,Yb=Wb,Kb=Cb,Qb=Eb.all,Xb=Eb.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Kb(e)||e===Qb}:function(e){return"object"==typeof e?null!==e:Kb(e)},Jb={},ew=Jb,tw=rb,nw=Cb,rw=function(e){return nw(e)?e:void 0},iw=function(e,t){return arguments.length<2?rw(ew[e])||rw(tw[e]):ew[e]&&ew[e][t]||tw[e]&&tw[e][t]},ow=mb({}.isPrototypeOf),aw=rb,sw="undefined"!=typeof navigator&&String(navigator.userAgent)||"",lw=aw.process,cw=aw.Deno,uw=lw&&lw.versions||cw&&cw.version,dw=uw&&uw.v8;dw&&(jb=(Nb=dw.split("."))[0]>0&&Nb[0]<4?1:+(Nb[0]+Nb[1])),!jb&&sw&&((!(Nb=sw.match(/Edge\/(\d+)/))||Nb[1]>=74)&&((Nb=sw.match(/Chrome\/(\d+)/))&&(jb=+Nb[1])));var pw=jb,fw=ib,hw=rb.String,mw=!!Object.getOwnPropertySymbols&&!fw((function(){var e=Symbol();return!hw(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&pw&&pw<41})),gw=mw&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vw=iw,yw=Cb,bw=ow,ww=Object,_w=gw?function(e){return"symbol"==typeof e}:function(e){var t=vw("Symbol");return yw(t)&&bw(t.prototype,ww(e))},Sw=String,xw=Cb,Ew=function(e){try{return Sw(e)}catch(e){return"Object"}},kw=TypeError,Cw=function(e){if(xw(e))return e;throw kw(Ew(e)+" is not a function")},Tw=Cw,Ow=$b,Mw=function(e,t){var n=e[t];return Ow(n)?void 0:Tw(n)},Aw=Pb,Pw=Cb,Lw=Xb,Dw=TypeError,Rw={exports:{}},Iw=rb,Nw=Object.defineProperty,jw=function(e,t){try{Nw(Iw,e,{value:t,configurable:!0,writable:!0})}catch(n){Iw[e]=t}return t},Bw="__core-js_shared__",Fw=rb[Bw]||jw(Bw,{});(Rw.exports=function(e,t){return Fw[e]||(Fw[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://webcf.waybackmachine.org/web/20240801092516/https://github.com/zloirock/core-js"});var Hw=Rw.exports,zw=Wb,Vw=Object,Uw=function(e){return Vw(zw(e))},$w=Uw,Gw=mb({}.hasOwnProperty),qw=Object.hasOwn||function(e,t){return Gw($w(e),t)},Ww=mb,Zw=0,Yw=Math.random(),Kw=Ww(1..toString),Qw=Hw,Xw=qw,Jw=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Kw(++Zw+Yw,36)},e_=mw,t_=gw,n_=rb.Symbol,r_=Qw("wks"),i_=t_?n_.for||n_:n_&&n_.withoutSetter||Jw,o_=function(e){return Xw(r_,e)||(r_[e]=e_&&Xw(n_,e)?n_[e]:i_("Symbol."+e)),r_[e]},a_=Pb,s_=Xb,l_=_w,c_=Mw,u_=function(e,t){var n,r;if("string"===t&&Pw(n=e.toString)&&!Lw(r=Aw(n,e))||Pw(n=e.valueOf)&&!Lw(r=Aw(n,e))||"string"!==t&&Pw(n=e.toString)&&!Lw(r=Aw(n,e)))return r;throw Dw("Can't convert object to primitive value")},d_=TypeError,p_=o_("toPrimitive"),f_=function(e,t){if(!s_(e)||l_(e))return e;var n,r=c_(e,p_);if(r){if(void 0===t&&(t="default"),n=a_(r,e,t),!s_(n)||l_(n))return n;throw d_("Can't convert object to primitive value")}return void 0===t&&(t="number"),u_(e,t)},h_=_w,m_=function(e){var t=f_(e,"string");return h_(t)?t:t+""},g_=Xb,v_=rb.document,y_=g_(v_)&&g_(v_.createElement),b_=function(e){return y_?v_.createElement(e):{}},w_=!Ob&&!ib((function(){return 7!=Object.defineProperty(b_("div"),"a",{get:function(){return 7}}).a})),__=Ob,S_=Pb,x_=Lb,E_=Bb,k_=function(e){return Zb(Yb(e))},C_=m_,T_=qw,O_=w_,M_=Object.getOwnPropertyDescriptor;Tb.f=__?M_:function(e,t){if(e=k_(e),t=C_(t),O_)try{return M_(e,t)}catch(e){}if(T_(e,t))return E_(!S_(x_.f,e,t),e[t])};var A_=ib,P_=Cb,L_=/#|\.prototype\./,D_=function(e,t){var n=I_[R_(e)];return n==j_||n!=N_&&(P_(t)?A_(t):!!t)},R_=D_.normalize=function(e){return String(e).replace(L_,".").toLowerCase()},I_=D_.data={},N_=D_.NATIVE="N",j_=D_.POLYFILL="P",B_=D_,F_=Cw,H_=ob,z_=Sb(Sb.bind),V_={},U_=Ob&&ib((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),$_=Xb,G_=String,q_=TypeError,W_=function(e){if($_(e))return e;throw q_(G_(e)+" is not an object")},Z_=Ob,Y_=w_,K_=U_,Q_=W_,X_=m_,J_=TypeError,eS=Object.defineProperty,tS=Object.getOwnPropertyDescriptor,nS="enumerable",rS="configurable",iS="writable";V_.f=Z_?K_?function(e,t,n){if(Q_(e),t=X_(t),Q_(n),"function"==typeof e&&"prototype"===t&&"value"in n&&iS in n&&!n[iS]){var r=tS(e,t);r&&r[iS]&&(e[t]=n.value,n={configurable:rS in n?n[rS]:r[rS],enumerable:nS in n?n[nS]:r[nS],writable:!1})}return eS(e,t,n)}:eS:function(e,t,n){if(Q_(e),t=X_(t),Q_(n),Y_)try{return eS(e,t,n)}catch(e){}if("get"in n||"set"in n)throw J_("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var oS=V_,aS=Bb,sS=Ob?function(e,t,n){return oS.f(e,t,aS(1,n))}:function(e,t,n){return e[t]=n,e},lS=rb,cS=ub,uS=Sb,dS=Cb,pS=Tb.f,fS=B_,hS=Jb,mS=function(e,t){return F_(e),void 0===t?e:H_?z_(e,t):function(){return e.apply(t,arguments)}},gS=sS,vS=qw,yS=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return cS(e,this,arguments)};return t.prototype=e.prototype,t},bS=Xb,wS=bb,_S=o_("match"),SS={};SS[o_("toStringTag")]="z";var xS="[object z]"===String(SS),ES=Cb,kS=bb,CS=o_("toStringTag"),TS=Object,OS="Arguments"==kS(function(){return arguments}()),MS=xS?kS:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=TS(e),CS))?n:OS?kS(t):"Object"==(r=kS(t))&&ES(t.callee)?"Arguments":r},AS=MS,PS=String,LS=W_,DS=Pb,RS=qw,IS=ow,NS=function(){var e=LS(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},jS=RegExp.prototype,BS=mb,FS=Uw,HS=Math.floor,zS=BS("".charAt),VS=BS("".replace),US=BS("".slice),$S=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,GS=/\$([$&'`]|\d{1,2})/g,qS=function(e,t){var n,r,i,o,a,s,l,c,u,d=e.target,p=e.global,f=e.stat,h=e.proto,m=p?lS:f?lS[d]:(lS[d]||{}).prototype,g=p?hS:hS[d]||gS(hS,d,{})[d],v=g.prototype;for(o in t)r=!(n=fS(p?o:d+(f?".":"#")+o,e.forced))&&m&&vS(m,o),s=g[o],r&&(e.dontCallGetSet?l=(u=pS(m,o))&&u.value:l=m[o]),a=r&&l?l:t[o],(!r||typeof s!=typeof a)&&(c=e.bind&&r?mS(a,lS):e.wrap&&r?yS(a):h&&dS(a)?uS(a):a,(e.sham||a&&a.sham||s&&s.sham)&&gS(c,"sham",!0),gS(g,o,c),h&&(vS(hS,i=d+"Prototype")||gS(hS,i,{}),gS(hS[i],o,a),e.real&&v&&(n||!v[o])&&gS(v,o,a)))},WS=Pb,ZS=mb,YS=Wb,KS=Cb,QS=$b,XS=function(e){var t;return bS(e)&&(void 0!==(t=e[_S])?!!t:"RegExp"==wS(e))},JS=function(e){if("Symbol"===AS(e))throw TypeError("Cannot convert a Symbol value to a string");return PS(e)},ex=Mw,tx=function(e){var t=e.flags;return void 0!==t||"flags"in jS||RS(e,"flags")||!IS(jS,e)?t:DS(NS,e)},nx=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,l=GS;return void 0!==i&&(i=FS(i),l=$S),VS(o,l,(function(o,l){var c;switch(zS(l,0)){case"$":return"$";case"&":return e;case"`":return US(t,0,n);case"'":return US(t,a);case"<":c=i[US(l,1,-1)];break;default:var u=+l;if(0===u)return o;if(u>s){var d=HS(u/10);return 0===d?o:d<=s?void 0===r[d-1]?zS(l,1):r[d-1]+zS(l,1):o}c=r[u-1]}return void 0===c?"":c}))},rx=o_("replace"),ix=TypeError,ox=ZS("".indexOf),ax=ZS("".replace),sx=ZS("".slice),lx=Math.max,cx=function(e,t,n){return n>e.length?-1:""===t?n:ox(e,t,n)};qS({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,i,o,a,s,l,c,u,d=YS(this),p=0,f=0,h="";if(!QS(e)){if((n=XS(e))&&(r=JS(YS(tx(e))),!~ox(r,"g")))throw ix("`.replaceAll` does not allow non-global regexes");if(i=ex(e,rx))return WS(i,e,d,t);if(n)return ax(JS(d),e,t)}for(o=JS(d),a=JS(e),(s=KS(t))||(t=JS(t)),l=a.length,c=lx(1,l),p=cx(o,a,0);-1!==p;)u=s?JS(t(a,p,o)):nx(a,o,p,[],void 0,t),h+=sx(o,f,p)+u,f=p+l,p=cx(o,a,p+c);return f<o.length&&(h+=sx(o,f)),h}});var ux=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(iw("String","replaceAll"));const dx=new Map;dx.set(Cf.EN,{mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Button is disabled during interactive video",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left"}),dx.set(Cf.RU,{auto_quality_invariant:"Ðвто",auto_quality:"Ðвто ({actual})",auto_quality_option:"Ðвто",menu_quality:"КачеÑтво",menu_traffic_saving:"ÐÐºÐ¾Ð½Ð¾Ð¼Ð¸Ñ Ð´Ð°Ð½Ð½Ñ‹Ñ…",menu_playback_rate:"СкороÑÑ‚ÑŒ",menu_report:"Сообщить о проблеме",menu_pip:"Картинка в картинке",menu_copy_video_link:"Скопировать ÑÑылку на видео",menu_copy_video_link_with_timestamp:"Скопировать ÑÑылку на кадр",menu_video_rotate:"Повернуть",menu_chromecast:"Chromecast транÑлÑциÑ",menu_copy_debug:"Копировать данные Ð´Ð»Ñ Ð´Ð¸Ð°Ð³Ð½Ð¾Ñтики",menu_debug_overlay:"ТехничеÑÐºÐ°Ñ Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ",pip_dummy_title:"Видео воÑпроизводитÑÑ Ð² режиме картинка в картинке",submenu_quality:"КачеÑтво",submenu_playback_rate:"СкороÑÑ‚ÑŒ",submenu_settings:"ÐаÑтройки",submenu_traffic_saving:"ÐÐºÐ¾Ð½Ð¾Ð¼Ð¸Ñ Ð´Ð°Ð½Ð½Ñ‹Ñ…",mobile_unmute:"Включить звук",playing_ads:"Реклама {timeleft}",skip_ads_now:"ПропуÑтить рекламу",skip_ads_after:"ПропуÑтить рекламу через {time}Ñ",visit_advertiser:"Перейти на Ñайт",aria_timeline:"Ползунок временной шкалы",aria_timeline_value:"{position} (Ð¾Ð±Ñ‰Ð°Ñ Ð´Ð»Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾ÑÑ‚ÑŒ {duration}",aria_open_settings:"Открыть наÑтройки видеоплеера",doubletap_seek_step:"{seconds} Ñекунд",playback_rate_1:"ОбычнаÑ",playback_rate:"{multiplier}x",video360:"панорамное видео",subtitles_caption:"Субтитры",subtitles_auto:"{language} (ÐвтоматичеÑкие)",subtitles_off:"Выкл.",subtitles_auto_caption:"ÐвтоматичеÑкие Ñубтитры",subtitles_turn_on:"Включить Ñубтитры",subtitles_turn_off:"Выключить Ñубтитры",traffic_saving_off:"Откл.",traffic_saving_on:"Вкл.",traffic_saving_disable:"Отключена",traffic_saving_enable:"Включена",traffic_saving_helper_text:"При включении качеÑтво видео будет Ñнижено Ð´Ð»Ñ Ñкономии трафика",tooltip_button_disabled:"Кнопка недоÑтупна",tooltip_previous:"Предыдущее видео",tooltip_play:"Смотреть",tooltip_pause:"Пауза",tooltip_next:"Следующее видео",tooltip_interactive_seek:"Перейти к интерактиву",tooltip_interactive_graph_off:"Показать карту Ñюжета",tooltip_interactive_graph_on:"Скрыть карту Ñюжета",tooltip_live:"Перемотать на актуальный лайв",tooltip_episodes:"Ðпизоды",tooltip_volume:"Включить звук",tooltip_volume_muted:"Выключить звук",tooltip_subtitles_off:"Включить Ñубтитры",tooltip_subtitles_on:"Выключить Ñубтитры",tooltip_settings_off:"Открыть наÑтройки",tooltip_settings_on:"Закрыть наÑтройки",tooltip_fullscreen_off:"Ðа веÑÑŒ Ñкран",tooltip_fullscreen_on:"Выйти из полноÑкранного режима",tooltip_chromecast_off:"Включить Chromecast",tooltip_chromecast_on:"Выключить Chromecast",tooltip_episode_finished:"Ð’Ñ‹ уже Ñделали Ñвой выбор",tooltip_episode_unfinished:"Ðе пройдено",tooltip_disabled_when_interactive:"Кнопка недоÑтупна во Ð²Ñ€ÐµÐ¼Ñ Ð¸Ð½Ñ‚ÐµÑ€Ð°ÐºÑ‚Ð¸Ð²Ð°",tooltip_disabled_when_graph_on:"Кнопка недоÑтупна во Ð²Ñ€ÐµÐ¼Ñ Ð¿Ñ€Ð¾Ñмотра карты",download_video_caption:"Скачать видео",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"БыÑтрые клавиши",hotkey_map_modal_close_btn_text:"Закрыть",hotkey_map_group_title_common:"Общие",hotkey_map_group_title_playback:"ВоÑпроизведение",hotkey_map_group_title_subtitles:"Субтитры",hotkey_map_group_title_episodes:"Ðпизоды",hotkey_map_item_mute_description:"Включить или отключить звук",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Увеличить громкоÑÑ‚ÑŒ",hotkey_map_item_volume_up_value:"Стрелка вверх",hotkey_map_item_volume_down_description:"Уменьшить громкоÑÑ‚ÑŒ",hotkey_map_item_volume_down_value:"Стрелка вниз",hotkey_map_item_pip_description:"Свернуть или развернуть мини-проигрыватель",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Включить или выключить полноÑкранный режим",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Скрыть или показать ÑпиÑок горÑчих клавиш",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"ПриоÑтановить или продолжить воÑпроизведение",hotkey_map_item_play_toggle_value:"Пробел (или k)",hotkey_map_item_seek_backward_description:"Перемотать ролик на 10 Ñекунд назад",hotkey_map_item_seek_backward_value:"Стрелка влево (или j)",hotkey_map_item_seek_forward_description:"Перемотать ролик на 10 Ñекунд вперёд",hotkey_map_item_seek_forward_value:"Стрелка вправо (или l)",hotkey_map_item_fast_seek_backward_description:"УÑÐºÐ¾Ñ€ÐµÐ½Ð½Ð°Ñ Ð¿ÐµÑ€ÐµÐ¼Ð¾Ñ‚ÐºÐ° назад",hotkey_map_item_fast_seek_backward_value:"Shift + Стрелка влево",hotkey_map_item_fast_seek_forward_description:"УÑÐºÐ¾Ñ€ÐµÐ½Ð½Ð°Ñ Ð¿ÐµÑ€ÐµÐ¼Ð¾Ñ‚ÐºÐ° вперёд",hotkey_map_item_fast_seek_forward_value:"Shift + Стрелка вправо",hotkey_map_item_rate_down_description:"Уменьшить ÑкороÑÑ‚ÑŒ воÑпроизведениÑ",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Увеличить ÑкороÑÑ‚ÑŒ воÑпроизведениÑ",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Перейти к предыдущему кадру <br />(когда воÑпроизведение приоÑтановлено)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Перейти к Ñледующему кадру <br />(когда воÑпроизведение приоÑтановлено)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Перейти к определённому моменту видео <br />(например, при нажатии на цифру «7» ролик будет перемотан до временной отметки, ÐºÐ¾Ñ‚Ð¾Ñ€Ð°Ñ ÑоответÑтвует 70% от длительноÑти видео)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Включить или отключить Ñубтитры",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Перейти к предыдущему Ñпизоду",hotkey_map_item_prev_episode_pc_value:"Ctrl + Стрелка влево",hotkey_map_item_prev_episode_mac_value:"Option + Стрелка влево",hotkey_map_item_next_episode_description:"Перейти к Ñледующему Ñпизоду",hotkey_map_item_next_episode_pc_value:"Ctrl + Стрелка вправо",hotkey_map_item_next_episode_mac_value:"Option + Стрелка вправо",waiting_live_day_value:"дн",waiting_live_hour_value:"ч",waiting_live_minute_value:"мин",waiting_live_second_value:"Ñек",waiting_live_colon:":",waiting_live_upcoming_title:"ТранÑлÑÑ†Ð¸Ñ ÐµÑ‰Ðµ не началаÑÑŒ",waiting_live_timer_title:"До начала транÑлÑции оÑталоÑÑŒ"});const px=new Map,fx=({language:e,pack:t,fallback:n})=>{if(dx.has(e)){const n=dx.get(e);dx.set(e,{...n,...t})}else dx.set(e,t);px.set(e,n)},hx=e=>dx.has(e),mx=(e,t,n,r)=>{var i;const o=dx.get(e);let a=null==o?void 0:o[t];if(zo(a)){const n=null!==(i=px.get(e))&&void 0!==i?i:r,o=n?dx.get(n):void 0;a=null==o?void 0:o[t]}return zo(a)?t+Object.values(null!=n?n:{}).join(" "):n?ux(a,/{(\w+?)}/g,((e,t)=>{var r;return null!==(r=n[t])&&void 0!==r?r:""})):a},gx=(e,t)=>{const{interfaceLanguage$:n}=Xy(),r=Ev(n),i=Fy();return mx(r,e,t,i.defaultLanguage)};var vx,yx,bx,wx,_x,Sx;!function(e){e.AUTO="auto"}(vx||(vx={})),function(e){e.Thumb="thumb",e.Video="video",e.Ads="ads",e.Crashed="crashed",e.Waiting="waiting"}(yx||(yx={})),function(e){e.Preroll="preroll",e.Midroll="midroll",e.Postroll="postroll"}(bx||(bx={})),function(e){e.INACTIVE="inactive",e.PLAYING="playing",e.PAUSED="paused"}(wx||(wx={})),function(e){e[e.PictureInPicture=0]="PictureInPicture",e[e.DocumentPictureInPicture=1]="DocumentPictureInPicture"}(_x||(_x={})),function(e){e.PLAY="PLAY",e.STOP="STOP",e.BACKWARD_SEEK="BACKWARD_SEEK",e.FORWARD_SEEK="FORWARD_SEEK",e.SUBTITLES_ON="SUBTITLES_ON",e.SUBTITLES_OFF="SUBTITLES_OFF",e.RATE_UP="RATE_UP",e.RATE_DOWN="RATE_DOWN",e.EPISODE_PREV="EPISODE_PREV",e.EPISODE_NEXT="EPISODE_NEXT",e.MUTE="MUTE",e.VOLUME="VOLUME"}(Sx||(Sx={}));const xx=()=>{const e=document;return!!(e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement)},Ex="vk_player_prefer_traffic_saving_enabled",kx="vk_player_preferred_volume",Cx="vk_player_prefer_volume_mute",Tx="vk_player_preferred_quality",Ox=e=>e>1?1:e<0?0:e,Mx=e=>Jo.set(kx,Ox(e).toString(10)),Ax=()=>{const e=Jo.get(kx);return zo(e)?void 0:Ox(parseFloat(e))},Px=()=>Jo.remove(Tx),Lx=(e,t)=>{t?Jo.set(e,"true"):Jo.remove(e)},Dx=e=>"true"===Jo.get(e),Rx=e=>Lx(Cx,e);function Ix(e){Rv(e,"v-9irylv",".player-pip-dummy.v-9irylv{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.dummy-image.v-9irylv{height:60px}.dummy-image.desktop.v-9irylv{transform:rotate(-90deg) rotateY(180deg)}.title.v-9irylv{font-size:16px;color:#fff;padding:18px 20px 10px;white-space:nowrap;text-overflow:ellipsis}")}function Nx(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),i=zv(),o=Bv("span"),a=Hv(e[0]),Sv(n.src,r="data:image/svg+xml,%3csvg width='57' height='56' viewBox='0 0 57 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg id='%26%23226%3b%26%23134%3b%26%23179%3b Icon'%3e%3cg id='%26%23226%3b%26%23134%3b%26%23179%3b Icon Color'%3e%3cpath d='M30.7445 4L31.4882 4.0054C34.469 4.05091 36.0142 4.38981 37.6148 5.24581C39.0755 6.02704 40.2507 7.15692 41.0897 8.59219L41.2643 8.90441L41.4145 9.19581C42.1856 10.7485 42.4803 12.3757 42.4991 15.4473C42.4992 15.4578 42.4992 24.4813 42.4993 24.4918C42.5038 25.3202 41.8359 25.9955 41.0075 26C40.1791 26.0045 39.5038 25.3367 39.4993 24.5082L39.4914 14.8567C39.4504 12.8252 39.2627 11.7373 38.8642 10.8215L38.7383 10.5512L38.6087 10.3C38.0513 9.25771 37.2423 8.44868 36.2 7.89125C35.0129 7.25637 33.8613 7.0184 31.0855 7.00104L22.2555 7C19.5176 7 18.2523 7.19962 17.1838 7.6979L17.0512 7.76175L16.8 7.89125C15.7577 8.44868 14.9487 9.25771 14.3913 10.3C13.7564 11.4871 13.5184 12.6387 13.501 15.4145L13.5 36.2445C13.5 38.9824 13.6996 40.2477 14.1979 41.3162L14.2617 41.4488L14.3913 41.7C14.9487 42.7423 15.7577 43.5513 16.8 44.1087C17.9001 44.6971 18.9339 44.9343 21.2384 44.9885L21.5606 44.9948L25.2555 45H26C26.8284 45 27.5 45.6716 27.5 46.5C27.5 47.3284 26.8284 48 26 48H25.2443L21.526 47.9945C18.5373 47.9478 17.0002 47.6179 15.3852 46.7542C13.9245 45.973 12.7493 44.8431 11.9103 43.4078L11.7357 43.0956L11.5855 42.8042C10.8546 41.3324 10.5498 39.7882 10.5057 37.0006L10.5 36.2445V15.7555L10.5054 15.0118C10.5509 12.031 10.8898 10.4858 11.7458 8.88522C12.527 7.42445 13.6569 6.24927 15.0922 5.41033L15.4044 5.23573L15.6958 5.08547C17.1676 4.35463 18.7119 4.04979 21.4994 4.0057L22.2555 4H30.7445Z' fill='white'/%3e%3cpath d='M30.5 33.8C30.5 32.1198 30.5 31.2798 30.827 30.638C31.1146 30.0735 31.5735 29.6146 32.138 29.327C32.7798 29 33.6198 29 35.3 29H41.7C43.3802 29 44.2202 29 44.862 29.327C45.4265 29.6146 45.8854 30.0735 46.173 30.638C46.5 31.2798 46.5 32.1198 46.5 33.8V47.2C46.5 48.8802 46.5 49.7202 46.173 50.362C45.8854 50.9265 45.4265 51.3854 44.862 51.673C44.2202 52 43.3802 52 41.7 52H35.3C33.6198 52 32.7798 52 32.138 51.673C31.5735 51.3854 31.1146 50.9265 30.827 50.362C30.5 49.7202 30.5 48.8802 30.5 47.2V33.8Z' fill='white'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e")||qv(n,"src","data:image/svg+xml,%3csvg width='57' height='56' viewBox='0 0 57 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg id='%26%23226%3b%26%23134%3b%26%23179%3b Icon'%3e%3cg id='%26%23226%3b%26%23134%3b%26%23179%3b Icon Color'%3e%3cpath d='M30.7445 4L31.4882 4.0054C34.469 4.05091 36.0142 4.38981 37.6148 5.24581C39.0755 6.02704 40.2507 7.15692 41.0897 8.59219L41.2643 8.90441L41.4145 9.19581C42.1856 10.7485 42.4803 12.3757 42.4991 15.4473C42.4992 15.4578 42.4992 24.4813 42.4993 24.4918C42.5038 25.3202 41.8359 25.9955 41.0075 26C40.1791 26.0045 39.5038 25.3367 39.4993 24.5082L39.4914 14.8567C39.4504 12.8252 39.2627 11.7373 38.8642 10.8215L38.7383 10.5512L38.6087 10.3C38.0513 9.25771 37.2423 8.44868 36.2 7.89125C35.0129 7.25637 33.8613 7.0184 31.0855 7.00104L22.2555 7C19.5176 7 18.2523 7.19962 17.1838 7.6979L17.0512 7.76175L16.8 7.89125C15.7577 8.44868 14.9487 9.25771 14.3913 10.3C13.7564 11.4871 13.5184 12.6387 13.501 15.4145L13.5 36.2445C13.5 38.9824 13.6996 40.2477 14.1979 41.3162L14.2617 41.4488L14.3913 41.7C14.9487 42.7423 15.7577 43.5513 16.8 44.1087C17.9001 44.6971 18.9339 44.9343 21.2384 44.9885L21.5606 44.9948L25.2555 45H26C26.8284 45 27.5 45.6716 27.5 46.5C27.5 47.3284 26.8284 48 26 48H25.2443L21.526 47.9945C18.5373 47.9478 17.0002 47.6179 15.3852 46.7542C13.9245 45.973 12.7493 44.8431 11.9103 43.4078L11.7357 43.0956L11.5855 42.8042C10.8546 41.3324 10.5498 39.7882 10.5057 37.0006L10.5 36.2445V15.7555L10.5054 15.0118C10.5509 12.031 10.8898 10.4858 11.7458 8.88522C12.527 7.42445 13.6569 6.24927 15.0922 5.41033L15.4044 5.23573L15.6958 5.08547C17.1676 4.35463 18.7119 4.04979 21.4994 4.0057L22.2555 4H30.7445Z' fill='white'/%3e%3cpath d='M30.5 33.8C30.5 32.1198 30.5 31.2798 30.827 30.638C31.1146 30.0735 31.5735 29.6146 32.138 29.327C32.7798 29 33.6198 29 35.3 29H41.7C43.3802 29 44.2202 29 44.862 29.327C45.4265 29.6146 45.8854 30.0735 46.173 30.638C46.5 31.2798 46.5 32.1198 46.5 33.8V47.2C46.5 48.8802 46.5 49.7202 46.173 50.362C45.8854 50.9265 45.4265 51.3854 44.862 51.673C44.2202 52 43.3802 52 41.7 52H35.3C33.6198 52 32.7798 52 32.138 51.673C31.5735 51.3854 31.1146 50.9265 30.827 50.362C30.5 49.7202 30.5 48.8802 30.5 47.2V33.8Z' fill='white'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"),qv(n,"class","dummy-image v-9irylv"),qv(n,"alt","dummy-image"),Xv(n,"desktop",!e[2]),qv(o,"class","title v-9irylv"),qv(t,"class","player-pip-dummy v-9irylv")},m(e,r){Iv(e,t,r),Dv(t,n),Dv(t,i),Dv(t,o),Dv(o,a)},p(e,[t]){4&t&&Xv(n,"desktop",!e[2]),1&t&&Wv(a,e[0])},i:hv,o:hv,d(e){e&&Nv(t)}}}function jx(e,t,n){let r,i=hv,o=()=>(i(),i=xv(s,(e=>n(2,r=e))),s);e.$$.on_destroy.push((()=>i()));let{title:a=""}=t,{isMobile$:s}=t;return o(),e.$$set=e=>{"title"in e&&n(0,a=e.title),"isMobile$"in e&&o(n(1,s=e.isMobile$))},[a,s,r]}class Bx extends Ly{constructor(e){super(),Py(this,e,jx,Nx,wv,{title:0,isMobile$:1},Ix)}}class Fx{constructor(){this.info={isActive$:new ia(!1),type:_x.DocumentPictureInPicture}}isSupported(){const e=Go().browser===Uo.Yandex;return"documentPictureInPicture"in window&&!e}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setDummyDependencies(e){this.dummyDependencies=e}async request(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:460,height:280,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map((e=>[...e.cssRules].map((e=>e.cssText)).join(" "))).filter(Boolean).join("\n"),r=document.createElement("style");r.textContent=n;const i=this.createStretchedContainer(),o=i.attachShadow({mode:"open"});o.append(r),o.append(this.playerDomElement),this.playerDummyElement=new Bx({target:this.playerParentShadowRoot,props:{...this.dummyDependencies}}),null===(e=this.pipWindow)||void 0===e||e.document.body.append(i),this.info.isActive$.next(!0),null===(t=this.pipWindow)||void 0===t||t.addEventListener("unload",(e=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))}))}async remove(){return new Promise((e=>{var t;null===(t=documentPictureInPicture.window)||void 0===t||t.close(),e()}))}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Hx(e){return e instanceof Fx}class zx{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:lv(this.onResize.bind(this),300)},this.info={isActive$:new ia(this.isActive()),type:_x.PictureInPicture}}isSupported(){const e=Go().browser===Uo.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(this.isSupported()&&!this.isActive())try{await(null===(e=this.videoElement)||void 0===e?void 0:e.requestPictureInPicture())}catch(e){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=null===(e=this.playerContainer)||void 0===e?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;null===(e=this.videoElement)||void 0===e||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),null===(t=this.videoElement)||void 0===t||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;null===(e=this.videoElement)||void 0===e||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),null===(t=this.videoElement)||void 0===t||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;this.info.isActive$.next(!0),this.isRequested=!0,e.pictureInPictureWindow.addEventListener("resize",this.eventHandlers.resize),null===(n=(t=this.externalEventHandlers).enterpictureinpicture)||void 0===n||n.call(t,e)}onLeavePictureInPicture(e){var t,n;this.info.isActive$.next(!1),this.isRequested=!1,e.pictureInPictureWindow.removeEventListener("resize",this.eventHandlers.resize),null===(n=(t=this.externalEventHandlers).leavepictureinpicture)||void 0===n||n.call(t,e)}onResize(e){var t,n;null===(n=(t=this.externalEventHandlers).resize)||void 0===n||n.call(t,e)}}function Vx(e){return e instanceof zx}function Ux(e){const t=Xy();return ty((()=>{t.getAdmanWrapper().startPostroll()})),[]}class $x extends Ly{constructor(e){super(),Py(this,e,Ux,null,wv,{})}}const Gx=e=>{if(!isFinite(e))return"00:00";let t=Math.round(e);const n=Math.floor(t/3600);t-=3600*n;const r=Math.floor(t/60);return t-=60*r,(n>0?[n,r,t]:[r,t]).map((e=>e>9?String(e):`0${e}`)).join(":")};function qx(e){Rv(e,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function Wx(e){let t,n,r=gx("playing_ads",{timeleft:e[0]})+"";return{c(){t=Bv("div"),n=Hv(r),qv(t,"class","container v-17pubzn"),Xv(t,"container-mobile",e[1])},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,[i]){1&i&&r!==(r=gx("playing_ads",{timeleft:e[0]})+"")&&Wv(n,r),2&i&&Xv(t,"container-mobile",e[1])},i:hv,o:hv,d(e){e&&Nv(t)}}}function Zx(e,t,n){let r,{position:i=0}=t,{duration:o=0}=t;const a=Xy().ui.isMobile;let s;return kv(e,a,(e=>n(1,r=e))),e.$$set=e=>{"position"in e&&n(3,i=e.position),"duration"in e&&n(4,o=e.duration)},e.$$.update=()=>{24&e.$$.dirty&&n(0,s=Gx(o-i))},[s,r,a,i,o]}class Yx extends Ly{constructor(e){super(),Py(this,e,Zx,Wx,wv,{position:3,duration:4},qx)}}function Kx(e){Rv(e,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Qx(e){let t,n=gx("skip_ads_after",{time:Math.ceil(e[1]-e[0]).toFixed(0)})+"";return{c(){t=Hv(n)},m(e,n){Iv(e,t,n)},p(e,r){3&r&&n!==(n=gx("skip_ads_after",{time:Math.ceil(e[1]-e[0]).toFixed(0)})+"")&&Wv(t,n)},d(e){e&&Nv(t)}}}function Xx(e){let t,n,r,i,o,a,s,l=gx("skip_ads_now")+"";return{c(){t=Bv("div"),n=Hv(l),r=zv(),i=Fv("svg"),o=Fv("path"),qv(o,"fill-rule","evenodd"),qv(o,"clip-rule","evenodd"),qv(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),qv(i,"class","icon v-22jj8o"),qv(i,"width","7"),qv(i,"height","12"),qv(i,"viewBox","0 0 7 12"),qv(i,"fill","none"),qv(i,"xmlns","http://www.w3.org/2000/svg"),qv(t,"class","skip v-22jj8o")},m(l,c){Iv(l,t,c),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o),a||(s=Uv(t,"click",Gv((function(){bv(e[2])&&e[2].apply(this,arguments)}))),a=!0)},p(t,n){e=t},d(e){e&&Nv(t),a=!1,s()}}}function Jx(e){let t;function n(e,t){return e[3]?Xx:Qx}let r=n(e),i=r(e);return{c(){t=Bv("div"),i.c(),qv(t,"class","container v-22jj8o"),Xv(t,"container-mobile",e[4]),Xv(t,"skippable",e[3])},m(e,n){Iv(e,t,n),i.m(t,null)},p(e,[o]){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t,null))),16&o&&Xv(t,"container-mobile",e[4]),8&o&&Xv(t,"skippable",e[3])},i:hv,o:hv,d(e){e&&Nv(t),i.d()}}}function eE(e,t,n){let r,{position:i=0}=t,{secondsToWatchBeforeSkip:o=0}=t,{skipAd:a=Io}=t;const s=Xy().ui.isMobile;let l;return kv(e,s,(e=>n(4,r=e))),e.$$set=e=>{"position"in e&&n(0,i=e.position),"secondsToWatchBeforeSkip"in e&&n(1,o=e.secondsToWatchBeforeSkip),"skipAd"in e&&n(2,a=e.skipAd)},e.$$.update=()=>{3&e.$$.dirty&&n(3,l=i>0&&i>=o)},[i,o,a,l,r,s]}class tE extends Ly{constructor(e){super(),Py(this,e,eE,Jx,wv,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Kx)}}function nE(e){Rv(e,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function rE(e){let t;return{c(){t=Bv("button"),t.textContent=`${gx("visit_advertiser")}`,qv(t,"class","v-1wy3dql")},m(e,n){Iv(e,t,n)},p:hv,i:hv,o:hv,d(e){e&&Nv(t)}}}class iE extends Ly{constructor(e){super(),Py(this,e,null,rE,wv,{},nE)}}function oE(e){Rv(e,"v-354ajf",".container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(\n 360deg,\n rgba(0, 0, 0, 0) 0%,\n rgba(0, 0, 0, 0.05) 12%,\n rgba(0, 0, 0, 0.15) 25%,\n rgba(0, 0, 0, 0.3) 45%,\n rgba(0, 0, 0, 0.4) 57%,\n rgba(0, 0, 0, 0.5) 77%,\n rgba(0, 0, 0, 0.55) 88%,\n rgba(0, 0, 0, 0.65) 100%\n )}")}function aE(e){let t;return{c(){t=Bv("div"),qv(t,"class","top-gradient-mobile v-354ajf")},m(e,n){Iv(e,t,n)},d(e){e&&Nv(t)}}}function sE(e){let t,n;return t=new Yx({props:{position:e[6],duration:e[7]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};64&n&&(r.position=e[6]),128&n&&(r.duration=e[7]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function lE(e){let t,n;return t=new tE({props:{position:e[6],secondsToWatchBeforeSkip:e[8],skipAd:e[10].actions.internal.skipAd}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};64&n&&(r.position=e[6]),256&n&&(r.secondsToWatchBeforeSkip=e[8]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function cE(e){let t,n;return t=new $x({}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function uE(e){let t,n;return t=new iE({}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function dE(e){let t,n,r,i,o,a,s,l,c=e[0]&&aE(),u=e[3]&&sE(e),d=e[4]&&lE(e),p=e[9]&&cE(),f=e[5]&&uE();return{c(){t=Bv("div"),c&&c.c(),n=zv(),r=Bv("video"),i=zv(),u&&u.c(),o=zv(),d&&d.c(),a=zv(),p&&p.c(),s=zv(),f&&f.c(),Zv(r,"width","100%"),Zv(r,"height","100%"),r.playsInline=!0,qv(t,"class","container v-354ajf")},m(h,m){Iv(h,t,m),c&&c.m(t,null),Dv(t,n),Dv(t,r),e[22](r),Dv(t,i),u&&u.m(t,null),Dv(t,o),d&&d.m(t,null),Dv(t,a),p&&p.m(t,null),Dv(t,s),f&&f.m(t,null),e[23](t),l=!0},p(e,[r]){e[0]?c||(c=aE(),c.c(),c.m(t,n)):c&&(c.d(1),c=null),e[3]?u?(u.p(e,r),8&r&&Sy(u,1)):(u=sE(e),u.c(),Sy(u,1),u.m(t,o)):u&&(wy(),xy(u,1,1,(()=>{u=null})),_y()),e[4]?d?(d.p(e,r),16&r&&Sy(d,1)):(d=lE(e),d.c(),Sy(d,1),d.m(t,a)):d&&(wy(),xy(d,1,1,(()=>{d=null})),_y()),e[9]?p?512&r&&Sy(p,1):(p=cE(),p.c(),Sy(p,1),p.m(t,s)):p&&(wy(),xy(p,1,1,(()=>{p=null})),_y()),e[5]?f?32&r&&Sy(f,1):(f=uE(),f.c(),Sy(f,1),f.m(t,null)):f&&(wy(),xy(f,1,1,(()=>{f=null})),_y())},i(e){l||(Sy(u),Sy(d),Sy(p),Sy(f),l=!0)},o(e){xy(u),xy(d),xy(p),xy(f),l=!1},d(n){n&&Nv(t),c&&c.d(),e[22](null),u&&u.d(),d&&d.d(),p&&p.d(),f&&f.d(),e[23](null)}}}function pE(e,t,n){let r,i,o,a,s,l,{adsSlotId:c}=t,{adsParams:u}=t,{adsPreviewParam:d}=t,{duration:p=0}=t;const f=Xy(),h=f.state.isEnded$;kv(e,h,(e=>n(9,l=e)));const m=f.ui.isMobile;kv(e,m,(e=>n(0,i=e)));let g,v,y=!1;const b=f.ads.playbackState;kv(e,b,(e=>n(21,r=e)));const w=f.ads.canSkip,_=f.ads.duration;kv(e,_,(e=>n(7,a=e)));const S=f.ads.position;kv(e,S,(e=>n(6,o=e)));const x=f.ads.secondsToWatchBeforeSkip;let E,k,C;return kv(e,x,(e=>n(8,s=e))),ty((()=>{const e=new AbortController;const t=f.getAdmanWrapper();if(!c)return void t.onAdmanLoadingError();const{width:n,height:r}=Ev(f.ui.playerSize),i={width:n,height:r,isFullscreen:Ev(f.ui.isFullscreen),isAutoplay:Ev(f.ui.isAutoplay),adsContainer:g,adsVideoElement:v,slotId:c,params:u,previewParam:d,duration:p};return window.AdmanHTML?(t.initAdman(i),y=!0):t.loadAdman(e.signal).then((()=>{t.initAdman(i),y=!0})).catch((()=>{t.onAdmanLoadingError()})),()=>{!y&&e.abort()}})),e.$$set=e=>{"adsSlotId"in e&&n(17,c=e.adsSlotId),"adsParams"in e&&n(18,u=e.adsParams),"adsPreviewParam"in e&&n(19,d=e.adsPreviewParam),"duration"in e&&n(20,p=e.duration)},e.$$.update=()=>{2097152&e.$$.dirty&&n(3,E=r!==wx.INACTIVE),2097152&e.$$.dirty&&n(4,k=w&&r!==wx.INACTIVE),2097153&e.$$.dirty&&n(5,C=i&&r!==wx.INACTIVE)},[i,g,v,E,k,C,o,a,s,l,f,h,m,b,_,S,x,c,u,d,p,r,function(e){sy[e?"unshift":"push"]((()=>{v=e,n(2,v)}))},function(e){sy[e?"unshift":"push"]((()=>{g=e,n(1,g)}))}]}class fE extends Ly{constructor(e){super(),Py(this,e,pE,dE,wv,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},oE)}}function hE(e){Rv(e,"v-1so4c9v",".annotations-container.v-1so4c9v{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1so4c9v{height:calc(100% - var(--videoplayer-controls-height) - var(--videoplayer-slider-height))}")}function mE(e){let t;return{c(){t=Bv("div"),t.innerHTML="",qv(t,"class","annotations-container v-1so4c9v"),Xv(t,"shifted",e[0])},m(n,r){Iv(n,t,r),e[2](t)},p(e,[n]){1&n&&Xv(t,"shifted",e[0])},i:hv,o:hv,d(n){n&&Nv(t),e[2](null)}}}function gE(e,t,n){let r,{showControls:i}=t;const o=Xy().webApi.annotationsApi;return ty((()=>{if(o)return o.registryRootContainer(r),o.reattach(),()=>o.detach()})),e.$$set=e=>{"showControls"in e&&n(0,i=e.showControls)},[i,r,function(e){sy[e?"unshift":"push"]((()=>{r=e,n(1,r)}))}]}class vE extends Ly{constructor(e){super(),Py(this,e,gE,mE,wv,{showControls:0},hE)}}var yE="data:image/svg+xml,%3csvg width='42' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='42' height='20' rx='5' fill='%23FF3347'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z' fill='%23F2F3F5'/%3e%3c/svg%3e";function bE(e){Rv(e,"v-jqo54y",".thumb-timer.v-jqo54y.v-jqo54y{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--videoplayer-controls-transition-duration), opacity var(--videoplayer-controls-transition-duration)}.thumb-timer.live.v-jqo54y.v-jqo54y{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-jqo54y.v-jqo54y{visibility:hidden;opacity:0}.thumb-timer.v-jqo54y.v-jqo54y:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-jqo54y.v-jqo54y{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-jqo54y.v-jqo54y{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-jqo54y .thumb-timer-equalizer.v-jqo54y{margin-top:-2px}.thumb-timer-equalizer.v-jqo54y .col.v-jqo54y{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-jqo54y .thumb-timer-equalizer .col.v-jqo54y{animation-play-state:running}.thumb-timer-equalizer.v-jqo54y .col.v-jqo54y:nth-child(1){left:0;animation-name:v-jqo54y-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-jqo54y .col.v-jqo54y:nth-child(2){left:3px;animation-name:v-jqo54y-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-jqo54y .col.v-jqo54y:nth-child(3){left:6px;animation-name:v-jqo54y-thumb-timer-equalizer-col3}@keyframes v-jqo54y-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-jqo54y-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-jqo54y-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-jqo54y.v-jqo54y{display:inline-block;text-align:right}")}function wE(e){let t,n=Gx(e[4]-e[3])+"";return{c(){t=Hv(n)},m(e,n){Iv(e,t,n)},p(e,r){24&r&&n!==(n=Gx(e[4]-e[3])+"")&&Wv(t,n)},d(e){e&&Nv(t)}}}function _E(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=yE)||qv(t,"src",n),qv(t,"class","thumb-timer-live-icon v-jqo54y"),qv(t,"alt","Live icon")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function SE(e){let t,n,r,i;function o(e,t){return e[1]?_E:wE}let a=o(e),s=a(e);return{c(){t=Bv("div"),n=Bv("div"),n.innerHTML='<div class="col v-jqo54y"></div> <div class="col v-jqo54y"></div> <div class="col v-jqo54y"></div>',r=zv(),i=Bv("span"),s.c(),qv(n,"class","thumb-timer-equalizer v-jqo54y"),qv(i,"class","thumb-timer-text v-jqo54y"),qv(t,"role","timer"),qv(t,"class","thumb-timer v-jqo54y"),qv(t,"data-test-id","thumb-timer"),Xv(t,"live",e[1]),Xv(t,"hidden",e[0]),Xv(t,"playing",e[2])},m(e,o){Iv(e,t,o),Dv(t,n),Dv(t,r),Dv(t,i),s.m(i,null)},p(e,[n]){a===(a=o(e))&&s?s.p(e,n):(s.d(1),s=a(e),s&&(s.c(),s.m(i,null))),2&n&&Xv(t,"live",e[1]),1&n&&Xv(t,"hidden",e[0]),4&n&&Xv(t,"playing",e[2])},i:hv,o:hv,d(e){e&&Nv(t),s.d()}}}function xE(e,t,n){let{isHidden:r=!1}=t,{isLive:i=!1}=t,{isPlaying:o=!1}=t,{position:a}=t,{duration:s}=t;return e.$$set=e=>{"isHidden"in e&&n(0,r=e.isHidden),"isLive"in e&&n(1,i=e.isLive),"isPlaying"in e&&n(2,o=e.isPlaying),"position"in e&&n(3,a=e.position),"duration"in e&&n(4,s=e.duration)},[r,i,o,a,s]}class EE extends Ly{constructor(e){super(),Py(this,e,xE,SE,wv,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},bE)}}const kE=e=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const t=document.createElement("textarea");t.textContent=e,t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t),t.select();try{document.execCommand("copy")}finally{document.body.removeChild(t)}}};function CE(e){Rv(e,"v-p5rs9b","ul.v-p5rs9b{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);overflow:hidden;transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0}.hidden.v-p5rs9b{visibility:hidden;opacity:0}li.v-p5rs9b{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-p5rs9b:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function TE(e){let t,n,r;return{c(){t=Bv("li"),t.textContent=`${gx("menu_copy_video_link_with_timestamp")}`,qv(t,"class","v-p5rs9b")},m(i,o){Iv(i,t,o),n||(r=Uv(t,"click",Gv(e[26])),n=!0)},p:hv,d(e){e&&Nv(t),n=!1,r()}}}function OE(e){let t,n,r;return{c(){t=Bv("li"),t.textContent=`${gx("menu_pip")}`,qv(t,"class","v-p5rs9b")},m(i,o){Iv(i,t,o),n||(r=Uv(t,"click",Gv(e[19])),n=!0)},p:hv,d(e){e&&Nv(t),n=!1,r()}}}function ME(e){let t,n,r;return{c(){t=Bv("li"),t.textContent=`${gx("menu_report")}`,qv(t,"class","v-p5rs9b")},m(i,o){Iv(i,t,o),n||(r=Uv(t,"click",Gv(e[16])),n=!0)},p:hv,d(e){e&&Nv(t),n=!1,r()}}}function AE(e){var t;let n,r,i,o,a,s,l,c,u,d,p=e[8].features.copyVideoLink&&(null==(t=e[7].callbacks)?void 0:t.onCopyVideoLink)&&function(e){let t,n,r,i,o,a=!e[4]&&!e[14]&&TE(e);return{c(){t=Bv("li"),t.textContent=`${gx("menu_copy_video_link")}`,n=zv(),a&&a.c(),r=Vv(),qv(t,"class","v-p5rs9b")},m(s,l){Iv(s,t,l),Iv(s,n,l),a&&a.m(s,l),Iv(s,r,l),i||(o=Uv(t,"click",Gv(e[25])),i=!0)},p(e,t){e[4]||e[14]?a&&(a.d(1),a=null):a?a.p(e,t):(a=TE(e),a.c(),a.m(r.parentNode,r))},d(e){e&&(Nv(t),Nv(n),Nv(r)),a&&a.d(e),i=!1,o()}}}(e),f=e[9]&&e[5]!==ln.CONNECTED&&!e[14]&&OE(e),h=e[8].features.videoRotate&&!e[14]&&function(e){let t,n,r;return{c(){t=Bv("li"),t.textContent=`${gx("menu_video_rotate")}`,qv(t,"class","v-p5rs9b")},m(i,o){Iv(i,t,o),n||(r=Uv(t,"click",Gv(e[15])),n=!0)},p:hv,d(e){e&&Nv(t),n=!1,r()}}}(e),m=e[8].showSupport&&!e[6]&&ME(e);return{c(){n=Bv("ul"),p&&p.c(),r=zv(),f&&f.c(),i=zv(),h&&h.c(),o=zv(),m&&m.c(),a=zv(),s=Bv("li"),s.textContent=`${gx("menu_copy_debug")}`,l=zv(),c=Bv("li"),c.textContent=`${gx("menu_debug_overlay")}`,qv(s,"class","v-p5rs9b"),qv(c,"class","v-p5rs9b"),Zv(n,"top",e[1]+"px"),Zv(n,"left",e[0]+"px"),qv(n,"class","v-p5rs9b"),Xv(n,"hidden",!e[2])},m(t,g){Iv(t,n,g),p&&p.m(n,null),Dv(n,r),f&&f.m(n,null),Dv(n,i),h&&h.m(n,null),Dv(n,o),m&&m.m(n,null),Dv(n,a),Dv(n,s),Dv(n,l),Dv(n,c),e[27](n),u||(d=[Uv(s,"click",Gv(e[17])),Uv(c,"click",Gv(e[18]))],u=!0)},p(e,t){var r;e[8].features.copyVideoLink&&null!=(r=e[7].callbacks)&&r.onCopyVideoLink&&p.p(e,t),e[9]&&e[5]!==ln.CONNECTED&&!e[14]?f?f.p(e,t):(f=OE(e),f.c(),f.m(n,i)):f&&(f.d(1),f=null),e[8].features.videoRotate&&!e[14]&&h.p(e,t),e[8].showSupport&&!e[6]?m?m.p(e,t):(m=ME(e),m.c(),m.m(n,a)):m&&(m.d(1),m=null),2&t[0]&&Zv(n,"top",e[1]+"px"),1&t[0]&&Zv(n,"left",e[0]+"px"),4&t[0]&&Xv(n,"hidden",!e[2])},i:hv,o:hv,d(t){t&&Nv(n),p&&p.d(),f&&f.d(),h&&h.d(),m&&m.d(),e[27](null),u=!1,yv(d)}}}function PE(e,t,n){var r;let i,o,a,s,{visible:l=!1}=t,{supportLink:c}=t,{x:u=0}=t,{y:d=0}=t,{playerContainerRef:p}=t,{controlsContainerRef:f}=t,{returnFocus:h}=t;const m=Xy(),g=Fy(),v=m.ui.contextMenuVisible,y=m.ui.debugPanelVisible,b=m.webApi.pictureInPictureApi,w=null==(r=m.webApi.pictureInPictureApi)?void 0:r.info.isActive$;kv(e,w,(e=>n(6,s=e)));const _=m.state.chromecastState$;kv(e,_,(e=>n(5,a=e)));const S=m.state.isLive$;kv(e,S,(e=>n(4,o=e)));const x=m.state.positionExact$;kv(e,x,(e=>n(28,i=e)));const E=m.state.isInteractive;let k;const C=(e=!1)=>{var t,n;if(null!=(t=m.callbacks)&&t.onCopyVideoLink){const t=null==(n=m.callbacks)?void 0:n.onCopyVideoLink(e,i);t&&kE(t)}v.set(!1)};return e.$$set=e=>{"visible"in e&&n(2,l=e.visible),"supportLink"in e&&n(21,c=e.supportLink),"x"in e&&n(0,u=e.x),"y"in e&&n(1,d=e.y),"playerContainerRef"in e&&n(22,p=e.playerContainerRef),"controlsContainerRef"in e&&n(23,f=e.controlsContainerRef),"returnFocus"in e&&n(24,h=e.returnFocus)},e.$$.update=()=>{3&e.$$.dirty[0]&&((e,t)=>{if(!k||!p||!f)return;const r=k.getBoundingClientRect(),i=p.getBoundingClientRect(),o=f.getBoundingClientRect();n(0,u=e-i.left),n(1,d=t-i.top),u+r.width>i.width&&n(0,u-=r.width),d+r.height>i.height-o.height&&n(1,d-=r.height)})(u,d)},[u,d,l,k,o,a,s,m,g,b,w,_,S,x,E,()=>{v.set(!1),m.actions.internal.videoRotate()},()=>{window.open(c,"_blank"),v.set(!1),m.actions.internal.pause()},()=>{kE(m.actions.internal.getDebugTextData()),v.set(!1),null==h||h()},()=>{y.set(!0),v.set(!1),null==h||h()},async()=>{null!=b&&b.isActive()?await(null==b?void 0:b.remove()):await(null==b?void 0:b.request()),v.set(!1),null==h||h()},C,c,p,f,h,()=>C(),()=>C(!0),function(e){sy[e?"unshift":"push"]((()=>{k=e,n(3,k)}))}]}class LE extends Ly{constructor(e){super(),Py(this,e,PE,AE,wv,{visible:2,supportLink:21,x:0,y:1,playerContainerRef:22,controlsContainerRef:23,returnFocus:24},CE,[-1,-1])}}class DE{constructor(e){this.value=e,this.next=null}}class RE{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new DE(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function IE(e){Rv(e,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function NE(e){let t,n;return{c(){t=Bv("div"),n=Bv("canvas"),qv(n,"class","v-1ssl9eb"),qv(t,"class","container v-1ssl9eb")},m(r,i){Iv(r,t,i),Dv(t,n),e[3](n)},p:hv,i:hv,o:hv,d(n){n&&Nv(t),e[3](null)}}}function jE(e,t,n,r,i){0===i&&(i=1),e.fillStyle="#fff",e.fillRect(t,n,r,i)}function BE(e,t,n){let r,i,{values:o=[]}=t;return ty((()=>{n(0,r.width=120,r),n(0,r.height=16,r),n(2,i=r.getContext("2d"))})),e.$$set=e=>{"values"in e&&n(1,o=e.values)},e.$$.update=()=>{if(6&e.$$.dirty&&i){let e=o[0];for(let t=1;t<o.length;t++)o[t]>e&&(e=o[t]);i.clearRect(0,0,120,16);let t=59;for(let n=o.length-1;n>=0;n--){const r=2*t,a=e>0?o[n]/e*16:0;jE(i,r,0,2,a),t--}}},[r,o,i,function(e){sy[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class FE extends Ly{constructor(e){super(),Py(this,e,BE,NE,wv,{values:1},IE)}}function HE(e){Rv(e,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function zE(e){let t,n,r,i,o,a=e[0].id+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Video id",r=zv(),i=Bv("span"),o=Hv(a),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o)},p(e,t){1&t&&a!==(a=e[0].id+"")&&Wv(o,a)},d(e){e&&Nv(t)}}}function VE(e){let t,n,r,i,o,a=e[0].provider+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Provider",r=zv(),i=Bv("span"),o=Hv(a),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o)},p(e,t){1&t&&a!==(a=e[0].provider+"")&&Wv(o,a)},d(e){e&&Nv(t)}}}function UE(e){let t,n,r,i,o,a=e[0].viewport+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Viewport",r=zv(),i=Bv("span"),o=Hv(a),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o)},p(e,t){1&t&&a!==(a=e[0].viewport+"")&&Wv(o,a)},d(e){e&&Nv(t)}}}function $E(e){let t,n,r,i,o,a=e[0].videoSize+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Video size",r=zv(),i=Bv("span"),o=Hv(a),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o)},p(e,t){1&t&&a!==(a=e[0].videoSize+"")&&Wv(o,a)},d(e){e&&Nv(t)}}}function GE(e){let t,n,r,i,o,a=e[0].cdn+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="CDN host",r=zv(),i=Bv("span"),o=Hv(a),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o)},p(e,t){1&t&&a!==(a=e[0].cdn+"")&&Wv(o,a)},d(e){e&&Nv(t)}}}function qE(e){let t,n,r,i,o,a,s=e[0].volume+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Volume",r=zv(),i=Bv("span"),o=Hv(s),a=Hv(" %"),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,s){Iv(e,t,s),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o),Dv(i,a)},p(e,t){1&t&&s!==(s=e[0].volume+"")&&Wv(o,s)},d(e){e&&Nv(t)}}}function WE(e){let t,n,r,i,o,a,s=e[0].buffer.toFixed(2)+"";return{c(){t=Bv("div"),n=Bv("div"),n.textContent="Buffer",r=zv(),i=Bv("span"),o=Hv(s),a=Hv(" s"),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,s){Iv(e,t,s),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o),Dv(i,a)},p(e,t){1&t&&s!==(s=e[0].buffer.toFixed(2)+"")&&Wv(o,s)},d(e){e&&Nv(t)}}}function ZE(e){let t,n,r,i,o,a,s,l,c,u=e[0].speed.toFixed(2)+"";return i=new FE({props:{values:e[5]}}),{c(){t=Bv("div"),n=Bv("div"),n.textContent="Network",r=zv(),Ty(i.$$.fragment),o=zv(),a=Bv("span"),s=Hv(u),l=Hv(" Kbps"),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,u){Iv(e,t,u),Dv(t,n),Dv(t,r),Oy(i,t,null),Dv(t,o),Dv(t,a),Dv(a,s),Dv(a,l),c=!0},p(e,t){const n={};32&t&&(n.values=e[5]),i.$set(n),(!c||1&t)&&u!==(u=e[0].speed.toFixed(2)+"")&&Wv(s,u)},i(e){c||(Sy(i.$$.fragment,e),c=!0)},o(e){xy(i.$$.fragment,e),c=!1},d(e){e&&Nv(t),My(i)}}}function YE(e){let t,n,r,i,o,a,s,l,c,u=e[0].bitrate.toFixed(2)+"";return i=new FE({props:{values:e[6]}}),{c(){t=Bv("div"),n=Bv("div"),n.textContent="V bitrate",r=zv(),Ty(i.$$.fragment),o=zv(),a=Bv("span"),s=Hv(u),l=Hv(" Kbps"),qv(n,"class","v-1gy2e68"),qv(t,"class","v-1gy2e68")},m(e,u){Iv(e,t,u),Dv(t,n),Dv(t,r),Oy(i,t,null),Dv(t,o),Dv(t,a),Dv(a,s),Dv(a,l),c=!0},p(e,t){const n={};64&t&&(n.values=e[6]),i.$set(n),(!c||1&t)&&u!==(u=e[0].bitrate.toFixed(2)+"")&&Wv(s,u)},i(e){c||(Sy(i.$$.fragment,e),c=!0)},o(e){xy(i.$$.fragment,e),c=!1},d(e){e&&Nv(t),My(i)}}}function KE(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C,T,O,M,A,P,L,D,R,I,N,j,B,F=e[0].version+"",H=e[0].id&&zE(e),z=e[0].provider&&VE(e),V=e[0].viewport&&UE(e),U=e[0].videoSize&&$E(e),$=e[0].cdn&&GE(e),G=e[0].volume&&qE(e),q=e[0].buffer&&WE(e),W=e[0].speed&&ZE(e),Z=e[0].bitrate&&YE(e);return L=new FE({props:{values:e[4]}}),{c(){t=Bv("div"),n=Bv("button"),n.textContent="[x]",r=zv(),i=Bv("div"),o=Bv("div"),a=Bv("div"),a.textContent="Version",s=zv(),l=Bv("span"),c=Hv(F),u=zv(),H&&H.c(),d=zv(),z&&z.c(),p=zv(),V&&V.c(),f=zv(),U&&U.c(),h=zv(),$&&$.c(),m=zv(),G&&G.c(),g=zv(),q&&q.c(),v=zv(),y=Bv("div"),b=Bv("div"),b.textContent="Dropped",w=zv(),_=Bv("span"),S=Hv(e[2]),x=Hv(" / "),E=Hv(e[1]),k=Hv(" frames"),C=zv(),W&&W.c(),T=zv(),Z&&Z.c(),O=zv(),M=Bv("div"),A=Bv("div"),A.textContent="FPS",P=zv(),Ty(L.$$.fragment),D=zv(),R=Bv("span"),I=Hv(e[3]),qv(n,"class","close v-1gy2e68"),qv(n,"title","закрыть"),qv(a,"class","v-1gy2e68"),qv(o,"class","v-1gy2e68"),qv(b,"class","v-1gy2e68"),qv(y,"class","v-1gy2e68"),qv(A,"class","v-1gy2e68"),qv(M,"class","v-1gy2e68"),qv(i,"class","content v-1gy2e68"),qv(t,"class","container v-1gy2e68"),Xv(t,"container-mobile",e[7])},m(F,Y){Iv(F,t,Y),Dv(t,n),Dv(t,r),Dv(t,i),Dv(i,o),Dv(o,a),Dv(o,s),Dv(o,l),Dv(l,c),Dv(i,u),H&&H.m(i,null),Dv(i,d),z&&z.m(i,null),Dv(i,p),V&&V.m(i,null),Dv(i,f),U&&U.m(i,null),Dv(i,h),$&&$.m(i,null),Dv(i,m),G&&G.m(i,null),Dv(i,g),q&&q.m(i,null),Dv(i,v),Dv(i,y),Dv(y,b),Dv(y,w),Dv(y,_),Dv(_,S),Dv(_,x),Dv(_,E),Dv(_,k),Dv(i,C),W&&W.m(i,null),Dv(i,T),Z&&Z.m(i,null),Dv(i,O),Dv(i,M),Dv(M,A),Dv(M,P),Oy(L,M,null),Dv(M,D),Dv(M,R),Dv(R,I),N=!0,j||(B=Uv(n,"click",Gv(e[9])),j=!0)},p(e,[n]){(!N||1&n)&&F!==(F=e[0].version+"")&&Wv(c,F),e[0].id?H?H.p(e,n):(H=zE(e),H.c(),H.m(i,d)):H&&(H.d(1),H=null),e[0].provider?z?z.p(e,n):(z=VE(e),z.c(),z.m(i,p)):z&&(z.d(1),z=null),e[0].viewport?V?V.p(e,n):(V=UE(e),V.c(),V.m(i,f)):V&&(V.d(1),V=null),e[0].videoSize?U?U.p(e,n):(U=$E(e),U.c(),U.m(i,h)):U&&(U.d(1),U=null),e[0].cdn?$?$.p(e,n):($=GE(e),$.c(),$.m(i,m)):$&&($.d(1),$=null),e[0].volume?G?G.p(e,n):(G=qE(e),G.c(),G.m(i,g)):G&&(G.d(1),G=null),e[0].buffer?q?q.p(e,n):(q=WE(e),q.c(),q.m(i,v)):q&&(q.d(1),q=null),(!N||4&n)&&Wv(S,e[2]),(!N||2&n)&&Wv(E,e[1]),e[0].speed?W?(W.p(e,n),1&n&&Sy(W,1)):(W=ZE(e),W.c(),Sy(W,1),W.m(i,T)):W&&(wy(),xy(W,1,1,(()=>{W=null})),_y()),e[0].bitrate?Z?(Z.p(e,n),1&n&&Sy(Z,1)):(Z=YE(e),Z.c(),Sy(Z,1),Z.m(i,O)):Z&&(wy(),xy(Z,1,1,(()=>{Z=null})),_y());const r={};16&n&&(r.values=e[4]),L.$set(r),(!N||8&n)&&Wv(I,e[3]),(!N||128&n)&&Xv(t,"container-mobile",e[7])},i(e){N||(Sy(W),Sy(Z),Sy(L.$$.fragment,e),N=!0)},o(e){xy(W),xy(Z),xy(L.$$.fragment,e),N=!1},d(e){e&&Nv(t),H&&H.d(),z&&z.d(),V&&V.d(),U&&U.d(),$&&$.d(),G&&G.d(),q&&q.d(),W&&W.d(),Z&&Z.d(),My(L),j=!1,B()}}}function QE(e,t,n){let r;const i=Xy(),o=i.ui.debugPanelVisible,a=i.ui.isMobile;kv(e,a,(e=>n(7,r=e)));let s=i.actions.internal.getDebugPanelData(),l=i.actions.internal.getVideoElement(),c=0,u=0,d=0;const p=new RE(60),f=new RE(60),h=new RE(60);let m=[],g=[],v=[];return ty((()=>{Jo.set(Hy,"true"),i.actions.internal.startLogging(),l&&(n(2,u=l.getVideoPlaybackQuality().droppedVideoFrames),n(1,c=l.getVideoPlaybackQuality().totalVideoFrames));const e=window.setInterval((()=>{n(0,s=i.actions.internal.getDebugPanelData())}),500);let t;return l&&(t=window.setInterval((()=>{if(l){n(2,u=l.getVideoPlaybackQuality().droppedVideoFrames);const e=l.getVideoPlaybackQuality().totalVideoFrames;n(3,d=e-c),n(1,c=e),p.push(d),s.speed&&f.push(s.speed),s.bitrate&&h.push(s.bitrate),n(4,m=p.getValuesFromBottom()),n(5,g=f.getValuesFromBottom()),n(6,v=h.getValuesFromBottom())}}),1e3)),()=>{i.actions.internal.stopLogging(),clearInterval(e),t&&clearInterval(t)}})),[s,c,u,d,m,g,v,r,a,()=>{Jo.remove(Hy),o.set(!1)}]}class XE extends Ly{constructor(e){super(),Py(this,e,QE,KE,wv,{},HE)}}function JE(e){Rv(e,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function ek(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v=gx("doubletap_seek_step",{seconds:e[1].toFixed(0)})+"";return{c(){t=Bv("div"),r=zv(),i=Bv("div"),o=Bv("div"),a=Bv("div"),l=zv(),c=Bv("div"),d=zv(),p=Bv("div"),h=zv(),m=Bv("p"),g=Hv(v),qv(t,"class",n="semicircle "+e[0]+" v-nhq2ld"),qv(a,"class",s="triangle "+e[0]+" v-nhq2ld"),qv(c,"class",u="triangle "+e[0]+" v-nhq2ld"),qv(p,"class",f="triangle "+e[0]+" v-nhq2ld"),qv(o,"class","triangles-wrapper v-nhq2ld"),qv(m,"class","step-caption v-nhq2ld"),qv(i,"class","info v-nhq2ld")},m(e,n){Iv(e,t,n),Iv(e,r,n),Iv(e,i,n),Dv(i,o),Dv(o,a),Dv(o,l),Dv(o,c),Dv(o,d),Dv(o,p),Dv(i,h),Dv(i,m),Dv(m,g)},p(e,r){1&r&&n!==(n="semicircle "+e[0]+" v-nhq2ld")&&qv(t,"class",n),1&r&&s!==(s="triangle "+e[0]+" v-nhq2ld")&&qv(a,"class",s),1&r&&u!==(u="triangle "+e[0]+" v-nhq2ld")&&qv(c,"class",u),1&r&&f!==(f="triangle "+e[0]+" v-nhq2ld")&&qv(p,"class",f),2&r&&v!==(v=gx("doubletap_seek_step",{seconds:e[1].toFixed(0)})+"")&&Wv(g,v)},d(e){e&&(Nv(t),Nv(r),Nv(i))}}}function tk(e){let t,n,r,i,o=e[2]&&ek(e);return{c(){t=Bv("div"),o&&o.c(),qv(t,"class",n="double-click-area "+e[0]+" v-nhq2ld")},m(n,a){Iv(n,t,a),o&&o.m(t,null),r||(i=Uv(t,"click",Gv(e[3]())),r=!0)},p(e,[r]){e[2]?o?o.p(e,r):(o=ek(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null),1&r&&n!==(n="double-click-area "+e[0]+" v-nhq2ld")&&qv(t,"class",n)},i:hv,o:hv,d(e){e&&Nv(t),o&&o.d(),r=!1,i()}}}function nk(e,t,n){let{side:r}=t,{seekStep:i}=t,{handleSingleFirstClick:o}=t,{handleSecondClick:a}=t,s=!1,l=0,c=0;return ny((()=>{window.clearTimeout(l),window.clearTimeout(c)})),e.$$set=e=>{"side"in e&&n(0,r=e.side),"seekStep"in e&&n(1,i=e.seekStep),"handleSingleFirstClick"in e&&n(4,o=e.handleSingleFirstClick),"handleSecondClick"in e&&n(5,a=e.handleSecondClick)},[r,i,s,()=>{let e=0;return()=>{e+=1,1===e?l=window.setTimeout((()=>{o(),e=0}),300):(window.clearTimeout(l),e=0,a(),n(2,s=!0),c=window.setTimeout((()=>{n(2,s=!1)}),500))}},o,a]}class rk extends Ly{constructor(e){super(),Py(this,e,nk,tk,wv,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},JE)}}function ik(e){Rv(e,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function ok(e){let t,n,r;return{c(){t=Bv("div"),qv(t,"class","close v-1ome55p")},m(i,o){Iv(i,t,o),n||(r=Uv(t,"click",Gv(e[0])),n=!0)},p:hv,i:hv,o:hv,d(e){e&&Nv(t),n=!1,r()}}}function ak(e){return[function(t){oy.call(this,e,t)}]}class sk extends Ly{constructor(e){super(),Py(this,e,ak,ok,wv,{},ik)}}function lk(e){Rv(e,"v-8jhsry",".timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)\n }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}")}function ck(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("canvas"),r=zv(),i=Fv("svg"),o=Fv("g"),a=Fv("g"),s=Fv("path"),qv(n,"class","timer-canvas v-8jhsry"),qv(n,"width","100"),qv(n,"height","100"),qv(s,"class","_play"),qv(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),qv(s,"fill","#fff"),qv(a,"fill-rule","nonzero"),qv(o,"fill","none"),qv(o,"fill-rule","evenodd"),qv(i,"class","timer-play-icon v-8jhsry"),qv(i,"viewBox","0 0 24 24"),qv(i,"xmlns","http://www.w3.org/2000/svg"),qv(t,"class","timer v-8jhsry")},m(l,c){Iv(l,t,c),Dv(t,n),e[2](n),Dv(t,r),Dv(t,i),Dv(i,o),Dv(o,a),Dv(a,s)},p:hv,i:hv,o:hv,d(n){n&&Nv(t),e[2](null)}}}function uk(e,t,n){let r,{onTimerEnded:i=Io}=t;return ty((()=>{let e;const t=r.getContext("2d");if(!t)return;t.lineWidth=6,t.lineCap="round",t.strokeStyle="#fff";const n=Date.now(),o=()=>{const r=(Date.now()-n)/5e3;r<1?(t.clearRect(0,0,100,100),t.beginPath(),t.arc(50,50,47,-Math.PI/2,-Math.PI/2+2*Math.PI*r),t.stroke(),e=requestAnimationFrame(o)):i()};return e=requestAnimationFrame(o),()=>{cancelAnimationFrame(e)}})),e.$$set=e=>{"onTimerEnded"in e&&n(1,i=e.onTimerEnded)},[r,i,function(e){sy[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class dk extends Ly{constructor(e){super(),Py(this,e,uk,ck,wv,{onTimerEnded:1},lk)}}function pk(e){Rv(e,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function fk(e){let t,n;return t=new dk({props:{onTimerEnded:e[2]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};4&n&&(r.onTimerEnded=e[2]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function hk(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_;s=new sk({}),s.$on("click",e[4]);let S=e[3]&&fk(e);return{c(){t=Bv("div"),n=zv(),r=Bv("div"),i=Bv("div"),o=Bv("div"),o.textContent="Ñледующее видео",a=zv(),Ty(s.$$.fragment),l=zv(),c=Bv("div"),u=Bv("div"),d=Bv("div"),p=Bv("div"),f=zv(),S&&S.c(),m=zv(),g=Bv("div"),v=Bv("div"),y=Hv(e[0]),qv(t,"class","overlay v-kisfwc"),qv(o,"class","caption v-kisfwc"),qv(i,"class","top v-kisfwc"),qv(p,"class","thumb-overlay v-kisfwc"),qv(d,"class","thumb v-kisfwc"),qv(d,"style",h=`background-image: url('${e[1]}')`),qv(u,"class","column v-kisfwc"),qv(v,"class","title v-kisfwc"),qv(g,"class","column v-kisfwc"),qv(c,"class","row v-kisfwc"),qv(r,"class","next-video v-kisfwc")},m(h,x){Iv(h,t,x),Iv(h,n,x),Iv(h,r,x),Dv(r,i),Dv(i,o),Dv(i,a),Oy(s,i,null),Dv(r,l),Dv(r,c),Dv(c,u),Dv(u,d),Dv(d,p),Dv(d,f),S&&S.m(d,null),Dv(c,m),Dv(c,g),Dv(g,v),Dv(v,y),b=!0,w||(_=Uv(c,"click",(function(){bv(e[2])&&e[2].apply(this,arguments)})),w=!0)},p(t,[n]){(e=t)[3]?S?(S.p(e,n),8&n&&Sy(S,1)):(S=fk(e),S.c(),Sy(S,1),S.m(d,null)):S&&(wy(),xy(S,1,1,(()=>{S=null})),_y()),(!b||2&n&&h!==(h=`background-image: url('${e[1]}')`))&&qv(d,"style",h),(!b||1&n)&&Wv(y,e[0])},i(e){b||(Sy(s.$$.fragment,e),Sy(S),b=!0)},o(e){xy(s.$$.fragment,e),xy(S),b=!1},d(e){e&&(Nv(t),Nv(n),Nv(r)),My(s),S&&S.d(),w=!1,_()}}}function mk(e,t,n){let{title:r}=t,{thumb:i}=t,{playNextVideo:o}=t,a=!0;return e.$$set=e=>{"title"in e&&n(0,r=e.title),"thumb"in e&&n(1,i=e.thumb),"playNextVideo"in e&&n(2,o=e.playNextVideo)},[r,i,o,a,()=>n(3,a=!1)]}class gk extends Ly{constructor(e){super(),Py(this,e,mk,hk,wv,{title:0,thumb:1,playNextVideo:2},pk)}}function vk(e,t,n){let{playNextVideo:r}=t;return ty((()=>{r()})),e.$$set=e=>{"playNextVideo"in e&&n(0,r=e.playNextVideo)},[r]}class yk extends Ly{constructor(e){super(),Py(this,e,vk,null,wv,{playNextVideo:0})}}const bk=(e,t)=>Math.min(+(e+t).toFixed(2),1),wk=(e,t)=>Math.max(+(e-t).toFixed(2),0),_k=(e,t,n)=>{const r=bk(t,n);t<1&&e.actions.internal.setVolume(r)},Sk=(e,t,n)=>{const r=wk(t,n);t>0&&e.actions.internal.setVolume(r)};function xk(e){Rv(e,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Ek(e){let t,n,r,i;const o=e[20].default,a=Cv(o,e,e[19],null);return{c(){t=Bv("div"),a&&a.c(),qv(t,"class","keyboard-controls v-10kkmxz"),qv(t,"tabindex","0")},m(o,s){Iv(o,t,s),a&&a.m(t,null),e[21](t),n=!0,r||(i=[Uv(t,"keyup",e[12]),Uv(t,"keydown",e[11])],r=!0)},p(e,t){a&&a.p&&(!n||524288&t[0])&&Mv(a,o,e,e[19],n?Ov(o,e[19],t,null):Av(e[19]),null)},i(e){n||(Sy(a,e),n=!0)},o(e){xy(a,e),n=!1},d(n){n&&Nv(t),a&&a.d(n),e[21](null),r=!1,yv(i)}}}function kk(e,t,n){let r,i,o,a,s,l,c,u,d,p,{$$slots:f={},$$scope:h}=t,{isAds:m}=t,{hideContextMenu:g}=t,{toggleFullscreen:v}=t,{showHotKeyHelpers:y}=t,{showKeyMap:b}=t;const w=Xy(),_=Fy(),S=w.getLogger().createComponentLog("KeyboardControls component"),x=w.state.playbackState$;kv(e,x,(e=>n(25,i=e)));const E=w.ads.playbackState;kv(e,E,(e=>n(24,r=e)));const k=w.state.positionExact$;kv(e,k,(e=>n(30,c=e)));const C=w.state.duration$;kv(e,C,(e=>n(29,l=e)));const T=w.state.volume$;kv(e,T,(e=>n(33,p=e)));const O=w.ui.controls.disabledControls$;kv(e,O,(e=>n(28,s=e)));const M=w.state.muted$;kv(e,M,(e=>n(27,a=e)));const A=w.state.currentSubtitle$;kv(e,A,(e=>n(26,o=e)));const P=w.state.currentPlaybackRate$;kv(e,P,(e=>n(31,u=e)));const L=w.state.availablePlaybackRates$;kv(e,L,(e=>n(32,d=e)));let D,R=0,I=!0;const N=e=>(e!==I&&(I=e,R=0),R+=1,(_.controls.seekStepKeyboard+_.controls.seekStepKeyboard*R)/1e3);return e.$$set=e=>{"isAds"in e&&n(13,m=e.isAds),"hideContextMenu"in e&&n(14,g=e.hideContextMenu),"toggleFullscreen"in e&&n(15,v=e.toggleFullscreen),"showHotKeyHelpers"in e&&n(16,y=e.showHotKeyHelpers),"showKeyMap"in e&&n(17,b=e.showKeyMap),"$$scope"in e&&n(19,h=e.$$scope)},[D,x,E,k,C,T,O,M,A,P,L,e=>{g();const t=e.code,n=!$y.has(t);if(e.ctrlKey&&n||e.altKey&&n||e.metaKey)return;const f=i===an.PLAYING||i===an.PAUSED,h=m&&(r===wx.PAUSED||r===wx.PLAYING),x=!h&&!s.has(Gy.TIMELINE);if(f||h)switch(S({message:`key down, code: ${t}`}),t){case Vy.KeyJ:case Vy.ArrowLeft:if(!x)break;if(e.ctrlKey||e.altKey){const t=w.actions.internal.getPrevEpisode();w.actions.internal.seekToPrevEpisode(t),t&&y({type:Sx.EPISODE_PREV,text:t.text}),e.preventDefault()}else{const t=e.shiftKey?N(!1):_.controls.seekStepKeyboard/1e3,n=Math.max(c-t,0);c>0&&(w.actions.internal.seekTime(n,Mg.DOUBLE_TAP),y({type:Sx.BACKWARD_SEEK,text:t.toString()}),e.preventDefault())}break;case Vy.KeyL:case Vy.ArrowRight:if(!x)break;if(e.ctrlKey||e.altKey){const t=w.actions.internal.getNextEpisode();w.actions.internal.seekToNextEpisode(t),t&&y({type:Sx.EPISODE_NEXT,text:t.text}),e.preventDefault()}else{const t=e.shiftKey?N(!0):_.controls.seekStepKeyboard/1e3,n=Math.min(c+t,l);Math.round(c)<Math.round(l)&&(w.actions.internal.seekTime(n,Mg.DOUBLE_TAP),y({type:Sx.FORWARD_SEEK,text:t.toString()}),e.preventDefault())}break;case Vy.ArrowUp:{const t=p,n=_.controls.volumeStepKeyboard,r=t<=1;if(_k(w,t,n),r){const e=Math.round(100*bk(t,n)).toString();y({type:Sx.VOLUME,t:{key:"hotkey_helper_current_volume",value:e}})}e.preventDefault();break}case Vy.ArrowDown:{const t=p,n=_.controls.volumeStepKeyboard,r=t>=0;if(Sk(w,t,n),r){const e=Math.round(100*wk(t,n)).toString();y({type:Sx.VOLUME,t:{key:"hotkey_helper_current_volume",value:e}})}e.preventDefault();break}case Vy.Comma:if(e.shiftKey){w.actions.internal.decrementPlaybackRate();const t=d.find((e=>e.value===u));y({type:Sx.RATE_DOWN,text:null==t?void 0:t.displayValue}),e.preventDefault()}else{if(h||i!==an.PAUSED)break;const t=Math.max(c-_.controls.seekStepFrame/1e3,0);c>0&&(y({type:Sx.BACKWARD_SEEK}),w.actions.internal.clearDelayedBufferingCheckTimeout(),w.actions.internal.seekTime(t,Mg.DOUBLE_TAP),e.preventDefault())}break;case Vy.Period:if(e.shiftKey){w.actions.internal.incrementPlaybackRate();const t=d.find((e=>e.value===u));y({type:Sx.RATE_UP,text:null==t?void 0:t.displayValue}),e.preventDefault()}else{if(h||i!==an.PAUSED)break;const t=Math.min(c+_.controls.seekStepFrame/1e3,l);c<l&&(y({type:Sx.FORWARD_SEEK}),w.actions.internal.clearDelayedBufferingCheckTimeout(),w.actions.internal.seekTime(t,Mg.DOUBLE_TAP),e.preventDefault())}break;case Vy.KeyK:case Vy.Space:s.has(Gy.PLAY_BUTTON)||(w.actions.internal.togglePlay(),y({type:i===an.PLAYING?Sx.PLAY:Sx.STOP})),e.preventDefault();break;case Vy.KeyM:y({type:a?Sx.VOLUME:Sx.MUTE}),w.actions.internal.toggleMuted(),e.preventDefault();break;case Vy.KeyF:v(),e.preventDefault();break;case Vy.KeyC:w.actions.internal.toggleSubtitle(),"off"!==o.value?y({type:Sx.SUBTITLES_ON,text:null==o?void 0:o.displayValue}):y({type:Sx.SUBTITLES_OFF}),e.preventDefault();break;case Vy.KeyI:w.actions.internal.togglePictureInPicture(),e.preventDefault();break;case Vy.Digit1:case Vy.Numpad1:y(),w.actions.internal.seekToPercent(.1,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit2:case Vy.Numpad2:y(),w.actions.internal.seekToPercent(.2,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit3:case Vy.Numpad3:y(),w.actions.internal.seekToPercent(.3,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit4:case Vy.Numpad4:y(),w.actions.internal.seekToPercent(.4,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit5:case Vy.Numpad5:y(),w.actions.internal.seekToPercent(.5,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit6:case Vy.Numpad6:y(),w.actions.internal.seekToPercent(.6,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit7:case Vy.Numpad7:y(),w.actions.internal.seekToPercent(.7,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit8:case Vy.Numpad8:y(),w.actions.internal.seekToPercent(.8,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit9:case Vy.Numpad9:y(),w.actions.internal.seekToPercent(.9,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Digit0:case Vy.Numpad0:y(),w.actions.internal.seekToPercent(0,Mg.DOUBLE_TAP),e.preventDefault();break;case Vy.Slash:e.shiftKey&&_.features.hotKeyMapModal&&(b(),e.preventDefault());break;case Vy.ShiftLeft:case Vy.ShiftRight:e.preventDefault()}},e=>{const t=e.code;if(e.ctrlKey||e.altKey||e.metaKey)return;const n=i===an.PLAYING||i===an.PAUSED,o=m&&(r===wx.PAUSED||r===wx.PLAYING);if(n||o)switch(t){case Vy.ShiftLeft:case Vy.ShiftRight:R=0}},m,g,v,y,b,()=>null==D?void 0:D.focus(),h,f,function(e){sy[e?"unshift":"push"]((()=>{D=e,n(0,D)}))}]}class Ck extends Ly{constructor(e){super(),Py(this,e,kk,Ek,wv,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},xk,[-1,-1])}get focus(){return this.$$.ctx[18]}}function Tk(e){Rv(e,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Ok(e){let t;return{c(){t=Bv("div"),t.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',qv(t,"class","container v-8nkw5s")},m(e,n){Iv(e,t,n)},p:hv,i:hv,o:hv,d(e){e&&Nv(t)}}}class Mk extends Ly{constructor(e){super(),Py(this,e,null,Ok,wv,{},Tk)}}var Ak="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2422_111980)'%3e %3cpath d='M7.5364 6.2636C7.18492 5.91213 6.61508 5.91213 6.2636 6.2636C5.91213 6.61508 5.91213 7.18492 6.2636 7.5364L10.7272 12L6.2636 16.4636C5.91213 16.8151 5.91213 17.3849 6.2636 17.7364C6.61508 18.0879 7.18492 18.0879 7.5364 17.7364L12 13.2728L16.4636 17.7364C16.8151 18.0879 17.3849 18.0879 17.7364 17.7364C18.0879 17.3849 18.0879 16.8151 17.7364 16.4636L13.2728 12L17.7364 7.5364C18.0879 7.18492 18.0879 6.61508 17.7364 6.2636C17.3849 5.91213 16.8151 5.91213 16.4636 6.2636L12 10.7272L7.5364 6.2636Z' fill='white'/%3e %3cpath d='M7.71317 6.08683C7.26407 5.63772 6.53593 5.63772 6.08683 6.08683C5.63772 6.53593 5.63772 7.26407 6.08683 7.71317L10.3737 12L6.08683 16.2868C5.63773 16.7359 5.63773 17.4641 6.08683 17.9132C6.53593 18.3623 7.26407 18.3623 7.71317 17.9132L12 13.6263L16.2868 17.9132C16.7359 18.3623 17.4641 18.3623 17.9132 17.9132C18.3623 17.4641 18.3623 16.7359 17.9132 16.2868L13.6263 12L17.9132 7.71317C18.3623 7.26407 18.3623 6.53593 17.9132 6.08683C17.4641 5.63772 16.7359 5.63772 16.2868 6.08683L12 10.3737L7.71317 6.08683Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2422_111980' x='0.5' y='0.5' width='23' height='23' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2422_111980'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2422_111980' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e";function Pk(e){Rv(e,"v-13jybw1",".modal-overlay.v-13jybw1{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-13jybw1{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--videplayer-mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-13jybw1{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--videoplayer-white-white-alpha-24)}.modal-title.v-13jybw1{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-header-close.v-13jybw1{width:24px;height:24px;cursor:pointer}.modal-scroll.v-13jybw1{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-13jybw1::-webkit-scrollbar{width:8px}.modal-scroll.v-13jybw1::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-13jybw1::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-13jybw1::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-13jybw1{margin:-8px -4px 0 0}")}function Lk(e){let t,n,r,i,o=e[2]&&Dk(e);return{c(){t=Bv("div"),n=Bv("h3"),r=Hv(e[3]),i=zv(),o&&o.c(),qv(n,"class","modal-title v-13jybw1"),qv(t,"class","modal-header v-13jybw1")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(n,r),Dv(t,i),o&&o.m(t,null)},p(e,n){8&n&&Wv(r,e[3]),e[2]?o?o.p(e,n):(o=Dk(e),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(e){e&&Nv(t),o&&o.d()}}}function Dk(e){let t,n,r,i,o;return{c(){t=Bv("div"),n=Bv("img"),Sv(n.src,r=Ak)||qv(n,"src",r),qv(n,"class","icon"),qv(n,"alt",""),qv(t,"class","modal-header-close v-13jybw1"),qv(t,"role","button"),qv(t,"tabindex","0")},m(r,a){Iv(r,t,a),Dv(t,n),i||(o=Uv(t,"click",Gv((function(){bv(e[0])&&e[0].apply(this,arguments)}))),i=!0)},p(t,n){e=t},d(e){e&&Nv(t),i=!1,o()}}}function Rk(e){let t,n,r,i,o,a,s=e[1]&&Lk(e);const l=e[5].default,c=Cv(l,e,e[4],null);return{c(){t=Bv("div"),n=Bv("div"),s&&s.c(),r=zv(),i=Bv("div"),o=Bv("div"),c&&c.c(),qv(o,"class","modal-main v-13jybw1"),qv(i,"class","modal-scroll v-13jybw1"),qv(n,"class","modal-container v-13jybw1"),qv(t,"class","modal-overlay v-13jybw1")},m(e,l){Iv(e,t,l),Dv(t,n),s&&s.m(n,null),Dv(n,r),Dv(n,i),Dv(i,o),c&&c.m(o,null),a=!0},p(e,[t]){e[1]?s?s.p(e,t):(s=Lk(e),s.c(),s.m(n,r)):s&&(s.d(1),s=null),c&&c.p&&(!a||16&t)&&Mv(c,l,e,e[4],a?Ov(l,e[4],t,null):Av(e[4]),null)},i(e){a||(Sy(c,e),a=!0)},o(e){xy(c,e),a=!1},d(e){e&&Nv(t),s&&s.d(),c&&c.d(e)}}}function Ik(e,t,n){let{$$slots:r={},$$scope:i}=t,{onClose:o}=t,{showHeader:a=!0}=t,{showCloseCross:s=!0}=t,{title:l}=t;return e.$$set=e=>{"onClose"in e&&n(0,o=e.onClose),"showHeader"in e&&n(1,a=e.showHeader),"showCloseCross"in e&&n(2,s=e.showCloseCross),"title"in e&&n(3,l=e.title),"$$scope"in e&&n(4,i=e.$$scope)},[o,a,s,l,i,r]}class Nk extends Ly{constructor(e){super(),Py(this,e,Ik,Rk,wv,{onClose:0,showHeader:1,showCloseCross:2,title:3},Pk)}}const jk=new Set(["BR"]),Bk=e=>{var t;const n=document.createElement("DIV");n.innerHTML=e;const r=n.querySelectorAll("*");let i=r.length;for(;i--;){const e=r[i],n=e.tagName;jk.has(n)||null===(t=e.parentElement)||void 0===t||t.removeChild(e)}return n.innerHTML};function Fk(e){Rv(e,"v-hc3syi",".hot-key-map.v-hc3syi{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-hc3syi{border-bottom:1px solid var(--videoplayer-white-white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-hc3syi:last-child{border-bottom:none}.hot-key-map-group-title.v-hc3syi{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-hc3syi,.hot-key-map-item.v-hc3syi{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-hc3syi{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-hc3syi{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-hc3syi{color:var(--videoplayer-white-white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-hc3syi{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-hc3syi,.hot-key-map-item-value.v-hc3syi{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Hk(e,t,n){const r=e.slice();return r[5]=t[n].title,r[6]=t[n].items,r}function zk(e,t,n){const r=e.slice();return r[9]=t[n].description,r[10]=t[n].value,r}function Vk(e){let t,n,r,i,o,a,s=Bk(e[9])+"",l=e[10]+"";return{c(){t=Bv("li"),n=Bv("span"),r=zv(),i=Bv("span"),o=Hv(l),a=zv(),qv(n,"class","hot-key-map-item-description v-hc3syi"),qv(i,"class","hot-key-map-item-value v-hc3syi"),qv(t,"class","hot-key-map-item v-hc3syi")},m(e,l){Iv(e,t,l),Dv(t,n),n.innerHTML=s,Dv(t,r),Dv(t,i),Dv(i,o),Dv(t,a)},p(e,t){1&t&&s!==(s=Bk(e[9])+"")&&(n.innerHTML=s),1&t&&l!==(l=e[10]+"")&&Wv(o,l)},d(e){e&&Nv(t)}}}function Uk(e){let t,n,r,i,o,a,s=e[5]+"",l=Ey(e[6]),c=[];for(let t=0;t<l.length;t+=1)c[t]=Vk(zk(e,l,t));return{c(){t=Bv("div"),n=Bv("h5"),r=Hv(s),i=zv(),o=Bv("ul");for(let e=0;e<c.length;e+=1)c[e].c();a=zv(),qv(n,"class","hot-key-map-group-title v-hc3syi"),qv(o,"class","hot-key-map-group-items v-hc3syi"),qv(t,"class","hot-key-map-group v-hc3syi")},m(e,s){Iv(e,t,s),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(o,null);Dv(t,a)},p(e,t){if(1&t&&s!==(s=e[5]+"")&&Wv(r,s),1&t){let n;for(l=Ey(e[6]),n=0;n<l.length;n+=1){const r=zk(e,l,n);c[n]?c[n].p(r,t):(c[n]=Vk(r),c[n].c(),c[n].m(o,null))}for(;n<c.length;n+=1)c[n].d(1);c.length=l.length}},d(e){e&&Nv(t),jv(c,e)}}}function $k(e){let t,n=Ey(e[0].groups),r=[];for(let t=0;t<n.length;t+=1)r[t]=Uk(Hk(e,n,t));return{c(){t=Bv("div");for(let e=0;e<r.length;e+=1)r[e].c();qv(t,"class","hot-key-map v-hc3syi")},m(e,n){Iv(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(1&i){let o;for(n=Ey(e[0].groups),o=0;o<n.length;o+=1){const a=Hk(e,n,o);r[o]?r[o].p(a,i):(r[o]=Uk(a),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&Nv(t),jv(r,e)}}}function Gk(e){let t,n;return t=new Nk({props:{title:e[0].title,onClose:e[2],$$slots:{default:[$k]},$$scope:{ctx:e}}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,[n]){const r={};1&n&&(r.title=e[0].title),8193&n&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function qk(e,t,n){let r;const i=Xy(),{data:o,show:a}=i.ui.modals.hotKeyMap;return kv(e,o,(e=>n(0,r=e))),[r,o,()=>{a.set(!1)}]}class Wk extends Ly{constructor(e){super(),Py(this,e,qk,Gk,wv,{},Fk)}}var Zk="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.25 2.833c.222.74.378 1.479 1.574 2.19a.574.574 0 0 0 .12.05c1.355.35 2.028-.021 2.654-.439.663-.442.86-.314 1.124-.053l.644.643c.294.294.412.412 0 1.178-.366.68-.779 1.313-.435 2.662a.469.469 0 0 0 .05.12c.71 1.206 1.448 1.418 2.186 1.566.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.74.222-1.479.378-2.19 1.574a.469.469 0 0 0-.05.12c-.35 1.355.021 2.028.439 2.654.442.663.314.86.053 1.124l-.643.644c-.294.294-.412.412-1.178 0-.68-.366-1.313-.779-2.662-.435a.464.464 0 0 0-.12.05c-1.206.71-1.418 1.448-1.566 2.186-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.222-.74-.378-1.479-1.574-2.19a.468.468 0 0 0-.12-.05c-1.355-.35-2.028.021-2.654.439-.663.442-.86.314-1.124.053l-.644-.643c-.294-.294-.412-.412 0-1.178.366-.68.779-1.313.435-2.662a.466.466 0 0 0-.05-.12c-.71-1.206-1.448-1.418-2.186-1.566-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.74-.222 1.479-.378 2.19-1.574a.467.467 0 0 0 .05-.12c.35-1.355-.021-2.028-.439-2.654-.442-.663-.314-.86-.053-1.124l.643-.644c.294-.294.412-.412 1.178 0 .68.366 1.313.779 2.662.435a.467.467 0 0 0 .12-.05c1.206-.71 1.418-1.448 1.566-2.186.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833zM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5z' fill='white'/%3e%3c/svg%3e",Yk="data:image/svg+xml,%3csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath d='M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z' fill='white' fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e",Kk="data:image/svg+xml,%3csvg width='22' height='18' viewBox='0 0 22 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M14.6924 0.428467C16.9849 0.428467 17.8162 0.667161 18.6543 1.11538C19.4924 1.5636 20.1502 2.22134 20.5984 3.05943C21.0466 3.89753 21.2853 4.72884 21.2853 7.02131V10.9785C21.2853 13.271 21.0466 14.1023 20.5984 14.9404C20.1502 15.7784 19.4924 16.4362 18.6543 16.8844C17.8162 17.3326 16.9849 17.5713 14.6924 17.5713H7.30671C5.01424 17.5713 4.18293 17.3326 3.34484 16.8844C2.50674 16.4362 1.849 15.7784 1.40078 14.9404C0.952562 14.1023 0.713867 13.271 0.713867 10.9785V7.02131C0.713867 4.72884 0.952562 3.89753 1.40078 3.05943C1.849 2.22134 2.50674 1.5636 3.34484 1.11538C4.18293 0.667161 5.01424 0.428467 7.30671 0.428467H14.6924ZM14.935 2.14354L7.30671 2.14275C5.47541 2.14275 4.82346 2.26865 4.15329 2.62706C3.61394 2.91551 3.20091 3.32854 2.91246 3.86789C2.57034 4.50759 2.44008 5.1307 2.42894 6.77879L2.42815 10.9785C2.42815 12.8098 2.55405 13.4617 2.91246 14.1319C3.20091 14.6712 3.61394 15.0843 4.15329 15.3727C4.82346 15.7311 5.47541 15.857 7.30671 15.857H14.6924C16.5238 15.857 17.1757 15.7311 17.8459 15.3727C18.3852 15.0843 18.7983 14.6712 19.0867 14.1319C19.4451 13.4617 19.571 12.8098 19.571 10.9785V7.02131C19.571 5.19001 19.4451 4.53806 19.0867 3.86789C18.7983 3.32854 18.3852 2.91551 17.8459 2.62706C17.2062 2.28494 16.5831 2.15468 14.935 2.14354ZM10.9996 10.7142C11.473 10.7142 11.8567 11.0979 11.8567 11.5713C11.8567 12.0447 11.473 12.4285 10.9996 12.4285H5.85672C5.38334 12.4285 4.99958 12.0447 4.99958 11.5713C4.99958 11.0979 5.38334 10.7142 5.85672 10.7142H10.9996ZM16.1424 10.7142C16.6158 10.7142 16.9996 11.0979 16.9996 11.5713C16.9996 12.0447 16.6158 12.4285 16.1424 12.4285H14.4282C13.9548 12.4285 13.571 12.0447 13.571 11.5713C13.571 11.0979 13.9548 10.7142 14.4282 10.7142H16.1424ZM16.1424 7.28561C16.6158 7.28561 16.9996 7.66937 16.9996 8.14275C16.9996 8.61614 16.6158 8.99989 16.1424 8.99989H10.9996C10.5262 8.99989 10.1424 8.61614 10.1424 8.14275C10.1424 7.66937 10.5262 7.28561 10.9996 7.28561H16.1424ZM7.57101 7.28561C8.0444 7.28561 8.42815 7.66937 8.42815 8.14275C8.42815 8.61614 8.0444 8.99989 7.57101 8.99989H5.85672C5.38334 8.99989 4.99958 8.61614 4.99958 8.14275C4.99958 7.66937 5.38334 7.28561 5.85672 7.28561H7.57101Z' fill='white' /%3e%3c/svg%3e",Qk="data:image/svg+xml,%3csvg width='18' height='17' viewBox='0 0 18 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.0996094 6.5001C0.0996094 4.25989 0.0996102 3.13978 0.535583 2.28414C0.919077 1.53149 1.531 0.919565 2.28365 0.536071C3.1393 0.100098 4.2594 0.100098 6.49961 0.100098H11.4996C13.7398 0.100098 14.8599 0.100098 15.7156 0.536071C16.4682 0.919565 17.0801 1.53149 17.4636 2.28414C17.8996 3.13978 17.8996 4.25989 17.8996 6.5001C17.8996 8.74031 17.8996 9.86041 17.4636 10.7161C17.0801 11.4687 16.4682 12.0806 15.7156 12.4641C14.8796 12.8901 13.7912 12.8999 11.6523 12.9001L12.2023 15.1001H14.0996C14.5967 15.1001 14.9996 15.5031 14.9996 16.0001C14.9996 16.4972 14.5967 16.9001 14.0996 16.9001H3.8996C3.40255 16.9001 2.9996 16.4972 2.9996 16.0001C2.9996 15.5031 3.40255 15.1001 3.8996 15.1001H5.7969L6.34691 12.9001C4.20805 12.8999 3.11963 12.8901 2.28365 12.4641C1.531 12.0806 0.919077 11.4687 0.535583 10.7161C0.0996102 9.86041 0.0996094 8.74031 0.0996094 6.5001ZM11.4996 1.9001H6.49961C5.3498 1.9001 4.5957 1.9015 4.019 1.94862C3.4633 1.99402 3.23261 2.07274 3.10083 2.13988C2.68687 2.3508 2.35032 2.68736 2.13939 3.10132C2.07225 3.2331 1.99353 3.46379 1.94813 4.01948C1.90101 4.59619 1.89961 5.35029 1.89961 6.5001C1.89961 7.6499 1.90101 8.404 1.94813 8.98071C1.99353 9.53641 2.07225 9.76709 2.13939 9.89888C2.35032 10.3128 2.68687 10.6494 3.10083 10.8603C3.23261 10.9275 3.4633 11.0062 4.019 11.0516C4.5957 11.0987 5.3498 11.1001 6.49961 11.1001H11.4996C12.6494 11.1001 13.4035 11.0987 13.9802 11.0516C14.5359 11.0062 14.7666 10.9275 14.8984 10.8603C15.3123 10.6494 15.6489 10.3128 15.8598 9.89888C15.927 9.76709 16.0057 9.53641 16.0511 8.98071C16.0982 8.404 16.0996 7.6499 16.0996 6.5001C16.0996 5.35029 16.0982 4.59619 16.0511 4.01948C16.0057 3.46379 15.927 3.2331 15.8598 3.10132C15.6489 2.68736 15.3123 2.3508 14.8984 2.13988C14.7666 2.07274 14.5359 1.99402 13.9802 1.94862C13.4035 1.9015 12.6494 1.9001 11.4996 1.9001ZM8.20231 12.9001L7.6523 15.1001H10.3469L9.79691 12.9001H8.20231Z' fill='white'/%3e%3c/svg%3e",Xk="data:image/svg+xml,%3csvg width='16' height='19' viewBox='0 0 16 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0C8.49706 0 8.9 0.402943 8.9 0.9V11.8272L13.4636 7.26361C13.8151 6.91214 14.3849 6.91214 14.7364 7.26361C15.0879 7.61508 15.0879 8.18493 14.7364 8.5364L8.6364 14.6364C8.28492 14.9879 7.71508 14.9879 7.3636 14.6364L1.26361 8.5364C0.912138 8.18493 0.912138 7.61508 1.26361 7.26361C1.61508 6.91214 2.18493 6.91214 2.5364 7.26361L7.1 11.8272V0.9C7.1 0.402943 7.50294 0 8 0ZM0 18C0 17.5029 0.402944 17.1 0.9 17.1H15.1C15.5971 17.1 16 17.5029 16 18C16 18.4971 15.5971 18.9 15.1 18.9H0.9C0.402944 18.9 0 18.4971 0 18Z' fill='white'/%3e%3c/svg%3e",Jk="data:image/svg+xml,%3csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z' fill='white'/%3e%3c/svg%3e",eC="data:image/svg+xml,%3csvg width='12' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z' fill='white'/%3e%3c/svg%3e",tC="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z' fill='white'/%3e%3c/svg%3e",nC="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4H16.812a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093.284-.022.655-.023 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093-.284.022-.655.023-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z' fill='white'/%3e%3c/svg%3e",rC="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z' fill='white'/%3e%3c/svg%3e";function iC(e){Rv(e,"v-1u52uuh","ul.v-1u52uuh.v-1u52uuh{margin:0;padding:0}.menu.v-1u52uuh.v-1u52uuh{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-1u52uuh.v-1u52uuh{width:100%}.menu-desktop.v-1u52uuh.v-1u52uuh{position:absolute;right:0;bottom:0}.menu-mobile.v-1u52uuh.v-1u52uuh{width:100%;background:var(--videplayer-mobile-settings-bg);font-size:15px;line-height:50px}.hidden.v-1u52uuh.v-1u52uuh{visibility:hidden;opacity:0}.menu-mobile.hidden.v-1u52uuh.v-1u52uuh{display:none}.menu-subList.v-1u52uuh.v-1u52uuh{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-1u52uuh.v-1u52uuh{min-width:164px}.menu-subList-traffic-saving.v-1u52uuh.v-1u52uuh{min-width:286px}.item.v-1u52uuh.v-1u52uuh{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-1u52uuh.v-1u52uuh{padding:0 14px}.item-quality.item-mobile.v-1u52uuh.v-1u52uuh,.item-traffic-saving.item-mobile.v-1u52uuh.v-1u52uuh,.item-helper-text.item-mobile.v-1u52uuh.v-1u52uuh{flex-direction:row-reverse}.item-helper-text.v-1u52uuh.v-1u52uuh{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-1u52uuh span.v-1u52uuh{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-1u52uuh.v-1u52uuh{padding:7px 14px}.item-helper-text.item-mobile.v-1u52uuh span.v-1u52uuh{text-align:start}.quality-title-mobile.v-1u52uuh.v-1u52uuh{flex-grow:1}.item.v-1u52uuh.v-1u52uuh:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-1u52uuh.v-1u52uuh:hover{background:var(--videplayer-mobile-settings-bg)}.menu-subList.v-1u52uuh .item.v-1u52uuh{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-1u52uuh .item.v-1u52uuh:last-child{margin-bottom:4px}.menu-icon-wrapper.v-1u52uuh.v-1u52uuh{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.chromecast-item{padding-right:16px}.menu-title.v-1u52uuh.v-1u52uuh{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-1u52uuh.v-1u52uuh{position:relative;opacity:0.7}.menu-valueIcon.v-1u52uuh.v-1u52uuh{position:absolute;top:10px;margin-left:4px;width:15px}.menu-valueIcon-list.v-1u52uuh.v-1u52uuh{position:absolute;top:12px;width:15px;right:6px}.menu-divider.v-1u52uuh.v-1u52uuh{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-1u52uuh.v-1u52uuh{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.menu-header-back-icon.v-1u52uuh.v-1u52uuh{width:16px;height:24px}.menu-header.v-1u52uuh:hover .menu-header-back-icon.v-1u52uuh{opacity:0.8;transition:opacity 0.2s}.itemIcon.v-1u52uuh.v-1u52uuh{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-1u52uuh.v-1u52uuh::-webkit-scrollbar{width:8px}.items.v-1u52uuh.v-1u52uuh::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-1u52uuh.v-1u52uuh::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-1u52uuh.v-1u52uuh::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-1u52uuh.v-1u52uuh{overflow-y:auto;max-height:160px;text-align:left}.close.v-1u52uuh.v-1u52uuh{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-1u52uuh.v-1u52uuh:before,.close.v-1u52uuh.v-1u52uuh:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-1u52uuh.v-1u52uuh:before{transform:rotate(45deg)}.close.v-1u52uuh.v-1u52uuh:after{transform:rotate(-45deg)}")}function oC(e,t,n){const r=e.slice();return r[84]=t[n],r}function aC(e,t,n){const r=e.slice();return r[87]=t[n],r}function sC(e,t,n){const r=e.slice();return r[90]=t[n],r}function lC(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("div"),n=Bv("div"),n.textContent=`${gx("submenu_settings")}`,r=zv(),i=Bv("div"),o=zv(),a=Bv("div"),qv(i,"class","close v-1u52uuh"),qv(t,"class","item menu-header v-1u52uuh"),Xv(t,"item-mobile",e[4]),qv(a,"class","menu-divider v-1u52uuh")},m(c,u){Iv(c,t,u),Dv(t,n),Dv(t,r),Dv(t,i),Iv(c,o,u),Iv(c,a,u),s||(l=Uv(i,"click",Gv(e[44])),s=!0)},p(e,n){16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&(Nv(t),Nv(o),Nv(a)),s=!1,l()}}}function cC(e){let t,n,r,i,o,a,s,l,c,u,d,p,f=e[12]&&!e[4]&&uC(e);return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("menu_quality")}`,s=zv(),l=Bv("div"),c=Hv(e[13]),u=zv(),f&&f.c(),qv(r,"class","menu-icon"),Sv(r.src,i=Zk)||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(l,"class","menu-value v-1u52uuh"),qv(t,"class","item v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(i,h){Iv(i,t,h),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),Dv(t,s),Dv(t,l),Dv(l,c),Dv(l,u),f&&f.m(l,null),d||(p=Uv(t,"click",Gv(e[45])),d=!0)},p(e,n){8192&n[0]&&Wv(c,e[13]),e[12]&&!e[4]?f?f.p(e,n):(f=uC(e),f.c(),f.m(l,null)):f&&(f.d(1),f=null),16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),f&&f.d(),d=!1,p()}}}function uC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","menu-valueIcon v-1u52uuh"),Sv(t.src,n=e[12])||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p(e,r){4096&r[0]&&!Sv(t.src,n=e[12])&&qv(t,"src",n)},d(e){e&&Nv(t)}}}function dC(e){let t,n,r,i,o,a,s,l,c,u,d,p;return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("menu_playback_rate")}`,s=zv(),l=Bv("div"),c=Hv(e[22]),u=Hv("x"),qv(r,"class","menu-icon"),Sv(r.src,i=Yk)||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(l,"class","menu-value v-1u52uuh"),qv(t,"class","item v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(i,f){Iv(i,t,f),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),Dv(t,s),Dv(t,l),Dv(l,c),Dv(l,u),d||(p=Uv(t,"click",Gv(e[49])),d=!0)},p(e,n){4194304&n[0]&&Wv(c,e[22]),16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),d=!1,p()}}}function pC(e){let t,n,r,i,o,a,s,l,c,u,d,p=e[23].displayValue+"";return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("subtitles_caption")}`,s=zv(),l=Bv("div"),c=Hv(p),qv(r,"class","menu-icon"),Sv(r.src,i=Kk)||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(l,"class","menu-value v-1u52uuh"),qv(t,"class","item v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(i,p){Iv(i,t,p),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),Dv(t,s),Dv(t,l),Dv(l,c),u||(d=Uv(t,"click",Gv(e[51])),u=!0)},p(e,n){8388608&n[0]&&p!==(p=e[23].displayValue+"")&&Wv(c,p),16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),u=!1,d()}}}function fC(e){let t,n,r,i,o,a,s,l,c,u,d,p=(e[24]?gx("traffic_saving_on"):gx("traffic_saving_off"))+"";return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("menu_traffic_saving")}`,s=zv(),l=Bv("div"),c=Hv(p),qv(r,"class","menu-icon"),Sv(r.src,i=Qk)||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(l,"class","menu-value v-1u52uuh"),qv(t,"class","item v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(i,p){Iv(i,t,p),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),Dv(t,s),Dv(t,l),Dv(l,c),u||(d=Uv(t,"click",Gv(e[46])),u=!0)},p(e,n){16777216&n[0]&&p!==(p=(e[24]?gx("traffic_saving_on"):gx("traffic_saving_off"))+"")&&Wv(c,p),16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),u=!1,d()}}}function hC(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("download_video_caption")}`,qv(r,"class","menu-icon"),Sv(r.src,i=Xk)||qv(r,"src",i),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(t,"class","item v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(i,c){Iv(i,t,c),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),s||(l=Uv(t,"click",Gv(e[54])),s=!0)},p(e,n){16&n[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),s=!1,l()}}}function mC(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v=e[26].showSupport&&function(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("li"),n=Bv("div"),r=Bv("img"),o=zv(),a=Bv("div"),a.textContent=`${gx("menu_report")}`,qv(r,"class","menu-icon"),Sv(r.src,i=tC)||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","menu-icon-wrapper v-1u52uuh"),qv(a,"class","menu-title v-1u52uuh"),qv(t,"class","item item-mobile v-1u52uuh"),qv(t,"role","menuitemradio"),qv(t,"tabindex","0")},m(i,c){Iv(i,t,c),Dv(t,n),Dv(n,r),Dv(t,o),Dv(t,a),s||(l=Uv(t,"click",Gv(e[55])),s=!0)},p:hv,d(e){e&&Nv(t),s=!1,l()}}}(e);return{c(){v&&v.c(),t=zv(),n=Bv("li"),r=Bv("div"),i=Bv("img"),a=zv(),s=Bv("div"),s.textContent=`${gx("menu_copy_debug")}`,l=zv(),c=Bv("li"),u=Bv("div"),d=Bv("img"),f=zv(),h=Bv("div"),h.textContent=`${gx("menu_debug_overlay")}`,qv(i,"class","menu-icon"),Sv(i.src,o=nC)||qv(i,"src",o),qv(i,"alt",""),qv(r,"class","menu-icon-wrapper v-1u52uuh"),qv(s,"class","menu-title v-1u52uuh"),qv(n,"class","item item-mobile v-1u52uuh"),qv(n,"role","menuitemradio"),qv(n,"tabindex","0"),qv(d,"class","menu-icon"),Sv(d.src,p=rC)||qv(d,"src",p),qv(d,"alt",""),qv(u,"class","menu-icon-wrapper v-1u52uuh"),qv(h,"class","menu-title v-1u52uuh"),qv(c,"class","item item-mobile v-1u52uuh"),qv(c,"role","menuitemradio"),qv(c,"tabindex","0")},m(o,p){v&&v.m(o,p),Iv(o,t,p),Iv(o,n,p),Dv(n,r),Dv(r,i),Dv(n,a),Dv(n,s),Iv(o,l,p),Iv(o,c,p),Dv(c,u),Dv(u,d),Dv(c,f),Dv(c,h),m||(g=[Uv(n,"click",Gv(e[56])),Uv(c,"click",Gv(e[57]))],m=!0)},p(e,t){e[26].showSupport&&v.p(e,t)},d(e){e&&(Nv(t),Nv(n),Nv(l),Nv(c)),v&&v.d(e),m=!1,yv(g)}}}function gC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","itemIcon v-1u52uuh"),Sv(t.src,n=Jk)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function vC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","menu-valueIcon-list v-1u52uuh"),Sv(t.src,n=e[58](e[90].value))||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p(e,r){32&r[0]&&!Sv(t.src,n=e[58](e[90].value))&&qv(t,"src",n)},d(e){e&&Nv(t)}}}function yC(e){let t,n,r,i,o,a,s,l,c,u=e[90].displayValue+"",d=!e[4]&&e[58](e[90].value),p=e[90].selected&&gC(),f=d&&vC(e);function h(){return e[72](e[90])}return{c(){t=Bv("li"),p&&p.c(),n=zv(),r=Bv("div"),i=Hv(u),o=zv(),f&&f.c(),a=zv(),qv(r,"class","v-1u52uuh"),Xv(r,"quality-title-mobile",e[4]),qv(t,"class","item item-quality v-1u52uuh"),qv(t,"data-value",s=e[90].value),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(e,s){Iv(e,t,s),p&&p.m(t,null),Dv(t,n),Dv(t,r),Dv(r,i),Dv(t,o),f&&f.m(t,null),Dv(t,a),l||(c=Uv(t,"click",Gv(h)),l=!0)},p(o,l){(e=o)[90].selected?p?p.p(e,l):(p=gC(),p.c(),p.m(t,n)):p&&(p.d(1),p=null),32&l[0]&&u!==(u=e[90].displayValue+"")&&Wv(i,u),16&l[0]&&Xv(r,"quality-title-mobile",e[4]),48&l[0]&&(d=!e[4]&&e[58](e[90].value)),d?f?f.p(e,l):(f=vC(e),f.c(),f.m(t,a)):f&&(f.d(1),f=null),32&l[0]&&s!==(s=e[90].value)&&qv(t,"data-value",s),16&l[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),p&&p.d(),f&&f.d(),l=!1,c()}}}function bC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","itemIcon v-1u52uuh"),Sv(t.src,n=Jk)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function wC(e){let t,n,r,i,o,a,s,l,c=e[87].displayValue+"",u=e[87].selected&&bC();function d(){return e[74](e[87])}return{c(){t=Bv("li"),u&&u.c(),n=zv(),r=Bv("div"),i=Hv(c),o=zv(),qv(r,"class","v-1u52uuh"),Xv(r,"quality-title-mobile",e[4]),qv(t,"class","item item-quality v-1u52uuh"),qv(t,"data-value",a=e[87].value),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(e,a){Iv(e,t,a),u&&u.m(t,null),Dv(t,n),Dv(t,r),Dv(r,i),Dv(t,o),s||(l=Uv(t,"click",Gv(d)),s=!0)},p(o,s){(e=o)[87].selected?u?u.p(e,s):(u=bC(),u.c(),u.m(t,n)):u&&(u.d(1),u=null),33554432&s[0]&&c!==(c=e[87].displayValue+"")&&Wv(i,c),16&s[0]&&Xv(r,"quality-title-mobile",e[4]),33554432&s[0]&&a!==(a=e[87].value)&&qv(t,"data-value",a),16&s[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),u&&u.d(),s=!1,l()}}}function _C(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","itemIcon v-1u52uuh"),Sv(t.src,n=Jk)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function SC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","itemIcon v-1u52uuh"),Sv(t.src,n=Jk)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function xC(e){let t,n;return{c(){t=Bv("img"),qv(t,"class","itemIcon v-1u52uuh"),Sv(t.src,n=Jk)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function EC(e){let t,n,r,i,o,a,s,l,c=e[84].displayValue+"",u=e[84].selected&&xC();function d(){return e[78](e[84])}return{c(){t=Bv("li"),u&&u.c(),n=zv(),r=Bv("div"),i=Hv(c),o=zv(),qv(r,"class","v-1u52uuh"),Xv(r,"quality-title-mobile",e[4]),qv(t,"class","item item-quality v-1u52uuh"),qv(t,"data-value",a=e[84].value),qv(t,"role","menuitemradio"),qv(t,"tabindex","0"),Xv(t,"item-mobile",e[4])},m(e,a){Iv(e,t,a),u&&u.m(t,null),Dv(t,n),Dv(t,r),Dv(r,i),Dv(t,o),s||(l=Uv(t,"click",Gv(d)),s=!0)},p(o,s){(e=o)[84].selected?u?u.p(e,s):(u=xC(),u.c(),u.m(t,n)):u&&(u.d(1),u=null),8&s[0]&&c!==(c=e[84].displayValue+"")&&Wv(i,c),16&s[0]&&Xv(r,"quality-title-mobile",e[4]),8&s[0]&&a!==(a=e[84].value)&&qv(t,"data-value",a),16&s[0]&&Xv(t,"item-mobile",e[4])},d(e){e&&Nv(t),u&&u.d(),s=!1,l()}}}function kC(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C,T,O,M,A,P,L,D,R,I,N,j,B,F,H,z,V,U,$,G,q,W,Z,Y,K,Q,X,J,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,pe=e[4]&&lC(e),fe=e[21]&&cC(e),he=e[20]&&dC(e),me=e[19]&&pC(e),ge=e[18]&&fC(e),ve=e[17]&&hC(e),ye=e[4]&&mC(e),be=Ey(e[5]),we=[];for(let t=0;t<be.length;t+=1)we[t]=yC(sC(e,be,t));let _e=Ey(e[25]),Se=[];for(let t=0;t<_e.length;t+=1)Se[t]=wC(aC(e,_e,t));let xe=!e[24]&&_C(),Ee=e[24]&&SC(),ke=Ey(e[3]),Ce=[];for(let t=0;t<ke.length;t+=1)Ce[t]=EC(oC(e,ke,t));return{c(){t=Bv("div"),n=Bv("div"),pe&&pe.c(),r=zv(),i=Bv("ul"),fe&&fe.c(),o=zv(),he&&he.c(),a=zv(),me&&me.c(),s=zv(),ge&&ge.c(),l=zv(),ve&&ve.c(),c=zv(),ye&&ye.c(),u=zv(),d=Bv("div"),p=Bv("div"),f=Bv("img"),m=zv(),g=Bv("div"),g.textContent=`${gx("submenu_quality")}`,v=zv(),y=Bv("div"),b=zv(),w=Bv("ul");for(let e=0;e<we.length;e+=1)we[e].c();_=zv(),S=Bv("div"),x=Bv("div"),E=Bv("img"),C=zv(),T=Bv("div"),T.textContent=`${gx("submenu_playback_rate")}`,O=zv(),M=Bv("div"),A=zv(),P=Bv("ul");for(let e=0;e<Se.length;e+=1)Se[e].c();L=zv(),D=Bv("div"),R=Bv("div"),I=Bv("img"),j=zv(),B=Bv("div"),B.textContent=`${gx("submenu_traffic_saving")}`,F=zv(),H=Bv("div"),z=zv(),V=Bv("ul"),U=Bv("li"),xe&&xe.c(),$=zv(),G=Bv("div"),G.textContent=`${gx("traffic_saving_disable")}`,q=zv(),W=Bv("li"),Ee&&Ee.c(),Z=zv(),Y=Bv("div"),Y.textContent=`${gx("traffic_saving_enable")}`,K=zv(),Q=Bv("div"),X=zv(),J=Bv("div"),ee=Bv("span"),ee.textContent=`${gx("traffic_saving_helper_text")}`,te=zv(),ne=Bv("div"),re=Bv("div"),ie=Bv("img"),ae=zv(),se=Bv("div"),se.textContent=`${gx("subtitles_caption")}`,le=zv(),ce=Bv("ul");for(let e=0;e<Ce.length;e+=1)Ce[e].c();qv(i,"class","items v-1u52uuh"),Xv(i,"items-mobile",e[4]),qv(n,"class","menu v-1u52uuh"),qv(n,"role","menu"),Xv(n,"menu-desktop",!e[4]),Xv(n,"menu-mobile",e[4]),Xv(n,"hidden",!e[7]),Sv(f.src,h=eC)||qv(f,"src",h),qv(f,"class","menu-header-back-icon v-1u52uuh"),qv(f,"alt",""),qv(p,"class","item menu-header v-1u52uuh"),Xv(p,"item-mobile",e[4]),qv(y,"class","menu-divider v-1u52uuh"),qv(w,"class","items v-1u52uuh"),qv(w,"style",e[14]),Xv(w,"items-mobile",e[4]),qv(d,"class","menu menu-subList v-1u52uuh"),Xv(d,"menu-desktop",!e[4]),Xv(d,"menu-mobile",e[4]),Xv(d,"hidden",!e[8]),Sv(E.src,k=eC)||qv(E,"src",k),qv(E,"class","menu-header-back-icon v-1u52uuh"),qv(E,"alt",""),qv(x,"class","item menu-header v-1u52uuh"),Xv(x,"item-mobile",e[4]),qv(M,"class","menu-divider v-1u52uuh"),qv(P,"class","items v-1u52uuh"),qv(P,"style",e[15]),Xv(P,"items-mobile",e[4]),qv(S,"class","menu menu-subList v-1u52uuh"),Xv(S,"menu-desktop",!e[4]),Xv(S,"menu-mobile",e[4]),Xv(S,"hidden",!e[9]),Sv(I.src,N=eC)||qv(I,"src",N),qv(I,"class","menu-header-back-icon v-1u52uuh"),qv(I,"alt",""),qv(R,"class","item menu-header v-1u52uuh"),Xv(R,"item-mobile",e[4]),qv(H,"class","menu-divider v-1u52uuh"),qv(G,"class","v-1u52uuh"),Xv(G,"quality-title-mobile",e[4]),qv(U,"class","item item-traffic-saving v-1u52uuh"),qv(U,"role","menuitemradio"),qv(U,"tabindex","0"),Xv(U,"item-mobile",e[4]),qv(Y,"class","v-1u52uuh"),Xv(Y,"quality-title-mobile",e[4]),qv(W,"class","item item-traffic-saving v-1u52uuh"),qv(W,"role","menuitemradio"),qv(W,"tabindex","0"),Xv(W,"item-mobile",e[4]),qv(V,"class","items v-1u52uuh"),qv(V,"style",e[16]),Xv(V,"items-mobile",e[4]),qv(Q,"class","menu-divider v-1u52uuh"),qv(ee,"class","v-1u52uuh"),qv(J,"class","item item-helper-text v-1u52uuh"),Xv(J,"item-mobile",e[4]),qv(D,"class","menu menu-subList menu-subList-traffic-saving v-1u52uuh"),Xv(D,"menu-desktop",!e[4]),Xv(D,"menu-mobile",e[4]),Xv(D,"hidden",!e[11]),Sv(ie.src,oe=eC)||qv(ie,"src",oe),qv(ie,"class","menu-header-back-icon v-1u52uuh"),qv(ie,"alt",""),qv(re,"class","item menu-header v-1u52uuh"),Xv(re,"item-mobile",e[4]),qv(ce,"class","items v-1u52uuh"),Xv(ce,"items-mobile",e[4]),qv(ne,"class","menu menu-subList menu-subList-subtitles v-1u52uuh"),Xv(ne,"menu-desktop",!e[4]),Xv(ne,"menu-mobile",e[4]),Xv(ne,"hidden",!e[10]),qv(t,"class","v-1u52uuh"),Xv(t,"hidden",!e[6]),Xv(t,"container-mobile",e[4])},m(h,k){Iv(h,t,k),Dv(t,n),pe&&pe.m(n,null),Dv(n,r),Dv(n,i),fe&&fe.m(i,null),Dv(i,o),he&&he.m(i,null),Dv(i,a),me&&me.m(i,null),Dv(i,s),ge&&ge.m(i,null),Dv(i,l),ve&&ve.m(i,null),Dv(i,c),ye&&ye.m(i,null),Dv(t,u),Dv(t,d),Dv(d,p),Dv(p,f),Dv(p,m),Dv(p,g),e[71](p),Dv(d,v),Dv(d,y),Dv(d,b),Dv(d,w);for(let e=0;e<we.length;e+=1)we[e]&&we[e].m(w,null);Dv(t,_),Dv(t,S),Dv(S,x),Dv(x,E),Dv(x,C),Dv(x,T),e[73](x),Dv(S,O),Dv(S,M),Dv(S,A),Dv(S,P);for(let e=0;e<Se.length;e+=1)Se[e]&&Se[e].m(P,null);Dv(t,L),Dv(t,D),Dv(D,R),Dv(R,I),Dv(R,j),Dv(R,B),e[75](R),Dv(D,F),Dv(D,H),Dv(D,z),Dv(D,V),Dv(V,U),xe&&xe.m(U,null),Dv(U,$),Dv(U,G),Dv(V,q),Dv(V,W),Ee&&Ee.m(W,null),Dv(W,Z),Dv(W,Y),Dv(D,K),Dv(D,Q),Dv(D,X),Dv(D,J),Dv(J,ee),Dv(t,te),Dv(t,ne),Dv(ne,re),Dv(re,ie),Dv(re,ae),Dv(re,se),Dv(ne,le),Dv(ne,ce);for(let e=0;e<Ce.length;e+=1)Ce[e]&&Ce[e].m(ce,null);ue||(de=[Uv(p,"click",Gv(e[53])),Uv(x,"click",Gv(e[53])),Uv(R,"click",Gv(e[53])),Uv(U,"click",Gv(e[76])),Uv(W,"click",Gv(e[77])),Uv(re,"click",Gv(e[53]))],ue=!0)},p(e,u){if(e[4]?pe?pe.p(e,u):(pe=lC(e),pe.c(),pe.m(n,r)):pe&&(pe.d(1),pe=null),e[21]?fe?fe.p(e,u):(fe=cC(e),fe.c(),fe.m(i,o)):fe&&(fe.d(1),fe=null),e[20]?he?he.p(e,u):(he=dC(e),he.c(),he.m(i,a)):he&&(he.d(1),he=null),e[19]?me?me.p(e,u):(me=pC(e),me.c(),me.m(i,s)):me&&(me.d(1),me=null),e[18]?ge?ge.p(e,u):(ge=fC(e),ge.c(),ge.m(i,l)):ge&&(ge.d(1),ge=null),e[17]?ve?ve.p(e,u):(ve=hC(e),ve.c(),ve.m(i,c)):ve&&(ve.d(1),ve=null),e[4]?ye?ye.p(e,u):(ye=mC(e),ye.c(),ye.m(i,null)):ye&&(ye.d(1),ye=null),16&u[0]&&Xv(i,"items-mobile",e[4]),16&u[0]&&Xv(n,"menu-desktop",!e[4]),16&u[0]&&Xv(n,"menu-mobile",e[4]),128&u[0]&&Xv(n,"hidden",!e[7]),16&u[0]&&Xv(p,"item-mobile",e[4]),48&u[0]|134283264&u[1]){let t;for(be=Ey(e[5]),t=0;t<be.length;t+=1){const n=sC(e,be,t);we[t]?we[t].p(n,u):(we[t]=yC(n),we[t].c(),we[t].m(w,null))}for(;t<we.length;t+=1)we[t].d(1);we.length=be.length}if(16384&u[0]&&qv(w,"style",e[14]),16&u[0]&&Xv(w,"items-mobile",e[4]),16&u[0]&&Xv(d,"menu-desktop",!e[4]),16&u[0]&&Xv(d,"menu-mobile",e[4]),256&u[0]&&Xv(d,"hidden",!e[8]),16&u[0]&&Xv(x,"item-mobile",e[4]),33554448&u[0]|524288&u[1]){let t;for(_e=Ey(e[25]),t=0;t<_e.length;t+=1){const n=aC(e,_e,t);Se[t]?Se[t].p(n,u):(Se[t]=wC(n),Se[t].c(),Se[t].m(P,null))}for(;t<Se.length;t+=1)Se[t].d(1);Se.length=_e.length}if(32768&u[0]&&qv(P,"style",e[15]),16&u[0]&&Xv(P,"items-mobile",e[4]),16&u[0]&&Xv(S,"menu-desktop",!e[4]),16&u[0]&&Xv(S,"menu-mobile",e[4]),512&u[0]&&Xv(S,"hidden",!e[9]),16&u[0]&&Xv(R,"item-mobile",e[4]),e[24]?xe&&(xe.d(1),xe=null):xe?xe.p(e,u):(xe=_C(),xe.c(),xe.m(U,$)),16&u[0]&&Xv(G,"quality-title-mobile",e[4]),16&u[0]&&Xv(U,"item-mobile",e[4]),e[24]?Ee?Ee.p(e,u):(Ee=SC(),Ee.c(),Ee.m(W,Z)):Ee&&(Ee.d(1),Ee=null),16&u[0]&&Xv(Y,"quality-title-mobile",e[4]),16&u[0]&&Xv(W,"item-mobile",e[4]),65536&u[0]&&qv(V,"style",e[16]),16&u[0]&&Xv(V,"items-mobile",e[4]),16&u[0]&&Xv(J,"item-mobile",e[4]),16&u[0]&&Xv(D,"menu-desktop",!e[4]),16&u[0]&&Xv(D,"menu-mobile",e[4]),2048&u[0]&&Xv(D,"hidden",!e[11]),16&u[0]&&Xv(re,"item-mobile",e[4]),24&u[0]|2097152&u[1]){let t;for(ke=Ey(e[3]),t=0;t<ke.length;t+=1){const n=oC(e,ke,t);Ce[t]?Ce[t].p(n,u):(Ce[t]=EC(n),Ce[t].c(),Ce[t].m(ce,null))}for(;t<Ce.length;t+=1)Ce[t].d(1);Ce.length=ke.length}16&u[0]&&Xv(ce,"items-mobile",e[4]),16&u[0]&&Xv(ne,"menu-desktop",!e[4]),16&u[0]&&Xv(ne,"menu-mobile",e[4]),1024&u[0]&&Xv(ne,"hidden",!e[10]),64&u[0]&&Xv(t,"hidden",!e[6]),16&u[0]&&Xv(t,"container-mobile",e[4])},i:hv,o:hv,d(n){n&&Nv(t),pe&&pe.d(),fe&&fe.d(),he&&he.d(),me&&me.d(),ge&&ge.d(),ve&&ve.d(),ye&&ye.d(),e[71](null),jv(we,n),e[73](null),jv(Se,n),e[75](null),xe&&xe.d(),Ee&&Ee.d(),jv(Ce,n),ue=!1,yv(de)}}}function CC(e,t,n){let r,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,{supportLink:_}=t,{playerControlsHeight:S=0}=t,{returnFocus:x}=t;const E=Xy(),k=Fy(),C=E.state.currentQuality$;kv(e,C,(e=>n(70,m=e)));const T=E.state.availableQualities$;kv(e,T,(e=>n(5,h=e)));const O=E.state.autoQualityLimitingAvailable$;kv(e,O,(e=>n(64,s=e)));const M=E.state.isAutoQualityEnabled$;kv(e,M,(e=>n(69,f=e)));const A=E.state.currentPlaybackRate$;kv(e,A,(e=>n(22,v=e)));const P=E.state.availablePlaybackRates$;kv(e,P,(e=>n(25,w=e)));const L=E.state.currentSubtitle$;kv(e,L,(e=>n(23,y=e)));const D=E.state.availableSubtitlesList$;kv(e,D,(e=>n(3,a=e)));const R=E.state.canDownload,I=E.state.hasMpegSources$;kv(e,I,(e=>n(65,l=e)));const N=E.ui.settingsMenuVisible;kv(e,N,(e=>n(6,g=e)));const j=E.ui.isMobile;kv(e,j,(e=>n(4,u=e)));const B=E.ui.mobileNotReportControlHidden$;kv(e,B,(e=>n(62,r=e)));const F=E.state.canChangePlaybackSpeed$;kv(e,F,(e=>n(63,i=e)));const H=E.ui.isFullscreen;kv(e,H,(e=>n(68,p=e)));const z=E.state.trafficSavingEnabled$;kv(e,z,(e=>n(24,b=e)));const V=E.ui.playerSize;kv(e,V,(e=>n(67,d=e)));const U=E.ui.debugPanelVisible,$=E.ui.playerSize;kv(e,$,(e=>n(66,c=e)));const G=E.actions.internal.downloadVideo;let q,W,Z,Y,K,Q,X,J,ee,te,ne,re,ie,oe=!0,ae=!1,se=!1,le=!1,ce=!1;function ue(){null==x||x(),N.set(!1)}function de(e){E.actions.internal.setQuality(e),ue()}function pe(e){E.actions.internal.setTrafficSavingEnabled(e),ue()}function fe(e){E.actions.internal.setPlaybackRate(e),ue()}function he(e){E.actions.internal.setSubtitle(e),ue()}function me(e){switch(e){case o.SF.Q_720P:return"data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468zM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5z' fill='%2370C1FF'/%3e%3c/svg%3e";case o.SF.Q_1080P:return"data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471zm-4 0c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5z' fill='%2370C1FF'/%3e%3c/svg%3e";case o.SF.Q_1440P:return"data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.516 5h1.107C14.103 5 15 4.065 15 2.5S14.103 0 12.623 0h-1.107C11.191 0 11 .2 11 .537V4.46c0 .342.191.54.516.54zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM6.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S10 4.802 10 4.464V.54C10 .198 9.809 0 9.484 0s-.516.198-.516.54v1.531H7.032V.54c0-.342-.191-.54-.516-.54S6 .198 6 .54v3.989c0 .338.191.471.516.471z' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.338 4.909A3.9 3.9 0 0 1 2.5 5C1.037 5 0 4.135 0 2.553 0 .983 1.037 0 2.5 0 3.96 0 5 .984 5 2.553c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037C3.947 1.517 3.307.9 2.5.9c-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02z' fill='%2370C1FF'/%3e%3c/svg%3e";case o.SF.Q_2160P:return"data:image/svg+xml,%3csvg width='15' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536z' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m2.551 1.052-1.51 2.052h1.51V1.052zM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5z' fill='%2370C1FF'/%3e%3c/svg%3e";case o.SF.Q_4320P:return"data:image/svg+xml,%3csvg width='15' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537z' fill='%2370C1FF'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995a1.46 1.46 0 0 0-.547.44c-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43.52.52 0 0 1-.204.437c-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524z' fill='%2370C1FF'/%3e%3c/svg%3e"}}return e.$$set=e=>{"supportLink"in e&&n(59,_=e.supportLink),"playerControlsHeight"in e&&n(60,S=e.playerControlsHeight),"returnFocus"in e&&n(61,x=e.returnFocus)},e.$$.update=()=>{var t,v,y;if(64&e.$$.dirty[0]&&g&&(n(7,oe=!0),n(8,ae=!1),n(9,se=!1),n(10,le=!1),n(11,ce=!1)),256&e.$$.dirty[2]&&n(12,q=me(m)),32&e.$$.dirty[0]|384&e.$$.dirty[2]&&n(13,W=function(e,t,n){if(!e)return"...";const r=t.find((t=>t.value===e)),i=r?r.displayValue:e;return n?e===o.SF.INVARIANT?gx("auto_quality_invariant"):gx("auto_quality",{actual:i}):i}(m,h,f)),17&e.$$.dirty[0]|536870912&e.$$.dirty[1]|112&e.$$.dirty[2])if(u&&p)n(14,Q=`max-height: ${Math.round(.6*d.height)}px`);else if(u)n(14,Q="");else{const e=c.height-18-(null!=(t=null==Z?void 0:Z.clientHeight)?t:0)-S;n(14,Q=`max-height: ${e}px; overflow: auto;`)}if(18&e.$$.dirty[0]|536870912&e.$$.dirty[1]|16&e.$$.dirty[2])if(u)n(15,X="");else{const e=c.height-18-(null!=(v=null==Y?void 0:Y.clientHeight)?v:0)-S;n(15,X=`max-height: ${e}px; overflow: auto;`)}if(20&e.$$.dirty[0]|536870912&e.$$.dirty[1]|16&e.$$.dirty[2])if(u)n(16,J="");else{const e=c.height-18-(null!=(y=null==K?void 0:K.clientHeight)?y:0)-S;n(16,J=`max-height: ${e}px; overflow: auto;`)}9&e.$$.dirty[2]&&n(17,ee=R&&l&&!r),5&e.$$.dirty[2]&&n(18,te=k.features.trafficSaving&&!r&&s),8&e.$$.dirty[0]|1&e.$$.dirty[2]&&n(19,ne=a.length>0&&!r),3&e.$$.dirty[2]&&n(20,re=!!i&&!r),1&e.$$.dirty[2]&&n(21,ie=!r)},[Z,Y,K,a,u,h,g,oe,ae,se,le,ce,q,W,Q,X,J,ee,te,ne,re,ie,v,y,b,w,k,C,T,O,M,A,P,L,D,I,N,j,B,F,H,z,V,$,ue,function(){n(7,oe=!1),n(8,ae=!0)},function(){n(7,oe=!1),n(11,ce=!0)},de,pe,function(){n(7,oe=!1),n(9,se=!0)},fe,function(){n(7,oe=!1),n(10,le=!0)},he,function(){n(7,oe=!0),n(8,ae=!1),n(9,se=!1),n(10,le=!1),n(11,ce=!1)},function(){G(),ue()},function(){window.open(_,"_blank"),ue(),E.actions.internal.pause()},function(){kE(E.actions.internal.getDebugTextData()),ue()},function(){U.set(!0),ue()},me,_,S,x,r,i,s,l,c,d,p,f,m,function(e){sy[e?"unshift":"push"]((()=>{Z=e,n(0,Z)}))},e=>de(e.value),function(e){sy[e?"unshift":"push"]((()=>{Y=e,n(1,Y)}))},e=>fe(e.value),function(e){sy[e?"unshift":"push"]((()=>{K=e,n(2,K)}))},()=>pe(!1),()=>pe(!0),e=>he(e)]}class TC extends Ly{constructor(e){super(),Py(this,e,CC,kC,wv,{supportLink:59,playerControlsHeight:60,returnFocus:61},iC,[-1,-1,-1])}}function OC(e){Rv(e,"v-1qf7s4g",".settingsButton-icon.v-1qf7s4g{display:block;width:40px;height:24px}.settingsButton-icon.mobile.v-1qf7s4g{width:auto}")}function MC(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("div"),r=Bv("img"),Sv(r.src,i=e[7](e[2],e[1]))||qv(r,"src",i),qv(r,"alt",""),qv(n,"class","settingsButton-icon v-1qf7s4g"),Xv(n,"mobile",e[1]),qv(t,"class",o=Pv(e[0])+" v-1qf7s4g"),qv(t,"aria-label",gx("aria_open_settings")),qv(t,"tabindex","-1"),qv(t,"role","button")},m(i,o){Iv(i,t,o),Dv(t,n),Dv(n,r),a||(s=Uv(t,"click",Gv(e[6])),a=!0)},p(e,[a]){6&a&&!Sv(r.src,i=e[7](e[2],e[1]))&&qv(r,"src",i),2&a&&Xv(n,"mobile",e[1]),1&a&&o!==(o=Pv(e[0])+" v-1qf7s4g")&&qv(t,"class",o)},i:hv,o:hv,d(e){e&&Nv(t),a=!1,s()}}}function AC(e,t,n){let r,i,a,{className:s=""}=t;const l=Xy(),c=l.state.currentQuality$;kv(e,c,(e=>n(2,a=e)));const u=l.ui.settingsMenuVisible;kv(e,u,(e=>n(8,r=e)));const d=l.ui.isMobile;return kv(e,d,(e=>n(1,i=e))),e.$$set=e=>{"className"in e&&n(0,s=e.className)},[s,i,a,c,u,d,function(){u.set(!r)},function(e,t){if(t)return"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg id='gear_outline_24'%3e%3cpath id='%26%23226%3b%26%23134%3b%26%23179%3b Icon Color' d='M12.7222 2.21251C13.9301 2.25011 14.7155 2.91465 15.1296 4.16741L15.1952 4.38165L15.246 4.57345C15.2644 4.64732 15.2874 4.72597 15.3144 4.80765L15.3717 4.96701L15.4057 4.98401L15.4747 4.96121L15.6083 4.91002L15.7642 4.8422C17.178 4.184 18.2656 4.30616 19.1512 5.27938L19.2764 5.42421L20.0966 6.44072C20.8275 7.40306 20.8054 8.43167 20.0924 9.54189L19.9672 9.72769L19.8501 9.88783C19.8033 9.94998 19.7556 10.0189 19.7082 10.0929L19.6373 10.2076L19.6037 10.265L19.6077 10.285L19.6994 10.3455L19.8259 10.4219L19.9793 10.5052C21.3684 11.2141 21.9417 12.1464 21.7205 13.4414L21.6835 13.6289L21.4394 14.6871C21.2813 15.372 21.1572 15.6962 20.6686 16.141C20.1941 16.5732 19.6526 16.7515 18.9371 16.8107L18.7171 16.8251L18.5188 16.8313C18.4419 16.8327 18.3592 16.8375 18.2726 16.8456L18.0917 16.867L18.1049 17.0094L18.1182 17.1052L18.1505 17.2839C18.4738 18.8096 18.1101 19.8418 16.9626 20.4858L16.7933 20.5752L15.6184 21.1457C14.5163 21.6414 13.519 21.3884 12.5976 20.444L12.4447 20.2802L12.3151 20.1301C12.2645 20.0699 12.2075 20.0073 12.1453 19.9438L12.0484 19.848L11.9987 19.802L11.9071 19.8892L11.8021 19.9972L11.6844 20.1301C10.7319 21.2637 9.72662 21.6707 8.50816 21.1968L8.33263 21.1231L7.28121 20.6121L6.96888 20.4522C6.49282 20.1923 6.22567 19.9433 5.96461 19.392C5.68977 18.8116 5.67131 18.2415 5.80454 17.5088L5.84896 17.2839C5.86486 17.2089 5.87877 17.1274 5.8904 17.0415L5.90872 16.87L5.90472 16.866L5.80104 16.8521L5.65455 16.839L5.48066 16.8313C3.92137 16.8031 2.99741 16.2166 2.62804 14.9536L2.57904 14.7686L2.28746 13.4954C2.05238 12.31 2.52321 11.3952 3.6507 10.7099L3.84469 10.5978L4.02016 10.5052C4.08893 10.4701 4.16141 10.4294 4.23595 10.3841L4.39072 10.283L4.39472 10.264L4.33217 10.1561L4.25136 10.0309L4.14938 9.88783C3.21161 8.64173 3.10497 7.55251 3.8728 6.48389L3.98844 6.33136L4.81221 5.31774C5.60155 4.40272 6.6123 4.21053 7.84649 4.67708L8.05426 4.76093L8.23525 4.8422C8.30334 4.8739 8.37785 4.90512 8.45714 4.93521L8.59272 4.98301L8.62872 4.96601L8.66235 4.87737L8.70743 4.73942L8.75347 4.57345C9.11258 3.13697 9.83773 2.33052 11.1428 2.22234L11.3332 2.21164L12.7222 2.21251ZM12.6662 4.01164H11.3332L11.1938 4.02185C10.9078 4.0591 10.7209 4.2135 10.5411 4.85353L10.4997 5.01001L10.4433 5.21577C10.3383 5.56829 10.1796 5.96497 9.97531 6.35011C9.57079 6.49507 9.18636 6.68225 8.82795 6.90822C8.40624 6.82273 8.00412 6.69733 7.66855 6.55863L7.31854 6.40371C7.06963 6.29709 6.8832 6.2427 6.73546 6.22946L6.65127 6.22637C6.47366 6.23008 6.35638 6.30303 6.24309 6.41897L6.17515 6.49349L5.38601 7.46573L5.2913 7.59109C5.1079 7.85541 5.08047 8.09111 5.48617 8.66649L5.71436 8.98231C5.92627 9.29204 6.13875 9.6738 6.31224 10.0837C6.18282 10.468 6.09124 10.8697 6.04218 11.2851C5.70831 11.5742 5.35254 11.8218 5.02853 12.0059L4.68626 12.189C4.06939 12.5283 3.99073 12.7521 4.03969 13.0701L4.05307 13.1453L4.33336 14.3657L4.37385 14.5175C4.46922 14.8247 4.63806 14.9915 5.34124 15.026L5.72859 15.0405C6.09953 15.0639 6.52655 15.1304 6.95168 15.2444C7.17645 15.5934 7.43643 15.9176 7.72783 16.2118C7.74443 16.7384 7.69574 17.2518 7.60986 17.6571C7.40875 18.6061 7.59597 18.759 7.99335 18.9565L9.11944 19.5041C9.23876 19.5578 9.3454 19.5939 9.45621 19.5926L9.52334 19.587C9.7044 19.5593 9.9048 19.4252 10.1936 19.1023L10.4514 18.8074C10.7081 18.5286 11.036 18.233 11.4 17.9704L11.6979 17.9926L11.9997 18L12.3016 17.9924L12.5997 17.9696C12.9634 18.2328 13.2913 18.5286 13.548 18.8074L13.8058 19.1023C14.1307 19.4656 14.3438 19.5899 14.5432 19.5926L14.6094 19.589C14.6679 19.5822 14.7263 19.5658 14.7869 19.5429L14.88 19.5041L16.0061 18.9565L16.1449 18.8829C16.4442 18.7084 16.5656 18.4875 16.3896 17.6571C16.3037 17.2518 16.255 16.7384 16.2729 16.2119C16.563 15.9176 16.823 15.5934 17.048 15.2427C17.4735 15.13 17.9003 15.0638 18.271 15.0405L18.6582 15.026C19.4696 14.9862 19.5695 14.7703 19.6661 14.3657L19.9296 13.2243C20.0202 12.8183 20.025 12.5805 19.3132 12.189L18.9709 12.0059C18.6469 11.8217 18.2911 11.574 17.9575 11.2844C17.9082 10.8697 17.8166 10.468 17.6867 10.0829C17.8606 9.67366 18.0732 9.29202 18.2851 8.98231L18.5133 8.66649C18.919 8.09111 18.8915 7.85541 18.7081 7.59109L18.6632 7.52942L17.8763 6.55539C17.7354 6.384 17.6172 6.2613 17.4242 6.23263L17.3482 6.22637C17.1883 6.22303 16.9796 6.27576 16.6809 6.40371L16.331 6.55857C15.9957 6.69715 15.5939 6.82229 15.1726 6.90665C14.8129 6.68206 14.4276 6.49453 14.0221 6.35102C13.8276 5.98056 13.6738 5.60004 13.569 5.25829L13.4556 4.84372C13.2637 4.16633 13.0633 4.03932 12.7424 4.01551L12.6662 4.01164ZM11.9997 8.20001C14.0984 8.20001 15.7997 9.90133 15.7997 12C15.7997 14.0987 14.0984 15.8 11.9997 15.8C9.90104 15.8 8.19972 14.0987 8.19972 12C8.19972 9.90133 9.90104 8.20001 11.9997 8.20001ZM11.9997 10C10.8952 10 9.99972 10.8954 9.99972 12C9.99972 13.1046 10.8952 14 11.9997 14C13.1043 14 13.9997 13.1046 13.9997 12C13.9997 10.8954 13.1043 10 11.9997 10Z' fill='white'/%3e%3c/g%3e%3c/svg%3e";switch(e){case o.SF.Q_720P:return"data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967z' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.516 11h1.107C27.103 11 28 10.066 28 8.5S27.103 6 25.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM19.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S19 6.198 19 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3c/svg%3e";case o.SF.Q_1080P:return"data:image/svg+xml,%3csvg width='38' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967z' fill='white'/%3e%3crect x='15' y='3' width='21' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M28.516 11h1.107C31.103 11 32 10.066 32 8.5S31.103 6 29.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM23.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S23 6.198 23 6.54v3.989c0 .338.191.472.516.472zm-4 0c.325 0 .516-.198.516-.537V9h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407h-1.333V6.854h1.5c.28 0 .468-.16.468-.427 0-.266-.185-.427-.468-.427h-2.016c-.325 0-.516.198-.516.537v3.926c0 .339.191.537.516.537z' fill='white'/%3e%3c/svg%3e";case o.SF.Q_1440P:return"data:image/svg+xml,%3csvg width='40' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967z' fill='white'/%3e%3cpath d='M15 8.5A5.5 5.5 0 0 1 20.5 3h12a5.5 5.5 0 1 1 0 11h-12A5.5 5.5 0 0 1 15 8.5z' fill='%23689FF8'/%3e%3cpath d='M30.516 11h1.107C33.103 11 34 10.066 34 8.5S33.103 6 31.623 6h-1.107c-.325 0-.516.2-.516.537v3.923c0 .342.191.54.516.54zm.516-.854V6.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468zM25.516 11c.325 0 .516-.198.516-.536V8.922h1.936v1.542c0 .338.191.537.516.537s.516-.199.516-.537V6.54c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531h-1.936V6.54c0-.342-.191-.54-.516-.54S25 6.198 25 6.54v3.989c0 .338.191.472.516.472z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M22.338 10.909c-.254.06-.58.091-.838.091-1.463 0-2.5-.865-2.5-2.447C19 6.983 20.037 6 21.5 6c1.46 0 2.5.984 2.5 2.553 0 .863-.274 1.46-.777 1.88l.193.29a.5.5 0 1 1-.832.554l-.246-.368zm-.52-.78-.234-.352a.5.5 0 0 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02z' fill='white'/%3e%3c/svg%3e";case o.SF.Q_2160P:return"data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967z' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.517 11c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.284.516.284a.491.491 0 0 0 .499-.5c0-.14-.068-.287-.222-.478l-1.47-1.73 1.51-1.425c.13-.137.182-.25.182-.393A.474.474 0 0 0 27.515 6c-.171 0-.301.065-.445.222L25.064 8.25h-.03V6.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.537.516.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m21.551 7.052-1.51 2.052h1.51V7.052zm.949 2.052V6.832c0-.81-1.089-1.14-1.556-.48l-1.805 2.469a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 1 0 0-.9H22.5z' fill='white'/%3e%3c/svg%3e";case o.SF.Q_4320P:return"data:image/svg+xml,%3csvg width='34' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967z' fill='white'/%3e%3crect x='15' y='3' width='17' height='11' rx='5.5' fill='%23689FF8'/%3e%3cpath d='M24.513 11c.323 0 .513-.198.513-.537v-.97l.49-.516 1.475 1.738c.16.205.302.284.513.284A.49.49 0 0 0 28 10.5c0-.14-.068-.287-.22-.478l-1.486-1.729 1.526-1.425c.129-.137.18-.25.18-.393A.473.473 0 0 0 27.517 6c-.17 0-.299.065-.441.222l-2.02 2.027h-.03V6.54c0-.342-.19-.54-.513-.54S24 6.198 24 6.54v3.923c0 .339.19.537.513.537z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21 6c-.353 0-.671.057-.952.173a1.493 1.493 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995a1.46 1.46 0 0 0-.547.44c-.154.203-.23.441-.23.71 0 .288.084.548.252.777l.001.002c.173.224.412.398.712.523.302.125.647.186 1.035.186.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.428 2.428 0 0 0 21 6zm-.573.964c.136-.105.323-.16.573-.16.25 0 .434.055.564.16h.001a.512.512 0 0 1 .203.43c0 .19-.07.333-.203.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.188a.636.636 0 0 1-.234-.523z' fill='white'/%3e%3c/svg%3e";default:return Zk}}]}class PC extends Ly{constructor(e){super(),Py(this,e,AC,MC,wv,{className:0},OC)}}function LC(e){Rv(e,"v-1q6hyt4",".subtitlesButton-icon.v-1q6hyt4 img.v-1q6hyt4{width:24px;height:24px}")}function DC(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("div"),r=Bv("img"),Sv(r.src,i=e[1])||qv(r,"src",i),qv(r,"alt",""),qv(r,"class","v-1q6hyt4"),qv(n,"class","subtitlesButton-icon v-1q6hyt4"),qv(t,"class","subtitlesButton"),qv(t,"aria-label",o=e[0]?gx("subtitles_turn_off"):gx("subtitles_turn_on")),qv(t,"tabindex","-1"),qv(t,"role","button")},m(i,o){Iv(i,t,o),Dv(t,n),Dv(n,r),a||(s=Uv(t,"click",Gv(e[2])),a=!0)},p(e,[n]){2&n&&!Sv(r.src,i=e[1])&&qv(r,"src",i),1&n&&o!==(o=e[0]?gx("subtitles_turn_off"):gx("subtitles_turn_on"))&&qv(t,"aria-label",o)},i:hv,o:hv,d(e){e&&Nv(t),a=!1,s()}}}function RC(e,t,n){let r,{isSubtitlesEnabled:i=!1}=t;const o=Xy().actions.internal.toggleSubtitle;return e.$$set=e=>{"isSubtitlesEnabled"in e&&n(0,i=e.isSubtitlesEnabled)},e.$$.update=()=>{1&e.$$.dirty&&n(1,r=i?"data:image/svg+xml,%3csvg width='20' height='16' viewBox='0 0 20 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M3 0H17C18.6569 0 20 1.34315 20 3V13C20 14.6569 18.6569 16 17 16H3C1.34315 16 0 14.6569 0 13V3C0 1.34315 1.34315 0 3 0ZM4 9H6C6.55228 9 7 8.55228 7 8C7 7.44772 6.55228 7 6 7H4C3.44772 7 3 7.44772 3 8C3 8.55228 3.44772 9 4 9ZM9 9H16C16.5523 9 17 8.55228 17 8C17 7.44772 16.5523 7 16 7H9C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM4 13H11C11.5523 13 12 12.5523 12 12C12 11.4477 11.5523 11 11 11H4C3.44772 11 3 11.4477 3 12C3 12.5523 3.44772 13 4 13ZM14 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H14C13.4477 11 13 11.4477 13 12C13 12.5523 13.4477 13 14 13Z' fill='white' /%3e%3c/svg%3e":Kk)},[i,r,function(){o()}]}class IC extends Ly{constructor(e){super(),Py(this,e,RC,DC,wv,{isSubtitlesEnabled:0},LC)}}function NC(e){Rv(e,"v-1bjfp5n",".time.v-1bjfp5n{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums}.current.v-1bjfp5n{position:relative}.duration.v-1bjfp5n{opacity:0.7}.duration.v-1bjfp5n:before{content:' / ';white-space:pre}")}function jC(e){let t,n;return{c(){t=Bv("span"),n=Hv(e[3]),qv(t,"class","duration v-1bjfp5n")},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,t){8&t&&Wv(n,e[3])},d(e){e&&Nv(t)}}}function BC(e){let t,n,r,i,o,a,s=e[1]&&jC(e);return{c(){t=Bv("div"),n=Bv("span"),r=Hv(e[4]),i=zv(),s&&s.c(),qv(n,"class","current v-1bjfp5n"),qv(t,"class",o="time "+e[2]+" v-1bjfp5n"),py((()=>e[7].call(t)))},m(o,l){Iv(o,t,l),Dv(t,n),Dv(n,r),Dv(t,i),s&&s.m(t,null),a=Qv(t,e[7].bind(t))},p(e,[n]){16&n&&Wv(r,e[4]),e[1]?s?s.p(e,n):(s=jC(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null),4&n&&o!==(o="time "+e[2]+" v-1bjfp5n")&&qv(t,"class",o)},i:hv,o:hv,d(e){e&&Nv(t),s&&s.d(),a()}}}function FC(e,t,n){let r,i,{duration:o}=t,{position:a}=t,{showDuration:s=!0}=t,{className:l=""}=t,{width:c}=t;return e.$$set=e=>{"duration"in e&&n(5,o=e.duration),"position"in e&&n(6,a=e.position),"showDuration"in e&&n(1,s=e.showDuration),"className"in e&&n(2,l=e.className),"width"in e&&n(0,c=e.width)},e.$$.update=()=>{32&e.$$.dirty&&n(3,r=Gx(o)),64&e.$$.dirty&&n(4,i=Gx(a))},[c,s,l,r,i,o,a,function(){c=this.clientWidth,n(0,c)}]}class HC extends Ly{constructor(e){super(),Py(this,e,FC,BC,wv,{duration:5,position:6,showDuration:1,className:2,width:0},NC)}}var zC="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3crect width='20' height='20' rx='10' fill='white' fill-opacity='0.24'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.32769 5C7.33641 5 7.34515 5 7.35391 5L12.6801 5C12.9376 4.99998 13.1741 4.99997 13.3718 5.01612C13.5849 5.03353 13.8181 5.07339 14.0484 5.19074C14.3777 5.35852 14.6454 5.62624 14.8132 5.95552C14.9305 6.18583 14.9704 6.419 14.9878 6.63213C15.0039 6.82981 15.0039 7.06629 15.0039 7.32377V12.6723C15.0039 12.9298 15.0039 13.1663 14.9878 13.364C14.9704 13.5771 14.9305 13.8103 14.8132 14.0406C14.6454 14.3699 14.3777 14.6376 14.0484 14.8054C13.8181 14.9227 13.5849 14.9626 13.3718 14.98C13.1741 14.9961 12.9376 14.9961 12.6801 14.9961H7.32768C7.0702 14.9961 6.83372 14.9961 6.63604 14.98C6.4229 14.9626 6.18973 14.9227 5.95943 14.8054C5.63014 14.6376 5.36243 14.3699 5.19465 14.0406C5.0773 13.8103 5.03744 13.5771 5.02002 13.364C5.00387 13.1663 5.00389 12.9298 5.00391 12.6723L5.00391 7.35C5.00391 7.34124 5.00391 7.3325 5.00391 7.32378C5.00389 7.0663 5.00387 6.82982 5.02002 6.63213C5.03744 6.419 5.0773 6.18583 5.19465 5.95552C5.36243 5.62624 5.63014 5.35852 5.95943 5.19074C6.18973 5.07339 6.4229 5.03353 6.63604 5.01612C6.83372 4.99997 7.0702 4.99998 7.32769 5ZM6.63478 6.52973C6.63475 6.52972 6.63523 6.52952 6.6363 6.52917L6.63478 6.52973ZM6.63737 6.52883C6.64625 6.52607 6.67938 6.51757 6.75818 6.51114C6.88731 6.50059 7.06151 6.5 7.35391 6.5H12.6539C12.9463 6.5 13.1205 6.50059 13.2496 6.51114C13.3284 6.51757 13.3616 6.52607 13.3704 6.52883C13.4151 6.55235 13.4516 6.58883 13.4751 6.63347C13.4778 6.64235 13.4863 6.67547 13.4928 6.75428C13.5033 6.88341 13.5039 7.0576 13.5039 7.35V12.6461C13.5039 12.9385 13.5033 13.1127 13.4928 13.2418C13.4863 13.3206 13.4778 13.3538 13.4751 13.3626C13.4516 13.4073 13.4151 13.4438 13.3704 13.4673C13.3616 13.47 13.3284 13.4785 13.2496 13.485C13.1205 13.4955 12.9463 13.4961 12.6539 13.4961H7.35391C7.06151 13.4961 6.88731 13.4955 6.75818 13.485C6.67938 13.4785 6.64625 13.47 6.63737 13.4673C6.59273 13.4438 6.55625 13.4073 6.53273 13.3626C6.52998 13.3538 6.52148 13.3206 6.51504 13.2418C6.50449 13.1127 6.50391 12.9385 6.50391 12.6461V7.35C6.50391 7.0576 6.50449 6.88341 6.51504 6.75428C6.52148 6.67547 6.52998 6.64234 6.53273 6.63347C6.55625 6.58883 6.59273 6.55235 6.63737 6.52883ZM6.53364 6.63088C6.53365 6.63091 6.53347 6.63144 6.53308 6.63239L6.53364 6.63088ZM6.53364 13.3652C6.53363 13.3652 6.53343 13.3648 6.53309 13.3637L6.53364 13.3652ZM6.63478 13.4664C6.63481 13.4664 6.63535 13.4665 6.6363 13.4669L6.63478 13.4664ZM13.373 13.4664C13.3731 13.4664 13.3726 13.4666 13.3715 13.4669L13.373 13.4664ZM13.4742 13.3652C13.4742 13.3652 13.4744 13.3646 13.4747 13.3637L13.4742 13.3652ZM13.4742 6.63088C13.4742 6.63085 13.4744 6.63132 13.4747 6.63236L13.4742 6.63088ZM13.3715 6.52918C13.3726 6.52953 13.3731 6.52972 13.373 6.52973L13.3715 6.52918Z' fill='white'/%3e%3c/svg%3e",VC="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3crect width='20' height='20' rx='10' fill='white' fill-opacity='0.24'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.32769 5C7.33641 5 7.34515 5 7.35391 5L12.6801 5C12.9376 4.99998 13.1741 4.99997 13.3718 5.01612C13.5849 5.03353 13.8181 5.07339 14.0484 5.19074C14.3777 5.35852 14.6454 5.62624 14.8132 5.95552C14.9305 6.18583 14.9704 6.419 14.9878 6.63213C15.0039 6.82981 15.0039 7.06629 15.0039 7.32377V12.6723C15.0039 12.9298 15.0039 13.1663 14.9878 13.364C14.9704 13.5771 14.9305 13.8103 14.8132 14.0406C14.6454 14.3699 14.3777 14.6376 14.0484 14.8054C13.8181 14.9227 13.5849 14.9626 13.3718 14.98C13.1741 14.9961 12.9376 14.9961 12.6801 14.9961H7.32768C7.0702 14.9961 6.83372 14.9961 6.63604 14.98C6.4229 14.9626 6.18973 14.9227 5.95943 14.8054C5.63014 14.6376 5.36243 14.3699 5.19465 14.0406C5.0773 13.8103 5.03744 13.5771 5.02002 13.364C5.00387 13.1663 5.00389 12.9298 5.00391 12.6723L5.00391 7.35C5.00391 7.34124 5.00391 7.3325 5.00391 7.32378C5.00389 7.0663 5.00387 6.82982 5.02002 6.63213C5.03744 6.419 5.0773 6.18583 5.19465 5.95552C5.36243 5.62624 5.63014 5.35852 5.95943 5.19074C6.18973 5.07339 6.4229 5.03353 6.63604 5.01612C6.83372 4.99997 7.0702 4.99998 7.32769 5Z' fill='white'/%3e%3c/svg%3e";function UC(e){Rv(e,"v-11e16ic",'.tooltip-wrapper.v-11e16ic{display:flex;flex-direction:column;min-width:0}.tooltip.v-11e16ic{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-11e16ic{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-11e16ic{opacity:1;visibility:visible}.tooltip-pointer.v-11e16ic{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function $C(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("div"),r=Hv(e[1]),i=zv(),o=Bv("div"),qv(n,"class","content v-11e16ic"),qv(o,"class","tooltip-pointer v-11e16ic"),qv(o,"style",a=`transform: translate(${e[5]}px, ${e[7]}px);`),qv(t,"class","tooltip v-11e16ic"),qv(t,"style",s=`transform: translate(${e[4]}px, ${e[2]}px);`),Xv(t,"active",e[3])},m(a,s){Iv(a,t,s),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o),e[16](t)},p(e,n){2&n&&Wv(r,e[1]),32&n&&a!==(a=`transform: translate(${e[5]}px, ${e[7]}px);`)&&qv(o,"style",a),20&n&&s!==(s=`transform: translate(${e[4]}px, ${e[2]}px);`)&&qv(t,"style",s),8&n&&Xv(t,"active",e[3])},d(n){n&&Nv(t),e[16](null)}}}function GC(e){let t,n,r,i,o;const a=e[15].default,s=Cv(a,e,e[14],null);let l=e[1]&&$C(e);return{c(){t=Bv("div"),s&&s.c(),n=zv(),l&&l.c(),qv(t,"class","tooltip-wrapper v-11e16ic")},m(a,c){Iv(a,t,c),s&&s.m(t,null),Dv(t,n),l&&l.m(t,null),r=!0,i||(o=[Uv(t,"mouseenter",(function(){bv(e[6]?e[10]:Io)&&(e[6]?e[10]:Io).apply(this,arguments)})),Uv(t,"mousemove",(function(){bv(e[6]?e[10]:Io)&&(e[6]?e[10]:Io).apply(this,arguments)})),Uv(t,"mouseleave",e[11]),Uv(t,"mousedown",e[11]),Uv(t,"mouseup",(function(){bv(e[6]?e[10]:Io)&&(e[6]?e[10]:Io).apply(this,arguments)}))],i=!0)},p(n,[i]){e=n,s&&s.p&&(!r||16384&i)&&Mv(s,a,e,e[14],r?Ov(a,e[14],i,null):Av(e[14]),null),e[1]?l?l.p(e,i):(l=$C(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},i(e){r||(Sy(s,e),r=!0)},o(e){xy(s,e),r=!1},d(e){e&&Nv(t),s&&s.d(e),l&&l.d(),i=!1,yv(o)}}}function qC(e,t,n){let r,i,o,a,s=hv,l=()=>(s(),s=xv(d,(e=>n(13,a=e))),d);e.$$.on_destroy.push((()=>s()));let{$$slots:c={},$$scope:u}=t,{controlInfo:d=Iy(void 0)}=t;l();let p,f,{tooltipContent:h=""}=t,{initialTranslateXPx:m=0}=t,{initialTranslateYPx:g=0}=t,v=!1,y=0,b=0;const w=Fy(),_=Xy(),S=_.ui.playerSize;kv(e,S,(e=>n(20,o=e)));const x=_.ui.controls.tooltipPointerOffsetX;kv(e,x,(e=>n(19,i=e)));const E=()=>{n(3,v=!0);const e=f.clientWidth,t=o.width,a=i-e/2+m;n(4,y=i-r-e/2+m),n(5,b=e/2-5);let s=0;a<8&&(s=8-a,n(5,b-=s),n(4,y+=s));let l=0;a+e>t-8&&(l=a+e-(t-8),n(5,b+=l),n(4,y-=l))};return ny((()=>window.clearTimeout(p))),e.$$set=e=>{"controlInfo"in e&&l(n(0,d=e.controlInfo)),"tooltipContent"in e&&n(1,h=e.tooltipContent),"initialTranslateXPx"in e&&n(12,m=e.initialTranslateXPx),"initialTranslateYPx"in e&&n(2,g=e.initialTranslateYPx),"$$scope"in e&&n(14,u=e.$$scope)},e.$$.update=()=>{var t;8192&e.$$.dirty&&(r=null!=(t=null==a?void 0:a.positionStartX)?t:0)},[d,h,g,v,y,b,f,5,S,x,()=>{p||(p=window.setTimeout(E,w.controls.hideTimeoutTooltips)),v&&E()},()=>{n(3,v=!1),window.clearTimeout(p),p=void 0},m,a,u,c,function(e){sy[e?"unshift":"push"]((()=>{f=e,n(6,f)}))}]}class WC extends Ly{constructor(e){super(),Py(this,e,qC,GC,wv,{controlInfo:0,tooltipContent:1,initialTranslateXPx:12,initialTranslateYPx:2},UC)}}function ZC(e){Rv(e,"v-3mvc5j",".container.v-3mvc5j{position:relative;display:flex;align-items:center;height:100%;transition:var(--videoplayer-button-hover-transition);will-change:opacity;cursor:pointer;-webkit-tap-highlight-color:transparent}.containerDisabled.v-3mvc5j{cursor:initial}.container.v-3mvc5j:not(.containerDisabled):hover{opacity:0.8}.slotContainer.v-3mvc5j{max-width:100%}")}function YC(e){let t,n,r;const i=e[12].default,o=Cv(i,e,e[16],null);return{c(){t=Bv("span"),o&&o.c(),qv(t,"class",n="slotContainer "+(e[2]?zy:"")+" v-3mvc5j")},m(e,n){Iv(e,t,n),o&&o.m(t,null),r=!0},p(e,a){o&&o.p&&(!r||65536&a)&&Mv(o,i,e,e[16],r?Ov(i,e[16],a,null):Av(e[16]),null),(!r||4&a&&n!==(n="slotContainer "+(e[2]?zy:"")+" v-3mvc5j"))&&qv(t,"class",n)},i(e){r||(Sy(o,e),r=!0)},o(e){xy(o,e),r=!1},d(e){e&&Nv(t),o&&o.d(e)}}}function KC(e){let t,n;return t=new WC({props:{controlInfo:e[3],tooltipContent:e[7],initialTranslateXPx:e[5],initialTranslateYPx:e[6],$$slots:{default:[QC]},$$scope:{ctx:e}}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};8&n&&(r.controlInfo=e[3]),128&n&&(r.tooltipContent=e[7]),32&n&&(r.initialTranslateXPx=e[5]),64&n&&(r.initialTranslateYPx=e[6]),65540&n&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function QC(e){let t,n,r;const i=e[12].default,o=Cv(i,e,e[16],null);return{c(){t=Bv("span"),o&&o.c(),qv(t,"class",n="slotContainer "+(e[2]?zy:"")+" v-3mvc5j")},m(e,n){Iv(e,t,n),o&&o.m(t,null),r=!0},p(e,a){o&&o.p&&(!r||65536&a)&&Mv(o,i,e,e[16],r?Ov(i,e[16],a,null):Av(e[16]),null),(!r||4&a&&n!==(n="slotContainer "+(e[2]?zy:"")+" v-3mvc5j"))&&qv(t,"class",n)},i(e){r||(Sy(o,e),r=!0)},o(e){xy(o,e),r=!1},d(e){e&&Nv(t),o&&o.d(e)}}}function XC(e){let t,n,r,i,o,a,s,l;const c=[KC,YC],u=[];function d(e,t){return e[4]&&!e[8]?0:1}return n=d(e),r=u[n]=c[n](e),{c(){t=Bv("div"),r.c(),qv(t,"class",i="container "+e[1]+" v-3mvc5j"),py((()=>e[15].call(t))),Xv(t,"containerDisabled",e[2])},m(r,i){Iv(r,t,i),u[n].m(t,null),o=Qv(t,e[15].bind(t)),a=!0,s||(l=[Uv(t,"pointerdown",Gv($v(e[13]))),Uv(t,"click",Gv($v(e[14])))],s=!0)},p(e,[o]){let s=n;n=d(e),n===s?u[n].p(e,o):(wy(),xy(u[s],1,1,(()=>{u[s]=null})),_y(),r=u[n],r?r.p(e,o):(r=u[n]=c[n](e),r.c()),Sy(r,1),r.m(t,null)),(!a||2&o&&i!==(i="container "+e[1]+" v-3mvc5j"))&&qv(t,"class",i),(!a||6&o)&&Xv(t,"containerDisabled",e[2])},i(e){a||(Sy(r),a=!0)},o(e){xy(r),a=!1},d(e){e&&Nv(t),u[n].d(),o(),s=!1,yv(l)}}}function JC(e,t,n){let r,i,{$$slots:o={},$$scope:a}=t,{className:s=""}=t,{disabled:l=!1}=t,{width:c}=t,{controlInfo:u=Iy(void 0)}=t,{tooltipContent:d=""}=t,{initialTranslateXPx:p=0}=t,{initialTranslateYPx:f=-18}=t;const h=Xy(),m=h.ui.isMobile;kv(e,m,(e=>n(8,i=e)));const g=h.state.graphIsOpened$;let v;return kv(e,g,(e=>n(11,r=e))),e.$$set=e=>{"className"in e&&n(1,s=e.className),"disabled"in e&&n(2,l=e.disabled),"width"in e&&n(0,c=e.width),"controlInfo"in e&&n(3,u=e.controlInfo),"tooltipContent"in e&&n(4,d=e.tooltipContent),"initialTranslateXPx"in e&&n(5,p=e.initialTranslateXPx),"initialTranslateYPx"in e&&n(6,f=e.initialTranslateYPx),"$$scope"in e&&n(16,a=e.$$scope)},e.$$.update=()=>{2068&e.$$.dirty&&n(7,v=l?gx(r?"tooltip_disabled_when_graph_on":"tooltip_button_disabled"):d)},[c,s,l,u,d,p,f,v,i,m,g,r,o,function(t){oy.call(this,e,t)},function(t){oy.call(this,e,t)},function(){c=this.clientWidth,n(0,c)},a]}class eT extends Ly{constructor(e){super(),Py(this,e,JC,XC,wv,{className:1,disabled:2,width:0,controlInfo:3,tooltipContent:4,initialTranslateXPx:5,initialTranslateYPx:6},ZC)}}function tT(e){Rv(e,"v-15efkt2",".interactive-episode-icon.v-15efkt2{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}")}function nT(e){let t,n,r;return{c(){t=Bv("img"),qv(t,"class","interactive-episode-icon v-15efkt2"),qv(t,"style",n=`left: ${e[0].from+e[0].width/2}%`),Sv(t.src,r=e[0].completed?VC:zC)||qv(t,"src",r),qv(t,"alt","")},m(n,r){Iv(n,t,r),e[3](t)},p(e,i){1&i&&n!==(n=`left: ${e[0].from+e[0].width/2}%`)&&qv(t,"style",n),1&i&&!Sv(t.src,r=e[0].completed?VC:zC)&&qv(t,"src",r)},d(n){n&&Nv(t),e[3](null)}}}function rT(e){var t;let n,r;return n=new eT({props:{tooltipContent:gx(e[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:e[1],width:(null==(t=e[2])?void 0:t.width)||0,$$slots:{default:[nT]},$$scope:{ctx:e}}}),{c(){Ty(n.$$.fragment)},m(e,t){Oy(n,e,t),r=!0},p(e,[t]){var r;const i={};1&t&&(i.tooltipContent=gx(e[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),2&t&&(i.disabled=e[1]),4&t&&(i.width=(null==(r=e[2])?void 0:r.width)||0),21&t&&(i.$$scope={dirty:t,ctx:e}),n.$set(i)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){My(n,e)}}}function iT(e,t,n){let r,{videoEpisode:i}=t,{disabled:o}=t;return e.$$set=e=>{"videoEpisode"in e&&n(0,i=e.videoEpisode),"disabled"in e&&n(1,o=e.disabled)},[i,o,r,function(e){sy[e?"unshift":"push"]((()=>{r=e,n(2,r)}))}]}class oT extends Ly{constructor(e){super(),Py(this,e,iT,rT,wv,{videoEpisode:0,disabled:1},tT)}}function aT(e){Rv(e,"v-hnoku8",".video-episodes-wrap.v-hnoku8{position:absolute;width:100%;height:100%}.video-episode.v-hnoku8{position:absolute;height:calc(3 * var(--videoplayer-slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--videoplayer-slider-height) var(--videoplayer-slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-hnoku8:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-hnoku8,.video-episode-loaded.v-hnoku8,.video-episode-filled.v-hnoku8{position:absolute;height:var(--videoplayer-slider-height);border-radius:var(--videoplayer-slider-radius)}.video-episode-inner.v-hnoku8{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--videoplayer-slider-video-episode-gap));background:var(--videoplayer-slider-bg)}.video-episode-loaded.v-hnoku8{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-hnoku8{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background-color:var(--videoplayer-slider-filled-bg)}.video-episode-filled.mobile.v-hnoku8{background-color:var(--videoplayer-slider-filled-bg-mobile)}")}function sT(e,t,n){const r=e.slice();return r[2]=t[n],r}function lT(e){let t,n,r,i,o,a,s,l,c;return{c(){t=Bv("div"),n=Bv("div"),r=Bv("div"),o=zv(),a=Bv("div"),l=zv(),qv(r,"class","video-episode-loaded v-hnoku8"),qv(r,"style",i=`transform: translateX(${e[2].loadedWidth/e[2].width*100}%)`),qv(a,"class","video-episode-filled v-hnoku8"),qv(a,"style",s=`transform: translateX(${e[2].filledWidth/e[2].width*100}%)`),Xv(a,"mobile",e[1]),qv(n,"class","video-episode-inner v-hnoku8"),qv(t,"class","video-episode v-hnoku8"),qv(t,"style",c=`left: ${e[2].from}%; width: ${e[2].width}%`),Xv(t,"mobile",e[1])},m(e,i){Iv(e,t,i),Dv(t,n),Dv(n,r),Dv(n,o),Dv(n,a),Dv(t,l)},p(e,n){1&n&&i!==(i=`transform: translateX(${e[2].loadedWidth/e[2].width*100}%)`)&&qv(r,"style",i),1&n&&s!==(s=`transform: translateX(${e[2].filledWidth/e[2].width*100}%)`)&&qv(a,"style",s),2&n&&Xv(a,"mobile",e[1]),1&n&&c!==(c=`left: ${e[2].from}%; width: ${e[2].width}%`)&&qv(t,"style",c),2&n&&Xv(t,"mobile",e[1])},d(e){e&&Nv(t)}}}function cT(e){let t,n=Ey(e[0]),r=[];for(let t=0;t<n.length;t+=1)r[t]=lT(sT(e,n,t));return{c(){t=Bv("div");for(let e=0;e<r.length;e+=1)r[e].c();qv(t,"class","video-episodes-wrap v-hnoku8")},m(e,n){Iv(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,[i]){if(3&i){let o;for(n=Ey(e[0]),o=0;o<n.length;o+=1){const a=sT(e,n,o);r[o]?r[o].p(a,i):(r[o]=lT(a),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},i:hv,o:hv,d(e){e&&Nv(t),jv(r,e)}}}function uT(e,t,n){let{videoEpisodes:r=[]}=t,{isMobile:i}=t;return e.$$set=e=>{"videoEpisodes"in e&&n(0,r=e.videoEpisodes),"isMobile"in e&&n(1,i=e.isMobile)},[r,i]}class dT extends Ly{constructor(e){super(),Py(this,e,uT,cT,wv,{videoEpisodes:0,isMobile:1},aT)}}function pT(e){Rv(e,"v-jyllso",".interactive-icons.v-jyllso.v-jyllso{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-jyllso.v-jyllso{top:-10px}.slider.v-jyllso.v-jyllso{position:relative;height:var(--videoplayer-slider-height);border-radius:var(--videoplayer-slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-jyllso.v-jyllso{cursor:default}.slider.v-jyllso.v-jyllso:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--videoplayer-controls-height) / 2 - var(--videoplayer-slider-height)) / 2);height:calc(var(--videoplayer-controls-height) / 2)}.bars.v-jyllso.v-jyllso{position:absolute;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);overflow:hidden;background:var(--videoplayer-slider-bg)}.loaded.v-jyllso.v-jyllso{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background:var(--videoplayer-slider-loaded-bg);transition:transform 0.2s}.filled.v-jyllso.v-jyllso{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--videoplayer-slider-radius);background-color:var(--videoplayer-slider-filled-bg)}.slider.square.v-jyllso.v-jyllso,.slider.square.v-jyllso>.bars.v-jyllso,.slider.square.v-jyllso .loaded.v-jyllso,.slider.square.v-jyllso .filled.v-jyllso{border-radius:unset}.filled.active-live.v-jyllso.v-jyllso{background-color:var(--videoplayer-slider-filled-active-live-bg)}.filled.ads.v-jyllso.v-jyllso{background-color:var(--videoplayer-slider-filled-ads)}.handleWrap.v-jyllso.v-jyllso{position:absolute;left:-100%;width:100%}.handle.v-jyllso.v-jyllso{position:absolute;width:var(--videoplayer-slider-handle-size);height:var(--videoplayer-slider-handle-size);right:calc(-1 * var(--videoplayer-slider-handle-size) / 2);top:calc((var(--videoplayer-slider-height) - var(--videoplayer-slider-handle-size)) / 2);border-radius:50%;background-color:var(--videoplayer-slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-jyllso.v-jyllso{background-color:var(--videoplayer-slider-filled-active-live-bg)}.slider.v-jyllso:hover .handle.v-jyllso,.slider-dragging.v-jyllso .handle.v-jyllso{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-jyllso .handle.v-jyllso{transform:scale(1.3)}.slider-vertical.v-jyllso.v-jyllso{position:absolute;left:-26px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.hidden.v-jyllso.v-jyllso{visibility:hidden;opacity:0}")}function fT(e,t,n){const r=e.slice();return r[47]=t[n],r}function hT(e){let t,n,r=Ey(e[20]),i=[];for(let t=0;t<r.length;t+=1)i[t]=gT(fT(e,r,t));const o=e=>xy(i[e],1,1,(()=>{i[e]=null}));return{c(){t=Bv("div");for(let e=0;e<i.length;e+=1)i[e].c();qv(t,"class","interactive-icons v-jyllso"),Xv(t,"mobile",e[4]),Xv(t,"hidden",e[4]&&!e[19])},m(e,r){Iv(e,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);n=!0},p(e,a){if(1048832&a[0]){let n;for(r=Ey(e[20]),n=0;n<r.length;n+=1){const o=fT(e,r,n);i[n]?(i[n].p(o,a),Sy(i[n],1)):(i[n]=gT(o),i[n].c(),Sy(i[n],1),i[n].m(t,null))}for(wy(),n=r.length;n<i.length;n+=1)o(n);_y()}(!n||16&a[0])&&Xv(t,"mobile",e[4]),(!n||524304&a[0])&&Xv(t,"hidden",e[4]&&!e[19])},i(e){if(!n){for(let e=0;e<r.length;e+=1)Sy(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)xy(i[e]);n=!1},d(e){e&&Nv(t),jv(i,e)}}}function mT(e){let t,n;return t=new oT({props:{videoEpisode:e[47],disabled:e[8]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1048576&n[0]&&(r.videoEpisode=e[47]),256&n[0]&&(r.disabled=e[8]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function gT(e){let t,n,r=e[47].interactive&&mT(e);return{c(){r&&r.c(),t=Vv()},m(e,i){r&&r.m(e,i),Iv(e,t,i),n=!0},p(e,n){e[47].interactive?r?(r.p(e,n),1048576&n[0]&&Sy(r,1)):(r=mT(e),r.c(),Sy(r,1),r.m(t.parentNode,t)):r&&(wy(),xy(r,1,1,(()=>{r=null})),_y())},i(e){n||(Sy(r),n=!0)},o(e){xy(r),n=!1},d(e){e&&Nv(t),r&&r.d(e)}}}function vT(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("div"),i=zv(),o=Bv("div"),qv(n,"class","loaded v-jyllso"),qv(n,"style",r=`transform: translateX(${100*e[10]}%);`),qv(o,"class","filled v-jyllso"),qv(o,"style",a=`transform: translateX(${100*e[11]}%);`),Xv(o,"active-live",e[3]),Xv(o,"ads",e[5]),qv(t,"class","bars v-jyllso")},m(e,r){Iv(e,t,r),Dv(t,n),Dv(t,i),Dv(t,o)},p(e,t){1024&t[0]&&r!==(r=`transform: translateX(${100*e[10]}%);`)&&qv(n,"style",r),2048&t[0]&&a!==(a=`transform: translateX(${100*e[11]}%);`)&&qv(o,"style",a),8&t[0]&&Xv(o,"active-live",e[3]),32&t[0]&&Xv(o,"ads",e[5])},i:hv,o:hv,d(e){e&&Nv(t)}}}function yT(e){let t,n;return t=new dT({props:{videoEpisodes:e[20],isMobile:e[4]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1048576&n[0]&&(r.videoEpisodes=e[20]),16&n[0]&&(r.isMobile=e[4]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function bT(e){let t,n,r,i,o,a,s,l,c,u,d,p,f=e[7]&&hT(e);const h=[yT,vT],m=[];function g(e,t){return e[20].length?0:1}return r=g(e),i=m[r]=h[r](e),{c(){f&&f.c(),t=zv(),n=Bv("div"),i.c(),o=zv(),a=Bv("div"),s=Bv("div"),qv(s,"class","handle v-jyllso"),Xv(s,"active-live",e[3]),qv(a,"class","handleWrap v-jyllso"),qv(a,"style",l=`transform: translateX(${100*e[12]}%);`),Xv(a,"hidden",e[9]),qv(n,"class",c="slider "+e[0]+" "+(e[8]?zy:"")+" v-jyllso"),qv(n,"aria-label",e[13]),qv(n,"aria-valuemin",e[14]),qv(n,"aria-valuemax",e[15]),qv(n,"aria-valuenow",e[16]),qv(n,"aria-valuetext",e[17]),qv(n,"role","slider"),qv(n,"tabindex","0"),Xv(n,"slider-dragging",e[19]),Xv(n,"hidden",e[1]),Xv(n,"slider-vertical",e[2]),Xv(n,"no-handle",e[9]),Xv(n,"square",e[6])},m(i,l){f&&f.m(i,l),Iv(i,t,l),Iv(i,n,l),m[r].m(n,null),Dv(n,o),Dv(n,a),Dv(a,s),e[41](n),u=!0,d||(p=[Uv(n,"pointerdown",$v(e[21])),Uv(n,"pointermove",$v(e[22])),Uv(n,"pointerup",$v(e[23])),Uv(n,"pointerenter",$v(e[24])),Uv(n,"pointerleave",$v(e[25])),Uv(n,"click",Gv(Io)),Uv(n,"wheel",e[26])],d=!0)},p(e,d){e[7]?f?(f.p(e,d),128&d[0]&&Sy(f,1)):(f=hT(e),f.c(),Sy(f,1),f.m(t.parentNode,t)):f&&(wy(),xy(f,1,1,(()=>{f=null})),_y());let p=r;r=g(e),r===p?m[r].p(e,d):(wy(),xy(m[p],1,1,(()=>{m[p]=null})),_y(),i=m[r],i?i.p(e,d):(i=m[r]=h[r](e),i.c()),Sy(i,1),i.m(n,o)),(!u||8&d[0])&&Xv(s,"active-live",e[3]),(!u||4096&d[0]&&l!==(l=`transform: translateX(${100*e[12]}%);`))&&qv(a,"style",l),(!u||512&d[0])&&Xv(a,"hidden",e[9]),(!u||257&d[0]&&c!==(c="slider "+e[0]+" "+(e[8]?zy:"")+" v-jyllso"))&&qv(n,"class",c),(!u||8192&d[0])&&qv(n,"aria-label",e[13]),(!u||16384&d[0])&&qv(n,"aria-valuemin",e[14]),(!u||32768&d[0])&&qv(n,"aria-valuemax",e[15]),(!u||65536&d[0])&&qv(n,"aria-valuenow",e[16]),(!u||131072&d[0])&&qv(n,"aria-valuetext",e[17]),(!u||524545&d[0])&&Xv(n,"slider-dragging",e[19]),(!u||259&d[0])&&Xv(n,"hidden",e[1]),(!u||261&d[0])&&Xv(n,"slider-vertical",e[2]),(!u||769&d[0])&&Xv(n,"no-handle",e[9]),(!u||321&d[0])&&Xv(n,"square",e[6])},i(e){u||(Sy(f),Sy(i),u=!0)},o(e){xy(f),xy(i),u=!1},d(i){i&&(Nv(t),Nv(n)),f&&f.d(i),m[r].d(),e[41](null),d=!1,yv(p)}}}function wT(e,t,n){let r,i,o,a,{className:s=""}=t,{isHidden:l=!1}=t,{isVertical:c=!1}=t,{isActiveLive:u=!1}=t,{isMobile:d=!1}=t,{isAds:p=!1}=t,{squareBorders:f=!1}=t,{videoEpisodes:h=[]}=t,{withWheelHandler:m=!1}=t,{isInteractive:g=!1}=t,{disabled:v=!1}=t,{hideHandel:y=!1}=t,{onPointerDown:b=Io}=t,{onHandleMove:w=Io}=t,{onPointerUp:_=Io}=t,{onPointerEnter:S=Io}=t,{onPointerMove:x=Io}=t,{onPointerLeave:E=Io}=t,{onWheelUp:k=Io}=t,{onWheelDown:C=Io}=t,{onWheelLeft:T=Io}=t,{onWheelRight:O=Io}=t,{loadedProgress:M=0}=t,{filledProgress:A=0}=t,{handleProgress:P=0}=t,{ariaLabel:L=""}=t,{ariaValueMin:D}=t,{ariaValueMax:R}=t,{ariaValueNow:I}=t,{ariaValueText:N=""}=t;const j=Fy();let B,F=!1;function H(e,t){return c?Math.max(0,Math.min(1,(a.height-(t-a.top))/a.height)):Math.min(Math.max(e-a.x,0),a.width)/a.width}function z(e){return Math.min(Math.max(e-a.x,0),a.width)}return e.$$set=e=>{"className"in e&&n(0,s=e.className),"isHidden"in e&&n(1,l=e.isHidden),"isVertical"in e&&n(2,c=e.isVertical),"isActiveLive"in e&&n(3,u=e.isActiveLive),"isMobile"in e&&n(4,d=e.isMobile),"isAds"in e&&n(5,p=e.isAds),"squareBorders"in e&&n(6,f=e.squareBorders),"videoEpisodes"in e&&n(27,h=e.videoEpisodes),"withWheelHandler"in e&&n(28,m=e.withWheelHandler),"isInteractive"in e&&n(7,g=e.isInteractive),"disabled"in e&&n(8,v=e.disabled),"hideHandel"in e&&n(9,y=e.hideHandel),"onPointerDown"in e&&n(29,b=e.onPointerDown),"onHandleMove"in e&&n(30,w=e.onHandleMove),"onPointerUp"in e&&n(31,_=e.onPointerUp),"onPointerEnter"in e&&n(32,S=e.onPointerEnter),"onPointerMove"in e&&n(33,x=e.onPointerMove),"onPointerLeave"in e&&n(34,E=e.onPointerLeave),"onWheelUp"in e&&n(35,k=e.onWheelUp),"onWheelDown"in e&&n(36,C=e.onWheelDown),"onWheelLeft"in e&&n(37,T=e.onWheelLeft),"onWheelRight"in e&&n(38,O=e.onWheelRight),"loadedProgress"in e&&n(10,M=e.loadedProgress),"filledProgress"in e&&n(11,A=e.filledProgress),"handleProgress"in e&&n(12,P=e.handleProgress),"ariaLabel"in e&&n(13,L=e.ariaLabel),"ariaValueMin"in e&&n(14,D=e.ariaValueMin),"ariaValueMax"in e&&n(15,R=e.ariaValueMax),"ariaValueNow"in e&&n(16,I=e.ariaValueNow),"ariaValueText"in e&&n(17,N=e.ariaValueText)},e.$$.update=()=>{var t;32768&e.$$.dirty[0]&&n(39,B=null!=R?R:0),134217728&e.$$.dirty[0]|256&e.$$.dirty[1]&&n(40,r=(null==(t=h[h.length-1])?void 0:t.time)<B),134220800&e.$$.dirty[0]|768&e.$$.dirty[1]&&n(20,i=h.length&&r&&B?function(e,t){const n=j.features.episodesClustering&&!g?j.episodeMinWidthPc:0,r=[];let i=0,o=0,a=0;for(let s=1;s<h.length;s++)o=h[s].time/B*100,o-i>n&&(r.push({from:i,width:Math.max(0,o-i),loadedWidth:Math.max(0,Math.min(o,e)-i),filledWidth:Math.max(0,Math.min(o,t)-i),interactive:h[s-1].interactive,completed:h[s-1].completed}),i=h[s].time/B*100,a++);const s={from:i,width:Math.max(0,100-i),loadedWidth:Math.max(0,Math.min(e,100)-i),filledWidth:Math.max(0,Math.min(t,100)-i),interactive:h[a].interactive,completed:h[a].completed};100-i<n?(a-=1,r[a].width+=100-i,r[a].loadedWidth+=Math.max(0,Math.min(e,100)-i),r[a].filledWidth+=Math.max(0,Math.min(t,100)-i)):r[a]=s;const l=h[0].time;if(0!==l){const n=l/B*100;r.unshift({from:0,width:n,loadedWidth:Math.min(n,e),filledWidth:Math.min(n,t)})}return r}(100*M,100*A):[])},[s,l,c,u,d,p,f,g,v,y,M,A,P,L,D,R,I,N,o,F,i,function(e){if(F)return;n(19,F=!0),a=o.getBoundingClientRect();const t=H(e.clientX,e.clientY);b(t),o.setPointerCapture(e.pointerId)},function(e){const t=H(e.clientX,e.clientY),n=z(e.clientX);x(t,n,a.width),F&&w(t)},function(e){if(!F)return;n(19,F=!1);const t=H(e.clientX,e.clientY);_(t)},function(e){a=o.getBoundingClientRect();const t=H(e.clientX,e.clientY),n=z(e.clientX);S(t,n,a.width)},function(){E()},function(e){m&&(e.preventDefault(),e.deltaY<0?k():e.deltaY>0?C():e.deltaX>0?O():T())},h,m,b,w,_,S,x,E,k,C,T,O,B,r,function(e){sy[e?"unshift":"push"]((()=>{o=e,n(18,o)}))}]}class _T extends Ly{constructor(e){super(),Py(this,e,wT,bT,wv,{className:0,isHidden:1,isVertical:2,isActiveLive:3,isMobile:4,isAds:5,squareBorders:6,videoEpisodes:27,withWheelHandler:28,isInteractive:7,disabled:8,hideHandel:9,onPointerDown:29,onHandleMove:30,onPointerUp:31,onPointerEnter:32,onPointerMove:33,onPointerLeave:34,onWheelUp:35,onWheelDown:36,onWheelLeft:37,onWheelRight:38,loadedProgress:10,filledProgress:11,handleProgress:12,ariaLabel:13,ariaValueMin:14,ariaValueMax:15,ariaValueNow:16,ariaValueText:17},pT,[-1,-1])}}function ST(e){Rv(e,"v-1hh4cm1",".icon.v-1hh4cm1.v-1hh4cm1{display:block;width:24px;height:24px}.icon.v-1hh4cm1 .cross.v-1hh4cm1{visibility:hidden}.icon[data-value='off'].v-1hh4cm1 .wave1.v-1hh4cm1,.icon[data-value='off'].v-1hh4cm1 .wave2.v-1hh4cm1{visibility:hidden}.icon[data-value='off'].v-1hh4cm1 .cross.v-1hh4cm1{visibility:visible}.icon[data-value='mid'].v-1hh4cm1 .wave2.v-1hh4cm1,.icon[data-value='min'].v-1hh4cm1 .wave2.v-1hh4cm1{visibility:hidden}.no-volumeBar.v-1hh4cm1.v-1hh4cm1{padding-right:8px}.volumeBar-container.v-1hh4cm1.v-1hh4cm1{display:flex;align-items:center}.volumeBar.v-1hh4cm1.v-1hh4cm1{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1hh4cm1.v-1hh4cm1{padding:0;width:0}")}function xT(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("div"),n=Fv("svg"),r=Fv("g"),i=Fv("path"),o=Fv("path"),a=Fv("path"),qv(i,"class","wave2 v-1hh4cm1"),qv(i,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032zm3-1.99999997c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0 .2637116.26371158.6207023.73969919.9665078 1.43131016.5167785 1.03355701.842501 2.25503497.8892639 3.71655167-.0467629 1.4032299-.3724854 2.6247079-.8892639 3.6582649-.3458055.6916109-.7027962 1.1675985-.9665078 1.4313101-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.1375896-.1375897.3825507-.4642045.638697-.9764971.4071252-.8142505.6673665-1.7901701.7054825-2.8756411-.038116-1.1437578-.2983573-2.11967743-.7054825-2.93392787-.2561463-.51229266-.5011074-.83890747-.638697-.9764971z"),qv(o,"class","wave1 v-1hh4cm1"),qv(o,"d","M12.980843 18.8227621c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545zm2.9004386-8.7040437c-.3417088-.34170872-.3417088-.89572808 0-1.23743683.3417087-.34170876.8957281-.34170876 1.2374368 0 .1762598.17625972.4111566.46988072.6409943.87209686C18.1429358 10.4240187 18.375 11.1782274 18.375 12s-.2320642 1.5759813-.6152873 2.2466216c-.2298377.4022161-.4647345.6958371-.6409943.8720968-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368.0737402-.0737403.2138434-.2488693.3590057-.5029032C16.4820642 12.9552687 16.625 12.4907274 16.625 12s-.1429358-.9552687-.3847127-1.3783784c-.1451623-.2540339-.2852655-.4291629-.3590057-.5029032z"),qv(a,"class","cross v-1hh4cm1"),qv(a,"d","M20 10.7625631l2.3812816-2.38128153c.3417087-.34170876.8957281-.34170876 1.2374368 0 .3417088.34170875.3417088.89572811 0 1.23743686L21.2374369 12l2.3812815 2.3812816c.3417088.3417087.3417088.8957281 0 1.2374368-.3417087.3417088-.8957281.3417088-1.2374368 0L20 13.2374369l-2.3812816 2.3812815c-.3417087.3417088-.8957281.3417088-1.2374368 0-.3417088-.3417087-.3417088-.8957281 0-1.2374368L18.7625631 12l-2.3812815-2.38128157c-.3417088-.34170875-.3417088-.89572811 0-1.23743686.3417087-.34170876.8957281-.34170876 1.2374368 0zm-7.019157 8.060199c-.032051 1.2070086-.6704932 1.608931-1.8287519.6202507-1.7185995-1.4687545-3.60887471-3.1942931-4.24215929-3.7215065-.63217937-.528454-1.64491897-.6202511-3.07284859-.6202511-1.42682441 0-1.81505873-.6202511-1.81505873-1.2405016s-.01369327-1.8288162-.01369327-2.001246c0-.0549443.00464608-.085056.01369327-.1291845.01954957-.0953551-.05817756-.9728525 0-1.591076.08510106-.90556663.38823432-1.24050252 1.81505873-1.24050252 1.42792962 0 2.44066922-.09179716 3.07284859-.62025109.63328458-.52845393 2.52355979-2.25275186 4.24215929-3.72150644 1.1582587-.98868024 1.7967003-.58675756 1.8287514.62025106.0431031 1.60645033 5e-7 3.85020301 5e-7 6.68226949 0 2.8295855.0431032 5.3568042 0 6.9632545z"),qv(r,"fill","#fff"),qv(r,"fill-rule","evenodd"),qv(n,"xmlns","http://www.w3.org/2000/svg"),qv(n,"class","icon v-1hh4cm1"),qv(n,"data-value",e[4]),qv(t,"tabindex","0"),qv(t,"role","button"),qv(t,"class","v-1hh4cm1"),Xv(t,"no-volumeBar",!e[1])},m(c,u){Iv(c,t,u),Dv(t,n),Dv(n,r),Dv(r,i),Dv(r,o),Dv(r,a),s||(l=[Uv(t,"mouseenter",(function(){bv(e[0]?e[16]:Io)&&(e[0]?e[16]:Io).apply(this,arguments)})),Uv(t,"mouseleave",(function(){bv(e[0]?e[17]:Io)&&(e[0]?e[17]:Io).apply(this,arguments)})),Uv(t,"click",Gv(e[22])),Uv(t,"wheel",$v(e[18]))],s=!0)},p(r,i){e=r,16&i[0]&&qv(n,"data-value",e[4]),2&i[0]&&Xv(t,"no-volumeBar",!e[1])},d(e){e&&Nv(t),s=!1,yv(l)}}}function ET(e){let t,n,r;return n=new _T({props:{className:e[0]?"volumeBar-slider-vertical":"",isHidden:e[0]&&!e[2],isVertical:e[0],withWheelHandler:!0,onWheelUp:e[10],onWheelDown:e[11],onPointerDown:e[9],onHandleMove:e[12],onPointerUp:e[13],onPointerEnter:e[0]?e[14]:Io,onPointerLeave:e[0]?e[15]:Io,ariaLabel:"Ползунок громкоÑти",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(100*e[5]),ariaValueText:`${Math.round(100*e[5])}%`,filledProgress:e[5],handleProgress:e[5]}}),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","volumeBar v-1hh4cm1"),Xv(t,"volumeBar-vertical",e[0])},m(e,i){Iv(e,t,i),Oy(n,t,null),r=!0},p(e,i){const o={};1&i[0]&&(o.className=e[0]?"volumeBar-slider-vertical":""),5&i[0]&&(o.isHidden=e[0]&&!e[2]),1&i[0]&&(o.isVertical=e[0]),1&i[0]&&(o.onPointerEnter=e[0]?e[14]:Io),1&i[0]&&(o.onPointerLeave=e[0]?e[15]:Io),32&i[0]&&(o.ariaValueNow=Math.round(100*e[5])),32&i[0]&&(o.ariaValueText=`${Math.round(100*e[5])}%`),32&i[0]&&(o.filledProgress=e[5]),32&i[0]&&(o.handleProgress=e[5]),n.$set(o),(!r||1&i[0])&&Xv(t,"volumeBar-vertical",e[0])},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n)}}}function kT(e){let t,n,r,i;n=new WC({props:{controlInfo:e[8],tooltipContent:e[3],initialTranslateYPx:-18,$$slots:{default:[xT]},$$scope:{ctx:e}}});let o=e[1]&&ET(e);return{c(){t=Bv("div"),Ty(n.$$.fragment),r=zv(),o&&o.c(),qv(t,"class","volumeBar-container v-1hh4cm1")},m(e,a){Iv(e,t,a),Oy(n,t,null),Dv(t,r),o&&o.m(t,null),i=!0},p(e,r){const i={};8&r[0]&&(i.tooltipContent=e[3]),19&r[0]|1&r[1]&&(i.$$scope={dirty:r,ctx:e}),n.$set(i),e[1]?o?(o.p(e,r),2&r[0]&&Sy(o,1)):(o=ET(e),o.c(),Sy(o,1),o.m(t,null)):o&&(wy(),xy(o,1,1,(()=>{o=null})),_y())},i(e){i||(Sy(n.$$.fragment,e),Sy(o),i=!0)},o(e){xy(n.$$.fragment,e),xy(o),i=!1},d(e){e&&Nv(t),My(n),o&&o.d()}}}function CT(e,t,n){let r,i,{isVerticalVolume:o=!1}=t,{isAudioAvailable:a=!0}=t;const s=Xy(),l=Fy(),c=s.state.volume$;kv(e,c,(e=>n(20,r=e)));const u=s.state.muted$;kv(e,u,(e=>n(21,i=e)));const d=s.actions.internal.setVolume,p=s.ui.controls.volume;let f,h,m,g,v,y=!1,b=1,w=!1;function _(){_k(s,r,l.controls.volumeStepWheel)}function S(){Sk(s,r,l.controls.volumeStepWheel)}function x(){f=window.setTimeout((()=>{w||n(2,y=!1)}),l.controls.volumeBarTimeout)}return e.$$set=e=>{"isVerticalVolume"in e&&n(0,o=e.isVerticalVolume),"isAudioAvailable"in e&&n(1,a=e.isAudioAvailable)},e.$$.update=()=>{2097154&e.$$.dirty[0]&&n(19,m=!a||i),524289&e.$$.dirty[0]&&n(3,h=o?"":gx(m?"tooltip_volume":"tooltip_volume_muted")),1572864&e.$$.dirty[0]&&n(4,g=function(e,t){return t?"off":e>.5?"max":e>.2?"mid":e>0?"min":"off"}(r,m)),1572864&e.$$.dirty[0]&&n(5,v=m?0:r)},[o,a,y,h,g,v,c,u,p,function(e){b=r,d(e)},_,S,function(e){d(e)},function(e){d(e,0===e?b:e)},function(){w=!0},function(){w=!1,x()},function(){clearTimeout(f),n(2,y=!0)},function(){x()},function(e){e.deltaY<0?_():e.deltaY>0&&S()},m,r,i,function(t){oy.call(this,e,t)}]}class TT extends Ly{constructor(e){super(),Py(this,e,CT,kT,wv,{isVerticalVolume:0,isAudioAvailable:1},ST,[-1,-1])}}function OT(e){Rv(e,"v-daygaf",".icon.v-daygaf{display:block;width:24px;height:24px}")}function MT(e){let t;return{c(){t=Fv("path"),qv(t,"class","_enter"),qv(t,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(e,n){Iv(e,t,n)},d(e){e&&Nv(t)}}}function AT(e){let t;return{c(){t=Fv("path"),qv(t,"class","_exit"),qv(t,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(e,n){Iv(e,t,n)},d(e){e&&Nv(t)}}}function PT(e){let t,n,r,i,o;function a(e,t){return e[0]?AT:MT}let s=a(e),l=s(e);return{c(){t=Bv("div"),n=Fv("svg"),r=Fv("g"),l.c(),qv(r,"fill","#fff"),qv(r,"fill-rule","evenodd"),qv(n,"class","icon v-daygaf"),qv(n,"xmlns","http://www.w3.org/2000/svg"),qv(t,"role","button"),qv(t,"tabindex","0")},m(a,s){Iv(a,t,s),Dv(t,n),Dv(n,r),l.m(r,null),i||(o=Uv(t,"click",Gv(e[2])),i=!0)},p(e,[t]){s!==(s=a(e))&&(l.d(1),l=s(e),l&&(l.c(),l.m(r,null)))},i:hv,o:hv,d(e){e&&Nv(t),l.d(),i=!1,o()}}}function LT(e,t,n){let r;const i=Xy().ui.isFullscreen;return kv(e,i,(e=>n(0,r=e))),[r,i,function(t){oy.call(this,e,t)}]}class DT extends Ly{constructor(e){super(),Py(this,e,LT,PT,wv,{},OT)}}var RT="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z' fill='white'/%3e%3c/svg%3e",IT="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z' fill='white'/%3e%3c/svg%3e";function NT(e){Rv(e,"v-1kcq5gq",".container-mobile.v-1kcq5gq{width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center;position:relative}.icon.v-1kcq5gq{display:block;width:24px;height:24px}.icon-mobile.v-1kcq5gq{position:relative;width:48px;height:48px}.icon-background-mobile.v-1kcq5gq{position:absolute;top:0;left:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);width:100%;height:100%}")}function jT(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),Sv(n.src,r=e[2])||qv(n,"src",r),qv(n,"class","icon v-1kcq5gq"),qv(n,"alt",""),qv(t,"class",i=Pv(e[0])+" v-1kcq5gq"),qv(t,"role","button"),qv(t,"tabindex","0")},m(r,i){Iv(r,t,i),Dv(t,n),o||(a=Uv(t,"click",Gv((function(){bv(e[1])&&e[1].apply(this,arguments)}))),o=!0)},p(o,a){e=o,4&a&&!Sv(n.src,r=e[2])&&qv(n,"src",r),1&a&&i!==(i=Pv(e[0])+" v-1kcq5gq")&&qv(t,"class",i)},d(e){e&&Nv(t),o=!1,a()}}}function BT(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("div"),n=Bv("div"),r=zv(),i=Bv("img"),qv(n,"class","icon-background-mobile v-1kcq5gq"),Sv(i.src,o=e[2])||qv(i,"src",o),qv(i,"class","icon-mobile v-1kcq5gq"),qv(i,"alt",""),qv(t,"class",a="container-mobile "+e[0]+" v-1kcq5gq"),qv(t,"role","button"),qv(t,"tabindex","0")},m(o,a){Iv(o,t,a),Dv(t,n),Dv(t,r),Dv(t,i),s||(l=Uv(t,"click",Gv((function(){bv(e[1])&&e[1].apply(this,arguments)}))),s=!0)},p(n,r){e=n,4&r&&!Sv(i.src,o=e[2])&&qv(i,"src",o),1&r&&a!==(a="container-mobile "+e[0]+" v-1kcq5gq")&&qv(t,"class",a)},d(e){e&&Nv(t),s=!1,l()}}}function FT(e){let t;function n(e,t){return e[3]?BT:jT}let r=n(e),i=r(e);return{c(){i.c(),t=Vv()},m(e,n){i.m(e,n),Iv(e,t,n)},p(e,[o]){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},i:hv,o:hv,d(e){e&&Nv(t),i.d(e)}}}function HT(e,t,n){let r,i,o,a,{isEnded:s}=t,{isAds:l}=t,{playbackState:c}=t,{adPlaybackState:u}=t,{className:d=""}=t,{handlePlayClick:p}=t,{repeatPlaylist:f}=t,{isOneVideoPlaylist:h}=t;const m=Xy(),g=m.ui.isMobile;kv(e,g,(e=>n(3,a=e)));const v=m.state.isInteractiveTime$;return kv(e,v,(e=>n(13,o=e))),e.$$set=e=>{"isEnded"in e&&n(6,s=e.isEnded),"isAds"in e&&n(7,l=e.isAds),"playbackState"in e&&n(8,c=e.playbackState),"adPlaybackState"in e&&n(9,u=e.adPlaybackState),"className"in e&&n(0,d=e.className),"handlePlayClick"in e&&n(10,p=e.handlePlayClick),"repeatPlaylist"in e&&n(11,f=e.repeatPlaylist),"isOneVideoPlaylist"in e&&n(12,h=e.isOneVideoPlaylist)},e.$$.update=()=>{960&e.$$.dirty&&n(2,r=l?function(e){return e===wx.PLAYING?IT:RT}(u):function(e,t){return t&&!o?"data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z' fill='white'/%3e%3c/svg%3e":e===an.PLAYING?IT:RT}(c,s)),7360&e.$$.dirty&&n(1,i=l||!s||h?p:f)},[d,i,r,a,g,v,s,l,c,u,p,f,h]}class zT extends Ly{constructor(e){super(),Py(this,e,HT,FT,wv,{isEnded:6,isAds:7,playbackState:8,adPlaybackState:9,className:0,handlePlayClick:10,repeatPlaylist:11,isOneVideoPlaylist:12},NT)}}var VT="data:image/svg+xml,%3csvg width='26' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z' fill='white'/%3e%3c/svg%3e";function UT(e){Rv(e,"v-3q9vh6",".container-mobile-prev.v-3q9vh6{margin-right:12px}.container-mobile-next.v-3q9vh6{margin-right:12px}.icon.v-3q9vh6{display:block;height:24px}.icon-mobile.v-3q9vh6{height:32px}.icon-prev.v-3q9vh6{transform:scaleX(-1)}")}function $T(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),qv(n,"class","icon v-3q9vh6"),Sv(n.src,r=VT)||qv(n,"src",r),qv(n,"alt",""),Xv(n,"icon-prev","prev"===e[1]),qv(t,"role","button"),qv(t,"class",i=Pv(e[0]?zy:"")+" v-3q9vh6"),qv(t,"tabindex","0")},m(r,i){Iv(r,t,i),Dv(t,n),o||(a=Uv(t,"click",Gv(e[5])),o=!0)},p(e,r){2&r&&Xv(n,"icon-prev","prev"===e[1]),1&r&&i!==(i=Pv(e[0]?zy:"")+" v-3q9vh6")&&qv(t,"class",i)},d(e){e&&Nv(t),o=!1,a()}}}function GT(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),qv(n,"class","icon-mobile v-3q9vh6"),Sv(n.src,r=VT)||qv(n,"src",r),qv(n,"alt",""),Xv(n,"icon-prev","prev"===e[1]),qv(t,"class",i=Pv(e[0]?zy:"")+" v-3q9vh6"),qv(t,"role","button"),qv(t,"tabindex","0"),Xv(t,"container-mobile-prev","prev"===e[1]),Xv(t,"container-mobile-next","next"===e[1])},m(r,i){Iv(r,t,i),Dv(t,n),o||(a=Uv(t,"click",e[4]),o=!0)},p(e,r){2&r&&Xv(n,"icon-prev","prev"===e[1]),1&r&&i!==(i=Pv(e[0]?zy:"")+" v-3q9vh6")&&qv(t,"class",i),3&r&&Xv(t,"container-mobile-prev","prev"===e[1]),3&r&&Xv(t,"container-mobile-next","next"===e[1])},d(e){e&&Nv(t),o=!1,a()}}}function qT(e){let t;function n(e,t){return e[2]?GT:$T}let r=n(e),i=r(e);return{c(){i.c(),t=Vv()},m(e,n){i.m(e,n),Iv(e,t,n)},p(e,[o]){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},i:hv,o:hv,d(e){e&&Nv(t),i.d(e)}}}function WT(e,t,n){let r,{disabled:i=!1}=t,{type:o}=t;const a=Xy().ui.isMobile;return kv(e,a,(e=>n(2,r=e))),e.$$set=e=>{"disabled"in e&&n(0,i=e.disabled),"type"in e&&n(1,o=e.type)},[i,o,r,a,function(t){oy.call(this,e,t)},function(t){oy.call(this,e,t)}]}class ZT extends Ly{constructor(e){super(),Py(this,e,WT,qT,wv,{disabled:0,type:1},UT)}}var YT="data:image/svg+xml,%3csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z' fill='white'/%3e%3c/svg%3e";function KT(e){Rv(e,"v-j4644b",".no-hover.v-j4644b{pointer-events:none}.icon.v-j4644b{display:block;width:24px;height:24px}")}function QT(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=YT)||qv(t,"src",n),qv(t,"class","icon v-j4644b"),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function XT(e){let t,n,r,i,o;return{c(){t=Bv("a"),n=Bv("img"),Sv(n.src,r=YT)||qv(n,"src",r),qv(n,"class","icon v-j4644b"),qv(n,"alt",""),qv(t,"href",e[2].logoLink),qv(t,"target","_blank"),qv(t,"rel","noreferrer")},m(r,a){Iv(r,t,a),Dv(t,n),i||(o=Uv(t,"click",Gv(e[3])),i=!0)},p:hv,d(e){e&&Nv(t),i=!1,o()}}}function JT(e){let t,n;function r(e,t){return e[1]?XT:QT}let i=r(e),o=i(e);return{c(){t=Bv("div"),o.c(),qv(t,"class",n=Pv(e[0])+" v-j4644b"),qv(t,"role","button"),qv(t,"tabindex","0"),Xv(t,"no-hover",!e[1])},m(e,n){Iv(e,t,n),o.m(t,null)},p(e,[a]){i===(i=r(e))&&o?o.p(e,a):(o.d(1),o=i(e),o&&(o.c(),o.m(t,null))),1&a&&n!==(n=Pv(e[0])+" v-j4644b")&&qv(t,"class",n),3&a&&Xv(t,"no-hover",!e[1])},i:hv,o:hv,d(e){e&&Nv(t),o.d()}}}function eO(e,t,n){let{className:r=""}=t,{logoClickable:i=!1}=t;const o=Fy();return e.$$set=e=>{"className"in e&&n(0,r=e.className),"logoClickable"in e&&n(1,i=e.logoClickable)},[r,i,o,function(t){oy.call(this,e,t)}]}class tO extends Ly{constructor(e){super(),Py(this,e,eO,JT,wv,{className:0,logoClickable:1},KT)}}var nO="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_178456)'%3e%3cg filter='url(%23filter0_d_4085_178456)'%3e%3cmask id='path-1-outside-1_4085_178456' maskUnits='userSpaceOnUse' x='1.1001' y='3.10001' width='22' height='18' fill='black'%3e%3crect fill='white' x='1.1001' y='3.10001' width='22' height='18'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z'/%3e%3c/mask%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z' fill='white'/%3e%3cpath d='M18.0971 5.93789L18.0564 6.43623L18.0971 5.93789ZM18.9534 6.12889L18.7264 6.5744V6.5744L18.9534 6.12889ZM19.8711 7.04663L19.4256 7.27362V7.27362L19.8711 7.04663ZM20.0621 7.9029L19.5638 7.94362V7.94362L20.0621 7.9029ZM20.0621 16.0971L19.5638 16.0564V16.0564L20.0621 16.0971ZM19.8711 16.9534L19.4256 16.7264V16.7264L19.8711 16.9534ZM18.9534 17.8711L18.7264 17.4256V17.4256L18.9534 17.8711ZM18.0971 18.0621L18.1378 18.5605H18.1378L18.0971 18.0621ZM16.2377 19.9L16.2377 19.4H16.2377V19.9ZM18.2437 19.8561L18.2844 20.3545L18.2437 19.8561ZM19.7706 19.4749L19.5436 19.0294V19.0294L19.7706 19.4749ZM21.4749 17.7706L21.9204 17.9976V17.9976L21.4749 17.7706ZM21.8561 16.2437L22.3545 16.2844L21.8561 16.2437ZM21.9 14.2378H21.4V14.2378L21.9 14.2378ZM21.9 9.76221L21.4 9.7622V9.76221H21.9ZM21.8561 7.75632L22.3545 7.71561V7.71561L21.8561 7.75632ZM21.4749 6.22944L21.9204 6.00245V6.00245L21.4749 6.22944ZM19.7706 4.52508L19.5436 4.97058V4.97059L19.7706 4.52508ZM18.2437 4.14387L18.2844 3.64553L18.2437 4.14387ZM16.2377 4.10001V4.60001H16.2377L16.2377 4.10001ZM6 4.10001V3.60001H5.99999L6 4.10001ZM2.3222 6.70008L1.85078 6.53346H1.85078L2.3222 6.70008ZM4.01931 7.29993L3.54789 7.1333V7.13331L4.01931 7.29993ZM6 5.90001V5.40001H5.99999L6 5.90001ZM3.0689 11.5203L3.03087 11.0217H3.03087L3.0689 11.5203ZM10.4817 18.933L10.9803 18.971L10.4817 18.933ZM12.2765 19.0698L12.7751 19.1079L12.2765 19.0698ZM2.93202 9.72547L2.894 9.22691H2.894L2.93202 9.72547ZM2.10306 10.6913L2.60162 10.6533L2.10306 10.6913ZM3.12803 15.1336L3.05702 14.6387H3.05702L3.12803 15.1336ZM2.10933 14.3706L2.60427 14.2996L2.10933 14.3706ZM2.8724 13.3519L2.94341 13.8468H2.94341L2.8724 13.3519ZM8.65006 19.1295L9.145 19.2005V19.2005L8.65006 19.1295ZM7.63138 19.8926L7.56037 20.3875L7.56037 20.3875L7.63138 19.8926ZM6.86831 18.8739L7.36324 18.9449L7.36324 18.9449L6.86831 18.8739ZM18.1378 5.43955C17.6576 5.40031 17.0465 5.40001 16.2 5.40001V6.40001C17.0634 6.40001 17.6264 6.4011 18.0564 6.43623L18.1378 5.43955ZM19.1804 5.68339C18.9252 5.55336 18.6131 5.47839 18.1378 5.43955L18.0564 6.43623C18.4703 6.47005 18.6359 6.52829 18.7264 6.5744L19.1804 5.68339ZM20.3166 6.81963C20.0673 6.33041 19.6696 5.93266 19.1804 5.68339L18.7264 6.5744C19.0274 6.72779 19.2722 6.97256 19.4256 7.27362L20.3166 6.81963ZM20.5605 7.86219C20.5216 7.38687 20.4466 7.07483 20.3166 6.81963L19.4256 7.27362C19.4717 7.36412 19.53 7.52974 19.5638 7.94362L20.5605 7.86219ZM20.6 9.80001C20.6 8.95353 20.5997 8.34242 20.5605 7.86218L19.5638 7.94362C19.5989 8.37359 19.6 8.93662 19.6 9.80001H20.6ZM20.6 14.2V9.80001H19.6V14.2H20.6ZM20.5605 16.1378C20.5997 15.6576 20.6 15.0465 20.6 14.2H19.6C19.6 15.0634 19.5989 15.6264 19.5638 16.0564L20.5605 16.1378ZM20.3166 17.1804C20.4466 16.9252 20.5216 16.6131 20.5605 16.1378L19.5638 16.0564C19.53 16.4703 19.4717 16.6359 19.4256 16.7264L20.3166 17.1804ZM19.1804 18.3166C19.6696 18.0674 20.0673 17.6696 20.3166 17.1804L19.4256 16.7264C19.2722 17.0275 19.0274 17.2722 18.7264 17.4256L19.1804 18.3166ZM18.1378 18.5605C18.6131 18.5216 18.9252 18.4467 19.1804 18.3166L18.7264 17.4256C18.6359 17.4717 18.4703 17.53 18.0564 17.5638L18.1378 18.5605ZM16.2 18.6C17.0465 18.6 17.6576 18.5997 18.1378 18.5605L18.0564 17.5638C17.6264 17.5989 17.0634 17.6 16.2 17.6V18.6ZM15 18.6H16.2V17.6H15V18.6ZM14.6 19C14.6 18.7791 14.7791 18.6 15 18.6V17.6C14.2268 17.6 13.6 18.2268 13.6 19H14.6ZM15 19.4C14.7791 19.4 14.6 19.2209 14.6 19H13.6C13.6 19.7732 14.2268 20.4 15 20.4V19.4ZM16.2377 19.4H15V20.4H16.2377V19.4ZM18.203 19.3578C17.6908 19.3997 17.0532 19.4 16.2377 19.4L16.2377 20.4C17.0383 20.4 17.7224 20.4004 18.2844 20.3545L18.203 19.3578ZM19.5436 19.0294C19.1569 19.2265 18.7278 19.3149 18.203 19.3578L18.2844 20.3545C18.8713 20.3065 19.4465 20.2012 19.9976 19.9204L19.5436 19.0294ZM21.0294 17.5436C20.7035 18.1833 20.1833 18.7035 19.5436 19.0294L19.9976 19.9204C20.8255 19.4986 21.4986 18.8255 21.9204 17.9976L21.0294 17.5436ZM21.3578 16.203C21.3149 16.7279 21.2265 17.1569 21.0294 17.5436L21.9204 17.9976C22.2012 17.4465 22.3065 16.8713 22.3545 16.2844L21.3578 16.203ZM21.4 14.2378C21.4 15.0533 21.3996 15.6908 21.3578 16.203L22.3545 16.2844C22.4004 15.7225 22.4 15.0383 22.4 14.2378L21.4 14.2378ZM21.4 14.2377V14.2378H22.4V14.2377H21.4ZM21.4 9.7623V14.2377H22.4V9.7623H21.4ZM21.4 9.76221V9.7623H22.4V9.76221H21.4ZM21.3578 7.79704C21.3996 8.3092 21.4 8.94673 21.4 9.7622L22.4 9.76221C22.4 8.96167 22.4004 8.27756 22.3545 7.71561L21.3578 7.79704ZM21.0294 6.45644C21.2265 6.84316 21.3149 7.27216 21.3578 7.79704L22.3545 7.71561C22.3065 7.12867 22.2012 6.55351 21.9204 6.00245L21.0294 6.45644ZM19.5436 4.97059C20.1833 5.29655 20.7035 5.81669 21.0294 6.45644L21.9204 6.00245C21.4986 5.17454 20.8255 4.50142 19.9976 4.07958L19.5436 4.97059ZM18.203 4.64221C18.7278 4.68509 19.1569 4.77354 19.5436 4.97058L19.9976 4.07958C19.4465 3.7988 18.8713 3.69348 18.2844 3.64553L18.203 4.64221ZM16.2377 4.60001C17.0532 4.6 17.6908 4.60036 18.203 4.64221L18.2844 3.64553C17.7224 3.59961 17.0383 3.6 16.2377 3.60001L16.2377 4.60001ZM16.2377 4.60001H16.2377V3.60001H16.2377V4.60001ZM6.00005 4.60001H16.2377V3.60001H6.00005V4.60001ZM6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001V4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005V3.60001ZM5.99999 3.60001C4.08179 3.60003 2.45405 4.82666 1.85078 6.53346L2.79362 6.86671C3.26026 5.54647 4.51927 4.60002 6.00001 4.60001L5.99999 3.60001ZM1.85078 6.53346C1.59311 7.26246 1.97521 8.06232 2.70421 8.31998L3.03745 7.37714C2.82917 7.30352 2.72 7.07499 2.79362 6.86671L1.85078 6.53346ZM2.70421 8.31998C3.43321 8.57765 4.23306 8.19555 4.49073 7.46655L3.54789 7.13331C3.47427 7.34159 3.24574 7.45076 3.03745 7.37714L2.70421 8.31998ZM4.49073 7.46655C4.71088 6.84369 5.3051 6.40002 6.00001 6.40001L5.99999 5.40001C4.86905 5.40003 3.90516 6.1225 3.54789 7.1333L4.49073 7.46655ZM16.2 5.40001H6V6.40001H16.2V5.40001ZM3.60196 11C3.40972 11 3.21928 11.0073 3.03087 11.0217L3.10692 12.0188C3.27004 12.0064 3.43512 12 3.60196 12V11ZM11.002 18.4C11.002 14.3131 7.68886 11 3.60196 11V12C7.13658 12 10.002 14.8654 10.002 18.4H11.002ZM10.9803 18.971C10.9946 18.7826 11.002 18.5922 11.002 18.4H10.002C10.002 18.5668 9.9956 18.7319 9.98317 18.895L10.9803 18.971ZM11.3487 19.4003C11.1284 19.3835 10.9635 19.1913 10.9803 18.971L9.98317 18.895C9.92438 19.6659 10.5017 20.3386 11.2727 20.3974L11.3487 19.4003ZM11.778 19.0318C11.7612 19.2521 11.569 19.417 11.3487 19.4003L11.2727 20.3974C12.0436 20.4561 12.7163 19.8788 12.7751 19.1079L11.778 19.0318ZM11.802 18.4C11.802 18.6125 11.7939 18.8232 11.778 19.0318L12.7751 19.1079C12.7929 18.874 12.802 18.6379 12.802 18.4H11.802ZM3.60196 10.2C8.13069 10.2 11.802 13.8713 11.802 18.4H12.802C12.802 13.319 8.68297 9.20001 3.60196 9.20001V10.2ZM2.97004 10.224C3.17866 10.2081 3.3894 10.2 3.60196 10.2V9.20001C3.364 9.20001 3.1279 9.20908 2.894 9.22691L2.97004 10.224ZM2.60162 10.6533C2.58482 10.433 2.74977 10.2408 2.97004 10.224L2.894 9.22691C2.12304 9.28571 1.54571 9.95836 1.60451 10.7293L2.60162 10.6533ZM3.03087 11.0217C2.8106 11.0385 2.61841 10.8736 2.60162 10.6533L1.60451 10.7293C1.66331 11.5003 2.33596 12.0776 3.10692 12.0188L3.03087 11.0217ZM3.19903 15.6286C3.3299 15.6098 3.46438 15.6 3.60196 15.6V14.6C3.41671 14.6 3.23478 14.6132 3.05702 14.6387L3.19903 15.6286ZM1.6144 14.4416C1.72421 15.207 2.43367 15.7384 3.19903 15.6286L3.05702 14.6387C2.83834 14.6701 2.63564 14.5183 2.60427 14.2996L1.6144 14.4416ZM2.80139 12.857C2.03603 12.9668 1.5046 13.6762 1.6144 14.4416L2.60427 14.2996C2.57289 14.0809 2.72473 13.8782 2.94341 13.8468L2.80139 12.857ZM3.60196 12.8C3.33091 12.8 3.06356 12.8193 2.80139 12.857L2.94341 13.8468C3.15868 13.8159 3.37858 13.8 3.60196 13.8V12.8ZM9.20196 18.4C9.20196 15.3072 6.69476 12.8 3.60196 12.8V13.8C6.14247 13.8 8.20196 15.8595 8.20196 18.4H9.20196ZM9.145 19.2005C9.1826 18.9384 9.20196 18.671 9.20196 18.4H8.20196C8.20196 18.6234 8.18601 18.8432 8.15513 19.0585L9.145 19.2005ZM7.56037 20.3875C8.32574 20.4973 9.0352 19.9659 9.145 19.2005L8.15513 19.0585C8.12376 19.2772 7.92106 19.429 7.70238 19.3977L7.56037 20.3875ZM6.37337 18.8029C6.26357 19.5683 6.79501 20.2777 7.56037 20.3875L7.70238 19.3977C7.48371 19.3663 7.33187 19.1636 7.36324 18.9449L6.37337 18.8029ZM6.40196 18.4C6.40196 18.5376 6.39215 18.672 6.37337 18.8029L7.36324 18.9449C7.38874 18.7671 7.40196 18.5852 7.40196 18.4H6.40196ZM3.60196 15.6C5.14836 15.6 6.40196 16.8536 6.40196 18.4H7.40196C7.40196 16.3013 5.70065 14.6 3.60196 14.6V15.6ZM3.60202 16.4C2.49745 16.4 1.60202 17.2954 1.60202 18.4H2.60202C2.60202 17.8477 3.04973 17.4 3.60202 17.4V16.4ZM5.60202 18.4C5.60202 17.2954 4.70659 16.4 3.60202 16.4V17.4C4.1543 17.4 4.60202 17.8477 4.60202 18.4H5.60202ZM3.60202 20.4C4.70659 20.4 5.60202 19.5046 5.60202 18.4H4.60202C4.60202 18.9523 4.1543 19.4 3.60202 19.4V20.4ZM1.60202 18.4C1.60202 19.5046 2.49745 20.4 3.60202 20.4V19.4C3.04973 19.4 2.60202 18.9523 2.60202 18.4H1.60202Z' fill='black' fill-opacity='0.12' mask='url(%23path-1-outside-1_4085_178456)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_178456' x='-3.40002' y='-1.39999' width='30.8' height='26.8019' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_178456'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_178456' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_178456'%3e%3crect width='24' height='24' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",rO="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_178456)'%3e%3cg filter='url(%23filter0_d_4085_178456)'%3e%3cmask id='path-1-outside-1_4085_178456' maskUnits='userSpaceOnUse' x='1.1001' y='3.10001' width='22' height='18' fill='black'%3e%3crect fill='%232688EB' x='1.1001' y='3.10001' width='22' height='18'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z'/%3e%3c/mask%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2 5.90001C17.0549 5.90001 17.642 5.90071 18.0971 5.93789C18.5417 5.97422 18.7805 6.04082 18.9534 6.12889C19.3485 6.33023 19.6698 6.65149 19.8711 7.04663C19.9592 7.21947 20.0258 7.4583 20.0621 7.9029C20.0993 8.35801 20.1 8.94508 20.1 9.80001V14.2C20.1 15.0549 20.0993 15.642 20.0621 16.0971C20.0258 16.5417 19.9592 16.7805 19.8711 16.9534C19.6698 17.3485 19.3485 17.6698 18.9534 17.8711C18.7805 17.9592 18.5417 18.0258 18.0971 18.0621C17.642 18.0993 17.0549 18.1 16.2 18.1H15C14.5029 18.1 14.1 18.503 14.1 19C14.1 19.4971 14.5029 19.9 15 19.9H16.2377C17.0458 19.9 17.7066 19.9 18.2437 19.8561C18.7996 19.8107 19.3017 19.7138 19.7706 19.4749C20.5044 19.101 21.101 18.5044 21.4749 17.7706C21.7138 17.3017 21.8107 16.7996 21.8561 16.2437C21.9 15.7066 21.9 15.0458 21.9 14.2378V14.2377V9.7623V9.76221C21.9 8.9542 21.9 8.29338 21.8561 7.75632C21.8107 7.20041 21.7138 6.69833 21.4749 6.22944C21.101 5.49561 20.5044 4.89899 19.7706 4.52508C19.3017 4.28617 18.7996 4.18929 18.2437 4.14387C17.7066 4.09999 17.0458 4.1 16.2377 4.10001H16.2377H6.00005C6.00003 4.10001 6.00002 4.10001 6 4.10001C4.30053 4.10003 2.85715 5.18656 2.3222 6.70008C2.15656 7.16873 2.40219 7.68292 2.87083 7.84856C3.33948 8.0142 3.85367 7.76857 4.01931 7.29993C4.30802 6.48309 5.08707 5.90003 6 5.90001H16.2ZM3.0689 11.5203C3.24466 11.5069 3.42242 11.5 3.60196 11.5C7.41272 11.5 10.502 14.5892 10.502 18.4C10.502 18.5795 10.4951 18.7572 10.4817 18.933C10.4439 19.4286 10.8151 19.861 11.3107 19.8988C11.8063 19.9366 12.2387 19.5655 12.2765 19.0698C12.2934 18.8486 12.302 18.6252 12.302 18.4C12.302 13.5951 8.40683 9.70001 3.60196 9.70001C3.3767 9.70001 3.15328 9.70859 2.93202 9.72547C2.4364 9.76326 2.06527 10.1957 2.10306 10.6913C2.14086 11.1869 2.57328 11.5581 3.0689 11.5203ZM3.60196 15.1C3.44054 15.1 3.28234 15.1115 3.12803 15.1336C2.63601 15.2042 2.17992 14.8626 2.10933 14.3706C2.03875 13.8786 2.38038 13.4225 2.8724 13.3519C3.11112 13.3176 3.35475 13.3 3.60196 13.3C6.41862 13.3 8.70196 15.5833 8.70196 18.4C8.70196 18.6472 8.68431 18.8908 8.65006 19.1295C8.57948 19.6215 8.1234 19.9632 7.63138 19.8926C7.13936 19.822 6.79772 19.3659 6.86831 18.8739C6.89044 18.7196 6.90196 18.5614 6.90196 18.4C6.90196 16.5774 5.4245 15.1 3.60196 15.1ZM2.10202 18.4C2.10202 17.5716 2.77359 16.9 3.60202 16.9C4.43045 16.9 5.10202 17.5716 5.10202 18.4C5.10202 19.2284 4.43045 19.9 3.60202 19.9C2.77359 19.9 2.10202 19.2284 2.10202 18.4Z' fill='%232688EB'/%3e%3cpath d='M18.0971 5.93789L18.0564 6.43623L18.0971 5.93789ZM18.9534 6.12889L18.7264 6.5744V6.5744L18.9534 6.12889ZM19.8711 7.04663L19.4256 7.27362V7.27362L19.8711 7.04663ZM20.0621 7.9029L19.5638 7.94362V7.94362L20.0621 7.9029ZM20.0621 16.0971L19.5638 16.0564V16.0564L20.0621 16.0971ZM19.8711 16.9534L19.4256 16.7264V16.7264L19.8711 16.9534ZM18.9534 17.8711L18.7264 17.4256V17.4256L18.9534 17.8711ZM18.0971 18.0621L18.1378 18.5605H18.1378L18.0971 18.0621ZM16.2377 19.9L16.2377 19.4H16.2377V19.9ZM18.2437 19.8561L18.2844 20.3545L18.2437 19.8561ZM19.7706 19.4749L19.5436 19.0294V19.0294L19.7706 19.4749ZM21.4749 17.7706L21.9204 17.9976V17.9976L21.4749 17.7706ZM21.8561 16.2437L22.3545 16.2844L21.8561 16.2437ZM21.9 14.2378H21.4V14.2378L21.9 14.2378ZM21.9 9.76221L21.4 9.7622V9.76221H21.9ZM21.8561 7.75632L22.3545 7.71561V7.71561L21.8561 7.75632ZM21.4749 6.22944L21.9204 6.00245V6.00245L21.4749 6.22944ZM19.7706 4.52508L19.5436 4.97058V4.97059L19.7706 4.52508ZM18.2437 4.14387L18.2844 3.64553L18.2437 4.14387ZM16.2377 4.10001V4.60001H16.2377L16.2377 4.10001ZM6 4.10001V3.60001H5.99999L6 4.10001ZM2.3222 6.70008L1.85078 6.53346H1.85078L2.3222 6.70008ZM4.01931 7.29993L3.54789 7.1333V7.13331L4.01931 7.29993ZM6 5.90001V5.40001H5.99999L6 5.90001ZM3.0689 11.5203L3.03087 11.0217H3.03087L3.0689 11.5203ZM10.4817 18.933L10.9803 18.971L10.4817 18.933ZM12.2765 19.0698L12.7751 19.1079L12.2765 19.0698ZM2.93202 9.72547L2.894 9.22691H2.894L2.93202 9.72547ZM2.10306 10.6913L2.60162 10.6533L2.10306 10.6913ZM3.12803 15.1336L3.05702 14.6387H3.05702L3.12803 15.1336ZM2.10933 14.3706L2.60427 14.2996L2.10933 14.3706ZM2.8724 13.3519L2.94341 13.8468H2.94341L2.8724 13.3519ZM8.65006 19.1295L9.145 19.2005V19.2005L8.65006 19.1295ZM7.63138 19.8926L7.56037 20.3875L7.56037 20.3875L7.63138 19.8926ZM6.86831 18.8739L7.36324 18.9449L7.36324 18.9449L6.86831 18.8739ZM18.1378 5.43955C17.6576 5.40031 17.0465 5.40001 16.2 5.40001V6.40001C17.0634 6.40001 17.6264 6.4011 18.0564 6.43623L18.1378 5.43955ZM19.1804 5.68339C18.9252 5.55336 18.6131 5.47839 18.1378 5.43955L18.0564 6.43623C18.4703 6.47005 18.6359 6.52829 18.7264 6.5744L19.1804 5.68339ZM20.3166 6.81963C20.0673 6.33041 19.6696 5.93266 19.1804 5.68339L18.7264 6.5744C19.0274 6.72779 19.2722 6.97256 19.4256 7.27362L20.3166 6.81963ZM20.5605 7.86219C20.5216 7.38687 20.4466 7.07483 20.3166 6.81963L19.4256 7.27362C19.4717 7.36412 19.53 7.52974 19.5638 7.94362L20.5605 7.86219ZM20.6 9.80001C20.6 8.95353 20.5997 8.34242 20.5605 7.86218L19.5638 7.94362C19.5989 8.37359 19.6 8.93662 19.6 9.80001H20.6ZM20.6 14.2V9.80001H19.6V14.2H20.6ZM20.5605 16.1378C20.5997 15.6576 20.6 15.0465 20.6 14.2H19.6C19.6 15.0634 19.5989 15.6264 19.5638 16.0564L20.5605 16.1378ZM20.3166 17.1804C20.4466 16.9252 20.5216 16.6131 20.5605 16.1378L19.5638 16.0564C19.53 16.4703 19.4717 16.6359 19.4256 16.7264L20.3166 17.1804ZM19.1804 18.3166C19.6696 18.0674 20.0673 17.6696 20.3166 17.1804L19.4256 16.7264C19.2722 17.0275 19.0274 17.2722 18.7264 17.4256L19.1804 18.3166ZM18.1378 18.5605C18.6131 18.5216 18.9252 18.4467 19.1804 18.3166L18.7264 17.4256C18.6359 17.4717 18.4703 17.53 18.0564 17.5638L18.1378 18.5605ZM16.2 18.6C17.0465 18.6 17.6576 18.5997 18.1378 18.5605L18.0564 17.5638C17.6264 17.5989 17.0634 17.6 16.2 17.6V18.6ZM15 18.6H16.2V17.6H15V18.6ZM14.6 19C14.6 18.7791 14.7791 18.6 15 18.6V17.6C14.2268 17.6 13.6 18.2268 13.6 19H14.6ZM15 19.4C14.7791 19.4 14.6 19.2209 14.6 19H13.6C13.6 19.7732 14.2268 20.4 15 20.4V19.4ZM16.2377 19.4H15V20.4H16.2377V19.4ZM18.203 19.3578C17.6908 19.3997 17.0532 19.4 16.2377 19.4L16.2377 20.4C17.0383 20.4 17.7224 20.4004 18.2844 20.3545L18.203 19.3578ZM19.5436 19.0294C19.1569 19.2265 18.7278 19.3149 18.203 19.3578L18.2844 20.3545C18.8713 20.3065 19.4465 20.2012 19.9976 19.9204L19.5436 19.0294ZM21.0294 17.5436C20.7035 18.1833 20.1833 18.7035 19.5436 19.0294L19.9976 19.9204C20.8255 19.4986 21.4986 18.8255 21.9204 17.9976L21.0294 17.5436ZM21.3578 16.203C21.3149 16.7279 21.2265 17.1569 21.0294 17.5436L21.9204 17.9976C22.2012 17.4465 22.3065 16.8713 22.3545 16.2844L21.3578 16.203ZM21.4 14.2378C21.4 15.0533 21.3996 15.6908 21.3578 16.203L22.3545 16.2844C22.4004 15.7225 22.4 15.0383 22.4 14.2378L21.4 14.2378ZM21.4 14.2377V14.2378H22.4V14.2377H21.4ZM21.4 9.7623V14.2377H22.4V9.7623H21.4ZM21.4 9.76221V9.7623H22.4V9.76221H21.4ZM21.3578 7.79704C21.3996 8.3092 21.4 8.94673 21.4 9.7622L22.4 9.76221C22.4 8.96167 22.4004 8.27756 22.3545 7.71561L21.3578 7.79704ZM21.0294 6.45644C21.2265 6.84316 21.3149 7.27216 21.3578 7.79704L22.3545 7.71561C22.3065 7.12867 22.2012 6.55351 21.9204 6.00245L21.0294 6.45644ZM19.5436 4.97059C20.1833 5.29655 20.7035 5.81669 21.0294 6.45644L21.9204 6.00245C21.4986 5.17454 20.8255 4.50142 19.9976 4.07958L19.5436 4.97059ZM18.203 4.64221C18.7278 4.68509 19.1569 4.77354 19.5436 4.97058L19.9976 4.07958C19.4465 3.7988 18.8713 3.69348 18.2844 3.64553L18.203 4.64221ZM16.2377 4.60001C17.0532 4.6 17.6908 4.60036 18.203 4.64221L18.2844 3.64553C17.7224 3.59961 17.0383 3.6 16.2377 3.60001L16.2377 4.60001ZM16.2377 4.60001H16.2377V3.60001H16.2377V4.60001ZM6.00005 4.60001H16.2377V3.60001H6.00005V4.60001ZM6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001H6.00005C6.00005 3.60001 6.00005 3.60001 6.00005 3.60001C6.00005 3.60001 6.00005 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00004C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001C6.00004 3.60001 6.00004 3.60001 6.00004 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001C6.00003 3.60001 6.00003 3.60001 6.00003 3.60001H6.00003C6.00003 3.60001 6.00003 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00002C6.00002 3.60001 6.00002 3.60001 6.00002 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6.00001 3.60001 6.00001 3.60001 6.00001 3.60001H6.00001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001C6 3.60001 6 3.60001 6 3.60001H6C6 3.60001 6 3.60001 6 3.60001V4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001H6C6 4.60001 6 4.60001 6 4.60001C6 4.60001 6 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001C6.00001 4.60001 6.00001 4.60001 6.00001 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001C6.00002 4.60001 6.00002 4.60001 6.00002 4.60001H6.00002C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00003C6.00003 4.60001 6.00003 4.60001 6.00003 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00004 4.60001 6.00004 4.60001 6.00004 4.60001H6.00004C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001C6.00005 4.60001 6.00005 4.60001 6.00005 4.60001H6.00005V3.60001ZM5.99999 3.60001C4.08179 3.60003 2.45405 4.82666 1.85078 6.53346L2.79362 6.86671C3.26026 5.54647 4.51927 4.60002 6.00001 4.60001L5.99999 3.60001ZM1.85078 6.53346C1.59311 7.26246 1.97521 8.06232 2.70421 8.31998L3.03745 7.37714C2.82917 7.30352 2.72 7.07499 2.79362 6.86671L1.85078 6.53346ZM2.70421 8.31998C3.43321 8.57765 4.23306 8.19555 4.49073 7.46655L3.54789 7.13331C3.47427 7.34159 3.24574 7.45076 3.03745 7.37714L2.70421 8.31998ZM4.49073 7.46655C4.71088 6.84369 5.3051 6.40002 6.00001 6.40001L5.99999 5.40001C4.86905 5.40003 3.90516 6.1225 3.54789 7.1333L4.49073 7.46655ZM16.2 5.40001H6V6.40001H16.2V5.40001ZM3.60196 11C3.40972 11 3.21928 11.0073 3.03087 11.0217L3.10692 12.0188C3.27004 12.0064 3.43512 12 3.60196 12V11ZM11.002 18.4C11.002 14.3131 7.68886 11 3.60196 11V12C7.13658 12 10.002 14.8654 10.002 18.4H11.002ZM10.9803 18.971C10.9946 18.7826 11.002 18.5922 11.002 18.4H10.002C10.002 18.5668 9.9956 18.7319 9.98317 18.895L10.9803 18.971ZM11.3487 19.4003C11.1284 19.3835 10.9635 19.1913 10.9803 18.971L9.98317 18.895C9.92438 19.6659 10.5017 20.3386 11.2727 20.3974L11.3487 19.4003ZM11.778 19.0318C11.7612 19.2521 11.569 19.417 11.3487 19.4003L11.2727 20.3974C12.0436 20.4561 12.7163 19.8788 12.7751 19.1079L11.778 19.0318ZM11.802 18.4C11.802 18.6125 11.7939 18.8232 11.778 19.0318L12.7751 19.1079C12.7929 18.874 12.802 18.6379 12.802 18.4H11.802ZM3.60196 10.2C8.13069 10.2 11.802 13.8713 11.802 18.4H12.802C12.802 13.319 8.68297 9.20001 3.60196 9.20001V10.2ZM2.97004 10.224C3.17866 10.2081 3.3894 10.2 3.60196 10.2V9.20001C3.364 9.20001 3.1279 9.20908 2.894 9.22691L2.97004 10.224ZM2.60162 10.6533C2.58482 10.433 2.74977 10.2408 2.97004 10.224L2.894 9.22691C2.12304 9.28571 1.54571 9.95836 1.60451 10.7293L2.60162 10.6533ZM3.03087 11.0217C2.8106 11.0385 2.61841 10.8736 2.60162 10.6533L1.60451 10.7293C1.66331 11.5003 2.33596 12.0776 3.10692 12.0188L3.03087 11.0217ZM3.19903 15.6286C3.3299 15.6098 3.46438 15.6 3.60196 15.6V14.6C3.41671 14.6 3.23478 14.6132 3.05702 14.6387L3.19903 15.6286ZM1.6144 14.4416C1.72421 15.207 2.43367 15.7384 3.19903 15.6286L3.05702 14.6387C2.83834 14.6701 2.63564 14.5183 2.60427 14.2996L1.6144 14.4416ZM2.80139 12.857C2.03603 12.9668 1.5046 13.6762 1.6144 14.4416L2.60427 14.2996C2.57289 14.0809 2.72473 13.8782 2.94341 13.8468L2.80139 12.857ZM3.60196 12.8C3.33091 12.8 3.06356 12.8193 2.80139 12.857L2.94341 13.8468C3.15868 13.8159 3.37858 13.8 3.60196 13.8V12.8ZM9.20196 18.4C9.20196 15.3072 6.69476 12.8 3.60196 12.8V13.8C6.14247 13.8 8.20196 15.8595 8.20196 18.4H9.20196ZM9.145 19.2005C9.1826 18.9384 9.20196 18.671 9.20196 18.4H8.20196C8.20196 18.6234 8.18601 18.8432 8.15513 19.0585L9.145 19.2005ZM7.56037 20.3875C8.32574 20.4973 9.0352 19.9659 9.145 19.2005L8.15513 19.0585C8.12376 19.2772 7.92106 19.429 7.70238 19.3977L7.56037 20.3875ZM6.37337 18.8029C6.26357 19.5683 6.79501 20.2777 7.56037 20.3875L7.70238 19.3977C7.48371 19.3663 7.33187 19.1636 7.36324 18.9449L6.37337 18.8029ZM6.40196 18.4C6.40196 18.5376 6.39215 18.672 6.37337 18.8029L7.36324 18.9449C7.38874 18.7671 7.40196 18.5852 7.40196 18.4H6.40196ZM3.60196 15.6C5.14836 15.6 6.40196 16.8536 6.40196 18.4H7.40196C7.40196 16.3013 5.70065 14.6 3.60196 14.6V15.6ZM3.60202 16.4C2.49745 16.4 1.60202 17.2954 1.60202 18.4H2.60202C2.60202 17.8477 3.04973 17.4 3.60202 17.4V16.4ZM5.60202 18.4C5.60202 17.2954 4.70659 16.4 3.60202 16.4V17.4C4.1543 17.4 4.60202 17.8477 4.60202 18.4H5.60202ZM3.60202 20.4C4.70659 20.4 5.60202 19.5046 5.60202 18.4H4.60202C4.60202 18.9523 4.1543 19.4 3.60202 19.4V20.4ZM1.60202 18.4C1.60202 19.5046 2.49745 20.4 3.60202 20.4V19.4C3.04973 19.4 2.60202 18.9523 2.60202 18.4H1.60202Z' fill='black' fill-opacity='0.12' mask='url(%23path-1-outside-1_4085_178456)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_178456' x='-3.40002' y='-1.39999' width='30.8' height='26.8019' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_178456'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_178456' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_178456'%3e%3crect width='24' height='24' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function iO(e){Rv(e,"v-1r19s3f",".icon.v-1r19s3f.v-1r19s3f{display:block;width:24px;height:24px}.chromecast_enabled.v-1r19s3f svg.v-1r19s3f{fill:blue}.chromecast_disabled.v-1r19s3f svg.v-1r19s3f{fill:white}.wave.v-1r19s3f.v-1r19s3f{animation-duration:1s;animation-iteration-count:infinite}.wave1.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave1}.wave2.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave2}.wave3.v-1r19s3f.v-1r19s3f{animation-name:v-1r19s3f-wave3}@keyframes v-1r19s3f-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-1r19s3f-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-1r19s3f-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function oO(e){let t;function n(e,t){return e[2]===ln.AVAILABLE?cO:e[2]===ln.CONNECTED?lO:e[2]===ln.CONNECTING?sO:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=Vv()},m(e,n){i&&i.m(e,n),Iv(e,t,n)},p(e,o){r!==(r=n(e))&&(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){e&&Nv(t),i&&i.d(e)}}}function aO(e){let t;function n(e,t){return e[2]!==ln.CONNECTED?dO:uO}let r=n(e),i=r(e);return{c(){i.c(),t=Vv()},m(e,n){i.m(e,n),Iv(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){e&&Nv(t),i.d(e)}}}function sO(e){let t,n,r,i,o,a,s;return{c(){t=Fv("svg"),n=Fv("g"),r=Fv("path"),i=Fv("path"),o=Fv("path"),a=Fv("path"),s=Fv("path"),qv(r,"class","wave wave1 v-1r19s3f"),qv(r,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),qv(r,"opacity",".3"),qv(r,"fill","#fff"),qv(i,"class","wave wave2 v-1r19s3f"),qv(i,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),qv(i,"opacity",".3"),qv(i,"fill","#fff"),qv(o,"class","wave wave3 v-1r19s3f"),qv(o,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),qv(o,"opacity",".3"),qv(o,"fill","#fff"),qv(a,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),qv(a,"fill","#fff"),qv(s,"d","M0 0h24v24H0z"),qv(n,"fill","none"),qv(n,"fill-rule","evenodd"),qv(t,"class","icon v-1r19s3f"),qv(t,"width","22"),qv(t,"height","22"),qv(t,"viewBox","0 0 24 24"),qv(t,"xmlns","http://www.w3.org/2000/svg")},m(e,l){Iv(e,t,l),Dv(t,n),Dv(n,r),Dv(n,i),Dv(n,o),Dv(n,a),Dv(n,s)},d(e){e&&Nv(t)}}}function lO(e){let t,n,r,i;return{c(){t=Fv("svg"),n=Fv("g"),r=Fv("path"),i=Fv("path"),qv(r,"d","M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),qv(r,"fill","#fff"),qv(i,"d","M0 0h24v24H0z"),qv(n,"fill","none"),qv(n,"fill-rule","evenodd"),qv(t,"class","icon v-1r19s3f"),qv(t,"width","22"),qv(t,"height","22"),qv(t,"viewBox","0 0 24 24"),qv(t,"xmlns","http://www.w3.org/2000/svg")},m(e,o){Iv(e,t,o),Dv(t,n),Dv(n,r),Dv(n,i)},d(e){e&&Nv(t)}}}function cO(e){let t,n,r,i;return{c(){t=Fv("svg"),n=Fv("g"),r=Fv("path"),i=Fv("path"),qv(r,"d","M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),qv(r,"fill","#fff"),qv(i,"d","M0 0h24v24H0z"),qv(n,"fill","none"),qv(n,"fill-rule","evenodd"),qv(t,"class","icon v-1r19s3f"),qv(t,"width","22"),qv(t,"height","22"),qv(t,"viewBox","0 0 24 24"),qv(t,"xmlns","http://www.w3.org/2000/svg")},m(e,o){Iv(e,t,o),Dv(t,n),Dv(n,r),Dv(n,i)},d(e){e&&Nv(t)}}}function uO(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=rO)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function dO(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=nO)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function pO(e){let t,n,r,i;function o(e,t){return e[1]?aO:oO}let a=o(e),s=a(e);return{c(){t=Bv("div"),s.c(),qv(t,"class",n=Pv(e[0])+" v-1r19s3f"),qv(t,"role","button"),qv(t,"tabindex","0")},m(n,o){Iv(n,t,o),s.m(t,null),r||(i=Uv(t,"click",Gv(e[5])),r=!0)},p(e,[r]){a===(a=o(e))&&s?s.p(e,r):(s.d(1),s=a(e),s&&(s.c(),s.m(t,null))),1&r&&n!==(n=Pv(e[0])+" v-1r19s3f")&&qv(t,"class",n)},i:hv,o:hv,d(e){e&&Nv(t),s.d(),r=!1,i()}}}function fO(e,t,n){let r,{className:i=""}=t,{isMobile:o=!1}=t;const a=Xy().state.chromecastState$;let s;return kv(e,a,(e=>n(4,r=e))),e.$$set=e=>{"className"in e&&n(0,i=e.className),"isMobile"in e&&n(1,o=e.isMobile)},e.$$.update=()=>{16&e.$$.dirty&&n(2,s=r)},[i,o,s,a,r,function(t){oy.call(this,e,t)}]}class hO extends Ly{constructor(e){super(),Py(this,e,fO,pO,wv,{className:0,isMobile:1},iO)}}function mO(e){Rv(e,"v-rwtbzf",".icon.v-rwtbzf{display:block;width:42px;height:20px}")}function gO(e){let t,n,r,i,o;return{c(){t=Bv("div"),n=Bv("img"),Sv(n.src,r=e[0])||qv(n,"src",r),qv(n,"class","icon v-rwtbzf"),qv(n,"alt",""),qv(t,"role","button"),qv(t,"tabindex","0")},m(r,a){Iv(r,t,a),Dv(t,n),i||(o=Uv(t,"click",Gv(e[2])),i=!0)},p(e,[t]){1&t&&!Sv(n.src,r=e[0])&&qv(n,"src",r)},i:hv,o:hv,d(e){e&&Nv(t),i=!1,o()}}}function vO(e,t,n){let{isActiveLive:r=!1}=t,i="";return e.$$set=e=>{"isActiveLive"in e&&n(1,r=e.isActiveLive)},e.$$.update=()=>{2&e.$$.dirty&&n(0,i=r?yE:"data:image/svg+xml,%3csvg viewBox='0 0 42 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z' fill='none' stroke='white' stroke-width='2'/%3e%3cpath d='M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z' fill='%23f0f2f5' fill-rule='evenodd'/%3e%3c/svg%3e")},[i,r,function(t){oy.call(this,e,t)}]}class yO extends Ly{constructor(e){super(),Py(this,e,vO,gO,wv,{isActiveLive:1},mO)}}var bO="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' d='M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z'/%3e%3c/g%3e%3c/svg%3e",wO="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M0 0h24v24H0z'/%3e%3cpath fill='white' fill-rule='nonzero' d='M21.657 17.657a.9.9 0 1 1-1.273-1.273 6.2 6.2 0 0 0 0-8.768.9.9 0 1 1 1.273-1.273 8 8 0 0 1 0 11.314ZM19.11 15.11a.9.9 0 0 1-1.273-1.273 2.6 2.6 0 0 0 0-3.676.9.9 0 1 1 1.273-1.273 4.4 4.4 0 0 1 0 6.222ZM5 15a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l5.514-5.307A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5Z'/%3e%3c/g%3e%3c/svg%3e";function _O(e){Rv(e,"v-dsbe5p",".container.v-dsbe5p{display:flex;height:32px;align-items:center;padding:0 8px}.expanded.v-dsbe5p{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.icon.v-dsbe5p{width:24px;height:24px}.text.v-dsbe5p{font-size:15px;margin-left:8px}")}function SO(e){let t;return{c(){t=Bv("span"),t.textContent=`${gx("mobile_unmute")}`,qv(t,"class","text v-dsbe5p")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function xO(e){let t,n,r,i,o,a,s=e[0]&&SO();return{c(){t=Bv("div"),n=Bv("img"),i=zv(),s&&s.c(),Sv(n.src,r=e[0]?wO:bO)||qv(n,"src",r),qv(n,"class","icon v-dsbe5p"),qv(n,"alt",""),qv(t,"class","container v-dsbe5p"),Xv(t,"expanded",e[0])},m(r,l){Iv(r,t,l),Dv(t,n),Dv(t,i),s&&s.m(t,null),o||(a=Uv(t,"click",Gv(e[1])),o=!0)},p(e,[i]){1&i&&!Sv(n.src,r=e[0]?wO:bO)&&qv(n,"src",r),e[0]?s?s.p(e,i):(s=SO(),s.c(),s.m(t,null)):s&&(s.d(1),s=null),1&i&&Xv(t,"expanded",e[0])},i:hv,o:hv,d(e){e&&Nv(t),s&&s.d(),o=!1,a()}}}function EO(e,t,n){let{expanded:r=!1}=t;return e.$$set=e=>{"expanded"in e&&n(0,r=e.expanded)},[r,function(t){oy.call(this,e,t)}]}class kO extends Ly{constructor(e){super(),Py(this,e,EO,xO,wv,{expanded:0},_O)}}function CO(e){Rv(e,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function TO(e){let t,n,r,i;const o=e[9].default,a=Cv(o,e,e[8],null);return{c(){t=Bv("div"),n=Bv("div"),a&&a.c(),qv(n,"class","tooltip v-5ygsa2"),Xv(n,"active",e[0]),Xv(n,"pointer",e[1]),qv(t,"class","tooltip-wrapper v-5ygsa2"),qv(t,"style",r=`transform: translate(${e[5]}px, ${e[2]}px);`)},m(r,o){Iv(r,t,o),Dv(t,n),a&&a.m(n,null),e[10](n),e[11](t),i=!0},p(e,[s]){a&&a.p&&(!i||256&s)&&Mv(a,o,e,e[8],i?Ov(o,e[8],s,null):Av(e[8]),null),(!i||1&s)&&Xv(n,"active",e[0]),(!i||2&s)&&Xv(n,"pointer",e[1]),(!i||36&s&&r!==(r=`transform: translate(${e[5]}px, ${e[2]}px);`))&&qv(t,"style",r)},i(e){i||(Sy(a,e),i=!0)},o(e){xy(a,e),i=!1},d(n){n&&Nv(t),a&&a.d(n),e[10](null),e[11](null)}}}function OO(e,t,n){let r,i,o,{$$slots:a={},$$scope:s}=t,{active:l=!1}=t,{pointer:c=!1}=t,{translateXPx:u=0}=t,{translateYPx:d=0}=t,{containerWidth:p}=t;return e.$$set=e=>{"active"in e&&n(0,l=e.active),"pointer"in e&&n(1,c=e.pointer),"translateXPx"in e&&n(6,u=e.translateXPx),"translateYPx"in e&&n(2,d=e.translateYPx),"containerWidth"in e&&n(7,p=e.containerWidth),"$$scope"in e&&n(8,s=e.$$scope)},e.$$.update=()=>{64&e.$$.dirty&&n(5,r=function(e){if(!o)return 0;const{width:t}=o.getBoundingClientRect(),n=t/2;return e<n?n:e>p-n?p-n:e}(u))},[l,c,d,i,o,r,u,p,s,a,function(e){sy[e?"unshift":"push"]((()=>{o=e,n(4,o)}))},function(e){sy[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}class MO extends Ly{constructor(e){super(),Py(this,e,OO,TO,wv,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},CO)}}const AO=(e,t,n)=>n.filter((n=>n.time<e*t)).pop();function PO(e){Rv(e,"v-10h3n1k",".timeline-preview.v-10h3n1k{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-10h3n1k{bottom:72px}.preview.v-10h3n1k{margin-bottom:10px;background-color:var(--videoplayer-timeline-preview-bg);box-shadow:0 0 2px var(--videoplayer-timeline-preview-shadow), 0 8px 24px var(--videoplayer-timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-10h3n1k{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 0 2px var(--videoplayer-timeline-preview-shadow), 0 8px 24px var(--videoplayer-timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.time.v-10h3n1k{font-size:13px;line-height:16px;text-align:center;color:var(--videoplayer-slider-filled-bg)}")}function LO(e){let t;function n(e,t){return e[2]&&!1===e[10].completed?RO:DO}let r=n(e),i=r(e);return{c(){i.c(),t=Vv()},m(e,n){i.m(e,n),Iv(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){e&&Nv(t),i.d(e)}}}function DO(e){let t,n=(e[10].text||"")+"";return{c(){t=Hv(n)},m(e,n){Iv(e,t,n)},p(e,r){1024&r&&n!==(n=(e[10].text||"")+"")&&Wv(t,n)},d(e){e&&Nv(t)}}}function RO(e){let t,n=gx("tooltip_episode_unfinished")+"";return{c(){t=Hv(n)},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function IO(e){let t,n,r,i,o,a,s,l,c=e[10]&&LO(e);return{c(){t=Bv("div"),n=Bv("div"),i=zv(),o=Bv("div"),c&&c.c(),a=zv(),s=Bv("div"),l=Hv(e[0]),qv(n,"class","preview v-10h3n1k"),qv(n,"style",r=`width: ${e[3]}px; height: ${e[4]}px; background-image: url(${e[5]}); background-size: ${e[6]}px ${e[7]}px; background-position: ${e[8]}px ${e[9]}px; transform: translateY(${e[11]%180?-35:0}px) rotate(${e[11]}deg);`),qv(o,"class","episode v-10h3n1k"),qv(s,"class","time v-10h3n1k"),qv(t,"class","timeline-preview v-10h3n1k"),Xv(t,"mobile",e[1])},m(e,r){Iv(e,t,r),Dv(t,n),Dv(t,i),Dv(t,o),c&&c.m(o,null),Dv(t,a),Dv(t,s),Dv(s,l)},p(e,[i]){3064&i&&r!==(r=`width: ${e[3]}px; height: ${e[4]}px; background-image: url(${e[5]}); background-size: ${e[6]}px ${e[7]}px; background-position: ${e[8]}px ${e[9]}px; transform: translateY(${e[11]%180?-35:0}px) rotate(${e[11]}deg);`)&&qv(n,"style",r),e[10]?c?c.p(e,i):(c=LO(e),c.c(),c.m(o,null)):c&&(c.d(1),c=null),1&i&&Wv(l,e[0]),2&i&&Xv(t,"mobile",e[1])},i:hv,o:hv,d(e){e&&Nv(t),c&&c.d()}}}const NO=150;function jO(e,t,n){let r,{time:i=""}=t,{isMobile:o=!1}=t,{videoEpisodes:a=[]}=t,{previewThumbsData:s}=t,{progress:l=0}=t,{duration:c=0}=t,{isInteractive:u=!1}=t;const d=Xy().ui.rotateAlpha;let p,f,h,m,g,v,y,b;return kv(e,d,(e=>n(11,r=e))),e.$$set=e=>{"time"in e&&n(0,i=e.time),"isMobile"in e&&n(1,o=e.isMobile),"videoEpisodes"in e&&n(13,a=e.videoEpisodes),"previewThumbsData"in e&&n(14,s=e.previewThumbsData),"progress"in e&&n(15,l=e.progress),"duration"in e&&n(16,c=e.duration),"isInteractive"in e&&n(2,u=e.isInteractive)},e.$$.update=()=>{32768&e.$$.dirty&&n(5,({imgSrc:h,imgWidth:m,imgHeight:g,imgOffsetX:v,imgOffsetY:y}=function(e){let t;t=s.isUV?Math.floor(c*e/s.frequency):Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*e)));const n=Math.floor(t/s.countPerImage),r=Math.floor(t%s.countPerImage/s.countPerRow),i=t%s.countPerRow;let o=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&n===Math.floor(s.countTotal/s.countPerImage)&&(o=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&o++);let a=s.countPerRow;!s.isUV&&n===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(a=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const l=p*a,u=f*o,d=-i*p,h=-r*f;return{imgSrc:s.links[n],imgWidth:l,imgHeight:u,imgOffsetX:d,imgOffsetY:h}}(l)),h,(n(6,m),n(15,l)),(n(7,g),n(15,l)),(n(8,v),n(15,l)),(n(9,y),n(15,l))),106496&e.$$.dirty&&n(10,b=AO(l,c,a))},n(3,({width:p,height:f}=function(){let e=s.frameWidth,t=s.frameHeight;return e>NO?(t=t/e*NO,e=NO):t>NO&&(e=e/t*NO,t=NO),{width:e,height:t}}()),p,n(4,f)),[i,o,u,p,f,h,m,g,v,y,b,r,d,a,s,l,c]}class BO extends Ly{constructor(e){super(),Py(this,e,jO,IO,wv,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},PO)}}function FO(e){Rv(e,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function HO(e){let t,n;return{c(){t=Bv("span"),n=Hv(e[7]),qv(t,"class","time v-5lzly8")},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,t){128&t[0]&&Wv(n,e[7])},i:hv,o:hv,d(e){e&&Nv(t)}}}function zO(e){let t,n;return t=new BO({props:{time:e[7],isMobile:e[10],videoEpisodes:e[3],previewThumbsData:e[21],progress:e[8],duration:e[1],isInteractive:e[23]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};128&n[0]&&(r.time=e[7]),1024&n[0]&&(r.isMobile=e[10]),8&n[0]&&(r.videoEpisodes=e[3]),256&n[0]&&(r.progress=e[8]),2&n[0]&&(r.duration=e[1]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function VO(e){let t,n,r,i;const o=[zO,HO],a=[];function s(e,t){return e[14].features.timelinePreview&&e[21]&&!e[0]?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),r=Vv()},m(e,n){a[t].m(e,n),Iv(e,r,n),i=!0},p(e,i){let l=t;t=s(e),t===l?a[t].p(e,i):(wy(),xy(a[l],1,1,(()=>{a[l]=null})),_y(),n=a[t],n?n.p(e,i):(n=a[t]=o[t](e),n.c()),Sy(n,1),n.m(r.parentNode,r))},i(e){i||(Sy(n),i=!0)},o(e){xy(n),i=!1},d(e){e&&Nv(r),a[t].d(e)}}}function UO(e){let t,n,r,i;const o=[e[9]];let a={$$slots:{default:[VO]},$$scope:{ctx:e}};for(let e=0;e<o.length;e+=1)a=mv(a,o[e]);return t=new MO({props:a}),r=new _T({props:{isActiveLive:e[11],isMobile:e[10],ariaLabel:gx("aria_timeline"),ariaValueMin:0,ariaValueMax:e[1],ariaValueNow:Math.round(100*e[6]),ariaValueText:gx("aria_timeline_value",{position:e[5],duration:e[4]}),loadedProgress:e[12],filledProgress:e[6],handleProgress:e[6],videoEpisodes:e[3],onPointerDown:e[27],onHandleMove:e[28],onPointerMove:e[31],onPointerUp:e[29],onPointerEnter:e[30],onPointerLeave:e[32],isInteractive:e[23],disabled:e[13].has(Gy.TIMELINE),hideHandel:e[2]}}),{c(){Ty(t.$$.fragment),n=zv(),Ty(r.$$.fragment)},m(e,o){Oy(t,e,o),Iv(e,n,o),Oy(r,e,o),i=!0},p(e,n){const i=512&n[0]?function(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const a=e[o],s=t[o];if(s){for(const e in a)e in s||(r[e]=1);for(const e in s)i[e]||(n[e]=s[e],i[e]=1);e[o]=s}else for(const e in a)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}(o,[ky(e[9])]):{};1419&n[0]|65536&n[1]&&(i.$$scope={dirty:n,ctx:e}),t.$set(i);const a={};2048&n[0]&&(a.isActiveLive=e[11]),1024&n[0]&&(a.isMobile=e[10]),2&n[0]&&(a.ariaValueMax=e[1]),64&n[0]&&(a.ariaValueNow=Math.round(100*e[6])),48&n[0]&&(a.ariaValueText=gx("aria_timeline_value",{position:e[5],duration:e[4]})),4096&n[0]&&(a.loadedProgress=e[12]),64&n[0]&&(a.filledProgress=e[6]),64&n[0]&&(a.handleProgress=e[6]),8&n[0]&&(a.videoEpisodes=e[3]),8192&n[0]&&(a.disabled=e[13].has(Gy.TIMELINE)),4&n[0]&&(a.hideHandel=e[2]),r.$set(a)},i(e){i||(Sy(t.$$.fragment,e),Sy(r.$$.fragment,e),i=!0)},o(e){xy(t.$$.fragment,e),xy(r.$$.fragment,e),i=!1},d(e){e&&Nv(n),My(t,e),My(r,e)}}}function $O(e,t,n){let r,i,o,a,s,l,c,u,d,p,f,{showTimeline:h=!1}=t;const m=Xy(),g=Fy(),v=m.state.bufferedProgress$;kv(e,v,(e=>n(12,p=e)));const y=m.state.positionWithScrubbing$;kv(e,y,(e=>n(39,l=e)));const b=m.state.duration$;kv(e,b,(e=>n(1,o=e)));const w=m.state.isLive$;kv(e,w,(e=>n(0,i=e)));const _=m.state.isActiveLive$;kv(e,_,(e=>n(11,d=e)));const S=m.ui.isMobile;kv(e,S,(e=>n(10,u=e)));const x=g.features.episodes?m.actions.internal.getVideoEpisodes():void 0,E=m.actions.internal.getPreviewThumbsData(),k=m.state.interactiveEpisodes$;kv(e,k,(e=>n(40,c=e)));const C=m.state.isInteractive,T=m.state.isInteractiveTime$;kv(e,T,(e=>n(2,a=e)));const O=m.state.isInteractiveExpectation$;kv(e,O,(e=>n(38,s=e)));const M=m.actions.internal.correctSeekTimeToInteractive,A=m.ui.controls.disabledControls$;kv(e,A,(e=>n(13,f=e)));let P,L,D,R,I,N=!1,j="",B=0,F=0,H=0;function z(e){return M&&C?M(e*o)/o:e}function V(e,t,r){n(8,H=e),n(35,B=t),r&&n(36,F=r),n(7,j=function(e){const t=Gx((i?1-e:e)*o);return i?`-${t}`:t}(e))}return e.$$set=e=>{"showTimeline"in e&&n(33,h=e.showTimeline)},e.$$.update=()=>{512&e.$$.dirty[1]&&n(3,P=C?c:x),2&e.$$.dirty[0]&&n(4,L=Gx(o)),256&e.$$.dirty[1]&&n(5,D=Gx(l)),2&e.$$.dirty[0]|256&e.$$.dirty[1]&&n(6,R=l/o),4&e.$$.dirty[0]|128&e.$$.dirty[1]&&n(37,I=s||a),1&e.$$.dirty[0]|124&e.$$.dirty[1]&&n(9,r={containerWidth:F,translateXPx:B,translateYPx:C&&E?-36:-16,active:N&&h&&!I,pointer:!g.features.timelinePreview||!E||i})},[i,o,a,P,L,D,R,j,H,r,u,d,p,f,g,v,y,b,w,_,S,E,k,C,T,O,A,function(e){m.actions.internal.startScrubbing(z(e))},function(e){a||m.actions.internal.progressScrubbing(z(e))},function(e){m.actions.internal.completeScrubbing(z(e)),n(34,N=!1)},function(e,t,r){V(e,t,r),n(34,N=!0)},function(e,t,r){V(e,t,r),n(34,N=!0)},function(){n(34,N=!1)},h,N,B,F,I,s,l,c]}let GO=class extends Ly{constructor(e){super(),Py(this,e,$O,UO,wv,{showTimeline:33},FO,[-1,-1])}};function qO(e){let t,n;return t=new _T({props:{ariaValueMin:0,ariaValueMax:e[0],ariaValueNow:Math.round(100*e[3]),ariaValueText:gx("aria_timeline_value",{position:e[2],duration:e[1]}),filledProgress:e[3],isAds:!0,hideHandel:!0,squareBorders:e[4]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,[n]){const r={};1&n&&(r.ariaValueMax=e[0]),8&n&&(r.ariaValueNow=Math.round(100*e[3])),6&n&&(r.ariaValueText=gx("aria_timeline_value",{position:e[2],duration:e[1]})),8&n&&(r.filledProgress=e[3]),16&n&&(r.squareBorders=e[4]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function WO(e,t,n){let r,{position:i=0}=t,{duration:o=0}=t;const a=Xy().ui.isMobile;let s,l,c;return kv(e,a,(e=>n(4,r=e))),e.$$set=e=>{"position"in e&&n(6,i=e.position),"duration"in e&&n(0,o=e.duration)},e.$$.update=()=>{1&e.$$.dirty&&n(1,s=Gx(o)),64&e.$$.dirty&&n(2,l=Gx(i)),65&e.$$.dirty&&n(3,c=i/o)},[o,s,l,c,r,a,i]}class ZO extends Ly{constructor(e){super(),Py(this,e,WO,qO,wv,{position:6,duration:0})}}function YO(e){Rv(e,"v-jc8i7z",".timeline.v-jc8i7z{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:0 10px;box-sizing:border-box}.timeline.mobile.v-jc8i7z{height:45px}.timeline-stub.v-jc8i7z{width:100%;min-width:20px}.timeline-stub.mobile.v-jc8i7z{height:8px}")}function KO(e){let t;return{c(){t=Bv("div"),qv(t,"class","timeline-stub v-jc8i7z"),Xv(t,"mobile",e[2])},m(e,n){Iv(e,t,n)},p(e,n){4&n&&Xv(t,"mobile",e[2])},i:hv,o:hv,d(e){e&&Nv(t)}}}function QO(e){let t,n,r,i;const o=[JO,XO],a=[];function s(e,t){return e[0]?0:1}return n=s(e),r=a[n]=o[n](e),{c(){t=Bv("div"),r.c(),qv(t,"class","timeline v-jc8i7z"),Xv(t,"mobile",e[2])},m(e,r){Iv(e,t,r),a[n].m(t,null),i=!0},p(e,l){let c=n;n=s(e),n===c?a[n].p(e,l):(wy(),xy(a[c],1,1,(()=>{a[c]=null})),_y(),r=a[n],r?r.p(e,l):(r=a[n]=o[n](e),r.c()),Sy(r,1),r.m(t,null)),(!i||4&l)&&Xv(t,"mobile",e[2])},i(e){i||(Sy(r),i=!0)},o(e){xy(r),i=!1},d(e){e&&Nv(t),a[n].d()}}}function XO(e){let t,n;return t=new GO({props:{showTimeline:e[1]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};2&n&&(r.showTimeline=e[1]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function JO(e){let t,n;return t=new ZO({props:{position:e[3],duration:e[4]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};8&n&&(r.position=e[3]),16&n&&(r.duration=e[4]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function eM(e){let t,n,r,i;const o=[QO,KO],a=[];function s(e,t){return e[1]?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),r=Vv()},m(e,n){a[t].m(e,n),Iv(e,r,n),i=!0},p(e,[i]){let l=t;t=s(e),t===l?a[t].p(e,i):(wy(),xy(a[l],1,1,(()=>{a[l]=null})),_y(),n=a[t],n?n.p(e,i):(n=a[t]=o[t](e),n.c()),Sy(n,1),n.m(r.parentNode,r))},i(e){i||(Sy(n),i=!0)},o(e){xy(n),i=!1},d(e){e&&Nv(r),a[t].d(e)}}}function tM(e,t,n){let r,i,o,a,{isAds:s=!1}=t,{canRewindLive:l}=t,{isRewindableLive:c}=t,{isHidden:u=!1}=t;const d=Xy(),p=d.state.isLive$;kv(e,p,(e=>n(12,r=e)));const f=d.ads.duration;kv(e,f,(e=>n(4,a=e)));const h=d.ads.position;kv(e,h,(e=>n(3,o=e)));const m=d.ui.isMobile;let g;return kv(e,m,(e=>n(2,i=e))),e.$$set=e=>{"isAds"in e&&n(0,s=e.isAds),"canRewindLive"in e&&n(9,l=e.canRewindLive),"isRewindableLive"in e&&n(10,c=e.isRewindableLive),"isHidden"in e&&n(11,u=e.isHidden)},e.$$.update=()=>{7681&e.$$.dirty&&n(1,g=!u&&(!r||r&&l&&c||s))},[s,g,i,o,a,p,f,h,m,l,c,u,r]}class nM extends Ly{constructor(e){super(),Py(this,e,tM,eM,wv,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},YO)}}var rM="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.6164 16.4953L21.6038 16.5643C21.4478 17.417 21.3217 18.1062 21.1774 18.6584C21.0288 19.227 20.8442 19.7205 20.5362 20.1588C19.9336 21.0162 19.0447 21.6303 18.0296 21.8903C17.5108 22.0233 16.9839 22.0212 16.3996 21.9589C15.8322 21.8984 15.1431 21.7724 14.2905 21.6163L9.95005 20.8222C9.09746 20.6662 8.40837 20.5401 7.85626 20.3957C7.28777 20.247 6.79432 20.0624 6.35613 19.7544C5.49882 19.1517 4.88486 18.2627 4.62485 17.2474C4.49196 16.7285 4.49402 16.2016 4.55628 15.6172C4.61674 15.0497 4.74281 14.3605 4.89879 13.5078L4.91144 13.4386C5.06741 12.5859 5.19347 11.8967 5.33782 11.3445C5.48645 10.776 5.67105 10.2824 5.97903 9.84417C6.58159 8.98672 7.47049 8.37267 8.48561 8.11262C9.00445 7.97971 9.53129 7.98177 10.1156 8.04404C10.683 8.10451 11.3721 8.23061 12.2247 8.38662L16.5651 9.1808C17.4177 9.3368 18.1068 9.46288 18.6589 9.60725C19.2274 9.75591 19.7209 9.94054 20.1591 10.2486C21.0164 10.8512 21.6304 11.7403 21.8904 12.7555C22.0233 13.2745 22.0212 13.8014 21.9589 14.3858C21.8985 14.9533 21.7724 15.6425 21.6164 16.4953ZM20.1701 14.1951C20.2216 13.7117 20.2051 13.4261 20.1477 13.202C19.994 12.602 19.6313 12.0767 19.1247 11.7206C18.9354 11.5875 18.6741 11.4709 18.2039 11.3479C17.7247 11.2226 17.1021 11.1081 16.2069 10.9443L11.9355 10.1628C11.0403 9.99897 10.4175 9.88561 9.92498 9.83312C9.44166 9.78161 9.15608 9.79815 8.93196 9.85557C8.33212 10.0092 7.80686 10.3721 7.4508 10.8788C7.31777 11.0681 7.20119 11.3293 7.07824 11.7997C6.95295 12.2789 6.83845 12.9016 6.67468 13.797C6.5109 14.6923 6.39756 15.3152 6.34508 15.8078C6.29358 16.2912 6.31012 16.5768 6.36752 16.801C6.52116 17.4009 6.88396 17.9263 7.39055 18.2824C7.57983 18.4154 7.84106 18.532 8.31131 18.655C8.79051 18.7803 9.41309 18.8948 10.3083 19.0586L14.5797 19.8402C15.4749 20.004 16.0977 20.1174 16.5902 20.1698C17.0735 20.2213 17.3591 20.2048 17.5832 20.1474C18.1831 19.9937 18.7084 19.6309 19.0644 19.1242C19.1974 18.9349 19.314 18.6736 19.437 18.2033C19.5623 17.724 19.6768 17.1013 19.8405 16.206C20.0043 15.3106 20.1176 14.6877 20.1701 14.1951Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.187 7.48754C17.6981 7.57551 17.2305 7.25042 17.1425 6.76144C16.9973 5.95396 16.943 5.67502 16.8623 5.46514C16.4853 4.48424 15.5548 3.82695 14.5044 3.79963C14.2797 3.79379 13.9987 3.83592 13.1893 3.96904L7.34271 4.93059C5.97668 5.15525 5.5094 5.24377 5.16914 5.42274C4.48643 5.78184 3.99853 6.42575 3.83745 7.18023C3.75718 7.55625 3.79831 8.03012 3.9514 9.40619L3.9624 9.50506C4.01734 9.99885 3.66164 10.4437 3.16792 10.4986C2.67421 10.5536 2.22944 10.1978 2.17451 9.70403L2.16414 9.61087C2.16363 9.60655 2.16315 9.60224 2.1627 9.59792C2.15679 9.54478 2.15094 9.49239 2.14517 9.44072C2.01715 8.2944 1.92887 7.50393 2.07819 6.80452C2.35077 5.52771 3.17645 4.43802 4.33181 3.83032C4.96469 3.49743 5.74945 3.36871 6.8875 3.18204C6.94115 3.17324 6.99558 3.16431 7.05082 3.15522L12.8974 2.19367C12.9303 2.18826 12.9628 2.18292 12.9947 2.17765C13.6694 2.06651 14.133 1.99015 14.5512 2.00103C16.3287 2.04726 17.9035 3.1596 18.5415 4.81959C18.6916 5.21016 18.7747 5.67262 18.8956 6.34577C18.9013 6.37765 18.9071 6.41001 18.913 6.44285C19.001 6.93184 18.6759 7.39956 18.187 7.48754Z' fill='white'/%3e%3cpath d='M12.7236 12.4141C12.6645 12.3598 12.5907 12.3237 12.5112 12.3104C12.2859 12.2724 12.0721 12.4223 12.0337 12.6452L11.3143 16.8242C11.3014 16.899 11.3098 16.976 11.3386 17.0464C11.4243 17.2559 11.6656 17.3571 11.8776 17.2723L15.547 15.8046C15.6032 15.7821 15.6537 15.7477 15.695 15.7038C15.8506 15.5382 15.8411 15.2792 15.6736 15.1253L12.7236 12.4141Z' fill='white'/%3e%3c/svg%3e";function iM(e){Rv(e,"v-161mq9z",".episodes.v-161mq9z{display:flex;flex-direction:row;max-width:100%;align-items:center}.text.v-161mq9z{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}")}function oM(e){let t,n,r,i,o,a,s,l;return{c(){t=Bv("div"),n=Bv("img"),i=zv(),o=Bv("div"),a=Hv(e[1]),Sv(n.src,r=rM)||qv(n,"src",r),qv(n,"class","icon"),qv(n,"alt",""),qv(o,"class","text v-161mq9z"),qv(t,"class","episodes v-161mq9z"),qv(t,"role","button"),qv(t,"tabindex","0")},m(r,c){Iv(r,t,c),Dv(t,n),Dv(t,i),Dv(t,o),Dv(o,a),s||(l=Uv(t,"click",Gv(e[2])),s=!0)},p(e,t){2&t&&Wv(a,e[1])},d(e){e&&Nv(t),s=!1,l()}}}function aM(e){let t,n=e[0]&&oM(e);return{c(){n&&n.c(),t=Vv()},m(e,r){n&&n.m(e,r),Iv(e,t,r)},p(e,[r]){e[0]?n?n.p(e,r):(n=oM(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:hv,o:hv,d(e){e&&Nv(t),n&&n.d(e)}}}function sM(e,t,n){var r,i,o,a;let s,l,{position:c=0}=t,{duration:u=0}=t,{timeCodes:d=[]}=t,{isEpisodesEnabled:p=!1}=t;const f=Xy(),h=null!=(i=null==(r=f.callbacks)?void 0:r.onEpisodeChanged)?i:Io,m=null!=(a=null==(o=f.callbacks)?void 0:o.onEpisodeClicked)?a:Io;let g;return e.$$set=e=>{"position"in e&&n(3,c=e.position),"duration"in e&&n(4,u=e.duration),"timeCodes"in e&&n(5,d=e.timeCodes),"isEpisodesEnabled"in e&&n(0,p=e.isEpisodesEnabled)},e.$$.update=()=>{if(24&e.$$.dirty&&n(7,s=c/u),240&e.$$.dirty){const e=AO(s,u,d);e&&(null==g?void 0:g.text)!==e.text&&(h(e),n(6,g=e))}64&e.$$.dirty&&n(1,l=(null==g?void 0:g.text)||"")},[p,l,m,c,u,d,g,s]}class lM extends Ly{constructor(e){super(),Py(this,e,sM,aM,wv,{position:3,duration:4,timeCodes:5,isEpisodesEnabled:0},iM)}}var cM="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.3377 4L7.6623 4C6.85427 3.99999 6.19339 3.99998 5.65632 4.04386C5.10041 4.08928 4.59833 4.18617 4.12944 4.42508C3.39561 4.79898 2.79898 5.39561 2.42508 6.12944C2.18617 6.59833 2.08928 7.10041 2.04386 7.65632C1.99998 8.19339 1.99999 8.85426 2 9.66229V12.3837C1.99999 13.1917 1.99998 13.8525 2.04386 14.3896C2.08928 14.9455 2.18617 15.4476 2.42508 15.9165C2.79898 16.6503 3.39561 17.2469 4.12944 17.6208C4.59833 17.8598 5.10041 17.9566 5.65632 18.0021C6.1934 18.0459 6.85424 18.0459 7.66229 18.0459L10.1 18.0459C10.5971 18.0459 11 17.643 11 17.1459C11 16.6489 10.5971 16.2459 10.1 16.2459L7.7 16.2459C6.84507 16.2459 6.258 16.2452 5.80289 16.208C5.3583 16.1717 5.11947 16.1051 4.94662 16.017C4.55148 15.8157 4.23022 15.4944 4.02889 15.0993C3.94082 14.9264 3.87421 14.6876 3.83789 14.243C3.8007 13.7879 3.8 13.2008 3.8 12.3459V9.7C3.8 8.84507 3.8007 8.258 3.83789 7.8029C3.87421 7.3583 3.94082 7.11947 4.02889 6.94662C4.23022 6.55148 4.55148 6.23022 4.94662 6.02889C5.11947 5.94082 5.3583 5.87421 5.8029 5.83789C6.258 5.8007 6.84507 5.8 7.7 5.8L14.3 5.8C15.1549 5.8 15.742 5.8007 16.1971 5.83789C16.6417 5.87421 16.8805 5.94082 17.0534 6.02889C17.4485 6.23022 17.7698 6.55148 17.9711 6.94662C18.0592 7.11947 18.1258 7.3583 18.1621 7.8029C18.1993 8.258 18.2 8.84507 18.2 9.7V11.1C18.2 11.5971 18.6029 12 19.1 12C19.5971 12 20 11.5971 20 11.1V9.6623C20 8.85425 20 8.1934 19.9561 7.65632C19.9107 7.10041 19.8138 6.59833 19.5749 6.12944C19.201 5.39561 18.6044 4.79898 17.8706 4.42508C17.4017 4.18617 16.8996 4.08928 16.3437 4.04386C15.8066 3.99998 15.1457 3.99999 14.3377 4Z' fill='white'/%3e%3cpath d='M13.1907 14.9555C13 15.3299 13 15.8199 13 16.8V17.2C13 18.1801 13 18.6701 13.1907 19.0445C13.3585 19.3738 13.6262 19.6415 13.9555 19.8093C14.3299 20 14.8199 20 15.8 20H19.2C20.1801 20 20.6701 20 21.0445 19.8093C21.3738 19.6415 21.6415 19.3738 21.8093 19.0445C22 18.6701 22 18.1801 22 17.2V16.8C22 15.8199 22 15.3299 21.8093 14.9555C21.6415 14.6262 21.3738 14.3585 21.0445 14.1907C20.6701 14 20.1801 14 19.2 14H15.8C14.8199 14 14.3299 14 13.9555 14.1907C13.6262 14.3585 13.3585 14.6262 13.1907 14.9555Z' fill='white'/%3e%3cpath d='M6.35684 9.62964C6.35908 9.63192 6.36132 9.63418 6.36358 9.63644L8.92721 12.2H7.89998C7.40292 12.2 6.99998 12.6029 6.99998 13.1C6.99998 13.5971 7.40292 14 7.89998 14H11.1C11.5971 14 12 13.5971 12 13.1V9.90005C12 9.40299 11.5971 9.00005 11.1 9.00005C10.6029 9.00005 10.2 9.40299 10.2 9.90005V10.9219L7.6703 8.3975L7.53642 8.26363C7.18495 7.91216 6.6151 7.91216 6.26363 8.26363C5.91216 8.6151 5.91216 9.18495 6.26363 9.53642L6.35684 9.62964Z' fill='white'/%3e%3c/svg%3e",uM="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_4085_176404)'%3e%3cg filter='url(%23filter0_d_4085_176404)'%3e%3cpath d='M14.3377 4L7.6623 4C6.85427 3.99999 6.19339 3.99998 5.65632 4.04386C5.10041 4.08928 4.59833 4.18617 4.12944 4.42508C3.39561 4.79898 2.79898 5.39561 2.42508 6.12944C2.18617 6.59833 2.08928 7.10041 2.04386 7.65632C1.99998 8.19338 1.99999 8.85426 2 9.66228V12.3837C1.99999 13.1917 1.99998 13.8525 2.04386 14.3896C2.08928 14.9455 2.18617 15.4476 2.42508 15.9165C2.79898 16.6503 3.39561 17.2469 4.12944 17.6208C4.59833 17.8598 5.1004 17.9566 5.65632 18.0021C6.19339 18.0459 6.85424 18.0459 7.66229 18.0459H10.1C10.597 18.0459 11 17.643 11 17.1459C11 16.6489 10.597 16.2459 10.1 16.2459H7.7C6.84507 16.2459 6.258 16.2452 5.8029 16.208C5.3583 16.1717 5.11947 16.1051 4.94662 16.017C4.55148 15.8157 4.23022 15.4944 4.02889 15.0993C3.94082 14.9264 3.87421 14.6876 3.83788 14.243C3.8007 13.7879 3.8 13.2008 3.8 12.3459V9.7C3.8 8.84507 3.8007 8.258 3.83788 7.8029C3.87421 7.3583 3.94082 7.11947 4.02889 6.94662C4.23022 6.55148 4.55148 6.23022 4.94662 6.02889C5.11947 5.94082 5.3583 5.87421 5.8029 5.83788C6.258 5.8007 6.84507 5.8 7.7 5.8L14.3 5.8C15.1549 5.8 15.742 5.8007 16.1971 5.83789C16.6417 5.87421 16.8805 5.94082 17.0534 6.02889C17.4485 6.23022 17.7698 6.55148 17.9711 6.94662C18.0592 7.11947 18.1258 7.3583 18.1621 7.8029C18.1993 8.258 18.2 8.84507 18.2 9.7V11.1C18.2 11.5971 18.6029 12 19.1 12C19.597 12 20 11.5971 20 11.1V9.6623C20 8.85425 20 8.1934 19.9561 7.65632C19.9107 7.10041 19.8138 6.59833 19.5749 6.12944C19.201 5.39561 18.6044 4.79898 17.8705 4.42508C17.4017 4.18617 16.8996 4.08928 16.3437 4.04386C15.8066 3.99998 15.1457 3.99999 14.3377 4Z' fill='%232688EB'/%3e%3cpath d='M13.1907 14.9555C13 15.3299 13 15.8199 13 16.8V17.2C13 18.1801 13 18.6701 13.1907 19.0445C13.3585 19.3738 13.6262 19.6415 13.9555 19.8093C14.3298 20 14.8199 20 15.8 20H19.2C20.1801 20 20.6701 20 21.0445 19.8093C21.3737 19.6415 21.6415 19.3738 21.8092 19.0445C22 18.6701 22 18.1801 22 17.2V16.8C22 15.8199 22 15.3299 21.8092 14.9555C21.6415 14.6262 21.3737 14.3585 21.0445 14.1907C20.6701 14 20.1801 14 19.2 14H15.8C14.8199 14 14.3298 14 13.9555 14.1907C13.6262 14.3585 13.3585 14.6262 13.1907 14.9555Z' fill='%232688EB'/%3e%3cpath d='M11.6431 12.3704C11.6409 12.3681 11.6387 12.3658 11.6364 12.3636L9.07277 9.8H10.1C10.5971 9.8 11 9.39706 11 8.9C11 8.40295 10.5971 8 10.1 8H6.89998C6.40292 8 5.99998 8.40295 5.99998 8.9V12.1C5.99998 12.597 6.40292 13 6.89998 13C7.39704 13 7.79998 12.597 7.79998 12.1V11.0781L10.3297 13.6025L10.4636 13.7364C10.815 14.0878 11.3849 14.0878 11.7363 13.7364C12.0878 13.3849 12.0878 12.8151 11.7363 12.4636L11.6431 12.3704Z' fill='%232688EB'/%3e%3cpath d='M14.3377 3.75L7.6623 3.75L7.65236 3.75C6.85246 3.74999 6.18321 3.74998 5.63596 3.79469C5.06453 3.84138 4.52592 3.94248 4.01594 4.20232C3.23507 4.6002 2.6002 5.23507 2.20232 6.01594C1.94248 6.52592 1.84138 7.06453 1.79469 7.63596C1.74998 8.18321 1.74999 8.85244 1.75 9.65234L1.75 9.66229V12.3837L1.75 12.3936C1.74999 13.1935 1.74998 13.8627 1.79469 14.41C1.84138 14.9814 1.94248 15.52 2.20232 16.03C2.6002 16.8108 3.23507 17.4457 4.01594 17.8436C4.52592 18.1034 5.06453 18.2045 5.63596 18.2512C6.18322 18.2959 6.85243 18.2959 7.65235 18.2959H7.6623H10.1C10.7351 18.2959 11.25 17.781 11.25 17.1459C11.25 16.5108 10.7351 15.9959 10.1 15.9959H7.7C6.84085 15.9959 6.26579 15.995 5.82325 15.9589C5.39401 15.9238 5.19179 15.8614 5.06012 15.7943C4.71202 15.6169 4.42901 15.3339 4.25164 14.9858C4.18455 14.8541 4.12212 14.6519 4.08705 14.2227C4.0509 13.7801 4.05 13.2051 4.05 12.3459V9.7C4.05 8.84085 4.0509 8.26579 4.08705 7.82325C4.12212 7.39401 4.18455 7.19179 4.25164 7.06012C4.42901 6.71202 4.71202 6.429 5.06012 6.25164C5.19179 6.18455 5.39401 6.12212 5.82325 6.08705C6.26579 6.0509 6.84085 6.05 7.7 6.05L14.3 6.05C15.1591 6.05 15.7342 6.0509 16.1767 6.08706C16.606 6.12213 16.8082 6.18455 16.9399 6.25164C17.288 6.42901 17.571 6.71202 17.7483 7.06012C17.8154 7.19179 17.8779 7.39401 17.9129 7.82325C17.9491 8.26579 17.95 8.84085 17.95 9.7V11.1C17.95 11.7351 18.4649 12.25 19.1 12.25C19.7351 12.25 20.25 11.7351 20.25 11.1V9.6623V9.65244C20.25 8.85248 20.25 8.18324 20.2053 7.63596C20.1586 7.06453 20.0575 6.52592 19.7977 6.01594C19.3998 5.23507 18.7649 4.6002 17.984 4.20233C17.4741 3.94248 16.9354 3.84138 16.364 3.79469C15.8168 3.74998 15.1475 3.74999 14.3476 3.75L14.3377 3.75ZM12.968 14.842C12.8516 15.0703 12.7998 15.323 12.7746 15.6302C12.75 15.9322 12.75 16.3082 12.75 16.7888V16.8V17.2V17.2112C12.75 17.6918 12.75 18.0677 12.7746 18.3697C12.7998 18.677 12.8516 18.9297 12.968 19.158C13.1597 19.5343 13.4657 19.8403 13.842 20.032C14.0703 20.1483 14.3229 20.2002 14.6302 20.2253C14.9322 20.25 15.3082 20.25 15.7887 20.25H15.8H19.2H19.2112C19.6917 20.25 20.0677 20.25 20.3697 20.2253C20.677 20.2002 20.9297 20.1483 21.158 20.032C21.5343 19.8403 21.8402 19.5343 22.032 19.158C22.1483 18.9297 22.2002 18.677 22.2253 18.3697C22.25 18.0677 22.25 17.6918 22.25 17.2112V17.2V16.8V16.7888C22.25 16.3082 22.25 15.9322 22.2253 15.6302C22.2002 15.323 22.1483 15.0703 22.032 14.842C21.8402 14.4657 21.5343 14.1597 21.158 13.968C20.9297 13.8517 20.677 13.7998 20.3697 13.7747C20.0677 13.75 19.6917 13.75 19.2112 13.75H19.2H15.8H15.7887C15.3082 13.75 14.9322 13.75 14.6302 13.7747C14.3229 13.7998 14.0703 13.8517 13.842 13.968C13.4657 14.1597 13.1597 14.4657 12.968 14.842ZM11.8218 12.1955L11.8199 12.1936L11.8132 12.1868L11.6364 12.3636L11.8132 12.1868L9.67634 10.05H10.1C10.7351 10.05 11.25 9.53513 11.25 8.9C11.25 8.26488 10.7351 7.75 10.1 7.75H6.89998C6.26485 7.75 5.74998 8.26487 5.74998 8.9V12.1C5.74998 12.7351 6.26485 13.25 6.89998 13.25C7.53511 13.25 8.04998 12.7351 8.04998 12.1V11.6808L10.1529 13.7793L10.1531 13.7795L10.2868 13.9131C10.7359 14.3623 11.464 14.3623 11.9131 13.9131C12.3622 13.464 12.3622 12.7359 11.9131 12.2868L11.8218 12.1955Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d_4085_176404' x='-3.5' y='-1.5' width='31' height='27' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur stdDeviation='2.5'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_4085_176404'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_4085_176404' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0_4085_176404'%3e%3crect width='24' height='24' fill='%232688EB'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function dM(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=cM)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function pM(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=uM)||qv(t,"src",n),qv(t,"alt","")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function fM(e){let t,n,r;function i(e,t){return e[1]?pM:dM}let o=i(e),a=o(e);return{c(){t=Bv("div"),a.c(),qv(t,"class",e[0]),qv(t,"role","button"),qv(t,"tabindex","0")},m(i,o){Iv(i,t,o),a.m(t,null),n||(r=Uv(t,"click",Gv(e[3])),n=!0)},p(e,[n]){o===(o=i(e))&&a?a.p(e,n):(a.d(1),a=o(e),a&&(a.c(),a.m(t,null))),1&n&&qv(t,"class",e[0])},i:hv,o:hv,d(e){e&&Nv(t),a.d(),n=!1,r()}}}function hM(e,t,n){let r,{className:i=""}=t;const o=Xy().ui.isPictureInPictureActive$;return kv(e,o,(e=>n(1,r=e))),e.$$set=e=>{"className"in e&&n(0,i=e.className)},[i,r,o,function(t){oy.call(this,e,t)}]}class mM extends Ly{constructor(e){super(),Py(this,e,hM,fM,wv,{className:0})}}function gM(e){Rv(e,"v-qxwhgs",".container-mobile.v-qxwhgs{position:absolute;right:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center;justify-content:center}.hidden.v-qxwhgs{visibility:hidden;opacity:0}.icon.v-qxwhgs{display:block;height:24px}")}function vM(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),qv(n,"class","icon v-qxwhgs"),Sv(n.src,r="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.7259 4.8447C16.1874 4.8007 15.4953 4.8 14.5004 4.8H7.90037C7.40331 4.8 7.00037 4.39706 7.00037 3.9C7.00037 3.40294 7.40331 3 7.90037 3L14.5388 3C15.4863 2.99999 16.252 2.99998 16.8724 3.05067C17.5117 3.10291 18.0756 3.21341 18.5979 3.47957C19.4258 3.90141 20.099 4.57453 20.5208 5.40244C20.787 5.92481 20.8975 6.48863 20.9497 7.12792C21.0004 7.74834 21.0004 8.51409 21.0004 9.46159V14.5384C21.0004 15.4859 21.0004 16.2517 20.9497 16.8721C20.8975 17.5114 20.787 18.0752 20.5208 18.5976C20.099 19.4255 19.4258 20.0986 18.5979 20.5204C18.0756 20.7866 17.5117 20.8971 16.8724 20.9493C16.252 21 15.4863 21 14.5388 21H7.90037C7.40331 21 7.00037 20.5971 7.00037 20.1C7.00037 19.6029 7.40331 19.2 7.90037 19.2H14.5004C15.4953 19.2 16.1874 19.1993 16.7259 19.1553C17.2538 19.1122 17.5544 19.0319 17.7807 18.9166C18.27 18.6673 18.6677 18.2696 18.917 17.7804C19.0323 17.5541 19.1125 17.2535 19.1557 16.7255C19.1997 16.187 19.2004 15.4949 19.2004 14.5V9.5C19.2004 8.50506 19.1997 7.81298 19.1557 7.2745C19.1125 6.74652 19.0323 6.44595 18.917 6.21963C18.6677 5.7304 18.27 5.33265 17.7807 5.08338C17.5544 4.96807 17.2538 4.88783 16.7259 4.8447Z' fill='white'/%3e %3cpath d='M7.76024 11.169V8.90757C7.76024 8.19989 8.464 7.76535 9.01233 8.13446L13.6063 11.2269C14.1312 11.5803 14.1312 12.4198 13.6063 12.7731L9.01233 15.8656C8.46399 16.2347 7.76024 15.8001 7.76024 15.0924V12.8308L3.25209 15.8655C2.70376 16.2347 2 15.8001 2 15.0924V8.90755C2 8.19987 2.70375 7.76533 3.25208 8.13443L7.76024 11.169Z' fill='white'/%3e%3c/svg%3e")||qv(n,"src","data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.7259 4.8447C16.1874 4.8007 15.4953 4.8 14.5004 4.8H7.90037C7.40331 4.8 7.00037 4.39706 7.00037 3.9C7.00037 3.40294 7.40331 3 7.90037 3L14.5388 3C15.4863 2.99999 16.252 2.99998 16.8724 3.05067C17.5117 3.10291 18.0756 3.21341 18.5979 3.47957C19.4258 3.90141 20.099 4.57453 20.5208 5.40244C20.787 5.92481 20.8975 6.48863 20.9497 7.12792C21.0004 7.74834 21.0004 8.51409 21.0004 9.46159V14.5384C21.0004 15.4859 21.0004 16.2517 20.9497 16.8721C20.8975 17.5114 20.787 18.0752 20.5208 18.5976C20.099 19.4255 19.4258 20.0986 18.5979 20.5204C18.0756 20.7866 17.5117 20.8971 16.8724 20.9493C16.252 21 15.4863 21 14.5388 21H7.90037C7.40331 21 7.00037 20.5971 7.00037 20.1C7.00037 19.6029 7.40331 19.2 7.90037 19.2H14.5004C15.4953 19.2 16.1874 19.1993 16.7259 19.1553C17.2538 19.1122 17.5544 19.0319 17.7807 18.9166C18.27 18.6673 18.6677 18.2696 18.917 17.7804C19.0323 17.5541 19.1125 17.2535 19.1557 16.7255C19.1997 16.187 19.2004 15.4949 19.2004 14.5V9.5C19.2004 8.50506 19.1997 7.81298 19.1557 7.2745C19.1125 6.74652 19.0323 6.44595 18.917 6.21963C18.6677 5.7304 18.27 5.33265 17.7807 5.08338C17.5544 4.96807 17.2538 4.88783 16.7259 4.8447Z' fill='white'/%3e %3cpath d='M7.76024 11.169V8.90757C7.76024 8.19989 8.464 7.76535 9.01233 8.13446L13.6063 11.2269C14.1312 11.5803 14.1312 12.4198 13.6063 12.7731L9.01233 15.8656C8.46399 16.2347 7.76024 15.8001 7.76024 15.0924V12.8308L3.25209 15.8655C2.70376 16.2347 2 15.8001 2 15.0924V8.90755C2 8.19987 2.70375 7.76533 3.25208 8.13443L7.76024 11.169Z' fill='white'/%3e%3c/svg%3e"),qv(n,"alt",""),qv(t,"role","button"),qv(t,"class",i=Pv(e[0]?zy:"")+" v-qxwhgs"),qv(t,"tabindex","0"),Xv(t,"hidden",e[1]),Xv(t,"container-mobile",e[2])},m(r,i){Iv(r,t,i),Dv(t,n),o||(a=Uv(t,"click",e[4]),o=!0)},p(e,[n]){1&n&&i!==(i=Pv(e[0]?zy:"")+" v-qxwhgs")&&qv(t,"class",i),3&n&&Xv(t,"hidden",e[1]),5&n&&Xv(t,"container-mobile",e[2])},i:hv,o:hv,d(e){e&&Nv(t),o=!1,a()}}}function yM(e,t,n){let r;const i=Xy().ui.isMobile;kv(e,i,(e=>n(2,r=e)));let{disabled:o=!1}=t,{hidden:a=!1}=t;return e.$$set=e=>{"disabled"in e&&n(0,o=e.disabled),"hidden"in e&&n(1,a=e.hidden)},[o,a,r,i,function(t){oy.call(this,e,t)}]}class bM extends Ly{constructor(e){super(),Py(this,e,yM,vM,wv,{disabled:0,hidden:1},gM)}}var wM="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.7774 3H18.1958C18.5065 2.99998 18.7919 2.99996 19.0304 3.01937C19.2876 3.0403 19.569 3.08821 19.8469 3.22925C20.2443 3.4309 20.5674 3.75266 20.7698 4.14842C20.9114 4.42522 20.9595 4.70546 20.9806 4.96162C21 5.19921 21 5.48344 21 5.7929V7.18989C21 7.49935 21 7.78357 20.9806 8.02117C20.9595 8.27733 20.9114 8.55757 20.7698 8.83437C20.5674 9.23013 20.2443 9.55189 19.8469 9.75354C19.569 9.89458 19.2876 9.94249 19.0304 9.96342C18.7919 9.98283 18.5065 9.98281 18.1958 9.98279H16.7774C16.4667 9.98281 16.1813 9.98283 15.9428 9.96342C15.6856 9.94249 15.4042 9.89458 15.1263 9.75354C14.7289 9.55189 14.4058 9.23013 14.2034 8.83437C14.0618 8.55757 14.0137 8.27733 13.9927 8.02117C13.9775 7.83621 13.9741 7.62298 13.9734 7.39159L11.7748 7.38865C11.2805 7.38798 10.9643 7.38826 10.7243 7.40748C10.4949 7.42585 10.416 7.45704 10.382 7.47426C10.2304 7.551 10.1072 7.67361 10.0299 7.82447C10.0126 7.85833 9.98114 7.93681 9.96239 8.1653C9.94277 8.40429 9.94207 8.71924 9.94207 9.21149V14.7802C9.94207 15.2713 9.94277 15.5854 9.96232 15.8238C9.981 16.0517 10.0123 16.13 10.0296 16.1639C10.1066 16.3145 10.2295 16.4371 10.3807 16.514C10.4146 16.5313 10.4933 16.5625 10.722 16.5815C10.9614 16.6012 11.2768 16.6024 11.7698 16.603L13.9734 16.606C13.9742 16.3755 13.9775 16.1631 13.9927 15.9788C14.0137 15.7227 14.0618 15.4424 14.2034 15.1656C14.4058 14.7699 14.7289 14.4481 15.1263 14.2465C15.4042 14.1054 15.6856 14.0575 15.9428 14.0366C16.1813 14.0172 16.4667 14.0172 16.7774 14.0172H18.1958C18.5065 14.0172 18.7919 14.0172 19.0304 14.0366C19.2876 14.0575 19.569 14.1054 19.8469 14.2465C20.2443 14.4481 20.5674 14.7699 20.7698 15.1656C20.9114 15.4424 20.9595 15.7227 20.9806 15.9788C21 16.2164 21 16.5006 21 16.8101V18.2071C21 18.5166 21 18.8008 20.9806 19.0384C20.9595 19.2945 20.9114 19.5748 20.7698 19.8516C20.5674 20.2473 20.2443 20.5691 19.8469 20.7708C19.569 20.9118 19.2876 20.9597 19.0304 20.9806C18.7919 21 18.5065 21 18.1958 21H16.7774C16.4667 21 16.1813 21 15.9428 20.9806C15.6856 20.9597 15.4042 20.9118 15.1263 20.7708C14.7289 20.5691 14.4058 20.2473 14.2034 19.8516C14.0618 19.5748 14.0137 19.2945 13.9927 19.0384C13.9775 18.8534 13.9741 18.6402 13.9734 18.4088L11.733 18.4058C11.2843 18.4052 10.8942 18.4047 10.5723 18.3781C10.2316 18.3499 9.88858 18.288 9.55736 18.1195C9.06605 17.8696 8.6667 17.4714 8.41644 16.9817C8.24773 16.6516 8.18602 16.3099 8.1582 15.9705C8.13191 15.6499 8.13193 15.2614 8.13195 14.8145L8.13195 12.8936H2.90506C2.40521 12.8936 2 12.49 2 11.9922C2 11.4943 2.40521 11.0908 2.90506 11.0908H8.13195L8.13195 9.17714C8.13193 8.72913 8.13191 8.33972 8.15829 8.01841C8.18619 7.67841 8.24809 7.33598 8.4174 7.00536C8.66849 6.51505 9.06911 6.11658 9.56175 5.86717C9.89393 5.69899 10.2378 5.6378 10.5792 5.61046C10.9019 5.58463 11.2929 5.58517 11.7427 5.58578L13.9734 5.58877C13.9742 5.35832 13.9775 5.14594 13.9927 4.96162C14.0137 4.70546 14.0618 4.42522 14.2034 4.14842C14.4058 3.75266 14.7289 3.4309 15.1263 3.22925C15.4042 3.08821 15.6856 3.0403 15.9428 3.01937C16.1813 2.99996 16.4667 2.99998 16.7774 3Z' fill='white'/%3e%3c/svg%3e",_M="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.7774 3H18.1958C18.5065 2.99998 18.7919 2.99996 19.0304 3.01937C19.2876 3.0403 19.569 3.08821 19.8469 3.22925C20.2443 3.4309 20.5674 3.75266 20.7698 4.14842C20.9114 4.42522 20.9595 4.70546 20.9806 4.96162C21 5.19921 21 5.48344 21 5.7929V7.18989C21 7.49935 21 7.78357 20.9806 8.02117C20.9595 8.27733 20.9114 8.55757 20.7698 8.83437C20.5674 9.23013 20.2443 9.55189 19.8469 9.75354C19.569 9.89458 19.2876 9.94249 19.0304 9.96342C18.7919 9.98283 18.5065 9.98281 18.1958 9.98279H16.7774C16.4667 9.98281 16.1813 9.98283 15.9428 9.96342C15.6856 9.94249 15.4042 9.89458 15.1263 9.75354C14.7289 9.55189 14.4058 9.23013 14.2034 8.83437C14.0618 8.55757 14.0137 8.27733 13.9927 8.02117C13.9775 7.83621 13.9741 7.62298 13.9734 7.39159L11.7748 7.38865C11.2805 7.38798 10.9643 7.38826 10.7243 7.40748C10.4949 7.42585 10.416 7.45704 10.382 7.47426C10.2304 7.551 10.1072 7.67361 10.0299 7.82447C10.0126 7.85833 9.98114 7.93681 9.96239 8.1653C9.94277 8.40429 9.94207 8.71924 9.94207 9.21149V14.7802C9.94207 15.2713 9.94277 15.5854 9.96232 15.8238C9.981 16.0517 10.0123 16.13 10.0296 16.1639C10.1066 16.3145 10.2295 16.4371 10.3807 16.514C10.4146 16.5313 10.4933 16.5625 10.722 16.5815C10.9614 16.6012 11.2768 16.6024 11.7698 16.603L13.9734 16.606C13.9742 16.3755 13.9775 16.1631 13.9927 15.9788C14.0137 15.7227 14.0618 15.4424 14.2034 15.1656C14.4058 14.7699 14.7289 14.4481 15.1263 14.2465C15.4042 14.1054 15.6856 14.0575 15.9428 14.0366C16.1813 14.0172 16.4667 14.0172 16.7774 14.0172H18.1958C18.5065 14.0172 18.7919 14.0172 19.0304 14.0366C19.2876 14.0575 19.569 14.1054 19.8469 14.2465C20.2443 14.4481 20.5674 14.7699 20.7698 15.1656C20.9114 15.4424 20.9595 15.7227 20.9806 15.9788C21 16.2164 21 16.5006 21 16.8101V18.2071C21 18.5166 21 18.8008 20.9806 19.0384C20.9595 19.2945 20.9114 19.5748 20.7698 19.8516C20.5674 20.2473 20.2443 20.5691 19.8469 20.7708C19.569 20.9118 19.2876 20.9597 19.0304 20.9806C18.7919 21 18.5065 21 18.1958 21H16.7774C16.4667 21 16.1813 21 15.9428 20.9806C15.6856 20.9597 15.4042 20.9118 15.1263 20.7708C14.7289 20.5691 14.4058 20.2473 14.2034 19.8516C14.0618 19.5748 14.0137 19.2945 13.9927 19.0384C13.9775 18.8534 13.9741 18.6402 13.9734 18.4088L11.733 18.4058C11.2843 18.4052 10.8942 18.4047 10.5723 18.3781C10.2316 18.3499 9.88858 18.288 9.55736 18.1195C9.06605 17.8696 8.6667 17.4714 8.41644 16.9817C8.24773 16.6516 8.18602 16.3099 8.1582 15.9705C8.13191 15.6499 8.13193 15.2614 8.13195 14.8145L8.13195 12.8936H2.90506C2.40521 12.8936 2 12.49 2 11.9922C2 11.4943 2.40521 11.0908 2.90506 11.0908H8.13195L8.13195 9.17714C8.13193 8.72913 8.13191 8.33972 8.15829 8.01841C8.18619 7.67841 8.24809 7.33598 8.4174 7.00536C8.66849 6.51505 9.06911 6.11658 9.56175 5.86717C9.89393 5.69899 10.2378 5.6378 10.5792 5.61046C10.9019 5.58463 11.2929 5.58517 11.7427 5.58578L13.9734 5.58877C13.9742 5.35832 13.9775 5.14594 13.9927 4.96162C14.0137 4.70546 14.0618 4.42522 14.2034 4.14842C14.4058 3.75266 14.7289 3.4309 15.1263 3.22925C15.4042 3.08821 15.6856 3.0403 15.9428 3.01937C16.1813 2.99996 16.4667 2.99998 16.7774 3ZM15.9413 4.83855C15.9412 4.83854 15.9418 4.83831 15.9431 4.83789L15.9413 4.83855ZM15.9444 4.83746C15.9551 4.83415 15.9951 4.82394 16.0902 4.8162C16.246 4.80352 16.4562 4.80282 16.8091 4.80282H18.1641C18.517 4.80282 18.7272 4.80352 18.883 4.8162C18.9781 4.82394 19.0181 4.83415 19.0288 4.83746C19.0827 4.86573 19.1267 4.90958 19.1551 4.96323C19.1584 4.97391 19.1687 5.01373 19.1764 5.10843C19.1892 5.26362 19.1899 5.47298 19.1899 5.82442V7.15837C19.1899 7.50981 19.1892 7.71917 19.1764 7.87436C19.1687 7.96909 19.1584 8.0089 19.1551 8.01957C19.1267 8.07322 19.0827 8.11706 19.0288 8.14533C19.0181 8.14864 18.9781 8.15885 18.883 8.16659C18.7272 8.17927 18.517 8.17997 18.1641 8.17997H16.8091C16.4562 8.17997 16.246 8.17927 16.0902 8.16659C15.9951 8.15885 15.9551 8.14864 15.9444 8.14533C15.8905 8.11706 15.8465 8.07322 15.8181 8.01957C15.8148 8.0089 15.8045 7.96908 15.7968 7.87436C15.784 7.71917 15.7833 7.50981 15.7833 7.15837V5.82442C15.7833 5.47298 15.784 5.26362 15.7968 5.10843C15.8045 5.01371 15.8148 4.97389 15.8181 4.96322C15.8465 4.90957 15.8905 4.86573 15.9444 4.83746ZM15.8192 4.96011C15.8192 4.96015 15.819 4.96078 15.8185 4.96191L15.8192 4.96011ZM15.8192 8.02267C15.8192 8.02271 15.819 8.02215 15.8185 8.02089L15.8192 8.02267ZM15.9413 8.14424C15.9413 8.14423 15.9419 8.14444 15.9431 8.1449L15.9413 8.14424ZM19.0319 8.14424C19.032 8.14425 19.0314 8.14448 19.0301 8.1449L19.0319 8.14424ZM19.154 8.02267C19.154 8.02262 19.1542 8.02198 19.1547 8.02086L19.154 8.02267ZM19.154 4.96011C19.154 4.96008 19.1542 4.96064 19.1547 4.96191L19.154 4.96011ZM19.0301 4.83788C19.0314 4.8383 19.032 4.83854 19.0319 4.83855L19.0301 4.83788ZM15.9413 15.8558C15.9412 15.8558 15.9418 15.8555 15.9431 15.8551L15.9413 15.8558ZM15.9444 15.8547C15.9551 15.8514 15.9951 15.8412 16.0902 15.8334C16.246 15.8207 16.4562 15.82 16.8091 15.82H18.1641C18.517 15.82 18.7272 15.8207 18.883 15.8334C18.9781 15.8412 19.0181 15.8514 19.0288 15.8547C19.0827 15.8829 19.1267 15.9268 19.1551 15.9804C19.1584 15.9911 19.1687 16.0309 19.1764 16.1256C19.1892 16.2808 19.1899 16.4902 19.1899 16.8416V18.1756C19.1899 18.527 19.1892 18.7364 19.1764 18.8916C19.1687 18.9863 19.1584 19.0261 19.1551 19.0368C19.1267 19.0904 19.0827 19.1343 19.0288 19.1625C19.0181 19.1658 18.9781 19.1761 18.883 19.1838C18.7272 19.1965 18.517 19.1972 18.1641 19.1972H16.8091C16.4562 19.1972 16.246 19.1965 16.0902 19.1838C15.9951 19.1761 15.9551 19.1658 15.9444 19.1625C15.8905 19.1343 15.8465 19.0904 15.8181 19.0368C15.8148 19.0261 15.8045 18.9863 15.7968 18.8916C15.784 18.7364 15.7833 18.527 15.7833 18.1756V16.8416C15.7833 16.4902 15.784 16.2808 15.7968 16.1256C15.8045 16.0309 15.8148 15.9911 15.8181 15.9804C15.8465 15.9268 15.8905 15.8829 15.9444 15.8547ZM15.8192 15.9773C15.8192 15.9773 15.819 15.978 15.8185 15.9791L15.8192 15.9773ZM15.8192 19.0399C15.8192 19.0399 15.8189 19.0393 15.8185 19.038L15.8192 19.0399ZM15.9413 19.1615C15.9413 19.1614 15.942 19.1617 15.9431 19.1621L15.9413 19.1615ZM19.0319 19.1615C19.032 19.1615 19.0314 19.1617 19.0302 19.1621L19.0319 19.1615ZM19.154 19.0399C19.154 19.0399 19.1542 19.0392 19.1547 19.0381L19.154 19.0399ZM19.154 15.9773C19.154 15.9773 19.1542 15.9778 19.1547 15.9792L19.154 15.9773Z' fill='white'/%3e%3c/svg%3e";function SM(e){Rv(e,"v-o7mpo1",".container-mobile.v-o7mpo1{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center;justify-content:center}.hidden.v-o7mpo1{visibility:hidden;opacity:0}.icon.v-o7mpo1{display:block;height:24px}")}function xM(e){let t,n,r,i,o,a;return{c(){t=Bv("div"),n=Bv("img"),qv(n,"class","icon v-o7mpo1"),Sv(n.src,r=e[0]?wM:_M)||qv(n,"src",r),qv(n,"alt",""),qv(t,"role","button"),qv(t,"tabindex","0"),qv(t,"class",i=Pv(e[2]?zy:"")+" v-o7mpo1"),Xv(t,"hidden",e[1]),Xv(t,"container-mobile",e[3])},m(r,i){Iv(r,t,i),Dv(t,n),o||(a=Uv(t,"click",e[5]),o=!0)},p(e,[o]){1&o&&!Sv(n.src,r=e[0]?wM:_M)&&qv(n,"src",r),4&o&&i!==(i=Pv(e[2]?zy:"")+" v-o7mpo1")&&qv(t,"class",i),6&o&&Xv(t,"hidden",e[1]),12&o&&Xv(t,"container-mobile",e[3])},i:hv,o:hv,d(e){e&&Nv(t),o=!1,a()}}}function EM(e,t,n){let r;const i=Xy().ui.isMobile;kv(e,i,(e=>n(3,r=e)));let{graphIsOpened:o=!1}=t,{hidden:a=!1}=t,{disabled:s=!1}=t;return e.$$set=e=>{"graphIsOpened"in e&&n(0,o=e.graphIsOpened),"hidden"in e&&n(1,a=e.hidden),"disabled"in e&&n(2,s=e.disabled)},[o,a,s,r,i,function(t){oy.call(this,e,t)}]}class kM extends Ly{constructor(e){super(),Py(this,e,EM,xM,wv,{graphIsOpened:0,hidden:1,disabled:2},SM)}}function CM(e){Rv(e,"v-1a0o4f3",".wrapper-bottom.v-1a0o4f3.v-1a0o4f3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--videoplayer-controls-gradient-height);background:linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0) 0%,\n rgba(0, 0, 0, 0.02) 19%,\n rgba(0, 0, 0, 0.10) 34%,\n rgba(0, 0, 0, 0.40) 60%,\n rgba(0, 0, 0, 0.60) 100%\n );transition:transform var(--videoplayer-controls-transition-duration) var(--videoplayer-controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.mobile.v-1a0o4f3.v-1a0o4f3{padding:0 6px}.wrapper-bottom.v-1a0o4f3>.v-1a0o4f3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1a0o4f3.v-1a0o4f3{height:5px}.wrapper-middle.v-1a0o4f3.v-1a0o4f3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1a0o4f3.v-1a0o4f3{position:absolute;top:16px;right:16px;transition:opacity var(--videoplayer-controls-transition-duration);display:flex}.wrapper-top-left.v-1a0o4f3.v-1a0o4f3{position:absolute;top:12px;left:12px}.controls.v-1a0o4f3.v-1a0o4f3{width:100%;display:flex;align-items:center;height:var(--videoplayer-controls-height);white-space:nowrap;font-size:13px;transition:transform var(--videoplayer-controls-transition-duration) var(--videoplayer-controls-transition-fn);will-change:transform;padding:0 8px;box-sizing:border-box}.controls.mobile.v-1a0o4f3.v-1a0o4f3{--videoplayer-controls-height:24px}.controls-element-indent-right{padding-right:8px}.controls-element-indent-mobile{padding-right:6px;padding-left:18px}.controls-element-indent-left{padding-left:8px}.hidden.v-1a0o4f3.v-1a0o4f3{visibility:hidden;opacity:0}.controls-hidden.v-1a0o4f3.v-1a0o4f3{visibility:visible;transform:translateY(100%)}.control-disabled{opacity:0.4;pointer-events:none}.settings-desktop.v-1a0o4f3.v-1a0o4f3{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}.settings-mobile.v-1a0o4f3.v-1a0o4f3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--videoplayer-controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1a0o4f3.v-1a0o4f3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--videoplayer-controls-transition-duration)}.wrapper-bottom-fullscreen-desktop.v-1a0o4f3 .controls.v-1a0o4f3{--videoplayer-controls-height:50px;font-size:16px}.controls-episodes{width:100%;min-width:0}.ui-time{padding:0 8px}.wrapper-bottom-fullscreen-desktop.v-1a0o4f3 .ui-time{padding-left:20px;padding-right:15px}.wrapper-bottom-fullscreen-desktop.v-1a0o4f3 .controls-play-button{padding-left:11px;padding-right:11px}.mobile-top-right-button+.mobile-top-right-button{margin-left:24px}@media screen and (orientation: portrait){.wrapper-top-right.wrapper-top-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{top:36px}.wrapper-top-left.wrapper-top-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{top:32px}.controls.controls-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{bottom:36px}}@media screen and (orientation: landscape){.wrapper-top-left.wrapper-top-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{left:32px}.wrapper-top-right.wrapper-top-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{right:36px}.controls.controls-fullscreen-mobile.v-1a0o4f3.v-1a0o4f3{left:20px;right:20px;bottom:24px}}")}function TM(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v=(!e[57]||e[59])&&OM(e),y=e[18]&&MM(e),b=e[48]&&AM(e),w=e[61]&&PM(),_=e[21]&&LM(e),S=e[6]&&DM(e);p=new zT({props:{className:e[54]?zy:"",playbackState:e[62],adPlaybackState:e[63],isAds:e[3],handlePlayClick:e[71],repeatPlaylist:e[13],isEnded:e[64],isOneVideoPlaylist:e[9]}});let x=e[6]&&RM(e),E=e[104]&&!e[44]&&IM(e);return{c(){t=Bv("div"),n=zv(),r=Bv("div"),v&&v.c(),i=zv(),o=Bv("div"),y&&y.c(),a=zv(),b&&b.c(),s=zv(),w&&w.c(),l=zv(),_&&_.c(),c=zv(),u=Bv("div"),S&&S.c(),d=zv(),Ty(p.$$.fragment),f=zv(),x&&x.c(),h=zv(),E&&E.c(),m=Vv(),qv(t,"class","overlay-mobile v-1a0o4f3"),Xv(t,"hidden",!e[50]),qv(r,"class","wrapper-top-left v-1a0o4f3"),Xv(r,"hidden",!e[2]),Xv(r,"wrapper-top-fullscreen-mobile",e[58]&&e[41]),qv(o,"class","wrapper-top-right v-1a0o4f3"),Xv(o,"hidden",!e[2]&&!e[42]),Xv(o,"wrapper-top-fullscreen-mobile",e[58]&&e[41]),qv(u,"class","wrapper-middle v-1a0o4f3"),Xv(u,"hidden",!e[2]||e[44])},m(e,k){Iv(e,t,k),Iv(e,n,k),Iv(e,r,k),v&&v.m(r,null),Iv(e,i,k),Iv(e,o,k),y&&y.m(o,null),Dv(o,a),b&&b.m(o,null),Dv(o,s),w&&w.m(o,null),Dv(o,l),_&&_.m(o,null),Iv(e,c,k),Iv(e,u,k),S&&S.m(u,null),Dv(u,d),Oy(p,u,null),Dv(u,f),x&&x.m(u,null),Iv(e,h,k),E&&E.m(e,k),Iv(e,m,k),g=!0},p(e,n){(!g||524288&n[1])&&Xv(t,"hidden",!e[50]),!e[57]||e[59]?v?(v.p(e,n),335544320&n[1]&&Sy(v,1)):(v=OM(e),v.c(),Sy(v,1),v.m(r,null)):v&&(wy(),xy(v,1,1,(()=>{v=null})),_y()),(!g||4&n[0])&&Xv(r,"hidden",!e[2]),(!g||134218752&n[1])&&Xv(r,"wrapper-top-fullscreen-mobile",e[58]&&e[41]),e[18]?y?(y.p(e,n),262144&n[0]&&Sy(y,1)):(y=MM(e),y.c(),Sy(y,1),y.m(o,a)):y&&(wy(),xy(y,1,1,(()=>{y=null})),_y()),e[48]?b?(b.p(e,n),131072&n[1]&&Sy(b,1)):(b=AM(e),b.c(),Sy(b,1),b.m(o,s)):b&&(wy(),xy(b,1,1,(()=>{b=null})),_y()),e[61]?w?1073741824&n[1]&&Sy(w,1):(w=PM(),w.c(),Sy(w,1),w.m(o,l)):w&&(wy(),xy(w,1,1,(()=>{w=null})),_y()),e[21]?_?(_.p(e,n),2097152&n[0]&&Sy(_,1)):(_=LM(e),_.c(),Sy(_,1),_.m(o,null)):_&&(wy(),xy(_,1,1,(()=>{_=null})),_y()),(!g||4&n[0]|2048&n[1])&&Xv(o,"hidden",!e[2]&&!e[42]),(!g||134218752&n[1])&&Xv(o,"wrapper-top-fullscreen-mobile",e[58]&&e[41]),e[6]?S?(S.p(e,n),64&n[0]&&Sy(S,1)):(S=DM(e),S.c(),Sy(S,1),S.m(u,d)):S&&(wy(),xy(S,1,1,(()=>{S=null})),_y());const i={};8388608&n[1]&&(i.className=e[54]?zy:""),1&n[2]&&(i.playbackState=e[62]),2&n[2]&&(i.adPlaybackState=e[63]),8&n[0]&&(i.isAds=e[3]),8192&n[0]&&(i.repeatPlaylist=e[13]),4&n[2]&&(i.isEnded=e[64]),512&n[0]&&(i.isOneVideoPlaylist=e[9]),p.$set(i),e[6]?x?(x.p(e,n),64&n[0]&&Sy(x,1)):(x=RM(e),x.c(),Sy(x,1),x.m(u,null)):x&&(wy(),xy(x,1,1,(()=>{x=null})),_y()),(!g||4&n[0]|8192&n[1])&&Xv(u,"hidden",!e[2]||e[44]),e[104]&&!e[44]?E?(E.p(e,n),8192&n[1]&&Sy(E,1)):(E=IM(e),E.c(),Sy(E,1),E.m(m.parentNode,m)):E&&(wy(),xy(E,1,1,(()=>{E=null})),_y())},i(e){g||(Sy(v),Sy(y),Sy(b),Sy(w),Sy(_),Sy(S),Sy(p.$$.fragment,e),Sy(x),Sy(E),g=!0)},o(e){xy(v),xy(y),xy(b),xy(w),xy(_),xy(S),xy(p.$$.fragment,e),xy(x),xy(E),g=!1},d(e){e&&(Nv(t),Nv(n),Nv(r),Nv(i),Nv(o),Nv(c),Nv(u),Nv(h),Nv(m)),v&&v.d(),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),S&&S.d(),My(p),x&&x.d(),E&&E.d(e)}}}function OM(e){let t,n;return t=new kO({props:{expanded:e[57]&&!e[79]&&e[60]}}),t.$on("click",e[112]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};603979776&n[1]&&(r.expanded=e[57]&&!e[79]&&e[60]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function MM(e){let t,n;return t=new hO({props:{isMobile:e[41],className:"chromecast mobile-top-right-button"}}),t.$on("click",e[107]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1024&n[1]&&(r.isMobile=e[41]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function AM(e){let t,n;return t=new mM({props:{className:"mobile-top-right-button"}}),t.$on("click",e[111]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p:hv,i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function PM(e){let t,n;return t=new PC({props:{className:"mobile-top-right-button"}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function LM(e){let t,n;return t=new tO({props:{className:"mobile-top-right-button",logoClickable:e[5]}}),t.$on("click",e[72]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};32&n[0]&&(r.logoClickable=e[5]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function DM(e){let t,n;return t=new ZT({props:{type:"prev",disabled:!e[8]}}),t.$on("click",(function(){bv(e[12])&&e[12].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};256&r[0]&&(i.disabled=!e[8]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function RM(e){let t,n;return t=new ZT({props:{type:"next",disabled:!e[7]}}),t.$on("click",(function(){bv(e[11])&&e[11].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};128&r[0]&&(i.disabled=!e[7]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function IM(e){let t,n,r,i=e[105]&&function(e){let t,n;return t=new kM({props:{hidden:!e[2]&&!e[65],disabled:e[56],graphIsOpened:e[65]}}),t.$on("click",(function(){bv(e[17])&&e[17].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};4&r[0]|8&r[2]&&(i.hidden=!e[2]&&!e[65]),33554432&r[1]&&(i.disabled=e[56]),8&r[2]&&(i.graphIsOpened=e[65]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}(e);return n=new bM({props:{hidden:!e[2],disabled:e[55]}}),n.$on("click",(function(){bv(e[16])&&e[16].apply(this,arguments)})),{c(){i&&i.c(),t=zv(),Ty(n.$$.fragment)},m(e,o){i&&i.m(e,o),Iv(e,t,o),Oy(n,e,o),r=!0},p(t,r){(e=t)[105]&&i.p(e,r);const o={};4&r[0]&&(o.hidden=!e[2]),16777216&r[1]&&(o.disabled=e[55]),n.$set(o)},i(e){r||(Sy(i),Sy(n.$$.fragment,e),r=!0)},o(e){xy(i),xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),i&&i.d(e),My(n,e)}}}function NM(e){let t,n,r,i,o,a=e[59]&&jM(e),s=e[63]===wx.PAUSED&&BM(e);return i=new ZO({props:{position:e[66],duration:e[67]}}),{c(){a&&a.c(),t=zv(),s&&s.c(),n=zv(),r=Bv("div"),Ty(i.$$.fragment),qv(r,"class","wrapper-bottom ads-timeline-mobile v-1a0o4f3")},m(e,l){a&&a.m(e,l),Iv(e,t,l),s&&s.m(e,l),Iv(e,n,l),Iv(e,r,l),Oy(i,r,null),o=!0},p(e,r){e[59]?a?(a.p(e,r),268435456&r[1]&&Sy(a,1)):(a=jM(e),a.c(),Sy(a,1),a.m(t.parentNode,t)):a&&(wy(),xy(a,1,1,(()=>{a=null})),_y()),e[63]===wx.PAUSED?s?(s.p(e,r),2&r[2]&&Sy(s,1)):(s=BM(e),s.c(),Sy(s,1),s.m(n.parentNode,n)):s&&(wy(),xy(s,1,1,(()=>{s=null})),_y());const o={};16&r[2]&&(o.position=e[66]),32&r[2]&&(o.duration=e[67]),i.$set(o)},i(e){o||(Sy(a),Sy(s),Sy(i.$$.fragment,e),o=!0)},o(e){xy(a),xy(s),xy(i.$$.fragment,e),o=!1},d(e){e&&(Nv(t),Nv(n),Nv(r)),a&&a.d(e),s&&s.d(e),My(i)}}}function jM(e){let t,n,r;return n=new kO({props:{expanded:!1}}),n.$on("click",e[112]),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","wrapper-top-right v-1a0o4f3")},m(e,i){Iv(e,t,i),Oy(n,t,null),r=!0},p:hv,i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n)}}}function BM(e){let t,n,r;return n=new zT({props:{className:e[54]?zy:"",playbackState:e[62],adPlaybackState:e[63],isAds:!0,handlePlayClick:e[71],repeatPlaylist:Io,isEnded:!1,isOneVideoPlaylist:!1}}),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","wrapper-middle v-1a0o4f3")},m(e,i){Iv(e,t,i),Oy(n,t,null),r=!0},p(e,t){const r={};8388608&t[1]&&(r.className=e[54]?zy:""),1&t[2]&&(r.playbackState=e[62]),2&t[2]&&(r.adPlaybackState=e[63]),n.$set(r)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n)}}}function FM(e){let t,n;return t=new nM({props:{isHidden:!e[49],isAds:e[3],canRewindLive:e[4],isRewindableLive:e[39]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};262144&n[1]&&(r.isHidden=!e[49]),8&n[0]&&(r.isAds=e[3]),16&n[0]&&(r.canRewindLive=e[4]),256&n[1]&&(r.isRewindableLive=e[39]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function HM(e){let t,n,r,i,o,a,s,l,c=e[6]&&!e[3]&&zM(e);function u(t){e[128](t)}let d={className:"controls-element-indent-left controls-element-indent-right",controlInfo:e[92].playButton,tooltipContent:e[62]===an.PLAYING?gx("tooltip_pause"):gx("tooltip_play"),disabled:e[54],$$slots:{default:[UM]},$$scope:{ctx:e}};void 0!==e[25]&&(d.width=e[25]),n=new eT({props:d}),sy.push((()=>Cy(n,"width",u)));let p=e[6]&&!e[3]&&$M(e),f=e[104]&&function(e){let t,n,r;function i(t){e[130](t)}let o={className:"controls-element-indent-left controls-element-indent-right",disabled:e[55],controlInfo:e[92].seekToInteractiveButton,tooltipContent:gx("tooltip_interactive_seek"),$$slots:{default:[qM]},$$scope:{ctx:e}};return void 0!==e[27]&&(o.width=e[27]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};16777216&r[1]&&(i.disabled=e[55]),65536&r[0]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&134217728&r[0]&&(n=!0,i.width=e[27],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}(e),h=e[104]&&e[105]&&function(e){let t,n,r;function i(t){e[131](t)}let o={className:"controls-element-indent-left controls-element-indent-right",controlInfo:e[92].interactiveGraphButton,tooltipContent:e[65]?gx("tooltip_interactive_graph_on"):gx("tooltip_interactive_graph_off"),disabled:e[56],$$slots:{default:[WM]},$$scope:{ctx:e}};return void 0!==e[28]&&(o.width=e[28]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};8&r[2]&&(i.tooltipContent=e[65]?gx("tooltip_interactive_graph_on"):gx("tooltip_interactive_graph_off")),33554432&r[1]&&(i.disabled=e[56]),131072&r[0]|8&r[2]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&268435456&r[0]&&(n=!0,i.width=e[28],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}(e);return{c(){c&&c.c(),t=zv(),Ty(n.$$.fragment),i=zv(),p&&p.c(),o=zv(),f&&f.c(),a=zv(),h&&h.c(),s=Vv()},m(e,r){c&&c.m(e,r),Iv(e,t,r),Oy(n,e,r),Iv(e,i,r),p&&p.m(e,r),Iv(e,o,r),f&&f.m(e,r),Iv(e,a,r),h&&h.m(e,r),Iv(e,s,r),l=!0},p(e,i){e[6]&&!e[3]?c?(c.p(e,i),72&i[0]&&Sy(c,1)):(c=zM(e),c.c(),Sy(c,1),c.m(t.parentNode,t)):c&&(wy(),xy(c,1,1,(()=>{c=null})),_y());const a={};1&i[2]&&(a.tooltipContent=e[62]===an.PLAYING?gx("tooltip_pause"):gx("tooltip_play")),8388608&i[1]&&(a.disabled=e[54]),8712&i[0]|7&i[2]|268435456&i[4]&&(a.$$scope={dirty:i,ctx:e}),!r&&33554432&i[0]&&(r=!0,a.width=e[25],fy((()=>r=!1))),n.$set(a),e[6]&&!e[3]?p?(p.p(e,i),72&i[0]&&Sy(p,1)):(p=$M(e),p.c(),Sy(p,1),p.m(o.parentNode,o)):p&&(wy(),xy(p,1,1,(()=>{p=null})),_y()),e[104]&&f.p(e,i),e[104]&&e[105]&&h.p(e,i)},i(e){l||(Sy(c),Sy(n.$$.fragment,e),Sy(p),Sy(f),Sy(h),l=!0)},o(e){xy(c),xy(n.$$.fragment,e),xy(p),xy(f),xy(h),l=!1},d(e){e&&(Nv(t),Nv(i),Nv(o),Nv(a),Nv(s)),c&&c.d(e),My(n,e),p&&p.d(e),f&&f.d(e),h&&h.d(e)}}}function zM(e){let t,n,r;function i(t){e[127](t)}let o={className:"controls-element-indent-left controls-element-indent-right",disabled:!e[8],controlInfo:e[92].prevButton,tooltipContent:gx("tooltip_previous"),$$slots:{default:[VM]},$$scope:{ctx:e}};return void 0!==e[24]&&(o.width=e[24]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};256&r[0]&&(i.disabled=!e[8]),4352&r[0]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&16777216&r[0]&&(n=!0,i.width=e[24],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function VM(e){let t,n;return t=new ZT({props:{type:"prev",disabled:!e[8]}}),t.$on("click",(function(){bv(e[12])&&e[12].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};256&r[0]&&(i.disabled=!e[8]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function UM(e){let t,n;return t=new zT({props:{className:"controls-play-button",playbackState:e[62],adPlaybackState:e[63],isAds:e[3],handlePlayClick:e[71],repeatPlaylist:e[13],isEnded:e[64],isOneVideoPlaylist:e[9]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1&n[2]&&(r.playbackState=e[62]),2&n[2]&&(r.adPlaybackState=e[63]),8&n[0]&&(r.isAds=e[3]),8192&n[0]&&(r.repeatPlaylist=e[13]),4&n[2]&&(r.isEnded=e[64]),512&n[0]&&(r.isOneVideoPlaylist=e[9]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function $M(e){let t,n,r;function i(t){e[129](t)}let o={className:"controls-element-indent-left controls-element-indent-right",disabled:!e[7],controlInfo:e[92].nextButton,tooltipContent:gx("tooltip_next"),$$slots:{default:[GM]},$$scope:{ctx:e}};return void 0!==e[26]&&(o.width=e[26]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};128&r[0]&&(i.disabled=!e[7]),2176&r[0]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&67108864&r[0]&&(n=!0,i.width=e[26],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function GM(e){let t,n;return t=new ZT({props:{type:"next",disabled:!e[7]}}),t.$on("click",(function(){bv(e[11])&&e[11].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};128&r[0]&&(i.disabled=!e[7]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function qM(e){let t,n;return t=new bM({}),t.$on("click",(function(){bv(e[16])&&e[16].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(t,n){e=t},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function WM(e){let t,n;return t=new kM({props:{graphIsOpened:e[65]}}),t.$on("click",(function(){bv(e[17])&&e[17].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(n,r){e=n;const i={};8&r[2]&&(i.graphIsOpened=e[65]),t.$set(i)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function ZM(e){let t,n,r;function i(t){e[132](t)}let o={className:"controls-element-indent-left controls-element-indent-right",controlInfo:e[92].liveButton,tooltipContent:e[53]?"":gx("tooltip_live"),$$slots:{default:[YM]},$$scope:{ctx:e}};return void 0!==e[29]&&(o.width=e[29]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};4194304&r[1]&&(i.tooltipContent=e[53]?"":gx("tooltip_live")),4194304&r[1]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&536870912&r[0]&&(n=!0,i.width=e[29],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function YM(e){let t,n;return t=new yO({props:{isActiveLive:e[53]}}),t.$on("click",e[108]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};4194304&n[1]&&(r.isActiveLive=e[53]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function KM(e){let t,n,r;function i(t){e[133](t)}let o={className:"ui-time controls-element-indent-left controls-element-indent-right",showDuration:e[47],position:e[3]?e[66]:e[68],duration:e[3]?e[67]:e[69]};return void 0!==e[30]&&(o.width=e[30]),t=new HC({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};65536&r[1]&&(i.showDuration=e[47]),8&r[0]|80&r[2]&&(i.position=e[3]?e[66]:e[68]),8&r[0]|160&r[2]&&(i.duration=e[3]?e[67]:e[69]),!n&&1073741824&r[0]&&(n=!0,i.width=e[30],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function QM(e){let t,n;return t=new lM({props:{position:e[68],duration:e[69],isEpisodesEnabled:e[51],timeCodes:e[93]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};64&n[2]&&(r.position=e[68]),128&n[2]&&(r.duration=e[69]),1048576&n[1]&&(r.isEpisodesEnabled=e[51]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function XM(e){let t,n,r,i,o,a;function s(t){e[135](t)}let l={className:"controls-element-indent-left",$$slots:{default:[JM]},$$scope:{ctx:e}};void 0!==e[32]&&(l.width=e[32]),t=new eT({props:l}),sy.push((()=>Cy(t,"width",s)));let c=e[19]&&eA(e),u=!e[70]&&!e[3]&&nA(e);return{c(){Ty(t.$$.fragment),r=zv(),c&&c.c(),i=zv(),u&&u.c(),o=Vv()},m(e,n){Oy(t,e,n),Iv(e,r,n),c&&c.m(e,n),Iv(e,i,n),u&&u.m(e,n),Iv(e,o,n),a=!0},p(e,r){const a={};67141632&r[1]|268435456&r[4]&&(a.$$scope={dirty:r,ctx:e}),!n&&2&r[1]&&(n=!0,a.width=e[32],fy((()=>n=!1))),t.$set(a),e[19]?c?(c.p(e,r),524288&r[0]&&Sy(c,1)):(c=eA(e),c.c(),Sy(c,1),c.m(i.parentNode,i)):c&&(wy(),xy(c,1,1,(()=>{c=null})),_y()),e[70]||e[3]?u&&(wy(),xy(u,1,1,(()=>{u=null})),_y()):u?(u.p(e,r),8&r[0]|256&r[2]&&Sy(u,1)):(u=nA(e),u.c(),Sy(u,1),u.m(o.parentNode,o))},i(e){a||(Sy(t.$$.fragment,e),Sy(c),Sy(u),a=!0)},o(e){xy(t.$$.fragment,e),xy(c),xy(u),a=!1},d(e){e&&(Nv(r),Nv(i),Nv(o)),My(t,e),c&&c.d(e),u&&u.d(e)}}}function JM(e){let t,n;return t=new TT({props:{isAudioAvailable:e[57],isVerticalVolume:e[46]}}),t.$on("click",e[110]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};67108864&n[1]&&(r.isAudioAvailable=e[57]),32768&n[1]&&(r.isVerticalVolume=e[46]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function eA(e){let t,n,r;function i(t){e[136](t)}let o={className:"controls-element-indent-left controls-element-indent-right",controlInfo:e[92].subtitles,tooltipContent:e[45]?gx("tooltip_subtitles_on"):gx("tooltip_subtitles_off"),$$slots:{default:[tA]},$$scope:{ctx:e}};return void 0!==e[33]&&(o.width=e[33]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};16384&r[1]&&(i.tooltipContent=e[45]?gx("tooltip_subtitles_on"):gx("tooltip_subtitles_off")),16384&r[1]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&4&r[1]&&(n=!0,i.width=e[33],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function tA(e){let t,n;return t=new IC({props:{isSubtitlesEnabled:e[45]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};16384&n[1]&&(r.isSubtitlesEnabled=e[45]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function nA(e){var t;let n,r,i;return r=new TC({props:{supportLink:e[10],playerControlsHeight:null==(t=e[52])?void 0:t.clientHeight,returnFocus:e[15]}}),{c(){n=Bv("div"),Ty(r.$$.fragment),qv(n,"class","settings-desktop v-1a0o4f3")},m(e,t){Iv(e,n,t),Oy(r,n,null),i=!0},p(e,t){var n;const i={};1024&t[0]&&(i.supportLink=e[10]),2097152&t[1]&&(i.playerControlsHeight=null==(n=e[52])?void 0:n.clientHeight),32768&t[0]&&(i.returnFocus=e[15]),r.$set(i)},i(e){i||(Sy(r.$$.fragment,e),i=!0)},o(e){xy(r.$$.fragment,e),i=!1},d(e){e&&Nv(n),My(r)}}}function rA(e){let t,n,r;function i(t){e[137](t)}let o={className:e[41]?"controls-element-indent-mobile":"controls-element-indent-left",controlInfo:e[92].settings,tooltipContent:e[40]?void 0:gx("tooltip_settings_off"),$$slots:{default:[iA]},$$scope:{ctx:e}};return void 0!==e[34]&&(o.width=e[34]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};1024&r[1]&&(i.className=e[41]?"controls-element-indent-mobile":"controls-element-indent-left"),512&r[1]&&(i.tooltipContent=e[40]?void 0:gx("tooltip_settings_off")),268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&8&r[1]&&(n=!0,i.width=e[34],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function iA(e){let t,n;return t=new PC({props:{className:"ui-settings"}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p:hv,i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function oA(e){let t,n,r;function i(t){e[138](t)}let o={className:e[41]?"controls-element-indent-mobile":"controls-element-indent-right",controlInfo:e[92].fullscreen,tooltipContent:e[58]?gx("tooltip_fullscreen_on"):gx("tooltip_fullscreen_off"),$$slots:{default:[aA]},$$scope:{ctx:e}};return void 0!==e[35]&&(o.width=e[35]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};1024&r[1]&&(i.className=e[41]?"controls-element-indent-mobile":"controls-element-indent-right"),134217728&r[1]&&(i.tooltipContent=e[58]?gx("tooltip_fullscreen_on"):gx("tooltip_fullscreen_off")),16384&r[0]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&16&r[1]&&(n=!0,i.width=e[35],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function aA(e){let t,n;return t=new DT({}),t.$on("click",(function(){bv(e[14])&&e[14].apply(this,arguments)})),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(t,n){e=t},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function sA(e){let t,n,r,i=e[18]&&lA(e),o=e[21]&&uA(e);return{c(){i&&i.c(),t=zv(),o&&o.c(),n=Vv()},m(e,a){i&&i.m(e,a),Iv(e,t,a),o&&o.m(e,a),Iv(e,n,a),r=!0},p(e,r){e[18]?i?(i.p(e,r),262144&r[0]&&Sy(i,1)):(i=lA(e),i.c(),Sy(i,1),i.m(t.parentNode,t)):i&&(wy(),xy(i,1,1,(()=>{i=null})),_y()),e[21]?o?(o.p(e,r),2097152&r[0]&&Sy(o,1)):(o=uA(e),o.c(),Sy(o,1),o.m(n.parentNode,n)):o&&(wy(),xy(o,1,1,(()=>{o=null})),_y())},i(e){r||(Sy(i),Sy(o),r=!0)},o(e){xy(i),xy(o),r=!1},d(e){e&&(Nv(t),Nv(n)),i&&i.d(e),o&&o.d(e)}}}function lA(e){let t,n,r;function i(t){e[139](t)}let o={className:"controls-element-indent-left controls-element-indent-right",controlInfo:e[92].chromecast,tooltipContent:e[43]===ln.CONNECTED?gx("tooltip_chromecast_on"):gx("tooltip_chromecast_off"),$$slots:{default:[cA]},$$scope:{ctx:e}};return void 0!==e[36]&&(o.width=e[36]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};4096&r[1]&&(i.tooltipContent=e[43]===ln.CONNECTED?gx("tooltip_chromecast_on"):gx("tooltip_chromecast_off")),1024&r[1]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&32&r[1]&&(n=!0,i.width=e[36],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function cA(e){let t,n;return t=new hO({props:{isMobile:e[41],className:"chromecast"}}),t.$on("click",e[107]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1024&n[1]&&(r.isMobile=e[41]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function uA(e){let t,n,r;function i(t){e[140](t)}let o={className:"controls-element-indent-left controls-element-indent-right",disabled:!e[5],$$slots:{default:[dA]},$$scope:{ctx:e}};return void 0!==e[37]&&(o.width=e[37]),t=new eT({props:o}),sy.push((()=>Cy(t,"width",i))),{c(){Ty(t.$$.fragment)},m(e,n){Oy(t,e,n),r=!0},p(e,r){const i={};32&r[0]&&(i.disabled=!e[5]),32&r[0]|268435456&r[4]&&(i.$$scope={dirty:r,ctx:e}),!n&&64&r[1]&&(n=!0,i.width=e[37],fy((()=>n=!1))),t.$set(i)},i(e){r||(Sy(t.$$.fragment,e),r=!0)},o(e){xy(t.$$.fragment,e),r=!1},d(e){My(t,e)}}}function dA(e){let t,n;return t=new tO({props:{logoClickable:e[5]}}),t.$on("click",e[72]),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};32&n[0]&&(r.logoClickable=e[5]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function pA(e){let t,n;return t=new nM({props:{isHidden:!e[49],isAds:e[3],canRewindLive:e[4],isRewindableLive:e[39]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};262144&n[1]&&(r.isHidden=!e[49]),8&n[0]&&(r.isAds=e[3]),16&n[0]&&(r.canRewindLive=e[4]),256&n[1]&&(r.isRewindableLive=e[39]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function fA(e){let t,n,r;return n=new TC({props:{supportLink:e[10],returnFocus:e[15]}}),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","settings-mobile v-1a0o4f3")},m(e,i){Iv(e,t,i),Oy(n,t,null),r=!0},p(e,t){const r={};1024&t[0]&&(r.supportLink=e[10]),32768&t[0]&&(r.returnFocus=e[15]),n.$set(r)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n)}}}function hA(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_=e[41]&&!e[3]&&TM(e),S=e[41]&&e[3]&&e[63]!==wx.INACTIVE&&NM(e),x=!e[41]&&FM(e),E=!e[41]&&HM(e),k=!e[3]&&e[38]&&ZM(e),C=e[23]&&KM(e);function T(t){e[134](t)}let O={className:"controls-episodes controls-element-indent-left controls-element-indent-right",disabled:!e[51],controlInfo:e[92].episodes,tooltipContent:gx("tooltip_episodes"),$$slots:{default:[QM]},$$scope:{ctx:e}};void 0!==e[31]&&(O.width=e[31]),c=new eT({props:O}),sy.push((()=>Cy(c,"width",T)));let M=!e[41]&&XM(e),A=e[20]&&rA(e),P=e[22]&&oA(e),L=!e[41]&&sA(e),D=e[41]&&pA(e),R=e[41]&&e[40]&&fA(e);return{c(){_&&_.c(),t=zv(),S&&S.c(),n=zv(),r=Bv("div"),x&&x.c(),i=zv(),o=Bv("div"),E&&E.c(),a=zv(),k&&k.c(),s=zv(),C&&C.c(),l=zv(),Ty(c.$$.fragment),d=zv(),M&&M.c(),p=zv(),A&&A.c(),f=zv(),P&&P.c(),h=zv(),L&&L.c(),m=zv(),D&&D.c(),g=zv(),R&&R.c(),v=Vv(),qv(o,"class","controls v-1a0o4f3"),Xv(o,"controls-hidden",!e[2]),Xv(o,"controls-fullscreen-mobile",e[58]&&e[41]),Xv(o,"mobile",e[41]),qv(r,"class","wrapper-bottom v-1a0o4f3"),Xv(r,"hidden",e[1]),Xv(r,"controls-hidden",!e[2]),Xv(r,"wrapper-bottom-fullscreen-desktop",e[58]&&!e[41]),Xv(r,"mobile",e[41])},m(u,T){_&&_.m(u,T),Iv(u,t,T),S&&S.m(u,T),Iv(u,n,T),Iv(u,r,T),x&&x.m(r,null),Dv(r,i),Dv(r,o),E&&E.m(o,null),Dv(o,a),k&&k.m(o,null),Dv(o,s),C&&C.m(o,null),Dv(o,l),Oy(c,o,null),Dv(o,d),M&&M.m(o,null),Dv(o,p),A&&A.m(o,null),Dv(o,f),P&&P.m(o,null),Dv(o,h),L&&L.m(o,null),e[141](o),Dv(r,m),D&&D.m(r,null),e[142](r),Iv(u,g,T),R&&R.m(u,T),Iv(u,v,T),y=!0,b||(w=[Uv(r,"pointermove",e[109]),Uv(r,"pointerenter",e[109])],b=!0)},p(e,d){e[41]&&!e[3]?_?(_.p(e,d),8&d[0]|1024&d[1]&&Sy(_,1)):(_=TM(e),_.c(),Sy(_,1),_.m(t.parentNode,t)):_&&(wy(),xy(_,1,1,(()=>{_=null})),_y()),e[41]&&e[3]&&e[63]!==wx.INACTIVE?S?(S.p(e,d),8&d[0]|1024&d[1]|2&d[2]&&Sy(S,1)):(S=NM(e),S.c(),Sy(S,1),S.m(n.parentNode,n)):S&&(wy(),xy(S,1,1,(()=>{S=null})),_y()),e[41]?x&&(wy(),xy(x,1,1,(()=>{x=null})),_y()):x?(x.p(e,d),1024&d[1]&&Sy(x,1)):(x=FM(e),x.c(),Sy(x,1),x.m(r,i)),e[41]?E&&(wy(),xy(E,1,1,(()=>{E=null})),_y()):E?(E.p(e,d),1024&d[1]&&Sy(E,1)):(E=HM(e),E.c(),Sy(E,1),E.m(o,a)),!e[3]&&e[38]?k?(k.p(e,d),8&d[0]|128&d[1]&&Sy(k,1)):(k=ZM(e),k.c(),Sy(k,1),k.m(o,s)):k&&(wy(),xy(k,1,1,(()=>{k=null})),_y()),e[23]?C?(C.p(e,d),8388608&d[0]&&Sy(C,1)):(C=KM(e),C.c(),Sy(C,1),C.m(o,l)):C&&(wy(),xy(C,1,1,(()=>{C=null})),_y());const m={};1048576&d[1]&&(m.disabled=!e[51]),1048576&d[1]|192&d[2]|268435456&d[4]&&(m.$$scope={dirty:d,ctx:e}),!u&&1&d[1]&&(u=!0,m.width=e[31],fy((()=>u=!1))),c.$set(m),e[41]?M&&(wy(),xy(M,1,1,(()=>{M=null})),_y()):M?(M.p(e,d),1024&d[1]&&Sy(M,1)):(M=XM(e),M.c(),Sy(M,1),M.m(o,p)),e[20]?A?(A.p(e,d),1048576&d[0]&&Sy(A,1)):(A=rA(e),A.c(),Sy(A,1),A.m(o,f)):A&&(wy(),xy(A,1,1,(()=>{A=null})),_y()),e[22]?P?(P.p(e,d),4194304&d[0]&&Sy(P,1)):(P=oA(e),P.c(),Sy(P,1),P.m(o,h)):P&&(wy(),xy(P,1,1,(()=>{P=null})),_y()),e[41]?L&&(wy(),xy(L,1,1,(()=>{L=null})),_y()):L?(L.p(e,d),1024&d[1]&&Sy(L,1)):(L=sA(e),L.c(),Sy(L,1),L.m(o,null)),(!y||4&d[0])&&Xv(o,"controls-hidden",!e[2]),(!y||134218752&d[1])&&Xv(o,"controls-fullscreen-mobile",e[58]&&e[41]),(!y||1024&d[1])&&Xv(o,"mobile",e[41]),e[41]?D?(D.p(e,d),1024&d[1]&&Sy(D,1)):(D=pA(e),D.c(),Sy(D,1),D.m(r,null)):D&&(wy(),xy(D,1,1,(()=>{D=null})),_y()),(!y||2&d[0])&&Xv(r,"hidden",e[1]),(!y||4&d[0])&&Xv(r,"controls-hidden",!e[2]),(!y||134218752&d[1])&&Xv(r,"wrapper-bottom-fullscreen-desktop",e[58]&&!e[41]),(!y||1024&d[1])&&Xv(r,"mobile",e[41]),e[41]&&e[40]?R?(R.p(e,d),1536&d[1]&&Sy(R,1)):(R=fA(e),R.c(),Sy(R,1),R.m(v.parentNode,v)):R&&(wy(),xy(R,1,1,(()=>{R=null})),_y())},i(e){y||(Sy(_),Sy(S),Sy(x),Sy(E),Sy(k),Sy(C),Sy(c.$$.fragment,e),Sy(M),Sy(A),Sy(P),Sy(L),Sy(D),Sy(R),y=!0)},o(e){xy(_),xy(S),xy(x),xy(E),xy(k),xy(C),xy(c.$$.fragment,e),xy(M),xy(A),xy(P),xy(L),xy(D),xy(R),y=!1},d(i){i&&(Nv(t),Nv(n),Nv(r),Nv(g),Nv(v)),_&&_.d(i),S&&S.d(i),x&&x.d(),E&&E.d(),k&&k.d(),C&&C.d(),My(c),M&&M.d(),A&&A.d(),P&&P.d(),L&&L.d(),e[141](null),D&&D.d(),e[142](null),R&&R.d(i),b=!1,yv(w)}}}function mA(e,t,n){var r,i;let o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C,T,O,M,A,P,L,D,R,I,N,j,{bottomHidden:B}=t,{showControls:F}=t,{controlsElementRef:H}=t,{isAds:z=!1}=t,{canRewindLive:V}=t,{logoClickable:U}=t,{logoHidden:$}=t,{showNextPrevButtons:G}=t,{nextButtonActive:q}=t,{prevButtonActive:W}=t,{isOneVideoPlaylist:Z=!1}=t,{supportLink:Y}=t,{playNextVideo:K}=t,{playPrevVideo:Q}=t,{repeatPlaylist:X}=t,{toggleFullscreen:J}=t,{returnFocus:ee}=t,{seekToInteractive:te}=t,{toggleGraph:ne}=t,{customFullscreenSupported:re=!0}=t;const ie=Xy(),oe=Fy(),ae=ie.actions.internal.toggleMuted,se=ie.actions.internal.togglePlay,le=ie.actions.internal.pause,ce=null==(r=ie.callbacks)?void 0:r.onAudioDoesNotExistHint,ue=null==(i=ie.callbacks)?void 0:i.onAudioDisabledHint,de=ie.playerPhase;kv(e,de,(e=>n(124,_=e)));const pe=ie.state.duration$;kv(e,pe,(e=>n(69,N=e)));const fe=ie.state.positionWithScrubbing$;kv(e,fe,(e=>n(68,I=e)));const he=ie.state.playbackState$;kv(e,he,(e=>n(62,M=e)));const me=ie.state.chromecastConnected$;kv(e,me,(e=>n(70,j=e)));const ge=ie.state.isAudioAvailable$;kv(e,ge,(e=>n(57,c=e)));const ve=ie.state.isAudioDisabled,ye=ie.state.isEnded$;kv(e,ye,(e=>n(64,P=e)));const be=ie.state.isLive$;kv(e,be,(e=>n(38,u=e)));const we=ie.state.isActiveLive$;kv(e,we,(e=>n(119,d=e)));const _e=ie.state.isRewindableLive$;kv(e,_e,(e=>n(39,p=e)));const Se=ie.ui.scrubbingInProgress;kv(e,Se,(e=>n(44,S=e)));const xe=ie.ui.isMobile;kv(e,xe,(e=>n(41,m=e)));const Ee=ie.ui.mobileNotReportControlHidden$;kv(e,Ee,(e=>n(42,b=e)));const ke=ie.ui.isPictureInPictureActive$;kv(e,ke,(e=>n(122,v=e)));const Ce=ie.ui.pictureInPictureType$;kv(e,Ce,(e=>n(121,g=e)));const Te=ie.ui.mobileUnmuteButtonExpanded;kv(e,Te,(e=>n(60,T=e)));const Oe=ie.ui.mobileUnmuteButtonVisible;kv(e,Oe,(e=>n(59,C=e)));const Me=ie.ui.settingsMenuVisible;kv(e,Me,(e=>n(40,f=e)));const Ae=ie.ui.controls,Pe=ie.actions.internal.getVideoEpisodes(),Le=ie.webApi.pictureInPictureApi,De=ie.state.chromecastState$;kv(e,De,(e=>n(43,w=e)));const Re=ie.state.availableSubtitlesList$;kv(e,Re,(e=>n(123,y=e)));const Ie=ie.state.currentSubtitle$;kv(e,Ie,(e=>n(125,x=e)));const Ne=ie.state.crashed$;kv(e,Ne,(e=>n(61,O=e)));const je=Ae.disabledControls$;kv(e,je,(e=>n(126,E=e)));const Be=ie.ads.duration;kv(e,Be,(e=>n(67,R=e)));const Fe=ie.ads.position;kv(e,Fe,(e=>n(66,D=e)));const He=ie.ads.playbackState;kv(e,He,(e=>n(63,A=e)));const ze=ie.ui.isFullscreen;kv(e,ze,(e=>n(58,k=e)));const Ve=ie.ui.playerSize;kv(e,Ve,(e=>n(120,h=e)));const Ue=ie.state.isInteractive,$e=ie.state.isInteractiveGraphEnabled,Ge=ie.state.graphIsOpened$;kv(e,Ge,(e=>n(65,L=e)));let qe,We,Ze,Ye,Ke,Qe,Xe,Je,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,dt,pt,ft,ht,mt,gt,vt,yt,bt,wt,_t,St,xt,Et;function kt(){qe=null==H?void 0:H.getBoundingClientRect()}function Ct(){ve?null==ue||ue():c?ae():null==ce||ce()}return ty((()=>(window.addEventListener("resize",kt),()=>{window.removeEventListener("resize",kt)}))),e.$$set=e=>{"bottomHidden"in e&&n(1,B=e.bottomHidden),"showControls"in e&&n(2,F=e.showControls),"controlsElementRef"in e&&n(0,H=e.controlsElementRef),"isAds"in e&&n(3,z=e.isAds),"canRewindLive"in e&&n(4,V=e.canRewindLive),"logoClickable"in e&&n(5,U=e.logoClickable),"logoHidden"in e&&n(113,$=e.logoHidden),"showNextPrevButtons"in e&&n(6,G=e.showNextPrevButtons),"nextButtonActive"in e&&n(7,q=e.nextButtonActive),"prevButtonActive"in e&&n(8,W=e.prevButtonActive),"isOneVideoPlaylist"in e&&n(9,Z=e.isOneVideoPlaylist),"supportLink"in e&&n(10,Y=e.supportLink),"playNextVideo"in e&&n(11,K=e.playNextVideo),"playPrevVideo"in e&&n(12,Q=e.playPrevVideo),"repeatPlaylist"in e&&n(13,X=e.repeatPlaylist),"toggleFullscreen"in e&&n(14,J=e.toggleFullscreen),"returnFocus"in e&&n(15,ee=e.returnFocus),"seekToInteractive"in e&&n(16,te=e.seekToInteractive),"toggleGraph"in e&&n(17,ne=e.toggleGraph),"customFullscreenSupported"in e&&n(114,re=e.customFullscreenSupported)},e.$$.update=()=>{if(4&e.$$.dirty[4]&&n(118,o=E.has(Gy.EPISODE_BUTTON)),4&e.$$.dirty[4]&&n(56,a=E.has(Gy.GRAPH_BUTTON)),4&e.$$.dirty[4]&&n(55,s=E.has(Gy.SEEK_TO_INTERACTIVE_BUTTON)),4&e.$$.dirty[4]&&n(54,l=E.has(Gy.PLAY_BUTTON)),1&e.$$.dirty[0]&&H&&kt(),2&e.$$.dirty[4]&&n(45,We="off"!==x.value),134217728&e.$$.dirty[3]&&n(46,Ze=h.width<650),1024&e.$$.dirty[1]|134217728&e.$$.dirty[3]&&n(115,Ye=m&&h.width>300||h.width>600),1024&e.$$.dirty[1]|134217728&e.$$.dirty[3]&&n(47,Ke=m&&h.width>400||h.width>550),9216&e.$$.dirty[1]&&n(116,Qe=S&&m),7168&e.$$.dirty[1]|939524096&e.$$.dirty[3]&&n(18,Xe=w!==ln.NOT_AVAILABLE&&!(v&&g===_x.DocumentPictureInPicture)&&(m||h.width>450)&&!b&&!Ue),6144&e.$$.dirty[1]|276824064&e.$$.dirty[3]|1&e.$$.dirty[4]){const e=_===yx.Waiting;n(48,Je=!!Le&&w!==ln.CONNECTED&&!b&&(g===_x.DocumentPictureInPicture&&e||!e)&&!Qe&&!Ue)}1207959552&e.$$.dirty[3]&&n(19,et=y.length>0&&h.width>450),1024&e.$$.dirty[1]|142606336&e.$$.dirty[3]&&n(20,tt=(m||h.width>380)&&!Qe),135266304&e.$$.dirty[3]&&n(21,nt=!$&&h.width>350),1024&e.$$.dirty[1]|950009856&e.$$.dirty[3]&&n(22,rt=oe.features.fullscreen&&(m||h.width>290)&&!(v&&g===_x.DocumentPictureInPicture)&&(!Ue||re)&&!Qe),8&e.$$.dirty[0]|128&e.$$.dirty[1]|142606336&e.$$.dirty[3]&&n(23,it=(!u||z)&&h.width>260&&!Qe),1024&e.$$.dirty[1]|134217728&e.$$.dirty[3]&&n(49,ot=m||h.width>100),4&e.$$.dirty[0]|512&e.$$.dirty[1]&&n(50,at=f||F),8&e.$$.dirty[0]|128&e.$$.dirty[1]|37748736&e.$$.dirty[3]&&n(51,st=!z&&!u&&!(null==Pe||!Pe.length)&&Ye&&!o),256&e.$$.dirty[1]|67108864&e.$$.dirty[3]&&n(53,ct=!p||d),2147221504&e.$$.dirty[0]|255&e.$$.dirty[1]&&n(117,Et={prevButtonWidth:null!=ut?ut:0,playButtonWidth:dt,nextButtonWidth:null!=pt?pt:0,seekToInteractiveWidth:Ue?ft:0,interactiveGraphWidth:$e?ht:0,liveButtonWidth:u&&mt?mt:0,timeWidth:it?gt:0,episodesWidth:vt,volumeWidth:yt,subtitlesWidth:et?bt:0,settingsWidth:tt?wt:0,fullscreenWidth:rt?_t:0,chromecastWidth:Xe?St:0,vkLogoWidth:nt?xt:0}),4&e.$$.dirty[0]|16777216&e.$$.dirty[3]&&function(e,t){let n=8;const r=(e,n,r)=>{let i=n?e+n:e;return r.set({positionStartX:e,positionEndX:i,isDisplayed:t&&e!==i}),i};n=r(n,e.prevButtonWidth,Ae.prevButton),n=r(n,e.playButtonWidth,Ae.playButton),n=r(n,e.nextButtonWidth,Ae.nextButton),n=r(n,e.seekToInteractiveWidth,Ae.seekToInteractiveButton),n=r(n,e.interactiveGraphWidth,Ae.interactiveGraphButton),n=r(n,e.liveButtonWidth,Ae.liveButton),n=r(n,e.timeWidth,Ae.time),n=r(n,e.episodesWidth,Ae.episodes),n=r(n,e.volumeWidth,Ae.volume),n=r(n,e.subtitlesWidth,Ae.subtitles),n=r(n,e.settingsWidth,Ae.settings),n=r(n,e.fullscreenWidth,Ae.fullscreen),n=r(n,e.chromecastWidth,Ae.chromecast),r(n,e.vkLogoWidth,Ae.vkLogo)}(Et,F)},[H,B,F,z,V,U,G,q,W,Z,Y,K,Q,X,J,ee,te,ne,Xe,et,tt,nt,rt,it,ut,dt,pt,ft,ht,mt,gt,vt,yt,bt,wt,_t,St,xt,u,p,f,m,b,w,S,We,Ze,Ke,Je,ot,at,st,lt,ct,l,s,a,c,k,C,T,O,M,A,P,L,D,R,I,N,j,se,le,de,pe,fe,he,me,ge,ve,ye,be,we,_e,Se,xe,Ee,ke,Ce,Te,Oe,Me,Ae,Pe,De,Re,Ie,Ne,je,Be,Fe,He,ze,Ve,Ue,$e,Ge,()=>ie.actions.internal.toggleChromecast(),()=>ie.actions.internal.switchToActiveLive(),e=>{ie.ui.controls.tooltipPointerOffsetX.update((()=>qe?Math.min(Math.max(e.x-qe.x,0),qe.width):0))},Ct,async function(){null!=Le&&Le.isActive()?await(null==Le?void 0:Le.remove()):await(null==Le?void 0:Le.request())},function(){!ve&&c&&Oe.set(!1),Ct()},$,re,Ye,Qe,Et,o,d,h,g,v,y,_,x,E,function(e){ut=e,n(24,ut)},function(e){dt=e,n(25,dt)},function(e){pt=e,n(26,pt)},function(e){ft=e,n(27,ft)},function(e){ht=e,n(28,ht)},function(e){mt=e,n(29,mt)},function(e){gt=e,n(30,gt)},function(e){vt=e,n(31,vt)},function(e){yt=e,n(32,yt)},function(e){bt=e,n(33,bt)},function(e){wt=e,n(34,wt)},function(e){_t=e,n(35,_t)},function(e){St=e,n(36,St)},function(e){xt=e,n(37,xt)},function(e){sy[e?"unshift":"push"]((()=>{lt=e,n(52,lt)}))},function(e){sy[e?"unshift":"push"]((()=>{H=e,n(0,H)}))}]}class gA extends Ly{constructor(e){super(),Py(this,e,mA,hA,wv,{bottomHidden:1,showControls:2,controlsElementRef:0,isAds:3,canRewindLive:4,logoClickable:5,logoHidden:113,showNextPrevButtons:6,nextButtonActive:7,prevButtonActive:8,isOneVideoPlaylist:9,supportLink:10,playNextVideo:11,playPrevVideo:12,repeatPlaylist:13,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,customFullscreenSupported:114},CM,[-1,-1,-1,-1,-1])}}var vA="data:image/svg+xml,%3csvg width='48' height='51' viewBox='0 0 48 51' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_100684)'%3e %3cpath d='M15.5374 10.5335C14.8148 10.991 14.8161 12.0386 15.5398 12.4944L23.1977 17.3172C23.9773 17.8082 24.9962 17.2524 24.9962 16.336V13.0352C32.2615 13.5479 37.9963 19.6042 37.9963 27C37.9963 34.732 31.7283 41 23.9963 41C18.016 41 12.908 37.2498 10.9028 31.9676C10.6087 31.1931 9.74253 30.8036 8.96804 31.0977C8.19354 31.3917 7.80404 32.2579 8.09806 33.0324C10.531 39.441 16.7293 44 23.9963 44C33.3851 44 40.9963 36.3888 40.9963 27C40.9963 17.9468 33.9196 10.5465 24.9962 10.0289V6.66404C24.9962 5.74635 23.9748 5.19071 23.1952 5.68435L15.5374 10.5335Z' fill='white'/%3e %3cpath d='M15.4036 10.3223C14.5258 10.8781 14.5274 12.1522 15.4066 12.7059L23.0644 17.5287C24.0077 18.1228 25.2462 17.4525 25.2462 16.336V13.306C32.2543 13.9374 37.7463 19.8275 37.7463 27C37.7463 34.5939 31.5902 40.75 23.9963 40.75C18.1232 40.75 13.1061 37.0671 11.1365 31.8789C10.7935 30.9753 9.78289 30.5209 8.87931 30.8639C7.97573 31.2069 7.52131 32.2175 7.86433 33.1211C10.3329 39.6236 16.6221 44.25 23.9963 44.25C33.5232 44.25 41.2463 36.5269 41.2463 27C41.2463 17.8934 34.1898 10.4352 25.2462 9.79461V6.66404C25.2462 5.54591 24.0046 4.87593 23.0615 5.47313L15.4036 10.3223Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_100684' x='2.5' y='0' width='43.9961' height='49.5' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_100684'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_100684' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",yA="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_99401)'%3e %3cpath d='M17.1542 6C18.4915 6 18.9764 6.13924 19.4653 6.4007C19.9542 6.66216 20.3378 7.04584 20.5993 7.53473C20.8608 8.02362 21 8.50855 21 9.84583V38.1542C21 39.4914 20.8608 39.9764 20.5993 40.4653C20.3378 40.9542 19.9542 41.3378 19.4653 41.5993C18.9764 41.8608 18.4915 42 17.1542 42H11.8458C10.5085 42 10.0236 41.8608 9.53473 41.5993C9.04584 41.3378 8.66216 40.9542 8.4007 40.4653C8.13924 39.9764 8 39.4914 8 38.1542V9.84583C8 8.50855 8.13924 8.02362 8.4007 7.53473C8.66216 7.04584 9.04584 6.66216 9.53473 6.4007C10.0236 6.13924 10.5085 6 11.8458 6H17.1542ZM36.1542 6C37.4914 6 37.9764 6.13924 38.4653 6.4007C38.9542 6.66216 39.3378 7.04584 39.5993 7.53473C39.8608 8.02362 40 8.50855 40 9.84583V38.1542C40 39.4914 39.8608 39.9764 39.5993 40.4653C39.3378 40.9542 38.9542 41.3378 38.4653 41.5993C37.9764 41.8608 37.4914 42 36.1542 42H30.8458C29.5085 42 29.0236 41.8608 28.5347 41.5993C28.0458 41.3378 27.6622 40.9542 27.4007 40.4653C27.1392 39.9764 27 39.4914 27 38.1542V9.84583C27 8.50855 27.1392 8.02362 27.4007 7.53473C27.6622 7.04584 28.0458 6.66216 28.5347 6.4007C29.0236 6.13924 29.5085 6 30.8458 6H36.1542Z' fill='white'/%3e %3cpath d='M19.5832 6.18025C19.0432 5.89148 18.5117 5.75 17.1542 5.75H11.8458C10.4883 5.75 9.95677 5.89148 9.41683 6.18025C8.88438 6.46501 8.46501 6.88438 8.18025 7.41683C7.89148 7.95677 7.75 8.48829 7.75 9.84583V38.1542C7.75 39.5117 7.89148 40.0432 8.18025 40.5832C8.46501 41.1156 8.88438 41.535 9.41683 41.8198C9.95677 42.1085 10.4883 42.25 11.8458 42.25H17.1542C18.5117 42.25 19.0432 42.1085 19.5832 41.8198C20.1156 41.535 20.535 41.1156 20.8198 40.5832C21.1085 40.0432 21.25 39.5117 21.25 38.1542V9.84583C21.25 8.48829 21.1085 7.95677 20.8198 7.41683C20.535 6.88438 20.1156 6.46501 19.5832 6.18025ZM38.5832 6.18025C38.0432 5.89148 37.5117 5.75 36.1542 5.75H30.8458C29.4883 5.75 28.9568 5.89148 28.4168 6.18025C27.8844 6.46501 27.465 6.88438 27.1802 7.41683C26.8915 7.95677 26.75 8.48829 26.75 9.84583V38.1542C26.75 39.5117 26.8915 40.0432 27.1802 40.5832C27.465 41.1156 27.8844 41.535 28.4168 41.8198C28.9568 42.1085 29.4883 42.25 30.8458 42.25H36.1542C37.5117 42.25 38.0432 42.1085 38.5832 41.8198C39.1156 41.535 39.535 41.1156 39.8198 40.5832C40.1085 40.0432 40.25 39.5117 40.25 38.1542V9.84583C40.25 8.48829 40.1085 7.95677 39.8198 7.41683C39.535 6.88438 39.1156 6.46501 38.5832 6.18025Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_99401' x='2.5' y='0.5' width='43' height='47' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_99401'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_99401' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",bA="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_99489)'%3e %3cpath d='M14.3992 8.76467L38.4208 22.6146C39.1864 23.0559 39.4492 24.0343 39.0078 24.7999C38.8672 25.0437 38.6647 25.2462 38.4208 25.3868L14.3992 39.2367C13.6336 39.6781 12.6553 39.4153 12.2139 38.6498C12.0738 38.4067 12 38.1311 12 37.8506V10.1508C12 9.26713 12.7163 8.55078 13.6 8.55078C13.8805 8.55078 14.1561 8.62454 14.3992 8.76467Z' fill='white'/%3e %3cpath d='M38.5457 22.398L14.524 8.54809C14.243 8.38607 13.9244 8.30078 13.6 8.30078C12.5783 8.30078 11.75 9.12905 11.75 10.1508V37.8506C11.75 38.1749 11.8353 38.4936 11.9973 38.7746C12.5076 39.6598 13.6389 39.9636 14.524 39.4533L38.5457 25.6034C38.8277 25.4408 39.0618 25.2067 39.2244 24.9247C39.7347 24.0396 39.4309 22.9083 38.5457 22.398Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_99489' x='6.5' y='3.05078' width='38.2217' height='41.8984' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_99489'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_99489' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",wA="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_2260_104204)'%3e %3cg filter='url(%23filter0_d_2260_104204)'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.1666 7H19.8334C17.3696 6.99999 15.4286 6.99998 13.8667 7.1276C12.2731 7.2578 10.9424 7.52826 9.7331 8.14443C7.7574 9.1511 6.1511 10.7574 5.14443 12.7331C4.52826 13.9424 4.2578 15.2731 4.1276 16.8667C3.99998 18.4286 3.99999 20.3696 4 22.8334V25.1666C3.99999 27.6304 3.99998 29.5714 4.1276 31.1333C4.2578 32.7269 4.52826 34.0576 5.14443 35.2669C6.1511 37.2426 7.7574 38.8489 9.7331 39.8556C10.9424 40.4717 12.2731 40.7422 13.8667 40.8724C15.4286 41 17.3695 41 19.8333 41H28.1667C30.6305 41 32.5714 41 34.1333 40.8724C35.7269 40.7422 37.0576 40.4717 38.2669 39.8556C40.2426 38.8489 41.8489 37.2426 42.8556 35.2669C43.4717 34.0576 43.7422 32.7269 43.8724 31.1333C44 29.5714 44 27.6305 44 25.1667V22.8333C44 20.3695 44 18.4286 43.8724 16.8667C43.7422 15.2731 43.4717 13.9424 42.8556 12.7331C41.8489 10.7574 40.2426 9.1511 38.2669 8.14443C37.0576 7.52826 35.7269 7.2578 34.1333 7.1276C32.5714 6.99998 30.6304 6.99999 28.1666 7ZM13.5 28C12.6716 28 12 28.6716 12 29.5C12 30.3284 12.6716 31 13.5 31H24.5C25.3284 31 26 30.3284 26 29.5C26 28.6716 25.3284 28 24.5 28H13.5ZM12 22C12 21.1716 12.6716 20.5 13.5 20.5H17.5C18.3284 20.5 19 21.1716 19 22C19 22.8284 18.3284 23.5 17.5 23.5H13.5C12.6716 23.5 12 22.8284 12 22ZM30.5 28C29.6716 28 29 28.6716 29 29.5C29 30.3284 29.6716 31 30.5 31H34.5C35.3284 31 36 30.3284 36 29.5C36 28.6716 35.3284 28 34.5 28H30.5ZM22 22C22 21.1716 22.6716 20.5 23.5 20.5H34.5C35.3284 20.5 36 21.1716 36 22C36 22.8284 35.3284 23.5 34.5 23.5H23.5C22.6716 23.5 22 22.8284 22 22Z' fill='white'/%3e %3cpath d='M28.1666 6.75H19.8334L19.8225 6.75C17.3677 6.74999 15.4184 6.74998 13.8463 6.87843C12.2373 7.00989 10.87 7.28457 9.6196 7.92168C7.59686 8.95232 5.95232 10.5969 4.92168 12.6196C4.28457 13.87 4.00989 15.2373 3.87843 16.8463C3.74998 18.4184 3.74999 20.3677 3.75 22.8225L3.75 22.8334V25.1666L3.75 25.1775C3.74999 27.6323 3.74998 29.5816 3.87843 31.1537C4.00989 32.7627 4.28457 34.13 4.92168 35.3804C5.95232 37.4031 7.59686 39.0477 9.6196 40.0783C10.87 40.7154 12.2373 40.9901 13.8463 41.1216C15.4184 41.25 17.3677 41.25 19.8225 41.25H19.8333H28.1667H28.1775C30.6323 41.25 32.5815 41.25 34.1537 41.1216C35.7627 40.9901 37.13 40.7154 38.3804 40.0783C40.4031 39.0477 42.0477 37.4031 43.0783 35.3804C43.7154 34.13 43.9901 32.7627 44.1216 31.1537C44.25 29.5815 44.25 27.6323 44.25 25.1775V25.1667V22.8333V22.8225C44.25 20.3677 44.25 18.4184 44.1216 16.8463C43.9901 15.2373 43.7154 13.87 43.0783 12.6196C42.0477 10.5969 40.4031 8.95232 38.3804 7.92168C37.13 7.28457 35.7627 7.00989 34.1537 6.87843C32.5816 6.74998 30.6323 6.74999 28.1775 6.75L28.1666 6.75ZM12.25 29.5C12.25 28.8096 12.8096 28.25 13.5 28.25H24.5C25.1904 28.25 25.75 28.8096 25.75 29.5C25.75 30.1904 25.1904 30.75 24.5 30.75H13.5C12.8096 30.75 12.25 30.1904 12.25 29.5ZM12.25 22C12.25 21.3096 12.8096 20.75 13.5 20.75H17.5C18.1904 20.75 18.75 21.3096 18.75 22C18.75 22.6904 18.1904 23.25 17.5 23.25H13.5C12.8096 23.25 12.25 22.6904 12.25 22ZM29.25 29.5C29.25 28.8096 29.8096 28.25 30.5 28.25H34.5C35.1904 28.25 35.75 28.8096 35.75 29.5C35.75 30.1904 35.1904 30.75 34.5 30.75H30.5C29.8096 30.75 29.25 30.1904 29.25 29.5ZM22.25 22C22.25 21.3096 22.8096 20.75 23.5 20.75H34.5C35.1904 20.75 35.75 21.3096 35.75 22C35.75 22.6904 35.1904 23.25 34.5 23.25H23.5C22.8096 23.25 22.25 22.6904 22.25 22Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_104204' x='-1.5' y='1.5' width='51' height='45' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_104204'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_104204' result='shape'/%3e %3c/filter%3e %3cclipPath id='clip0_2260_104204'%3e %3crect width='48' height='48' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",_A="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_2260_104293)'%3e %3cg filter='url(%23filter0_d_2260_104293)'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.56066 4.43934C5.97487 3.85355 5.02513 3.85355 4.43934 4.43934C3.85355 5.02513 3.85355 5.97487 4.43934 6.56066L7.52773 9.64905C6.55356 10.5142 5.743 11.5583 5.14443 12.7331C4.52826 13.9424 4.2578 15.2731 4.1276 16.8667C3.99998 18.4286 3.99999 20.3695 4 22.8333V25.1666C3.99999 27.6304 3.99998 29.5714 4.1276 31.1333C4.2578 32.7269 4.52826 34.0576 5.14443 35.2669C6.1511 37.2426 7.7574 38.8489 9.7331 39.8556C10.9424 40.4717 12.2731 40.7422 13.8667 40.8724C15.4286 41 17.3695 41 19.8333 41H28.1667C30.6305 41 32.5714 41 34.1333 40.8724C35.5701 40.755 36.7932 40.5236 37.9063 40.0276L41.4393 43.5607C42.0251 44.1464 42.9749 44.1464 43.5607 43.5607C44.1464 42.9749 44.1464 42.0251 43.5607 41.4393L6.56066 4.43934ZM13.5 28C12.6716 28 12 28.6716 12 29.5C12 30.3284 12.6716 31 13.5 31H24.5C25.3284 31 26 30.3284 26 29.5C26 28.6716 25.3284 28 24.5 28H13.5ZM12 22C12 21.1716 12.6716 20.5 13.5 20.5H17.5C18.3284 20.5 19 21.1716 19 22C19 22.8284 18.3284 23.5 17.5 23.5H13.5C12.6716 23.5 12 22.8284 12 22Z' fill='white'/%3e %3cpath d='M34.5 23.5H29.8613L42.4126 36.0513C42.5709 35.797 42.7188 35.5354 42.8556 35.2669C43.4717 34.0576 43.7422 32.7269 43.8724 31.1333C44 29.5714 44 27.6305 44 25.1667V22.8333C44 20.3695 44 18.4286 43.8724 16.8667C43.7422 15.2731 43.4717 13.9424 42.8556 12.7331C41.8489 10.7574 40.2426 9.1511 38.2669 8.14443C37.0576 7.52826 35.7269 7.2578 34.1333 7.1276C32.5714 6.99998 30.6304 6.99999 28.1666 7H19.8334C17.3696 6.99999 15.4286 6.99998 13.8667 7.1276C13.7497 7.13716 13.6341 7.14747 13.5199 7.15862L26.8613 20.5H34.5C35.3284 20.5 36 21.1716 36 22C36 22.8284 35.3284 23.5 34.5 23.5Z' fill='white'/%3e %3cpath d='M29.8613 23.25H29.2578L29.6845 23.6768L42.2358 36.228L42.4584 36.4506L42.6248 36.1834C42.7869 35.9231 42.9383 35.6553 43.0783 35.3804C43.7154 34.13 43.9901 32.7627 44.1216 31.1537C44.25 29.5815 44.25 27.6323 44.25 25.1775V25.1667V22.8333V22.8225C44.25 20.3677 44.25 18.4184 44.1216 16.8463C43.9901 15.2373 43.7154 13.87 43.0783 12.6196C42.0477 10.5969 40.4031 8.95232 38.3804 7.92168C37.13 7.28457 35.7627 7.00989 34.1537 6.87843C32.5816 6.74998 30.6323 6.74999 28.1775 6.75H28.1666H19.8334H19.8225C17.3677 6.74999 15.4184 6.74998 13.8463 6.87843C13.7281 6.88809 13.6112 6.89852 13.4956 6.9098L12.969 6.96123L13.3432 7.3354L26.6845 20.6768L26.7578 20.75H26.8613H34.5C35.1904 20.75 35.75 21.3096 35.75 22C35.75 22.6904 35.1904 23.25 34.5 23.25H29.8613ZM6.73744 4.26256C6.05402 3.57915 4.94598 3.57915 4.26256 4.26256C3.57915 4.94598 3.57915 6.05402 4.26256 6.73744L7.1657 9.64058C6.25535 10.4901 5.4939 11.4966 4.92168 12.6196C4.28457 13.87 4.00989 15.2373 3.87843 16.8463C3.74998 18.4184 3.74999 20.3677 3.75 22.8225L3.75 22.8333V25.1666L3.75 25.1775C3.74999 27.6323 3.74998 29.5816 3.87843 31.1537C4.00989 32.7627 4.28457 34.13 4.92168 35.3804C5.95232 37.4031 7.59686 39.0477 9.6196 40.0783C10.87 40.7154 12.2373 40.9901 13.8463 41.1216C15.4184 41.25 17.3677 41.25 19.8225 41.25H19.8333H28.1667H28.1775C30.6323 41.25 32.5815 41.25 34.1537 41.1216C35.5379 41.0085 36.7435 40.7894 37.8496 40.3245L41.2626 43.7374C41.946 44.4209 43.054 44.4209 43.7374 43.7374C44.4209 43.054 44.4209 41.946 43.7374 41.2626L6.73744 4.26256ZM12.25 29.5C12.25 28.8096 12.8096 28.25 13.5 28.25H24.5C25.1904 28.25 25.75 28.8096 25.75 29.5C25.75 30.1904 25.1904 30.75 24.5 30.75H13.5C12.8096 30.75 12.25 30.1904 12.25 29.5ZM12.25 22C12.25 21.3096 12.8096 20.75 13.5 20.75H17.5C18.1904 20.75 18.75 21.3096 18.75 22C18.75 22.6904 18.1904 23.25 17.5 23.25H13.5C12.8096 23.25 12.25 22.6904 12.25 22Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_104293' x='-1.5' y='-1.5' width='51' height='51' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_104293'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_104293' result='shape'/%3e %3c/filter%3e %3cclipPath id='clip0_2260_104293'%3e %3crect width='48' height='48' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",SA="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_106627)'%3e %3cpath d='M23.9994 22.6772V16.8065C23.9994 16.1438 23.4621 15.6065 22.7994 15.6065C22.5921 15.6065 22.3883 15.6602 22.2079 15.7624L9.5108 22.9547C8.93415 23.2813 8.73148 24.0136 9.05812 24.5903C9.16524 24.7794 9.3217 24.9358 9.5108 25.0429L22.2079 32.2352C22.7846 32.5619 23.5169 32.3592 23.8435 31.7826C23.9457 31.6022 23.9994 31.3984 23.9994 31.1911V25.3183L36.2086 32.2342C36.7852 32.5608 37.5175 32.3582 37.8441 31.7815C37.9463 31.6011 38 31.3974 38 31.1901V16.8055C38 16.1427 37.4627 15.6055 36.8 15.6055C36.5927 15.6055 36.3889 15.6592 36.2086 15.7613L23.9994 22.6772Z' fill='white'/%3e %3cpath d='M24.2494 16.8065V22.2483L36.0853 15.5438C36.3033 15.4204 36.5495 15.3555 36.8 15.3555C37.6008 15.3555 38.25 16.0047 38.25 16.8055V31.1901C38.25 31.4405 38.1851 31.6868 38.0616 31.9047C37.667 32.6015 36.7821 32.8464 36.0853 32.4517L24.2494 25.7472V31.1911C24.2494 31.4416 24.1845 31.6878 24.061 31.9058C23.6663 32.6026 22.7815 32.8475 22.0847 32.4528L9.38758 25.2605C9.15908 25.131 8.97003 24.942 8.8406 24.7135C8.4459 24.0167 8.69079 23.1319 9.38758 22.7372L22.0847 15.5449C22.3027 15.4214 22.5489 15.3565 22.7994 15.3565C23.6002 15.3565 24.2494 16.0057 24.2494 16.8065Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_106627' x='3.40234' y='10.1055' width='40.0977' height='27.7852' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_106627'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_106627' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",xA="data:image/svg+xml,%3csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2340_106922)'%3e %3cpath d='M14 21.8172C14.6314 21.3118 15.6269 20.763 17.0844 19.9596L30.0929 12.7883C32.3611 11.5379 33.4952 10.9127 34.4252 11.0098C35.2364 11.0945 35.9725 11.5067 36.4512 12.1441C37 12.8749 37 14.135 37 16.6553L37 31.3447C37 33.865 37 35.1251 36.4512 35.8559C35.9724 36.4933 35.2363 36.9055 34.4251 36.9902C33.4952 37.0873 32.3611 36.4621 30.0929 35.2117L17.0843 28.0404C15.6269 27.237 14.6314 26.6882 14 26.1828V34.5C14 35.3284 13.3284 36 12.5 36C11.6716 36 11 35.3284 11 34.5V13.5C11 12.6716 11.6716 12 12.5 12C13.3284 12 14 12.6716 14 13.5V21.8172Z' fill='white'/%3e %3cpath d='M16.9637 19.7406L16.9354 19.7562C15.7729 20.397 14.8885 20.8846 14.25 21.3228V13.5C14.25 12.5335 13.4665 11.75 12.5 11.75C11.5335 11.75 10.75 12.5335 10.75 13.5V34.5C10.75 35.4665 11.5335 36.25 12.5 36.25C13.4665 36.25 14.25 35.4665 14.25 34.5V26.6772C14.8885 27.1154 15.7729 27.603 16.9354 28.2438L16.9636 28.2594L29.9722 35.4306L29.9841 35.4372C31.1081 36.0569 31.9667 36.5301 32.6602 36.8351C33.3553 37.1408 33.9203 37.2943 34.4511 37.2388C35.3296 37.1471 36.1295 36.7005 36.6511 36.006C36.9676 35.5846 37.1103 35.0303 37.1802 34.295C37.25 33.5618 37.25 32.6071 37.25 31.3591V31.3447L37.25 16.6553V16.6409C37.25 15.3929 37.25 14.4382 37.1803 13.705C37.1104 12.9697 36.9676 12.4154 36.6511 11.994C36.1295 11.2995 35.3297 10.8529 34.4511 10.7612C33.9203 10.7057 33.3554 10.8592 32.6602 11.1649C31.9667 11.4699 31.1082 11.9431 29.9841 12.5628L29.9722 12.5694L16.9637 19.7406Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2340_106922' x='5.5' y='5.5' width='37' height='37' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2340_106922'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2340_106922' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",EA="data:image/svg+xml,%3csvg width='52' height='48' viewBox='0 0 52 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_116250)'%3e %3cpath d='M6 24.4714V23.5286C6 21.5684 6 20.5883 6.38148 19.8396C6.71703 19.181 7.25247 18.6456 7.91103 18.31C8.65972 17.9286 9.63982 17.9286 11.6 17.9286H14.3332C14.3578 17.9286 14.3702 17.9286 14.3817 17.9258C14.392 17.9233 14.4018 17.9192 14.4108 17.9136C14.421 17.9073 14.4296 17.8986 14.447 17.8811L23.9004 8.3151C24.732 7.47359 25.8658 7 27.0489 7C28.6788 7 30 8.32124 30 9.95108V38.0489C30 39.6788 28.6788 41 27.0489 41C25.8658 41 24.732 40.5264 23.9004 39.6849L14.447 30.119C14.4296 30.1014 14.421 30.0927 14.4108 30.0864C14.4018 30.0808 14.392 30.0767 14.3817 30.0742C14.3702 30.0714 14.3578 30.0714 14.3332 30.0714H11.6C9.63982 30.0714 8.65972 30.0714 7.91103 29.69C7.25247 29.3544 6.71703 28.819 6.38148 28.1604C6 27.4117 6 26.4316 6 24.4714Z' fill='white'/%3e %3cpath d='M34.4393 18.4393C35.0251 17.8536 35.9749 17.8536 36.5607 18.4393L40 21.8787L43.4393 18.4393C44.0251 17.8536 44.9749 17.8536 45.5607 18.4393C46.1464 19.0251 46.1464 19.9749 45.5607 20.5607L42.1213 24L45.5607 27.4393C46.1464 28.0251 46.1464 28.9749 45.5607 29.5607C44.9749 30.1464 44.0251 30.1464 43.4393 29.5607L40 26.1213L36.5607 29.5607C35.9749 30.1464 35.0251 30.1464 34.4393 29.5607C33.8536 28.9749 33.8536 28.0251 34.4393 27.4393L37.8787 24L34.4393 20.5607C33.8536 19.9749 33.8536 19.0251 34.4393 18.4393Z' fill='white'/%3e %3cpath d='M14.2956 17.6786H11.6H11.5884C10.6181 17.6786 9.87466 17.6786 9.28085 17.7271C8.68176 17.776 8.213 17.8756 7.79754 18.0873C7.09193 18.4468 6.51825 19.0205 6.15873 19.7261C5.94704 20.1416 5.84746 20.6103 5.79851 21.2094C5.75 21.8032 5.75 22.5467 5.75 23.517V23.5286V24.4714V24.483C5.75 25.4533 5.75 26.1968 5.79851 26.7906C5.84746 27.3897 5.94704 27.8584 6.15873 28.2739C6.51825 28.9795 7.09193 29.5532 7.79754 29.9127C8.213 30.1244 8.68176 30.224 9.28085 30.2729C9.87466 30.3214 10.6181 30.3214 11.5884 30.3214H11.6H14.2956L23.7226 39.8606C24.6011 40.7497 25.799 41.25 27.0489 41.25C28.8168 41.25 30.25 39.8168 30.25 38.0489V9.95108C30.25 8.18317 28.8168 6.75 27.0489 6.75C25.799 6.75 24.6011 7.25034 23.7226 8.13937L14.2956 17.6786ZM14.347 30.2177L14.347 30.2177L14.347 30.2177ZM36.7374 18.2626C36.054 17.5791 34.946 17.5791 34.2626 18.2626C33.5791 18.946 33.5791 20.054 34.2626 20.7374L37.5251 24L34.2626 27.2626C33.5791 27.946 33.5791 29.054 34.2626 29.7374C34.946 30.4209 36.054 30.4209 36.7374 29.7374L40 26.4749L43.2626 29.7374C43.946 30.4209 45.054 30.4209 45.7374 29.7374C46.4209 29.054 46.4209 27.946 45.7374 27.2626L42.4749 24L45.7374 20.7374C46.4209 20.054 46.4209 18.946 45.7374 18.2626C45.054 17.5791 43.946 17.5791 43.2626 18.2626L40 21.5251L36.7374 18.2626Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_116250' x='0.5' y='1.5' width='51' height='45' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_116250'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_116250' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e",kA="data:image/svg+xml,%3csvg width='52' height='48' viewBox='0 0 52 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg filter='url(%23filter0_d_2260_116331)'%3e %3cpath d='M6 24.4714V23.5286C6 21.5684 6 20.5883 6.38148 19.8396C6.71703 19.181 7.25247 18.6456 7.91103 18.31C8.65972 17.9286 9.63982 17.9286 11.6 17.9286H14.3332C14.3578 17.9286 14.3702 17.9286 14.3817 17.9258C14.392 17.9233 14.4018 17.9192 14.4108 17.9136C14.421 17.9073 14.4296 17.8986 14.447 17.8811L23.9004 8.3151C24.732 7.47359 25.8658 7 27.0489 7C28.6788 7 30 8.32124 30 9.95108V38.0489C30 39.6788 28.6788 41 27.0489 41C25.8658 41 24.732 40.5264 23.9004 39.6849L14.447 30.119C14.4296 30.1014 14.421 30.0927 14.4108 30.0864C14.4018 30.0808 14.392 30.0767 14.3817 30.0742C14.3702 30.0714 14.3578 30.0714 14.3332 30.0714H11.6C9.63982 30.0714 8.65972 30.0714 7.91103 29.69C7.25247 29.3544 6.71703 28.819 6.38148 28.1604C6 27.4117 6 26.4316 6 24.4714Z' fill='white'/%3e %3cpath d='M38.372 12.5113C38.918 11.8883 39.8657 11.8259 40.4887 12.372C43.8176 15.2897 46 19.111 46 24C46 28.889 43.8176 32.7103 40.4887 35.628C39.8657 36.1741 38.918 36.1117 38.372 35.4887C37.8259 34.8657 37.8883 33.918 38.5113 33.372C41.3147 30.9148 43 27.8721 43 24C43 20.128 41.3147 17.0852 38.5113 14.628C37.8883 14.082 37.8259 13.1343 38.372 12.5113Z' fill='white'/%3e %3cpath d='M35.3651 17.2746C34.6883 16.7968 33.7524 16.9581 33.2746 17.6349C32.7968 18.3117 32.9581 19.2476 33.6349 19.7254C35.1233 20.7761 36 22.329 36 24C36 25.671 35.1233 27.2239 33.6349 28.2746C32.9581 28.7524 32.7968 29.6883 33.2746 30.3651C33.7524 31.0419 34.6883 31.2032 35.3651 30.7254C37.5346 29.1939 39 26.7787 39 24C39 21.2213 37.5346 18.8061 35.3651 17.2746Z' fill='white'/%3e %3cpath d='M14.2956 17.6786H11.6H11.5884C10.6181 17.6786 9.87466 17.6786 9.28085 17.7271C8.68176 17.776 8.213 17.8756 7.79754 18.0873C7.09193 18.4468 6.51825 19.0205 6.15873 19.7261C5.94704 20.1416 5.84746 20.6103 5.79851 21.2094C5.75 21.8032 5.75 22.5467 5.75 23.517V23.5286V24.4714V24.483C5.75 25.4533 5.75 26.1968 5.79851 26.7906C5.84746 27.3897 5.94704 27.8584 6.15873 28.2739C6.51825 28.9795 7.09193 29.5532 7.79754 29.9127C8.213 30.1244 8.68176 30.224 9.28085 30.2729C9.87466 30.3214 10.6181 30.3214 11.5884 30.3214H11.6H14.2956L23.7226 39.8606C24.6011 40.7497 25.799 41.25 27.0489 41.25C28.8168 41.25 30.25 39.8168 30.25 38.0489V9.95108C30.25 8.18317 28.8168 6.75 27.0489 6.75C25.799 6.75 24.6011 7.25034 23.7226 8.13937L14.2956 17.6786ZM14.347 30.2177L14.347 30.2177L14.347 30.2177ZM40.6535 12.184C39.9267 11.5469 38.821 11.6197 38.184 12.3465C37.5469 13.0733 37.6197 14.179 38.3465 14.8161C41.1061 17.2348 42.75 20.2126 42.75 24C42.75 27.7874 41.1061 30.7653 38.3465 33.184C37.6197 33.821 37.5469 34.9267 38.184 35.6535C38.821 36.3803 39.9267 36.4531 40.6535 35.8161C44.0261 32.86 46.25 28.9739 46.25 24C46.25 19.0262 44.0261 15.14 40.6535 12.184ZM35.5093 17.0704C34.7197 16.513 33.6278 16.7012 33.0704 17.4907C32.513 18.2803 32.7012 19.3722 33.4907 19.9296C34.9221 20.9401 35.75 22.421 35.75 24C35.75 25.579 34.9221 27.0599 33.4907 28.0704C32.7012 28.6278 32.513 29.7197 33.0704 30.5093C33.6278 31.2988 34.7197 31.487 35.5093 30.9296C37.7353 29.3581 39.25 26.8712 39.25 24C39.25 21.1288 37.7353 18.6419 35.5093 17.0704Z' stroke='black' stroke-opacity='0.12' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='filter0_d_2260_116331' x='0.5' y='1.5' width='51' height='45' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e %3cfeOffset/%3e %3cfeGaussianBlur stdDeviation='2.5'/%3e %3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3e %3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2260_116331'/%3e %3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2260_116331' result='shape'/%3e %3c/filter%3e %3c/defs%3e%3c/svg%3e";function CA(e){Rv(e,"v-180fpvz",".hot-key-helpers-container.v-180fpvz{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-180fpvz-fadeIn ease var(--videoplayer-controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-icon.v-180fpvz{color:var(--white);width:48px;height:48px;margin-bottom:4px}.hot-key-helpers-container--left.v-180fpvz{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-180fpvz{left:calc(75% - 100px)}.hot-key-helpers-text.v-180fpvz{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-180fpvz{visibility:hidden;animation:v-180fpvz-fadeOut ease var(--videoplayer-controls-transition-duration);width:0;height:0}.reversed.v-180fpvz{transform:scale(-1, 1)}@keyframes v-180fpvz-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-180fpvz-fadeOut{0%{opacity:1}100%{opacity:0}}")}function TA(e){let t,n,r,i,o,a,s,l,c,u,d=[Sx.BACKWARD_SEEK,Sx.FORWARD_SEEK].includes(e[4]),p=[Sx.RATE_DOWN,Sx.RATE_UP].includes(e[4]),f=[Sx.EPISODE_PREV,Sx.EPISODE_NEXT].includes(e[4]),h=d&&OA(e),m=e[4]===Sx.STOP&&MA(),g=e[4]===Sx.PLAY&&AA(),v=e[4]===Sx.SUBTITLES_OFF&&PA(),y=e[4]===Sx.SUBTITLES_ON&&LA(),b=p&&DA(e),w=f&&RA(e),_=e[4]===Sx.MUTE&&IA(),S=e[4]===Sx.VOLUME&&NA(),x=e[5]&&jA(e);return{c(){h&&h.c(),t=zv(),m&&m.c(),n=zv(),g&&g.c(),r=zv(),v&&v.c(),i=zv(),y&&y.c(),o=zv(),b&&b.c(),a=zv(),w&&w.c(),s=zv(),_&&_.c(),l=zv(),S&&S.c(),c=zv(),x&&x.c(),u=Vv()},m(e,d){h&&h.m(e,d),Iv(e,t,d),m&&m.m(e,d),Iv(e,n,d),g&&g.m(e,d),Iv(e,r,d),v&&v.m(e,d),Iv(e,i,d),y&&y.m(e,d),Iv(e,o,d),b&&b.m(e,d),Iv(e,a,d),w&&w.m(e,d),Iv(e,s,d),_&&_.m(e,d),Iv(e,l,d),S&&S.m(e,d),Iv(e,c,d),x&&x.m(e,d),Iv(e,u,d)},p(e,E){16&E&&(d=[Sx.BACKWARD_SEEK,Sx.FORWARD_SEEK].includes(e[4])),d?h?h.p(e,E):(h=OA(e),h.c(),h.m(t.parentNode,t)):h&&(h.d(1),h=null),e[4]===Sx.STOP?m?m.p(e,E):(m=MA(),m.c(),m.m(n.parentNode,n)):m&&(m.d(1),m=null),e[4]===Sx.PLAY?g?g.p(e,E):(g=AA(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),e[4]===Sx.SUBTITLES_OFF?v?v.p(e,E):(v=PA(),v.c(),v.m(i.parentNode,i)):v&&(v.d(1),v=null),e[4]===Sx.SUBTITLES_ON?y?y.p(e,E):(y=LA(),y.c(),y.m(o.parentNode,o)):y&&(y.d(1),y=null),16&E&&(p=[Sx.RATE_DOWN,Sx.RATE_UP].includes(e[4])),p?b?b.p(e,E):(b=DA(e),b.c(),b.m(a.parentNode,a)):b&&(b.d(1),b=null),16&E&&(f=[Sx.EPISODE_PREV,Sx.EPISODE_NEXT].includes(e[4])),f?w?w.p(e,E):(w=RA(e),w.c(),w.m(s.parentNode,s)):w&&(w.d(1),w=null),e[4]===Sx.MUTE?_?_.p(e,E):(_=IA(),_.c(),_.m(l.parentNode,l)):_&&(_.d(1),_=null),e[4]===Sx.VOLUME?S?S.p(e,E):(S=NA(),S.c(),S.m(c.parentNode,c)):S&&(S.d(1),S=null),e[5]?x?x.p(e,E):(x=jA(e),x.c(),x.m(u.parentNode,u)):x&&(x.d(1),x=null)},d(e){e&&(Nv(t),Nv(n),Nv(r),Nv(i),Nv(o),Nv(a),Nv(s),Nv(l),Nv(c),Nv(u)),h&&h.d(e),m&&m.d(e),g&&g.d(e),v&&v.d(e),y&&y.d(e),b&&b.d(e),w&&w.d(e),_&&_.d(e),S&&S.d(e),x&&x.d(e)}}}function OA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=vA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz"),Xv(t,"reversed",e[4]===Sx.FORWARD_SEEK)},m(e,n){Iv(e,t,n)},p(e,n){16&n&&Xv(t,"reversed",e[4]===Sx.FORWARD_SEEK)},d(e){e&&Nv(t)}}}function MA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=yA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function AA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=bA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function PA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=_A)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function LA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=wA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function DA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=SA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz"),Xv(t,"reversed",e[4]===Sx.RATE_UP)},m(e,n){Iv(e,t,n)},p(e,n){16&n&&Xv(t,"reversed",e[4]===Sx.RATE_UP)},d(e){e&&Nv(t)}}}function RA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=xA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz"),Xv(t,"reversed",e[4]===Sx.EPISODE_NEXT)},m(e,n){Iv(e,t,n)},p(e,n){16&n&&Xv(t,"reversed",e[4]===Sx.EPISODE_NEXT)},d(e){e&&Nv(t)}}}function IA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=EA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function NA(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=kA)||qv(t,"src",n),qv(t,"class","hot-key-helpers-icon v-180fpvz")},m(e,n){Iv(e,t,n)},p:hv,d(e){e&&Nv(t)}}}function jA(e){let t,n;return{c(){t=Bv("span"),n=Hv(e[5]),qv(t,"class","hot-key-helpers-text v-180fpvz")},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,t){32&t&&Wv(n,e[5])},d(e){e&&Nv(t)}}}function BA(e){let t,n=!e[1]&&e[4]&&TA(e);return{c(){t=Bv("div"),n&&n.c(),qv(t,"class","hot-key-helpers-container v-180fpvz"),Xv(t,"hidden",e[1]),Xv(t,"hot-key-helpers-container--left",e[2]),Xv(t,"hot-key-helpers-container--right",e[3])},m(e,r){Iv(e,t,r),n&&n.m(t,null)},p(e,[r]){!e[1]&&e[4]?n?n.p(e,r):(n=TA(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null),2&r&&Xv(t,"hidden",e[1]),4&r&&Xv(t,"hot-key-helpers-container--left",e[2]),8&r&&Xv(t,"hot-key-helpers-container--right",e[3])},i:hv,o:hv,d(e){e&&Nv(t),n&&n.d()}}}function FA(e,t,n){let r,i=hv,o=()=>(i(),i=xv(d,(e=>n(6,r=e))),d);e.$$.on_destroy.push((()=>i()));let a,s,l,c,u,{data:d}=t;return o(),e.$$set=e=>{"data"in e&&o(n(0,d=e.data))},e.$$.update=()=>{64&e.$$.dirty&&(n(1,a=!r),n(2,s=(null==r?void 0:r.type)===Sx.BACKWARD_SEEK),n(3,l=(null==r?void 0:r.type)===Sx.FORWARD_SEEK),n(4,c=null==r?void 0:r.type),null!=r&&r.t?n(5,u=gx(r.t.key,{value:r.t.value||""})):n(5,u=null==r?void 0:r.text))},[d,a,s,l,c,u,r]}class HA extends Ly{constructor(e){super(),Py(this,e,FA,BA,wv,{data:0},CA)}}var zA="data:image/svg+xml,%3csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.7364 6.73637C11.3849 7.08784 10.8151 7.08784 10.4636 6.73637L6.00002 2.27277L1.53639 6.73637C1.18492 7.08784 0.615073 7.08784 0.263602 6.73637C-0.087869 6.3849 -0.087868 5.81505 0.263605 5.46358L5.36363 0.363578C5.7151 0.0121067 6.28495 0.0121081 6.63642 0.363581L11.7364 5.46358C12.0879 5.81505 12.0879 6.3849 11.7364 6.73637Z' fill='white' fill-opacity='0.72'/%3e%3c/svg%3e";function VA(e){Rv(e,"v-vlh5p",".immersive-controls.v-vlh5p.v-vlh5p{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--videoplayer-controls-transition-duration);transition-timing-function:var(--videoplayer-controls-transition-fn)}.immersive-controls.m-shifted.v-vlh5p.v-vlh5p{top:50px;left:20px}.button-block.v-vlh5p.v-vlh5p{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-vlh5p.v-vlh5p{display:flex;flex-direction:row;position:relative}.button.v-vlh5p.v-vlh5p{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-vlh5p img.v-vlh5p{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-vlh5p img.v-vlh5p{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-vlh5p img.v-vlh5p{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-vlh5p img.v-vlh5p{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-vlh5p img.v-vlh5p{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-vlh5p:hover img.v-vlh5p{opacity:1}")}function UA(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_;return{c(){t=Bv("div"),n=Bv("div"),r=Bv("div"),i=Bv("div"),o=Bv("img"),s=zv(),l=Bv("div"),c=Bv("img"),d=zv(),p=Bv("div"),f=Bv("div"),h=Bv("img"),g=zv(),v=Bv("div"),y=Bv("img"),Sv(o.src,a=zA)||qv(o,"src",a),qv(o,"alt",""),qv(o,"class","v-vlh5p"),qv(i,"class","button button-up v-vlh5p"),Sv(c.src,u=zA)||qv(c,"src",u),qv(c,"alt",""),qv(c,"class","v-vlh5p"),qv(l,"class","button button-right v-vlh5p"),qv(r,"class","button-row v-vlh5p"),Sv(h.src,m=zA)||qv(h,"src",m),qv(h,"alt",""),qv(h,"class","v-vlh5p"),qv(f,"class","button button-left v-vlh5p"),Sv(y.src,b=zA)||qv(y,"src",b),qv(y,"alt",""),qv(y,"class","v-vlh5p"),qv(v,"class","button button-down v-vlh5p"),qv(p,"class","button-row v-vlh5p"),qv(n,"class","button-block v-vlh5p"),qv(t,"class","immersive-controls v-vlh5p"),Xv(t,"m-shifted",e[0])},m(a,u){Iv(a,t,u),Dv(t,n),Dv(n,r),Dv(r,i),Dv(i,o),Dv(r,s),Dv(r,l),Dv(l,c),Dv(n,d),Dv(n,p),Dv(p,f),Dv(f,h),Dv(p,g),Dv(p,v),Dv(v,y),w||(_=[Uv(i,"mousedown",e[1]),Uv(i,"mouseup",e[5]),Uv(i,"mouseleave",e[5]),Uv(l,"mousedown",e[3]),Uv(l,"mouseup",e[5]),Uv(l,"mouseleave",e[5]),Uv(f,"mousedown",e[4]),Uv(f,"mouseup",e[5]),Uv(f,"mouseleave",e[5]),Uv(v,"mousedown",e[2]),Uv(v,"mouseup",e[5]),Uv(v,"mouseleave",e[5])],w=!0)},p(e,[n]){1&n&&Xv(t,"m-shifted",e[0])},i:hv,o:hv,d(e){e&&Nv(t),w=!1,yv(_)}}}function $A(e,t,n){let{isShifted:r=!1}=t;const i=Xy();return e.$$set=e=>{"isShifted"in e&&n(0,r=e.isShifted)},[r,()=>{i.actions.internal.startCameraManualRotation(0,1)},()=>{i.actions.internal.startCameraManualRotation(0,-1)},()=>{i.actions.internal.startCameraManualRotation(1,0)},()=>{i.actions.internal.startCameraManualRotation(-1,0)},()=>(i.actions.internal.stopCameraManualRotation(),null)]}class GA extends Ly{constructor(e){super(),Py(this,e,$A,UA,wv,{isShifted:0},VA)}}function qA(e){Rv(e,"v-1xdi0fg",".subtitles-container.v-1xdi0fg.v-1xdi0fg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--videoplayer-controls-transition-duration)}.subtitles-container.shifted.v-1xdi0fg.v-1xdi0fg{transform:translateY(calc(var(--videoplayer-controls-height) * -1))}.subtitles-caption.v-1xdi0fg.v-1xdi0fg{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-container.auto.v-1xdi0fg .subtitles-caption.v-1xdi0fg{left:24%;right:24%}.caption.v-1xdi0fg.v-1xdi0fg{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-1xdi0fg .caption.v-1xdi0fg{width:100%}.caption-line.v-1xdi0fg.v-1xdi0fg{display:block;text-align:center}.subtitles-container.auto.v-1xdi0fg .caption-line.v-1xdi0fg{text-align:left}.caption-segment.v-1xdi0fg.v-1xdi0fg{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function WA(e,t,n){const r=e.slice();return r[15]=t[n].value,r}function ZA(e,t,n){const r=e.slice();return r[15]=t[n].value,r[16]=t[n].timeAppeared,r}function YA(e){let t,n;function r(e,t){return e[6]&&e[7]?XA:e[4]?QA:KA}let i=r(e),o=i(e);return{c(){t=Bv("div"),n=Bv("span"),o.c(),qv(n,"class","caption v-1xdi0fg"),qv(t,"class","subtitles-caption v-1xdi0fg")},m(e,r){Iv(e,t,r),Dv(t,n),o.m(n,null)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n,null)))},d(e){e&&Nv(t),o.d()}}}function KA(e){let t,n=Ey(e[1]),r=[];for(let t=0;t<n.length;t+=1)r[t]=JA(WA(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=Vv()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);Iv(e,t,n)},p(e,i){if(10&i){let o;for(n=Ey(e[1]),o=0;o<n.length;o+=1){const a=WA(e,n,o);r[o]?r[o].p(a,i):(r[o]=JA(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&Nv(t),jv(r,e)}}}function QA(e){let t,n,r=Ey(e[5]),i=[];for(let t=0;t<r.length;t+=1)i[t]=tP(ZA(e,r,t));return{c(){t=Bv("span"),n=Bv("span");for(let e=0;e<i.length;e+=1)i[e].c();qv(n,"class","caption-segment v-1xdi0fg"),Zv(n,"font-size",e[3]+"px"),qv(t,"class","caption-line v-1xdi0fg")},m(e,r){Iv(e,t,r),Dv(t,n);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(n,null)},p(e,t){if(36&t){let o;for(r=Ey(e[5]),o=0;o<r.length;o+=1){const a=ZA(e,r,o);i[o]?i[o].p(a,t):(i[o]=tP(a),i[o].c(),i[o].m(n,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=r.length}8&t&&Zv(n,"font-size",e[3]+"px")},d(e){e&&Nv(t),jv(i,e)}}}function XA(e){let t,n,r,i=gx("subtitles_auto_caption")+"";return{c(){t=Bv("span"),n=Bv("span"),r=Hv(i),qv(n,"class","caption-segment v-1xdi0fg"),Zv(n,"font-size",e[3]+"px"),qv(t,"class","caption-line v-1xdi0fg")},m(e,i){Iv(e,t,i),Dv(t,n),Dv(n,r)},p(e,t){8&t&&Zv(n,"font-size",e[3]+"px")},d(e){e&&Nv(t)}}}function JA(e){let t,n,r,i,o=e[15]+"";return{c(){t=Bv("span"),n=Bv("span"),r=Hv(o),i=zv(),qv(n,"class","caption-segment v-1xdi0fg"),Zv(n,"font-size",e[3]+"px"),qv(t,"class","caption-line v-1xdi0fg")},m(e,o){Iv(e,t,o),Dv(t,n),Dv(n,r),Dv(t,i)},p(e,t){2&t&&o!==(o=e[15]+"")&&Wv(r,o),8&t&&Zv(n,"font-size",e[3]+"px")},d(e){e&&Nv(t)}}}function eP(e){let t,n=e[15]+"";return{c(){t=Hv(n)},m(e,n){Iv(e,t,n)},p(e,r){32&r&&n!==(n=e[15]+"")&&Wv(t,n)},d(e){e&&Nv(t)}}}function tP(e){let t,n=(!e[16]||e[16]<=e[2])&&eP(e);return{c(){n&&n.c(),t=Vv()},m(e,r){n&&n.m(e,r),Iv(e,t,r)},p(e,r){!e[16]||e[16]<=e[2]?n?n.p(e,r):(n=eP(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){e&&Nv(t),n&&n.d(e)}}}function nP(e){let t,n=e[1].length>0&&YA(e);return{c(){t=Bv("div"),n&&n.c(),qv(t,"class","subtitles-container v-1xdi0fg"),Xv(t,"shifted",e[0]),Xv(t,"auto",e[4]&&!e[7])},m(e,r){Iv(e,t,r),n&&n.m(t,null)},p(e,[r]){e[1].length>0?n?n.p(e,r):(n=YA(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null),1&r&&Xv(t,"shifted",e[0]),144&r&&Xv(t,"auto",e[4]&&!e[7])},i:hv,o:hv,d(e){e&&Nv(t),n&&n.d()}}}function rP(e,t,n){let r,i,{shifted:o}=t,{captions:a}=t,{position:s}=t,{playerSize:l}=t;const c=Xy(),u=Fy(),d=c.state.currentSubtitle$;kv(e,d,(e=>n(11,r=e)));const p=c.state.isAutoSubtitleCaptionVisible$;let f,h,m,g,v;return kv(e,p,(e=>n(7,i=e))),ty((()=>{v=window.setTimeout((()=>{p.set(!1)}),u.autoSubtitlesTimeout)})),ny((()=>{window.clearTimeout(v)})),e.$$set=e=>{"shifted"in e&&n(0,o=e.shifted),"captions"in e&&n(1,a=e.captions),"position"in e&&n(2,s=e.position),"playerSize"in e&&n(10,l=e.playerSize)},e.$$.update=()=>{if(1024&e.$$.dirty){const e=.02*l.width;n(3,f=e<=u.minSubtitlesFontSize?u.minSubtitlesFontSize:e)}2&e.$$.dirty&&n(4,h=a.some((e=>"timestamp"===e.type))),2&e.$$.dirty&&n(5,m=a.reduce(((e,{type:t,value:n})=>("timestamp"===t?e.push({timeAppeared:Number(n),value:""}):0===e.length?e.push({value:String(n)}):e[e.length-1].value=String(n),e)),[])),2048&e.$$.dirty&&n(6,g=!!r.isAuto)},[o,a,s,f,h,m,g,i,d,p,l,r]}class iP extends Ly{constructor(e){super(),Py(this,e,rP,nP,wv,{shifted:0,captions:1,position:2,playerSize:10},qA)}}function oP(e){Rv(e,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function aP(e){let t,n,r;return{c(){t=Bv("div"),n=Hv("Видео воÑпроизводитÑÑ Ð½Ð° "),r=Hv(e[1]),qv(t,"class","text v-1o62kpz")},m(e,i){Iv(e,t,i),Dv(t,n),Dv(t,r)},p(e,t){2&t&&Wv(r,e[1])},d(e){e&&Nv(t)}}}function sP(e){let t,n,r,i,o,a,s=e[1]&&aP(e);return{c(){t=Bv("div"),n=Bv("div"),n.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',r=zv(),s&&s.c(),qv(n,"class","icon_wrapper v-1o62kpz"),qv(t,"class","wrapper v-1o62kpz"),qv(t,"style",i=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${e[0]||""}')`)},m(i,l){Iv(i,t,l),Dv(t,n),Dv(t,r),s&&s.m(t,null),o||(a=Uv(t,"click",e[2]),o=!0)},p(e,[n]){e[1]?s?s.p(e,n):(s=aP(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null),1&n&&i!==(i=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${e[0]||""}')`)&&qv(t,"style",i)},i:hv,o:hv,d(e){e&&Nv(t),s&&s.d(),o=!1,a()}}}function lP(e,t,n){let{thumbUrl:r}=t,{chromecastDeviceName:i}=t;return e.$$set=e=>{"thumbUrl"in e&&n(0,r=e.thumbUrl),"chromecastDeviceName"in e&&n(1,i=e.chromecastDeviceName)},[r,i,function(t){oy.call(this,e,t)}]}class cP extends Ly{constructor(e){super(),Py(this,e,lP,sP,wv,{thumbUrl:0,chromecastDeviceName:1},oP)}}function uP(e){Rv(e,"v-zd9h6u",".container.v-zd9h6u{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}.icon.v-zd9h6u{width:200px;height:200px}")}function dP(e){let t,n,r;return{c(){t=Bv("div"),n=Bv("img"),Sv(n.src,r="data:image/svg+xml,%3csvg viewBox='460 190 130 90' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z' fill='white' fill-rule='evenodd'/%3e%3c/svg%3e")||qv(n,"src","data:image/svg+xml,%3csvg viewBox='460 190 130 90' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z' fill='white' fill-rule='evenodd'/%3e%3c/svg%3e"),qv(n,"class","icon v-zd9h6u"),qv(n,"alt",""),qv(t,"class","container v-zd9h6u")},m(e,r){Iv(e,t,r),Dv(t,n)},p:hv,i:hv,o:hv,d(e){e&&Nv(t)}}}class pP extends Ly{constructor(e){super(),Py(this,e,null,dP,wv,{},uP)}}function fP(e){Rv(e,"v-y9pij4",".container.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-y9pij4.v-y9pij4{opacity:0;visibility:hidden}.playButton.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--videoplayer-big-play-size);height:var(--videoplayer-big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-y9pij4.v-y9pij4{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--videoplayer-big-play-radius);background-color:var(--videoplayer-big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-y9pij4:hover .playButtonBackground.v-y9pij4{background-color:var(--videoplayer-big-play-hover-bg-color);transform:scale(1.15)}.playButtonIcon.v-y9pij4.v-y9pij4{position:relative;width:48px;height:48px}")}function hP(e){let t,n,r,i,o,a,s,l,c;return{c(){t=Bv("div"),n=Bv("div"),r=Bv("div"),i=zv(),o=Bv("img"),qv(r,"class","playButtonBackground v-y9pij4"),Sv(o.src,a=RT)||qv(o,"src",a),qv(o,"class","playButtonIcon v-y9pij4"),qv(o,"alt",""),qv(n,"class","playButton v-y9pij4"),qv(t,"class","container v-y9pij4"),qv(t,"style",s=`background-color: #222; background-image: url('${e[0]||""}')`),Xv(t,"hidden",e[1])},m(a,s){Iv(a,t,s),Dv(t,n),Dv(n,r),Dv(n,i),Dv(n,o),l||(c=Uv(t,"click",Gv((function(){bv(e[2])&&e[2].apply(this,arguments)}))),l=!0)},p(n,[r]){e=n,1&r&&s!==(s=`background-color: #222; background-image: url('${e[0]||""}')`)&&qv(t,"style",s),2&r&&Xv(t,"hidden",e[1])},i:hv,o:hv,d(e){e&&Nv(t),l=!1,c()}}}function mP(e,t,n){let{thumbUrl:r}=t,{hidden:i}=t,{startVideo:o}=t;return e.$$set=e=>{"thumbUrl"in e&&n(0,r=e.thumbUrl),"hidden"in e&&n(1,i=e.hidden),"startVideo"in e&&n(2,o=e.startVideo)},[r,i,o]}class gP extends Ly{constructor(e){super(),Py(this,e,mP,hP,wv,{thumbUrl:0,hidden:1,startVideo:2},fP)}}function vP(e){Rv(e,"v-6m6jx8",".title.v-6m6jx8{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--videoplayer-controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--videoplayer-controls-transition-duration);transition-timing-function:var(--videoplayer-controls-transition-fn);will-change:transform, opacity;background:linear-gradient(\n 0deg,\n rgba(0, 0, 0, 0) 0%,\n rgba(0, 0, 0, 0.02) 19%,\n rgba(0, 0, 0, 0.10) 34%,\n rgba(0, 0, 0, 0.40) 60%,\n rgba(0, 0, 0, 0.60) 100%\n )}.hidden.v-6m6jx8{visibility:hidden;transform:translateY(calc(var(--videoplayer-controls-gradient-height) * -1));opacity:0}")}function yP(e){let t,n;return{c(){t=Bv("div"),n=Hv(e[0]),qv(t,"class","title v-6m6jx8"),Xv(t,"hidden",e[1])},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,[r]){1&r&&Wv(n,e[0]),2&r&&Xv(t,"hidden",e[1])},i:hv,o:hv,d(e){e&&Nv(t)}}}function bP(e,t,n){let{title:r=""}=t,{isHidden:i=!1}=t;return e.$$set=e=>{"title"in e&&n(0,r=e.title),"isHidden"in e&&n(1,i=e.isHidden)},[r,i]}class wP extends Ly{constructor(e){super(),Py(this,e,bP,yP,wv,{title:0,isHidden:1},vP)}}const _P=e=>{if(!qo(!0))return!1;const t=e.device===$o.iPad||(null==window?void 0:window.screen.width)>700,n=(()=>{const{userAgent:e}=window.navigator,t=e.match(/Version\/(\d+(\.\d+)?)/i);if(!t)return null;const n=t[1],r=parseFloat(n);return isNaN(r)?null:r})();return!t||t&&!!n&&n<16};function SP(e){Rv(e,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function xP(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("span"),r=Hv(e[0]),i=zv(),o=Bv("span"),o.textContent=`${gx("waiting_live_day_value")}`,a=zv(),s=Bv("span"),s.textContent=`${gx("waiting_live_colon")}`,qv(n,"class","cell__value v-1qpxtfg"),qv(o,"class","cell__unit v-1qpxtfg"),qv(t,"class","timer__cell cell v-1qpxtfg"),qv(s,"class","timer__points v-1qpxtfg")},m(e,l){Iv(e,t,l),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o),Iv(e,a,l),Iv(e,s,l)},p(e,t){1&t&&Wv(r,e[0])},d(e){e&&(Nv(t),Nv(a),Nv(s))}}}function EP(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("span"),r=Hv(e[1]),i=zv(),o=Bv("span"),o.textContent=`${gx("waiting_live_hour_value")}`,a=zv(),s=Bv("span"),s.textContent=`${gx("waiting_live_colon")}`,qv(n,"class","cell__value v-1qpxtfg"),qv(o,"class","cell__unit v-1qpxtfg"),qv(t,"class","timer__cell cell v-1qpxtfg"),qv(s,"class","timer__points v-1qpxtfg")},m(e,l){Iv(e,t,l),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o),Iv(e,a,l),Iv(e,s,l)},p(e,t){2&t&&Wv(r,e[1])},d(e){e&&(Nv(t),Nv(a),Nv(s))}}}function kP(e){let t,n,r,i,o,a,s;return{c(){t=Bv("div"),n=Bv("span"),r=Hv(e[2]),i=zv(),o=Bv("span"),o.textContent=`${gx("waiting_live_minute_value")}`,a=zv(),s=Bv("span"),s.textContent=`${gx("waiting_live_colon")}`,qv(n,"class","cell__value v-1qpxtfg"),qv(o,"class","cell__unit v-1qpxtfg"),qv(t,"class","timer__cell cell v-1qpxtfg"),qv(s,"class","timer__points v-1qpxtfg")},m(e,l){Iv(e,t,l),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o),Iv(e,a,l),Iv(e,s,l)},p(e,t){4&t&&Wv(r,e[2])},d(e){e&&(Nv(t),Nv(a),Nv(s))}}}function CP(e){let t,n,r,i,o;return{c(){t=Bv("div"),n=Bv("span"),r=Hv(e[3]),i=zv(),o=Bv("span"),o.textContent=`${gx("waiting_live_second_value")}`,qv(n,"class","cell__value v-1qpxtfg"),qv(o,"class","cell__unit v-1qpxtfg"),qv(t,"class","timer__cell cell v-1qpxtfg")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(n,r),Dv(t,i),Dv(t,o)},p(e,t){8&t&&Wv(r,e[3])},d(e){e&&Nv(t)}}}function TP(e){let t,n,r,i,o=e[0]&&xP(e),a=e[1]&&EP(e),s=e[2]&&kP(e),l=e[3]&&CP(e);return{c(){t=Bv("div"),o&&o.c(),n=zv(),a&&a.c(),r=zv(),s&&s.c(),i=zv(),l&&l.c(),qv(t,"class","timer__container v-1qpxtfg")},m(e,c){Iv(e,t,c),o&&o.m(t,null),Dv(t,n),a&&a.m(t,null),Dv(t,r),s&&s.m(t,null),Dv(t,i),l&&l.m(t,null)},p(e,[c]){e[0]?o?o.p(e,c):(o=xP(e),o.c(),o.m(t,n)):o&&(o.d(1),o=null),e[1]?a?a.p(e,c):(a=EP(e),a.c(),a.m(t,r)):a&&(a.d(1),a=null),e[2]?s?s.p(e,c):(s=kP(e),s.c(),s.m(t,i)):s&&(s.d(1),s=null),e[3]?l?l.p(e,c):(l=CP(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},i:hv,o:hv,d(e){e&&Nv(t),o&&o.d(),a&&a.d(),s&&s.d(),l&&l.d()}}}function OP(e,t,n){let r,i,o,a,s,{startTime:l}=t,{onTimerOver:c}=t;const u=e=>String(e).padStart(2,"0"),d=()=>{const e=Math.floor(Date.now()/1e3),t=l-e;(e=>{const t=Math.floor(e/86400);t&&(e-=86400*t,n(0,r=u(t)));const s=Math.floor(e/3600);n(1,i=u(s));const l=Math.floor(e/60)%60;n(2,o=u(l)),n(3,a=u(e%60))})(t),t>=1?s=requestAnimationFrame(d):c()};return ty((()=>{s=requestAnimationFrame(d)})),ny((()=>{cancelAnimationFrame(s)})),e.$$set=e=>{"startTime"in e&&n(4,l=e.startTime),"onTimerOver"in e&&n(5,c=e.onTimerOver)},[r,i,o,a,l,c]}class MP extends Ly{constructor(e){super(),Py(this,e,OP,TP,wv,{startTime:4,onTimerOver:5},SP)}}var AP="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' style='shape-rendering:geometricPrecision%3btext-rendering:geometricPrecision%3bimage-rendering:optimizeQuality%3bfill-rule:evenodd%3bclip-rule:evenodd'%3e%3cpath fill='%23fefffe' d='M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z' style='opacity:.965'/%3e%3cpath fill='%23fefffe' d='M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z' style='opacity:.965'/%3e%3cpath fill='%23fefffe' d='M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z' style='opacity:.985'/%3e%3cpath fill='%23fefffe' d='M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z' style='opacity:.986'/%3e%3c/svg%3e";function PP(e){Rv(e,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function LP(e){let t,n,r,i,o;return i=new MP({props:{startTime:e[1]||0,onTimerOver:e[3]}}),{c(){t=Bv("div"),n=Bv("span"),n.textContent=`${gx("waiting_live_timer_title")}`,r=zv(),Ty(i.$$.fragment),qv(n,"class","timer__title v-15pewff"),qv(t,"class","waiting-timer timer v-15pewff")},m(e,a){Iv(e,t,a),Dv(t,n),Dv(t,r),Oy(i,t,null),o=!0},p(e,t){const n={};2&t&&(n.startTime=e[1]||0),4&t&&(n.onTimerOver=e[3]),i.$set(n)},i(e){o||(Sy(i.$$.fragment,e),o=!0)},o(e){xy(i.$$.fragment,e),o=!1},d(e){e&&Nv(t),My(i)}}}function DP(e){let t,n,r,i,o;return{c(){t=Bv("div"),n=Bv("img"),i=zv(),o=Bv("span"),o.textContent=`${gx("waiting_live_upcoming_title")}`,qv(n,"class","upcoming-icon v-15pewff"),Sv(n.src,r=AP)||qv(n,"src",r),qv(n,"alt",""),qv(o,"class","upcoming__title v-15pewff"),qv(t,"class","upcoming v-15pewff")},m(e,r){Iv(e,t,r),Dv(t,n),Dv(t,i),Dv(t,o)},p:hv,i:hv,o:hv,d(e){e&&Nv(t)}}}function RP(e){let t,n,r,i,o;const a=[DP,LP],s=[];function l(e,t){return e[2]?0:1}return n=l(e),r=s[n]=a[n](e),{c(){t=Bv("div"),r.c(),qv(t,"class","waiting-container v-15pewff"),qv(t,"style",i=`background-image: url(${e[2]?"":e[0]})`)},m(e,r){Iv(e,t,r),s[n].m(t,null),o=!0},p(e,[c]){let u=n;n=l(e),n===u?s[n].p(e,c):(wy(),xy(s[u],1,1,(()=>{s[u]=null})),_y(),r=s[n],r?r.p(e,c):(r=s[n]=a[n](e),r.c()),Sy(r,1),r.m(t,null)),(!o||5&c&&i!==(i=`background-image: url(${e[2]?"":e[0]})`))&&qv(t,"style",i)},i(e){o||(Sy(r),o=!0)},o(e){xy(r),o=!1},d(e){e&&Nv(t),s[n].d()}}}function IP(e,t,n){let r,{thumbUrl:i}=t,{startTime:o}=t;return e.$$set=e=>{"thumbUrl"in e&&n(0,i=e.thumbUrl),"startTime"in e&&n(1,o=e.startTime)},e.$$.update=()=>{2&e.$$.dirty&&n(2,r=void 0===o||o<Math.floor(Date.now()/1e3))},[i,o,r,()=>n(2,r=!0)]}class NP extends Ly{constructor(e){super(),Py(this,e,IP,RP,wv,{thumbUrl:0,startTime:1},PP)}}const{window:jP}=Lv;function BP(e){Rv(e,"v-4lrwlz",".player-wrapper.v-4lrwlz{--white:#fff;--black:#000;--red:#ff3347;--black-alpha40:rgba(0, 0, 0, 0.40);--videoplayer-controls-height:45px;--videoplayer-controls-fullscreen-height:50px;--videoplayer-controls-gradient-height:100px;--videoplayer-controls-transition-duration:0.25s;--videoplayer-controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--videoplayer-focused-element-shadow:inset 0 0 0 2px #2a5885;--videoplayer-focused-slider-shadow:0 0 0 2px #2a5885;--videoplayer-big-play-size:75px;--videoplayer-big-play-radius:50%;--videoplayer-big-play-bg-color:rgba(0, 0, 0, 0.5);--videoplayer-big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--videoplayer-big-play-icon-width:38px;--videoplayer-big-play-icon-height:33px;--videoplayer-slider-height:5px;--videoplayer-slider-video-episode-gap:1.5px;--videoplayer-slider-radius:calc(var(--videoplayer-slider-height) / 2);--videoplayer-slider-handle-size:13px;--videoplayer-slider-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-loaded-bg:rgba(255, 255, 255, 0.4);--videoplayer-slider-filled-bg:var(--white);--videoplayer-slider-filled-bg-mobile:#0077FF;--videoplayer-slider-filled-active-live-bg:var(--red);--videoplayer-slider-filled-ads:rgba(103, 165, 235, 1);--videoplayer-slider-disabled-color:rgba(248, 248, 248, 0.31);--videoplayer-timeline-preview-shadow:rgba(0, 0, 0, 0.08);--videoplayer-timeline-preview-bg:rgba(34, 34, 34, 1);--videplayer-mobile-settings-bg:#2C2D2E;--videoplayer-button-hover-transition:opacity 0.2s;--videoplayer-video-container-z-index:0;--videoplayer-rotate-transition-duration:0.25s;--videoplayer-white-white-alpha-24:rgba(255, 255, 255, 0.24);--videoplayer-white-white-alpha-72:rgba(255, 255, 255, 0.72);--videoplayer-devider-gray:#dce1e6;--videoplayer-text-gray:#626d7a;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-wrapper.v-4lrwlz .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.player-wrapper.v-4lrwlz{background:var(--black)}.spherical-video-icon.v-4lrwlz{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-4lrwlz,.video-container.v-4lrwlz,.ads-container.v-4lrwlz{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-4lrwlz{z-index:var(--videoplayer-video-container-z-index);background:var(--black)}.video-container.v-4lrwlz{z-index:var(--videoplayer-video-container-z-index);transition:var(--videoplayer-rotate-transition-duration) ease all}.video-container.fast-rotate.v-4lrwlz{transition:none}.nocursor.v-4lrwlz{cursor:none}.ads-container.v-4lrwlz{background:var(--black)}.hidden.v-4lrwlz{visibility:hidden}div{outline:none}")}function FP(e){let t,n,r,i;t=new rk({props:{side:"left",seekStep:e[61].controls.seekStepMobile/1e3,handleSingleFirstClick:e[115],handleSecondClick:e[161]}});let o=!e[51]&&HP(e);return{c(){Ty(t.$$.fragment),n=zv(),o&&o.c(),r=Vv()},m(e,a){Oy(t,e,a),Iv(e,n,a),o&&o.m(e,a),Iv(e,r,a),i=!0},p(e,t){e[51]?o&&(wy(),xy(o,1,1,(()=>{o=null})),_y()):o?(o.p(e,t),1048576&t[1]&&Sy(o,1)):(o=HP(e),o.c(),Sy(o,1),o.m(r.parentNode,r))},i(e){i||(Sy(t.$$.fragment,e),Sy(o),i=!0)},o(e){xy(t.$$.fragment,e),xy(o),i=!1},d(e){e&&(Nv(n),Nv(r)),My(t,e),o&&o.d(e)}}}function HP(e){let t,n;return t=new rk({props:{side:"right",seekStep:e[61].controls.seekStepMobile/1e3,handleSingleFirstClick:e[115],handleSecondClick:e[162]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p:hv,i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function zP(e){var t;let n,r;return n=new NP({props:{thumbUrl:e[1],startTime:null==(t=e[2])?void 0:t.startTime}}),{c(){Ty(n.$$.fragment)},m(e,t){Oy(n,e,t),r=!0},p(e,t){var r;const i={};2&t[0]&&(i.thumbUrl=e[1]),4&t[0]&&(i.startTime=null==(r=e[2])?void 0:r.startTime),n.$set(i)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){My(n,e)}}}function VP(e){let t,n,r;return n=new fE({props:{adsSlotId:e[6],adsParams:e[7],adsPreviewParam:e[8],duration:e[9]}}),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","ads-container v-4lrwlz"),Xv(t,"hidden",e[31]!==yx.Ads)},m(e,i){Iv(e,t,i),Oy(n,t,null),r=!0},p(e,i){const o={};64&i[0]&&(o.adsSlotId=e[6]),128&i[0]&&(o.adsParams=e[7]),256&i[0]&&(o.adsPreviewParam=e[8]),512&i[0]&&(o.duration=e[9]),n.$set(o),(!r||1&i[1])&&Xv(t,"hidden",e[31]!==yx.Ads)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n)}}}function UP(e){let t,n,r,i;const o=[GP,$P],a=[];function s(e,t){return e[12]?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),r=Vv()},m(e,n){a[t].m(e,n),Iv(e,r,n),i=!0},p(e,i){let l=t;t=s(e),t===l?a[t].p(e,i):(wy(),xy(a[l],1,1,(()=>{a[l]=null})),_y(),n=a[t],n?n.p(e,i):(n=a[t]=o[t](e),n.c()),Sy(n,1),n.m(r.parentNode,r))},i(e){i||(Sy(n),i=!0)},o(e){xy(n),i=!1},d(e){e&&Nv(r),a[t].d(e)}}}function $P(e){let t,n;return t=new gk({props:{title:e[16],thumb:e[17],playNextVideo:e[20]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};65536&n[0]&&(r.title=e[16]),131072&n[0]&&(r.thumb=e[17]),1048576&n[0]&&(r.playNextVideo=e[20]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function GP(e){let t,n;return t=new yk({props:{playNextVideo:e[20]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1048576&n[0]&&(r.playNextVideo=e[20]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function qP(e){let t,n;return t=new wP({props:{title:e[0],isHidden:!e[27]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};1&n[0]&&(r.title=e[0]),134217728&n[0]&&(r.isHidden=!e[27]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function WP(e){let t,n;return t=new GA({props:{isShifted:!e[12]&&e[31]===yx.Video&&e[27]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};134221824&n[0]|1&n[1]&&(r.isShifted=!e[12]&&e[31]===yx.Video&&e[27]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function ZP(e){let t,n,r;return{c(){t=Bv("div"),n=Bv("img"),Sv(n.src,r=jy)||qv(n,"src",r),qv(n,"alt",gx("video360")),qv(t,"class","spherical-video-icon v-4lrwlz")},m(e,r){Iv(e,t,r),Dv(t,n)},p:hv,d(e){e&&Nv(t)}}}function YP(e){let t,n;return t=new cP({props:{thumbUrl:e[1],chromecastDeviceName:e[53]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};2&n[0]&&(r.thumbUrl=e[1]),4194304&n[1]&&(r.chromecastDeviceName=e[53]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function KP(e){let t,n;return t=new iP({props:{shifted:e[27],captions:e[55],position:e[47],playerSize:e[28]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};134217728&n[0]&&(r.shifted=e[27]),16777216&n[1]&&(r.captions=e[55]),65536&n[1]&&(r.position=e[47]),268435456&n[0]&&(r.playerSize=e[28]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function QP(e){let t,n,r,i,o;return n=new pP({}),{c(){t=Bv("div"),Ty(n.$$.fragment)},m(a,s){Iv(a,t,s),Oy(n,t,null),r=!0,i||(o=[Uv(t,"contextmenu",$v(e[111])),Uv(t,"click",Gv(e[118]))],i=!0)},p:hv,i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(e){e&&Nv(t),My(n),i=!1,yv(o)}}}function XP(e){let t,n;return t=new LE({props:{supportLink:e[19],returnFocus:e[165],visible:e[45],playerContainerRef:e[34],controlsContainerRef:e[35],x:e[37],y:e[38]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};524288&n[0]&&(r.supportLink=e[19]),8192&n[1]&&(r.returnFocus=e[165]),16384&n[1]&&(r.visible=e[45]),8&n[1]&&(r.playerContainerRef=e[34]),16&n[1]&&(r.controlsContainerRef=e[35]),64&n[1]&&(r.x=e[37]),128&n[1]&&(r.y=e[38]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function JP(e){let t,n;return t=new Mk({}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function eL(e){let t,n;return t=new Wk({}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function tL(e){let t,n;return t=new XE({}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}function nL(e){let t,n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C=e[12]&&e[4]&&e[82]&&!e[50].has(Gy.TIMELINE);t=new gP({props:{hidden:e[31]!==yx.Thumb||e[30]||e[93]&&e[3],thumbUrl:e[1],startVideo:e[107]}});let T=C&&FP(e),O=e[31]===yx.Waiting&&zP(e),M=e[5]&&e[36]&&VP(e),A=e[26]&&e[16]&&e[17]&&UP(e),P=!e[12]&&e[31]===yx.Video&&!e[33]&&qP(e),L=e[48]&&WP(e),D=e[52]&&ZP(),R=e[32]&&YP(e),I="off"!==e[54].value&&KP(e),N=e[61].features.annotations&&function(e){let t,n;return t=new vE({props:{showControls:e[27]}}),{c(){Ty(t.$$.fragment)},m(e,r){Oy(t,e,r),n=!0},p(e,n){const r={};134217728&n[0]&&(r.showControls=e[27]),t.$set(r)},i(e){n||(Sy(t.$$.fragment,e),n=!0)},o(e){xy(t.$$.fragment,e),n=!1},d(e){My(t,e)}}}(e),j=e[30]&&QP(e);function B(t){e[164](t)}let F={bottomHidden:e[31]===yx.Thumb||e[31]===yx.Waiting||e[12]&&e[31]===yx.Ads,showControls:e[27],isAds:e[31]===yx.Ads,canRewindLive:e[4]&&0!==e[56],logoClickable:e[10],logoHidden:e[11],showNextPrevButtons:e[13],nextButtonActive:e[14],prevButtonActive:e[15],isOneVideoPlaylist:e[18],supportLink:e[19],playNextVideo:e[20],playPrevVideo:e[21],repeatPlaylist:e[22],toggleFullscreen:e[109],returnFocus:e[163],seekToInteractive:e[23],toggleGraph:e[24],customFullscreenSupported:e[40]};void 0!==e[35]&&(F.controlsElementRef=e[35]),h=new gA({props:F}),sy.push((()=>Cy(h,"controlsElementRef",B))),v=new EE({props:{isLive:e[57],isHidden:!e[41],isPlaying:e[58],position:e[47],duration:e[46]}}),b=new HA({props:{data:e[102]}});let H=!e[12]&&XP(e),z=e[39]&&JP(),V=e[59]&&eL(),U=e[60]&&tL();return{c(){Ty(t.$$.fragment),n=zv(),T&&T.c(),r=zv(),O&&O.c(),i=zv(),M&&M.c(),o=zv(),A&&A.c(),a=zv(),P&&P.c(),s=zv(),L&&L.c(),l=zv(),D&&D.c(),c=zv(),R&&R.c(),u=zv(),I&&I.c(),d=zv(),N&&N.c(),p=zv(),j&&j.c(),f=zv(),Ty(h.$$.fragment),g=zv(),Ty(v.$$.fragment),y=zv(),Ty(b.$$.fragment),w=zv(),H&&H.c(),_=zv(),z&&z.c(),S=zv(),V&&V.c(),x=zv(),U&&U.c(),E=Vv()},m(e,m){Oy(t,e,m),Iv(e,n,m),T&&T.m(e,m),Iv(e,r,m),O&&O.m(e,m),Iv(e,i,m),M&&M.m(e,m),Iv(e,o,m),A&&A.m(e,m),Iv(e,a,m),P&&P.m(e,m),Iv(e,s,m),L&&L.m(e,m),Iv(e,l,m),D&&D.m(e,m),Iv(e,c,m),R&&R.m(e,m),Iv(e,u,m),I&&I.m(e,m),Iv(e,d,m),N&&N.m(e,m),Iv(e,p,m),j&&j.m(e,m),Iv(e,f,m),Oy(h,e,m),Iv(e,g,m),Oy(v,e,m),Iv(e,y,m),Oy(b,e,m),Iv(e,w,m),H&&H.m(e,m),Iv(e,_,m),z&&z.m(e,m),Iv(e,S,m),V&&V.m(e,m),Iv(e,x,m),U&&U.m(e,m),Iv(e,E,m),k=!0},p(e,n){const p={};1073741832&n[0]|1&n[1]&&(p.hidden=e[31]!==yx.Thumb||e[30]||e[93]&&e[3]),2&n[0]&&(p.thumbUrl=e[1]),t.$set(p),4112&n[0]|524288&n[1]&&(C=e[12]&&e[4]&&e[82]&&!e[50].has(Gy.TIMELINE)),C?T?(T.p(e,n),4112&n[0]|524288&n[1]&&Sy(T,1)):(T=FP(e),T.c(),Sy(T,1),T.m(r.parentNode,r)):T&&(wy(),xy(T,1,1,(()=>{T=null})),_y()),e[31]===yx.Waiting?O?(O.p(e,n),1&n[1]&&Sy(O,1)):(O=zP(e),O.c(),Sy(O,1),O.m(i.parentNode,i)):O&&(wy(),xy(O,1,1,(()=>{O=null})),_y()),e[5]&&e[36]?M?(M.p(e,n),32&n[0]|32&n[1]&&Sy(M,1)):(M=VP(e),M.c(),Sy(M,1),M.m(o.parentNode,o)):M&&(wy(),xy(M,1,1,(()=>{M=null})),_y()),e[26]&&e[16]&&e[17]?A?(A.p(e,n),67305472&n[0]&&Sy(A,1)):(A=UP(e),A.c(),Sy(A,1),A.m(a.parentNode,a)):A&&(wy(),xy(A,1,1,(()=>{A=null})),_y()),e[12]||e[31]!==yx.Video||e[33]?P&&(wy(),xy(P,1,1,(()=>{P=null})),_y()):P?(P.p(e,n),4096&n[0]|5&n[1]&&Sy(P,1)):(P=qP(e),P.c(),Sy(P,1),P.m(s.parentNode,s)),e[48]?L?(L.p(e,n),131072&n[1]&&Sy(L,1)):(L=WP(e),L.c(),Sy(L,1),L.m(l.parentNode,l)):L&&(wy(),xy(L,1,1,(()=>{L=null})),_y()),e[52]?D?D.p(e,n):(D=ZP(),D.c(),D.m(c.parentNode,c)):D&&(D.d(1),D=null),e[32]?R?(R.p(e,n),2&n[1]&&Sy(R,1)):(R=YP(e),R.c(),Sy(R,1),R.m(u.parentNode,u)):R&&(wy(),xy(R,1,1,(()=>{R=null})),_y()),"off"!==e[54].value?I?(I.p(e,n),8388608&n[1]&&Sy(I,1)):(I=KP(e),I.c(),Sy(I,1),I.m(d.parentNode,d)):I&&(wy(),xy(I,1,1,(()=>{I=null})),_y()),e[61].features.annotations&&N.p(e,n),e[30]?j?(j.p(e,n),1073741824&n[0]&&Sy(j,1)):(j=QP(e),j.c(),Sy(j,1),j.m(f.parentNode,f)):j&&(wy(),xy(j,1,1,(()=>{j=null})),_y());const g={};4096&n[0]|1&n[1]&&(g.bottomHidden=e[31]===yx.Thumb||e[31]===yx.Waiting||e[12]&&e[31]===yx.Ads),134217728&n[0]&&(g.showControls=e[27]),1&n[1]&&(g.isAds=e[31]===yx.Ads),16&n[0]|33554432&n[1]&&(g.canRewindLive=e[4]&&0!==e[56]),1024&n[0]&&(g.logoClickable=e[10]),2048&n[0]&&(g.logoHidden=e[11]),8192&n[0]&&(g.showNextPrevButtons=e[13]),16384&n[0]&&(g.nextButtonActive=e[14]),32768&n[0]&&(g.prevButtonActive=e[15]),262144&n[0]&&(g.isOneVideoPlaylist=e[18]),524288&n[0]&&(g.supportLink=e[19]),1048576&n[0]&&(g.playNextVideo=e[20]),2097152&n[0]&&(g.playPrevVideo=e[21]),4194304&n[0]&&(g.repeatPlaylist=e[22]),8192&n[1]&&(g.returnFocus=e[163]),8388608&n[0]&&(g.seekToInteractive=e[23]),16777216&n[0]&&(g.toggleGraph=e[24]),512&n[1]&&(g.customFullscreenSupported=e[40]),!m&&16&n[1]&&(m=!0,g.controlsElementRef=e[35],fy((()=>m=!1))),h.$set(g);const y={};67108864&n[1]&&(y.isLive=e[57]),1024&n[1]&&(y.isHidden=!e[41]),134217728&n[1]&&(y.isPlaying=e[58]),65536&n[1]&&(y.position=e[47]),32768&n[1]&&(y.duration=e[46]),v.$set(y),e[12]?H&&(wy(),xy(H,1,1,(()=>{H=null})),_y()):H?(H.p(e,n),4096&n[0]&&Sy(H,1)):(H=XP(e),H.c(),Sy(H,1),H.m(_.parentNode,_)),e[39]?z?256&n[1]&&Sy(z,1):(z=JP(),z.c(),Sy(z,1),z.m(S.parentNode,S)):z&&(wy(),xy(z,1,1,(()=>{z=null})),_y()),e[59]?V?268435456&n[1]&&Sy(V,1):(V=eL(),V.c(),Sy(V,1),V.m(x.parentNode,x)):V&&(wy(),xy(V,1,1,(()=>{V=null})),_y()),e[60]?U?536870912&n[1]&&Sy(U,1):(U=tL(),U.c(),Sy(U,1),U.m(E.parentNode,E)):U&&(wy(),xy(U,1,1,(()=>{U=null})),_y())},i(e){k||(Sy(t.$$.fragment,e),Sy(T),Sy(O),Sy(M),Sy(A),Sy(P),Sy(L),Sy(R),Sy(I),Sy(N),Sy(j),Sy(h.$$.fragment,e),Sy(v.$$.fragment,e),Sy(b.$$.fragment,e),Sy(H),Sy(z),Sy(V),Sy(U),k=!0)},o(e){xy(t.$$.fragment,e),xy(T),xy(O),xy(M),xy(A),xy(P),xy(L),xy(R),xy(I),xy(N),xy(j),xy(h.$$.fragment,e),xy(v.$$.fragment,e),xy(b.$$.fragment,e),xy(H),xy(z),xy(V),xy(U),k=!1},d(e){e&&(Nv(n),Nv(r),Nv(i),Nv(o),Nv(a),Nv(s),Nv(l),Nv(c),Nv(u),Nv(d),Nv(p),Nv(f),Nv(g),Nv(y),Nv(w),Nv(_),Nv(S),Nv(x),Nv(E)),My(t,e),T&&T.d(e),O&&O.d(e),M&&M.d(e),A&&A.d(e),P&&P.d(e),L&&L.d(e),D&&D.d(e),R&&R.d(e),I&&I.d(e),N&&N.d(e),j&&j.d(e),My(h,e),My(v,e),My(b,e),H&&H.d(e),z&&z.d(e),V&&V.d(e),U&&U.d(e)}}}function rL(e){let t,n,r,i,o,a,s,l,c=e[49],u=nL(e);return{c(){t=Bv("div"),n=Bv("div"),i=zv(),u.c(),o=Vv(),qv(n,"class","video-container v-4lrwlz"),qv(n,"style",r=`transform: rotate(${e[29]}deg) scale(${e[43]})`),Xv(n,"fast-rotate",!e[61].isSmoothVideoRotate),qv(t,"class","video-wrapper v-4lrwlz"),Xv(t,"hidden",e[31]!==yx.Video),Xv(t,"nocursor",e[42])},m(r,c){Iv(r,t,c),Dv(t,n),e[160](n),Iv(r,i,c),u.m(r,c),Iv(r,o,c),a=!0,s||(l=[Uv(t,"contextmenu",$v(e[111])),Uv(t,"mousedown",$v((function(){bv(e[12]?Io:e[112])&&(e[12]?Io:e[112]).apply(this,arguments)}))),Uv(t,"mouseup",$v((function(){bv(e[12]?Io:e[113])&&(e[12]?Io:e[113]).apply(this,arguments)}))),Uv(t,"click",$v(e[115])),Uv(t,"dblclick",$v((function(){bv(e[12]?Io:e[114])&&(e[12]?Io:e[114]).apply(this,arguments)})))],s=!0)},p(i,s){e=i,(!a||536870912&s[0]|4096&s[1]&&r!==(r=`transform: rotate(${e[29]}deg) scale(${e[43]})`))&&qv(n,"style",r),(!a||1&s[1])&&Xv(t,"hidden",e[31]!==yx.Video),(!a||2048&s[1])&&Xv(t,"nocursor",e[42]),262144&s[1]&&wv(c,c=e[49])?(wy(),xy(u,1,1,hv),_y(),u=nL(e),u.c(),Sy(u,1),u.m(o.parentNode,o)):u.p(e,s)},i(e){a||(Sy(u),a=!0)},o(e){xy(u),a=!1},d(n){n&&(Nv(t),Nv(i),Nv(o)),e[160](null),u.d(n),s=!1,yv(l)}}}function iL(e){let t,n,r,i,o,a={toggleFullscreen:e[109],hideContextMenu:e[110],showHotKeyHelpers:e[116],showKeyMap:e[117],isAds:e[31]===yx.Ads,$$slots:{default:[rL]},$$scope:{ctx:e}};return n=new Ck({props:a}),e[166](n),{c(){t=Bv("div"),Ty(n.$$.fragment),qv(t,"class","player-wrapper v-4lrwlz")},m(a,s){Iv(a,t,s),Oy(n,t,null),e[167](t),r=!0,i||(o=[Uv(jP,"blur",e[110]),Uv(t,"mouseenter",(function(){bv(e[12]?Io:e[104])&&(e[12]?Io:e[104]).apply(this,arguments)})),Uv(t,"mouseleave",(function(){bv(e[12]?Io:e[105])&&(e[12]?Io:e[105]).apply(this,arguments)})),Uv(t,"mousemove",(function(){bv(e[12]?Io:e[106])&&(e[12]?Io:e[106]).apply(this,arguments)})),Uv(t,"click",e[119],!0)],i=!0)},p(t,r){e=t;const i={};1&r[1]&&(i.isAds=e[31]===yx.Ads),2147483647&r[0]|1073741823&r[1]|256&r[6]&&(i.$$scope={dirty:r,ctx:e}),n.$set(i)},i(e){r||(Sy(n.$$.fragment,e),r=!0)},o(e){xy(n.$$.fragment,e),r=!1},d(r){r&&Nv(t),e[166](null),My(n),e[167](null),i=!1,yv(o)}}}function oL(e){return e?e.offsetTop+oL(e.offsetParent):0}function aL(e,t,n){let r,i,o,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,_,S,x,E,k,C,T,O,M,A,P,L,D,R,I,N,j,B,F,H,z,{sources:V}=t,{store:U}=t,{uiConfig:$}=t,{title:G}=t,{thumbUrl:q}=t,{interactiveContainer:W}=t,{subtitles:Z}=t,{live:Y}=t,{preload:K}=t,{autoplay:Q}=t,{volume:X}=t,{muted:J}=t,{fromTime:ee}=t,{canRewindLive:te}=t,{showAds:ne}=t,{adsSlotId:re}=t,{adsParams:ie}=t,{adsPreviewParam:oe}=t,{duration:ae}=t,{logoClickable:se}=t,{logoHidden:le}=t,{isMobile:ce}=t,{showNextPrevButtons:ue=!1}=t,{nextButtonActive:de=!1}=t,{prevButtonActive:pe=!1}=t,{endScreenVideoTitle:fe}=t,{endScreenVideoThumb:he}=t,{isOneVideoPlaylist:me=!1}=t,{supportLink:ge}=t,{outerContainerRef:ve}=t,{playNextVideo:ye=Io}=t,{playPrevVideo:be=Io}=t,{repeatPlaylist:we=Io}=t,{fullScreenTarget:_e}=t,{failoverHosts:Se}=t,{seekToInteractive:xe}=t,{showMiniTimer:Ee=!1}=t,{toggleGraph:ke}=t;(e=>{ry("ui-config",e)})($);const Ce=Fy();U.setUiCallbacks({onStarted:e=>{clearTimeout(St),ce&&e?(qe.set(!0),Ge.set(!0),St=window.setTimeout((()=>{Ge.set(!1)}),Ce.controls.collapseMobileUnmute),lt||Vt(Ce.controls.hideTimeoutMobile)):Q&&!lt&&Vt(Ce.controls.hideTimeout)}}),U.getAdmanWrapper().init({switchFromAdsToVideo:U.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:U.actions.internal.switchFromVideoToAds,setMuted:U.actions.external.setMuted},U.ads,{isMobile:U.ui.isMobile,mobileUnmuteButtonVisible:U.ui.mobileUnmuteButtonVisible,vsid:U.vsid});const Te=U.getLogger().createComponentLog("Root component"),Oe=U.interfaceLanguage$;kv(e,Oe,(e=>n(49,A=e)));const Me=U.state.playbackState$;kv(e,Me,(e=>n(157,T=e)));const Ae=U.ads.playbackState;kv(e,Ae,(e=>n(158,O=e)));const Pe=U.state.positionWithScrubbing$;kv(e,Pe,(e=>n(47,p=e)));const Le=U.state.duration$;kv(e,Le,(e=>n(46,d=e)));const De=U.playerPhase;kv(e,De,(e=>n(31,S=e)));const Re=U.ui.isFullscreen;kv(e,Re,(e=>n(176,l=e)));const Ie=U.ui.controlsVisible;kv(e,Ie,(e=>n(27,a=e)));const Ne=U.ui.settingsMenuVisible;kv(e,Ne,(e=>n(148,r=e)));const je=U.ui.scrubbingInProgress;kv(e,je,(e=>n(150,g=e)));const Be=U.ui.contextMenuVisible;kv(e,Be,(e=>n(45,i=e)));const Fe=U.ui.debugPanelVisible;kv(e,Fe,(e=>n(60,z=e)));const He=U.state.isLoaderVisible;kv(e,He,(e=>n(159,M=e)));const ze=U.state.isEnded$;kv(e,ze,(e=>n(149,s=e)));const Ve=U.state.chromecastConnected$;kv(e,Ve,(e=>n(32,E=e)));const Ue=U.state.chromecastDeviceName$;kv(e,Ue,(e=>n(53,R=e)));const $e=U.ads.postrollPassed;kv(e,$e,(e=>n(153,w=e)));const Ge=U.ui.mobileUnmuteButtonExpanded,qe=U.ui.mobileUnmuteButtonVisible,We=U.state.isLive$;kv(e,We,(e=>n(57,B=e)));const Ze=U.state.isPlaying$;kv(e,Ze,(e=>n(58,F=e)));const Ye=U.state.isActiveLive$;kv(e,Ye,(e=>n(51,L=e)));const Ke=U.state.isRewindableLive$,Qe=U.state.crashed$;kv(e,Qe,(e=>n(30,b=e)));const Xe=U.webApi.pictureInPictureApi,Je=U.state.videoSize$;kv(e,Je,(e=>n(177,u=e)));const et=U.state.currentSubtitle$;kv(e,et,(e=>n(54,I=e)));const tt=U.state.currentSubtitleCaptions$;kv(e,tt,(e=>n(55,N=e)));const nt=U.state.duration$;kv(e,nt,(e=>n(56,j=e)));const rt=U.state.graphIsOpened$;kv(e,rt,(e=>n(33,C=e)));const it=U.ui.playerSize;kv(e,it,(e=>n(28,c=e)));const ot=U.ui.is3DVideo;kv(e,ot,(e=>n(48,h=e)));const at=U.ui.icon3DVideoVisible;kv(e,at,(e=>n(52,D=e)));const st=U.ui.rotateAlpha;kv(e,st,(e=>n(29,m=e)));const lt=U.state.isInteractive,ct=U.state.isInteractiveTime$;kv(e,ct,(e=>n(151,v=e)));const ut=U.state.isInteractiveExpectation$;kv(e,ut,(e=>n(156,k=e)));const dt=U.state.hasInteractiveBranches,pt=U.ui.controls.disabledControls$;kv(e,pt,(e=>n(50,P=e)));const ft=U.ui.touched;kv(e,ft,(e=>n(154,_=e)));const ht=U.ui.modals.hotKeyMap.data;kv(e,ht,(e=>n(175,o=e)));const mt=U.ui.modals.hotKeyMap.show;kv(e,mt,(e=>n(59,H=e)));const gt=U.ui.clientInfo$;kv(e,gt,(e=>n(178,f=e))),(e=>{ry(Qy,e)})(U);let vt,yt,bt,wt,_t,St,xt,Et,kt=null,Ct=!1,Tt=0,Ot=0;ht.set({title:gx("hotkey_map_modal_title"),closeBtnText:gx("hotkey_map_modal_close_btn_text"),groups:[{title:gx("hotkey_map_group_title_common"),items:[{description:gx("hotkey_map_item_mute_description"),value:gx("hotkey_map_item_mute_value")},{description:gx("hotkey_map_item_volume_up_description"),value:gx("hotkey_map_item_volume_up_value")},{description:gx("hotkey_map_item_volume_down_description"),value:gx("hotkey_map_item_volume_down_value")},{description:gx("hotkey_map_item_pip_description"),value:gx("hotkey_map_item_pip_value")},{description:gx("hotkey_map_item_full_screen_description"),value:gx("hotkey_map_item_full_screen_value")},{description:gx("hotkey_map_item_show_hotkey_map_description"),value:gx("hotkey_map_item_show_hotkey_map_value")}]},{title:gx("hotkey_map_group_title_playback"),items:[{description:gx("hotkey_map_item_play_toggle_description"),value:gx("hotkey_map_item_play_toggle_value")},{description:gx("hotkey_map_item_seek_backward_description"),value:gx("hotkey_map_item_seek_backward_value")},{description:gx("hotkey_map_item_seek_forward_description"),value:gx("hotkey_map_item_seek_forward_value")},{description:gx("hotkey_map_item_fast_seek_backward_description"),value:gx("hotkey_map_item_fast_seek_backward_value")},{description:gx("hotkey_map_item_fast_seek_forward_description"),value:gx("hotkey_map_item_fast_seek_forward_value")},{description:gx("hotkey_map_item_rate_down_description"),value:gx("hotkey_map_item_rate_down_value")},{description:gx("hotkey_map_item_rate_up_description"),value:gx("hotkey_map_item_rate_up_value")},{description:gx("hotkey_map_item_prev_frame_description"),value:gx("hotkey_map_item_prev_frame_value")},{description:gx("hotkey_map_item_next_frame_description"),value:gx("hotkey_map_item_next_frame_value")},{description:gx("hotkey_map_item_jump_seek_description"),value:gx("hotkey_map_item_jump_seek_value")}]},{title:gx("hotkey_map_group_title_subtitles"),items:[{description:gx("hotkey_map_item_subtitles_toggle_description"),value:gx("hotkey_map_item_subtitles_toggle_value")}]},{title:gx("hotkey_map_group_title_episodes"),items:[{description:gx("hotkey_map_item_prev_episode_description"),value:Wo()?gx("hotkey_map_item_prev_episode_mac_value"):gx("hotkey_map_item_prev_episode_pc_value")},{description:gx("hotkey_map_item_next_episode_description"),value:Wo()?gx("hotkey_map_item_next_episode_mac_value"):gx("hotkey_map_item_next_episode_pc_value")}]}]});const Mt=Iy(!1);kv(e,Mt,(e=>n(155,x=e)));const At=Iy(),Pt=Iy(!1);kv(e,Pt,(e=>n(152,y=e)));let Lt,Dt,Rt,It,Nt,jt=!1,Bt=!1,Ft=!0;const Ht=()=>{window.clearTimeout(wt),Mt.set(!1)},zt=()=>{window.clearTimeout(_t),At.set(null)},Vt=e=>{Ht(),Mt.set(!0),wt=window.setTimeout((()=>Mt.set(!1)),e)};let Ut,$t,Gt,qt=!1,Wt=!1;Hx(Xe)&&Xe.setDummyDependencies({title:gx("pip_dummy_title"),isMobile$:U.ui.isMobile});const Zt=ot.subscribe((e=>{at.set(e),e&&(window.clearTimeout(xt),xt=window.setTimeout((()=>at.set(!1)),Ce.controls.hide360IconTimeout))}));function Yt(e){if(vt){const t=oL(e.currentTarget),i=c.height,o=e.pageY-t;o<45?n(141,Bt=!0):o>i-45?n(140,jt=!0):(n(141,Bt=!1),r||n(140,jt=!1))}}const Kt=e=>{const t=e;it.set({width:t.target.width,height:t.target.height})},Qt=(e=!1)=>{n(36,Ct=!0),e?U.actions.external.firstStart(ne):U.actions.internal.firstStart(ne)};function Xt(e){var t;const n=V||e;n&&U.initVideo({container:yt,sources:n,failoverHosts:Se,subtitles:Z});const r="true"===Jo.get(Hy);Fe.set(r),Vx(Xe)&&(null==Xe||Xe.assignPlayerContainer(vt),null==Xe||Xe.updateVideoElement(),null==Xe||Xe.registryEventHandlers(),null==Xe||Xe.registryExternalEventHandlers({resize:Kt})),ee>0&&U.actions.external.seekTime(ee);const i=ce?Ce.volumeDefault:null!=(t=null!=X?X:Ax())?t:Ce.volumeDefault,o=null!=J?J:Dx(Cx);if(U.actions.external.setVolume(i),U.actions.external.setMuted(o),U.getAdmanWrapper().setInitialVolume(o?0:i),Ce.features.trafficSaving){const e=Dx(Ex);e&&U.actions.internal.setTrafficSavingEnabled(e)}const a=(e=>{const t=Jo.get(Tx);if(zo(t))return;const{videoId:n,value:r}=JSON.parse(t);if(e===n)return r;Px()})(U.videoId);a&&U.actions.internal.setQuality(a),U.ui.isAutoplay.set(Q),Q?Qt():K&&Ce.features.preload&&U.actions.internal.preload()}function Jt(e){U.actions.internal.seekTime(e,Mg.UNKNOWN)}ty((()=>{var e;(e=>{document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e)})(nn),(e=>{if(window.ResizeObserver){let t,n;kt=new ResizeObserver(lv((e=>{const r=e[0];if(r){if(r.contentBoxSize){const e=Array.isArray(r.contentBoxSize)?r.contentBoxSize[0]:r.contentBoxSize;t=e.inlineSize,n=e.blockSize}else r.contentRect&&(t=r.contentRect.width,n=r.contentRect.height);it.set({width:t,height:n})}}),300)),kt.observe(e)}it.set({width:e.clientWidth,height:e.clientHeight})})(vt);if("upcoming"!==(null==Y?void 0:Y.status)&&"waiting"!==(null==Y?void 0:Y.status))return n(40,Ft=!_P(f)),Xt(),W&&(null==(e=yt.parentElement)||e.insertBefore(W,yt.nextSibling)),()=>{window.clearTimeout(wt),window.clearTimeout(_t),window.clearTimeout(St),window.clearTimeout(xt),Zt(),null==Xe||Xe.dispose(),(e=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)})(nn),null==kt||kt.disconnect(),U.destroy()};U.actions.internal.setWaitingLive(!0)}));const en=e=>{let t=p+("forward"===e?1:-1)*Ce.controls.seekStepMobile/1e3;t<0?t=0:t>d&&(t=d-1),ce&&n(146,qt=!0),Jt(t)},tn=async()=>{if(xx())await(e=>e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():Promise.reject())(document),Te({message:"exit fullscreen"});else{Te({message:"request fullscreen"});const e=null!=ve?ve:vt,t=e.getRootNode(),n=t instanceof ShadowRoot?t.host:t,r=_e instanceof HTMLElement&&_e.contains(n),i=Ce.allowChangingFullscreenTarget&&_e&&r?_e:e;await(e=>{if(e.requestFullscreen)return e.requestFullscreen();if(e.msRequestFullscreen)return e.msRequestFullscreen();if(e.webkitRequestFullscreen)return e.webkitRequestFullscreen();if(e.mozRequestFullScreen)return e.mozRequestFullScreen();const t=e.querySelector("video");return null!=t&&t.webkitEnterFullscreen?t.webkitEnterFullscreen():Promise.reject()})(i)}},nn=async()=>{var e,t,n,r;const i=xx();if(i){Vt(Ce.controls.hideTimeoutFullscreen);try{await(null==Xe?void 0:Xe.remove())}catch(e){Te({message:String(e)})}if(ce)try{const e=null!=u&&u.width&&null!=u&&u.height?u:c;await(e=>{const t=window.screen;return(async e=>t.orientation?t.orientation.lock(e):t.mozLockOrientation?t.mozLockOrientation(e):t.msLockOrientation?t.msLockOrientation(e):Promise.reject())(((e={width:0,height:0})=>e.width<=e.height?"portrait":"landscape")(e))})(e)}catch(e){Te({message:String(e)})}}Re.set(i),U.getAdmanWrapper().setFullscreen(i),l?null==(t=null==(e=U.callbacks)?void 0:e.onFullscreenEnter)||t.call(e):null==(r=null==(n=U.callbacks)?void 0:n.onFullscreenExit)||r.call(n)},rn=()=>{Ne.set(!1),Be.set(!1)};let on=null,sn=!1;let ln;return e.$$set=e=>{"sources"in e&&n(120,V=e.sources),"store"in e&&n(121,U=e.store),"uiConfig"in e&&n(122,$=e.uiConfig),"title"in e&&n(0,G=e.title),"thumbUrl"in e&&n(1,q=e.thumbUrl),"interactiveContainer"in e&&n(123,W=e.interactiveContainer),"subtitles"in e&&n(124,Z=e.subtitles),"live"in e&&n(2,Y=e.live),"preload"in e&&n(125,K=e.preload),"autoplay"in e&&n(3,Q=e.autoplay),"volume"in e&&n(126,X=e.volume),"muted"in e&&n(127,J=e.muted),"fromTime"in e&&n(128,ee=e.fromTime),"canRewindLive"in e&&n(4,te=e.canRewindLive),"showAds"in e&&n(5,ne=e.showAds),"adsSlotId"in e&&n(6,re=e.adsSlotId),"adsParams"in e&&n(7,ie=e.adsParams),"adsPreviewParam"in e&&n(8,oe=e.adsPreviewParam),"duration"in e&&n(9,ae=e.duration),"logoClickable"in e&&n(10,se=e.logoClickable),"logoHidden"in e&&n(11,le=e.logoHidden),"isMobile"in e&&n(12,ce=e.isMobile),"showNextPrevButtons"in e&&n(13,ue=e.showNextPrevButtons),"nextButtonActive"in e&&n(14,de=e.nextButtonActive),"prevButtonActive"in e&&n(15,pe=e.prevButtonActive),"endScreenVideoTitle"in e&&n(16,fe=e.endScreenVideoTitle),"endScreenVideoThumb"in e&&n(17,he=e.endScreenVideoThumb),"isOneVideoPlaylist"in e&&n(18,me=e.isOneVideoPlaylist),"supportLink"in e&&n(19,ge=e.supportLink),"outerContainerRef"in e&&n(129,ve=e.outerContainerRef),"playNextVideo"in e&&n(20,ye=e.playNextVideo),"playPrevVideo"in e&&n(21,be=e.playPrevVideo),"repeatPlaylist"in e&&n(22,we=e.repeatPlaylist),"fullScreenTarget"in e&&n(130,_e=e.fullScreenTarget),"failoverHosts"in e&&n(131,Se=e.failoverHosts),"seekToInteractive"in e&&n(23,xe=e.seekToInteractive),"showMiniTimer"in e&&n(132,Ee=e.showMiniTimer),"toggleGraph"in e&&n(24,ke=e.toggleGraph)},e.$$.update=()=>{1073741824&e.$$.dirty[0]|1&e.$$.dirty[1]|24&e.$$.dirty[5]&&n(39,Et=(S===yx.Video&&M||S===yx.Ads&&O===wx.INACTIVE)&&!b),4&e.$$.dirty[5]&&n(142,Lt=T!==an.PLAYING),134676480&e.$$.dirty[4]|2&e.$$.dirty[5]&&n(143,Dt=v&&!(jt||Bt)&&!(Lt&&!k)),4&e.$$.dirty[1]|33816576&e.$$.dirty[4]|3&e.$$.dirty[5]&&n(144,Rt=C||!x&&(s&&!!dt||Lt&&k)),4096&e.$$.dirty[0]|1572864&e.$$.dirty[4]&&n(145,It=ce?Rt:Dt),1073741824&e.$$.dirty[0]|3&e.$$.dirty[1]|90439680&e.$$.dirty[4]|1&e.$$.dirty[5]&&Ie.set((Lt||r||g||E||x&&!qt)&&!It&&S===yx.Video&&!b),1207959552&e.$$.dirty[0]|1&e.$$.dirty[1]|1073742080&e.$$.dirty[4]&&n(41,Nt=Ce.features.thumbTimer&&Ee&&S===yx.Video&&!a&&!b&&(Ce.hideThumbTimerAfterTouch&&!_||!Ce.hideThumbTimerAfterTouch)),1073741856&e.$$.dirty[0]|570425344&e.$$.dirty[4]&&n(26,Ut=(ne&&w||!ne)&&s&&!b),201326592&e.$$.dirty[0]|402653184&e.$$.dirty[4]&&n(42,$t=y&&!(a||Ut)&&!v),4096&e.$$.dirty[0]|268435456&e.$$.dirty[3]&&U.ui.isMobile.set(ce),4096&e.$$.dirty[0]|209715200&e.$$.dirty[4]&&(!g&&Wt&&!v&&Vt(ce?Ce.controls.hideTimeoutMobile:Ce.controls.hideTimeoutCursor),n(147,Wt=g)),838860800&e.$$.dirty[0]&&n(43,Gt=yt&&m%180?c.height/c.width:1)},[G,q,Y,Q,te,ne,re,ie,oe,ae,se,le,ce,ue,de,pe,fe,he,me,ge,ye,be,we,xe,ke,yt,Ut,a,c,m,b,S,E,C,vt,bt,Ct,Tt,Ot,Et,Ft,Nt,$t,Gt,ln,i,d,p,h,A,P,L,D,R,I,N,j,B,F,H,z,Ce,Oe,Me,Ae,Pe,Le,De,Re,Ie,Ne,je,Be,Fe,He,ze,Ve,Ue,$e,We,Ze,Ye,Ke,Qe,Je,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,pt,ft,ht,mt,gt,Mt,At,Pt,function(){Pt.set(!0),lt||Vt(Ce.controls.hideTimeoutCursor)},function(){Pt.set(!1),n(141,Bt=!1),n(140,jt=!1),sn=!1,U.actions.internal.releaseCamera()},function(e){Yt(e),It||Vt(Ce.controls.hideTimeoutCursor),h&&sn&&on&&U.actions.internal.moveCameraFocusPX(on.clientX-e.clientX,on.clientY-e.clientY,e.timeStamp-on.timeStamp),on=e},Qt,en,tn,rn,e=>{Be.set(!0),n(37,Tt=e.clientX),n(38,Ot=e.clientY)},e=>{0===e.button&&(sn=!0,U.actions.internal.holdCamera()),Vt(ce?Ce.controls.hideTimeoutMobile:Ce.controls.hideTimeoutCursor)},e=>{0===e.button&&(on=e,sn=!1,U.actions.internal.releaseCamera()),Vt(ce?Ce.controls.hideTimeoutMobile:Ce.controls.hideTimeoutCursor)},()=>{Ft&&(Te({message:"double click on video"}),tn(),Vt(ce?Ce.controls.hideTimeoutMobile:Ce.controls.hideTimeoutCursor))},()=>{if(i||r)rn();else if(!s||ce&&dt){if(null==ln||ln.focus(),!Ct)return Qt(),void Vt(Ce.controls.hideTimeoutCursor);ce?(n(146,qt=!1),a?(Ht(),zt()):Vt(Ce.controls.hideTimeoutMobile)):(U.actions.internal.togglePlay(),Vt(Ce.controls.hideTimeoutCursor))}},e=>{rn(),ft.set(!0),Vt(Ce.controls.hideTimeout),e&&((e,t)=>{zt(),At.set(t),_t=window.setTimeout((()=>At.set(null)),e)})(Ce.controls.hideHotKeyHelpers,e)},()=>{var e,t;rn(),null!=(e=U.callbacks)&&e.onOpenHotKeyMap?null==(t=U.callbacks)||t.onOpenHotKeyMap(o):mt.update((e=>!e))},()=>{(i||r)&&rn()},()=>{ft.set(!0)},V,U,$,W,Z,K,X,J,ee,ve,_e,Se,Ee,Xt,function(){Ct?U.actions.external.play():Qt(!0)},function(){U.actions.external.pause()},function(e){ce||U.actions.external.setMuted(e)},function(e){ce||e>=0&&e<=1&&U.actions.external.setVolume(e)},Jt,function(e){U.actions.external.seekEpisodeStartTime(e)},jt,Bt,Lt,Dt,Rt,It,qt,Wt,r,s,g,v,y,w,_,x,k,T,O,M,function(e){sy[e?"unshift":"push"]((()=>{yt=e,n(25,yt)}))},()=>en("backward"),()=>en("forward"),()=>null==ln?void 0:ln.focus(),function(e){bt=e,n(35,bt)},()=>null==ln?void 0:ln.focus(),function(e){sy[e?"unshift":"push"]((()=>{ln=e,n(44,ln)}))},function(e){sy[e?"unshift":"push"]((()=>{vt=e,n(34,vt)}))}]}class sL extends Ly{constructor(e){super(),Py(this,e,aL,iL,wv,{sources:120,store:121,uiConfig:122,title:0,thumbUrl:1,interactiveContainer:123,subtitles:124,live:2,preload:125,autoplay:3,volume:126,muted:127,fromTime:128,canRewindLive:4,showAds:5,adsSlotId:6,adsParams:7,adsPreviewParam:8,duration:9,logoClickable:10,logoHidden:11,isMobile:12,showNextPrevButtons:13,nextButtonActive:14,prevButtonActive:15,endScreenVideoTitle:16,endScreenVideoThumb:17,isOneVideoPlaylist:18,supportLink:19,outerContainerRef:129,playNextVideo:20,playPrevVideo:21,repeatPlaylist:22,fullScreenTarget:130,failoverHosts:131,seekToInteractive:23,showMiniTimer:132,toggleGraph:24,initVideo:133,play:134,pause:135,setMuted:136,setVolume:137,seekTime:138,seekEpisodeStartTime:139},BP,[-1,-1,-1,-1,-1,-1,-1])}get initVideo(){return this.$$.ctx[133]}get play(){return this.$$.ctx[134]}get pause(){return this.$$.ctx[135]}get setMuted(){return this.$$.ctx[136]}get setVolume(){return this.$$.ctx[137]}get seekTime(){return this.$$.ctx[138]}get seekEpisodeStartTime(){return this.$$.ctx[139]}}var lL="data:image/svg+xml,%3csvg width='57' height='60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z' fill='%23909499'/%3e%3c/svg%3e";function cL(e){Rv(e,"v-1oqts7t",".playerStub.v-1oqts7t{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.stubImage.v-1oqts7t{height:60px}.stubImage-white.v-1oqts7t{filter:brightness(0) invert(1)}.title.v-1oqts7t{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function uL(e){let t,n;return{c(){t=Bv("div"),n=Hv(e[0]),qv(t,"class","title v-1oqts7t")},m(e,r){Iv(e,t,r),Dv(t,n)},p(e,t){1&t&&Wv(n,e[0])},d(e){e&&Nv(t)}}}function dL(e){let t,n;return{c(){t=Bv("img"),Sv(t.src,n=lL)||qv(t,"src",n),qv(t,"class","stubImage v-1oqts7t"),qv(t,"alt",""),Xv(t,"stubImage-white",e[1]||"")},m(e,n){Iv(e,t,n)},p(e,n){2&n&&Xv(t,"stubImage-white",e[1]||"")},d(e){e&&Nv(t)}}}function pL(e){let t,n,r,i=e[0]&&uL(e),o=(!e[0]||!e[1])&&dL(e);return{c(){t=Bv("div"),i&&i.c(),n=zv(),o&&o.c(),qv(t,"class","playerStub v-1oqts7t"),qv(t,"style",r=e[1]?`background-image: url('${e[1]}')`:"")},m(e,r){Iv(e,t,r),i&&i.m(t,null),Dv(t,n),o&&o.m(t,null)},p(e,[a]){e[0]?i?i.p(e,a):(i=uL(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),e[0]&&e[1]?o&&(o.d(1),o=null):o?o.p(e,a):(o=dL(e),o.c(),o.m(t,null)),2&a&&r!==(r=e[1]?`background-image: url('${e[1]}')`:"")&&qv(t,"style",r)},i:hv,o:hv,d(e){e&&Nv(t),i&&i.d(),o&&o.d()}}}function fL(e,t,n){let{title:r}=t,{thumbUrl:i}=t;return e.$$set=e=>{"title"in e&&n(0,r=e.title),"thumbUrl"in e&&n(1,i=e.thumbUrl)},[r,i]}class hL extends Ly{constructor(e){super(),Py(this,e,fL,pL,wv,{title:0,thumbUrl:1},cL)}}class mL{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let e=0,r=n.length;e<r;e++)if(n[e].callback===t)return void n.splice(e,1)}dispatchEvent(e){if(!(e.type in this.listeners))return;const t=this.listeners[e.type].slice();for(let n=0,r=t.length;n<r;n++){const r=t[n];try{r.callback.call(this,e)}catch(e){Promise.resolve().then((()=>{throw e}))}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class gL extends mL{constructor(){super(),this.listeners||mL.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.dispatchEvent(e)}}function vL(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(dv.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(class{constructor(){Object.defineProperty(this,"signal",{value:new gL,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(void 0===n)if("undefined"==typeof document)n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(e){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}}.prototype[Symbol.toStringTag]="AbortController",gL.prototype[Symbol.toStringTag]="AbortSignal");const yL=vL({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),bL=yL?function(e){"function"==typeof e&&(e={fetch:e});const{fetch:t,Request:n=t.Request,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i=!1}=e;if(!vL({fetch:t,Request:n,AbortController:r,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:i}))return{fetch:t,Request:o};let o=n;(o&&!o.prototype.hasOwnProperty("signal")||i)&&(o=function(e,t){let r;t&&t.signal&&(r=t.signal,delete t.signal);const i=new n(e,t);return r&&Object.defineProperty(i,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),i},o.prototype=n.prototype);const a=t;return{fetch:(e,t)=>{const n=o&&o.prototype.isPrototypeOf(e)?e.signal:t?t.signal:void 0;if(n){let r;try{r=new DOMException("Aborted","AbortError")}catch(e){r=new Error("Aborted"),r.name="AbortError"}if(n.aborted)return Promise.reject(r);const i=new Promise(((e,t)=>{n.addEventListener("abort",(()=>t(r)),{once:!0})}));return t&&t.signal&&delete t.signal,Promise.race([i,a(e,t)])}return a(e,t)},Request:o}}({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,wL=yL?bL.fetch:window.fetch;yL?bL.Request:window.Request;const _L=(e,t)=>e<400||t<225?5:e<640||t<360?0:e<960||t<540?1:e<1280||t<720?2:3;class SL{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new jo,started$:new jo,paused$:new jo,resumed$:new jo,ended$:new jo,skipped$:new jo,clicked$:new jo},this.loadAdman=e=>new Promise(((t,n)=>{let r;const i=()=>{clearTimeout(r),delete window.admanAsyncInit,window.AdmanHTML?t():n()};((e,t,n)=>new Promise(((r,i)=>{t.addEventListener("abort",(()=>{s(),c.remove()}));const o=()=>{s(),i()},a=()=>{s(),r()},s=()=>{l&&clearTimeout(l),c.removeEventListener("load",a),c.removeEventListener("error",o)};let l;n&&(l=window.setTimeout(o,n));const c=document.createElement("script");c.addEventListener("load",a),c.addEventListener("error",o),c.src=e,document.head.appendChild(c)})))("//webcf.waybackmachine.org/web/20240801092516/https://ad.mail.ru/static/admanhtml/rbadman-html5.min.js",e,this.loadTimeout).then((()=>{window.AdmanHTML?t():(window.admanAsyncInit=i,r=window.setTimeout(i,this.initTimeout))})).catch((()=>{n()}))})),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(e,t)=>{Fo(this.adsState),Fo(this.playerState),Fo(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ev(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(wx.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)},this.onAdTimeRemained=({currentTime:e})=>{Fo(this.adsState),this.adsState.position.set(e)},this.onAdPaused=()=>{Fo(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(wx.PAUSED)},this.onAdPlayed=()=>{Fo(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(wx.PLAYING)},this.onAdMidrollPoint=()=>{Fo(this.adman),Fo(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=bx.Midroll,this.adman.start(bx.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var e;this.log({message:"ad clicked"}),null===(e=this.videoElement)||void 0===e||e.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:r,isAutoplay:i,adsContainer:o,adsVideoElement:a,slotId:s,params:l={},duration:c,previewParam:u}=e;let d;const p=this.playerState&&Ev(this.playerState.vsid);p&&(d=parseInt(p,36));const f={slot:s,wrapper:o,videoEl:a,videoQuality:n,params:{dl:encodeURIComponent(window.location.href),autoplay:i,player_width:t,player_height:n,puid10:_L(t,n),puid11:r?0:1,preview:u,...d?{request_id:d}:{},duration:c,...l},browser:{mobile:!1}},h=new window.AdmanHTML;h.setDebug(!1),h.onReady(this.onAdsReady),h.onStarted(this.onAdStarted),h.onPlayed(this.onAdPlayed),h.onPaused(this.onAdPaused),h.adMidrollPoint(this.onAdMidrollPoint),h.onClosed(this.onAdClosed),h.onSkipped(this.onAdSkipped),h.onClicked(this.onAdClicked),h.onTimeRemained(this.onAdTimeRemained),h.onCompleted(this.onAdCompleted),h.onError(this.onAdError),h.init(f),this.adman=h,this.videoElement=a,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(f)}`})}switchToVideo(e=!1){if(null===this.currentAdSection&&!e)return void this.log({message:"switch to video, no currentAdSection. can't switch"});Fo(this.actions),Fo(this.adsState),Fo(this.playerState);const t=this.currentAdSection===bx.Postroll;this.adsState.playbackState.set(wx.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){Fo(this.adsState),this.log({message:"toggle play"});const e=Ev(this.adsState.playbackState);e===wx.PLAYING?this.pause():e===wx.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),null===(t=this.adman)||void 0===t||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),null===(t=this.adman)||void 0===t||t.setFullscreen(e)}startPreroll(){Fo(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=bx.Preroll,this.adman.start(bx.Preroll)}startPostroll(){Fo(this.adman),Fo(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=bx.Postroll,this.adman.start(bx.Postroll)}play(){Fo(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){Fo(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){Fo(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;null===(n=this.adman)||void 0===n||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),null===(e=this.adman)||void 0===e||e.destroy()}}const xL=e=>{const t=Math.round(e);return isNaN(t)||t<40?"":t>=40&&t<55?50:t>=55&&t<90?60:t>=90&&t<180?120:t>=180?240:""};class EL{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const e of n){const n={startTime:0,endTime:0,texts:[],lang:""},r=e.split(this.oneLineRegExp);for(const e of r)if(n.startTime||n.endTime){if(""!==e.trim()){const t=new CL,{texts:r}=t.parse(e);n.texts=[...n.texts,...r]}}else{const t=new kL,{startTime:r,endTime:i}=t.parse(e);n.startTime=r,n.endTime=i}(n.startTime||n.endTime)&&n.texts.length>0&&t.push(n)}return t}}class kL{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--\x3e ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",r="0"){return 60*Number(e)*60+60*Number(t)+Number(n)+ +`0.${r}`}}class CL{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},n=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](e){let t=0;const n=[];for(;t<e.length;){const r=["<",">"].reduce(((n,r)=>{const i=e.indexOf(r,t);return-1===n||n>i?i:n}),-1);if(-1===r){n.push(e.substring(t));break}n.push(e.substring(t,r)),t=r+1}return n}}),r=new kL;for(const e of n)r.isTime(e)?t.texts.push({type:"timestamp",value:r.parseTime(e)}):t.texts.push({type:"text",value:e});return t}}let TL,OL,ML=0,AL=!1;const PL={ru:"РуÑÑкий",en:"English",uk:"УкраїнÑька",be:"БеларуÑÐºÐ°Ñ (тарашкевiца)",es:"Español",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"БългарÑки",hr:"Hrvatski",hu:"Magyar",sr:"СрпÑки","pt-PT":"Português",el:"Ελληνικά",pl:"Polski",fr:"Français",ko:"í•œêµì–´","zh-CN":"汉è¯",lt:"Lietuvių",ja:"日本語",cs:"ÄŒeÅ¡tina",et:"Eesti",tt:"Татарча",ba:"БашҡортÑа",cv:"Чăвашла",sk:"SlovenÄina",ro:"Română",no:"Norsk",lv:"LatvieÅ¡u",az:"AzÉ™rbaycan dili",hy:"Õ€Õ¡ÕµÕ¥Ö€Õ¥Õ¶",sv:"Svenska",nl:"Nederlands",tk:"Türkmen",ka:"ქáƒáƒ თული",da:"Dansk",uz:"O‘zbek",th:"ภาษาไทย",id:"Bahasa Indonesia",tg:"Тоҷикӣ",sl:"SlovenÅ¡Äina",bs:"Bosanski","pt-BR":"Português brasileiro",fa:"Ùارسی",vi:"Tiếng Việt",hi:"हिनà¥à¤¦à¥€",si:"සිංහල",bn:"বাংলা",tl:"Tagalog",mn:"Монгол",my:"ဗမာစာ",tr:"Türkçe",ne:"नेपाली",ur:"اردو",ky:"Кыргыз тили",pa:"پنجابی",os:"Ирон",kn:"ಕನà³à²¨à²¡",sw:"Kiswahili",kk:"Қазақша",ar:"العربية",he:"עברית",ab:"ÐÒ§Ñшәа",eu:"Euskara",eo:"Esperanto"};let LL=null;class DL{constructor(e,t){if(!LL){const n=new sv(e,t),r=new Do;LL=Object.freeze({oneStat:n,statSubscription:r,destroy:()=>{null==n||n.destroy(),null==r||r.unsubscribe(),LL=null}})}}static getInstance(){return LL}}const RL=({interfaceLanguage:e,videoId:t,isClip:n,isLiveCatchUpMode:r,statAuthToken:i,isAudioDisabled:o,canDownload:a,callbacks:s,webApi:l,videoEpisodes:c,previewThumbsData:u,uiConfig:d,coreConfig:p,player:f,interactiveData:h,interactiveRanges:m,replayInteractive:g,hasInteractiveBranches:v})=>{var y,b,w,_;const S={...p,configName:[...null!==(y=p.configName)&&void 0!==y?y:[],"ui"],isAudioDisabled:o,live:{...null!==(b=p.live)&&void 0!==b?b:{},isLiveCatchUpMode:!!r}},x=d,E=f||new Po(S),k=new Bo,C=new SL(k,{loadTimeout:x.ads.loadTimeout,initTimeout:x.ads.initTimeout}),T=DL.getInstance(),O=null==l?void 0:l.pictureInPictureApi,M=null==l?void 0:l.annotationsApi,A=k.createComponentLog("Store");let P,L,D={};const R=Go(),I=T?Jy(T.oneStat.vsid$):Ry(void 0),N=!!h,j=Iy(xx()),B=null!==(w=null==O?void 0:O.info.isActive$)&&void 0!==w?w:new ia(!1),F=null==O?void 0:O.info.type,H=Iy(0),z=Iy([]),V=function(...e){return new No((t=>e.reduce(((e,n)=>e.add(n.subscribe(t))),new Do)))}(E.events.fatalError$,E.events.managedError$).subscribe((e=>z.update((t=>[...t,e])))),U=Ry(!1,(e=>{const t=E.events.fatalError$.subscribe((()=>e(!0)));return()=>t.unsubscribe()})),$=async e=>{var t;const n=Object.values(Cf).includes(e);if(x.downloadVKLanguages&&(n&&x.updateBuiltinLanguages||!hx(e))){let n;try{n=await(async(e,t,n)=>{const r=new URL("https://webcf.waybackmachine.org/web/20240801092516/https://vk.com/js/lang-pack.js");r.searchParams.set("format","json"),r.searchParams.set("name",t),void 0!==e&&r.searchParams.set("lang",e);const i=await(await fa(r.toString())).json();return Ef(i,n)})(e,"videoplayer","videoplayer")}catch(e){null===(t=null==T?void 0:T.oneStat)||void 0===t||t.logError({errorType:"VKLangPack",fatal:!1})}n&&(fx({language:e,pack:n,fallback:x.defaultLanguage}),G.set(e))}hx(e)&&G.set(e)},G=Iy(e);$(e);const q=(e,t)=>{const n=Ev(G);return mx(n,e,t,x.defaultLanguage)},W=Iy(yx.Thumb),Z=Ny([U,W],(([e,t])=>e?yx.Crashed:t)),Y=(()=>{const e=Iy(new Set([Gy.SEEK_TO_INTERACTIVE_BUTTON]));return{...e,add:t=>{e.update((e=>new Set([...e].concat(t))))},remove:t=>{e.update((e=>{const n=[...e];return new Set(Array.isArray(t)?cv(n,t):n.filter((e=>e!==t)))}))},includes:t=>{const n=Ev(e);return Array.isArray(t)?t.every((e=>n.has(e))):n.has(t)}}})();A({message:"create store"});const K=new jo,Q=new jo,X=new jo,J=new jo,ee={actionRewind$:Q,actionSeek$:X,inPiP$:B,inFullscreen$:new No((e=>j.subscribe((t=>e.next(t))))),actionSetSubtitle$:J,nextMovie$:K};if(T){const{oneStat:e,statSubscription:t}=T;t.add(e.attachTo(E)),t.add(e.attachToUi(ee)),t.add(e.attachToAds(C.events)),e.authorize(i).catch((e=>{A({message:`onestat auth error ${String(e)}`})}))}const te=()=>{qo()&&L&&(e=>{const t=e;null!=t&&t.webkitExitFullscreen?null==t||t.webkitExitFullscreen():Promise.reject()})(L)},ne=(new Do).add(E.experimental.element$.subscribe((e=>{e&&(L=e,e.classList.add("player-media"),Vx(O)&&O.updateVideoElement(),N&&e.setAttribute("pip","false"))}))).add(E.events.ended$.subscribe((()=>{var e;te(),null===(e=null==s?void 0:s.onEnded)||void 0===e||e.call(s)}))).add(E.events.started$.subscribe((async()=>{var e,t;Vx(O)&&await(null==O?void 0:O.revealPictureInPicture());const n=E.info.muted$.getValue();null===(e=null==s?void 0:s.onStarted)||void 0===e||e.call(s),null===(t=D.onStarted)||void 0===t||t.call(D,n)}))).add(E.events.willSeek$.subscribe((({from:e,to:t})=>{var n;null===(n=null==s?void 0:s.onSeek)||void 0===n||n.call(s,e,t)}))).add(E.info.position$.subscribe((e=>{var t;const n=E.info.duration$.getValue();null===(t=null==s?void 0:s.onTimeupdate)||void 0===t||t.call(s,n,e),C.setPosition(e,n)}))).add(E.events.fatalError$.subscribe((()=>{var e;null===(e=null==s?void 0:s.onCrashed)||void 0===e||e.call(s)}))).add(E.info.is3DVideo$.subscribe((e=>{Tt.ui.is3DVideo.set(e)}))).add(E.info.isEnded$.subscribe((e=>{e&&Ev(kt)&&Y.add(Yy)}))),re=new Do,ie=Ry(E.info.position$.getValue(),(e=>{let t,n;const r=()=>{const i=E.info.playbackState$.getValue(),o=E.info.isLive$.getValue(),a=E.info.duration$.getValue(),s=E.info.position$.getValue();if([an.PLAYING,an.PAUSED].includes(i)){const t=o?s-a:E.getExactTime();t!==n&&e(t),n=t}t=requestAnimationFrame(r)};return r(),()=>cancelAnimationFrame(t)})),oe=Jy(B),ae=Jy(E.info.playbackState$),se=Jy(E.info.currentBuffer$),le=Jy(E.info.isEnded$),ce=Jy(E.info.isLive$),ue=x.features.playbackRate?Jy(E.info.canChangePlaybackSpeed$):Ry(!1),de=Jy(E.info.liveBufferTime$),pe=Jy(E.info.volume$),fe=Jy(E.info.muted$),he=eb(E.info.autoQualityLimits$.pipe(oa((({max:e})=>void 0!==e))),void 0!==(null===(_=E.info.autoQualityLimits$.getValue())||void 0===_?void 0:_.max)),me=Jy(E.info.autoQualityLimitingAvailable$),ge=Jy(E.info.availableQualities$),ve=Jy(E.info.availableQualitiesFps$),ye=Jy(E.info.chromecastState$),be=Jy(E.info.chromecastDeviceName$),we=Jy(E.info.currentFormat$),_e=Jy(E.info.throughputEstimation$),Se=Jy(E.info.videoBitrate$),xe=Jy(E.info.intrinsicVideoSize$),Ee=Jy(E.info.duration$),ke=Jy(E.info.isAudioAvailable$);let Ce=null;const Te=E.info.isBuffering$,Oe=Ry(Te.getValue(),(e=>{const t=Te.subscribe((t=>{t&&null===Ce?Ce=window.setTimeout((()=>{e(Te.getValue()),Ce=null}),x.loaderDelay):e(t)}));return()=>{t.unsubscribe(),Ce&&clearTimeout(Ce)}})),Me=Ny([Ee,ce],(([e,t])=>t?-e:e)),Ae=Ny([ae],(([e])=>e===an.PLAYING)),Pe=Jy(E.info.atLiveEdge$),Le=Jy(E.info.atLiveDurationEdge$),De=Jy(E.info.position$),Re=Ny([De,Ee],(([e,t])=>isFinite(e)&&isFinite(t)&&!!t)),Ie=Ny([ye],(([e])=>e===ln.CONNECTED)),Ne=Iy(void 0),je=Jy(E.info.isAutoQualityEnabled$,(e=>e&&Ne.set(void 0))),Be=Jy(E.info.currentQuality$,(()=>Ne.set(void 0))),Fe=Ny([Ne,Be],(([e,t])=>null!=e?e:t)),He=Ny([ge,ve,je,Fe,we],(([e,t,n,r,i])=>{const o=[];i!==sn.MPEG&&o.push({value:vx.AUTO,displayValue:q("auto_quality_option"),selected:n});const a=e.filter((e=>e!==ea.INVARIANT));for(const e of a){const i=t[e],a=e===ea.INVARIANT?q("auto_quality_option"):e;o.push({value:e,displayValue:`${a}${i?xL(i):""}`,selected:!n&&e===r})}return o})),ze=Jy(E.info.currentPlaybackRate$),Ve=Ny([ze,Pe,Le],(([e,t,n])=>{const r=n||N?1:x.controls.playbackRateMin,i=t?1:x.controls.playbackRateMax,o=x.controls.playbackRateStep,a=[];for(let t=r;t<=i;t+=o)a.push({value:t,displayValue:1===t?q("playback_rate_1"):q("playback_rate",{multiplier:t.toString(10)}),selected:e===t});return a})),Ue=Ny([x.features.subtitles?Jy(E.info.availableTextTracks$):Ry([])],(([e],t)=>{const n=[],r=[];for(const t of e)t.url&&n.push(wL(t.url));Promise.allSettled(n).then((n=>{for(const[i,o]of n.entries())"fulfilled"===o.status&&o.value.text().then((o=>{const a=new EL,s=e[i].language,l=!!e[i].isAuto,c=a.parse(o);s&&c&&r.push({lang:s,subtitles:c,isAuto:l}),i===n.length-1&&t(r)}))}))})),$e={displayValue:q("subtitles_off"),value:"off"},Ge=Iy({...$e}),qe=Ny([Ue,Ge,Ue],(([e,t])=>{if((null==e?void 0:e.length)>0){const n=[{...$e,selected:(null==t?void 0:t.value)===$e.value}];for(const{lang:r,isAuto:i}of e)PL[r]&&n.push({displayValue:i?q("subtitles_auto",{language:PL[r]}):PL[r],value:r,selected:(null==t?void 0:t.value)===r,isAuto:i});return n}return[]})),We=Ny([ie,Ge,Ue],(([e,t,n])=>{if(t&&t.value!==$e.value)return((e,t,n)=>{var r;const i=e>=ML,o=e<ML,a=(e,t=0,n=0)=>e<t&&e<n,s=(e,t=0,n=0)=>e>=t&&e<=n,l=null===(r=n.find((({lang:e})=>e===t.value)))||void 0===r?void 0:r.subtitles;if(ML=e,o&&(AL=!1),Ho(TL)&&s(e,TL.startTime,TL.endTime)&&TL.lang===t.value)return TL;if(!Ho(OL)&&null!=l&&l.length&&!AL){const n=l.find((({startTime:t,endTime:n})=>s(e,t,n)||i&&a(e,t,n)));return OL=n&&{...n,lang:t.value},TL=void 0,void(!Ho(OL)&&l[l.length-1].endTime<e&&(AL=!0))}if(s(e,null==OL?void 0:OL.startTime,null==OL?void 0:OL.endTime))return TL=OL,OL=void 0,TL;(i&&((e,t=0,n=0)=>e>t&&e>n)(e,null==OL?void 0:OL.startTime,null==OL?void 0:OL.endTime)||o&&a(e,null==OL?void 0:OL.startTime,null==OL?void 0:OL.endTime))&&(OL=void 0)})(e,t,n)})),Ze=Ny([We],(([e])=>null!=e&&e.texts?e.texts:[])),Ye=Iy(!0),Ke=Ny([se,Me,De,de],(([e,t,n,r])=>{var i;const o=null!==(i=null==e?void 0:e.end)&&void 0!==i?i:0;if(!r)return o/t;return(o-(-n+r-t))/t})),Qe=Jy(E.info.availableSources$),Xe=Ny([Qe],(([e])=>Object.keys((null==e?void 0:e[sn.MPEG])||{}).length>0)),Je=()=>{var e,t,n;const r=(e=>e.sort(((e,t)=>e===t?0:e===ea.INVARIANT?1:t===ea.INVARIANT?-1:na(e,t)?1:-1))[0])(Object.keys((null===(t=null===(e=E.info.availableSources$)||void 0===e?void 0:e.getValue())||void 0===t?void 0:t[sn.MPEG])||{}))||ea.Q_144P;return null===(n=P.sources[sn.MPEG])||void 0===n?void 0:n[r]},et=(e,t=e,n=!1)=>{var r,i,o;const a=!n,l=E.info.muted$.getValue();A({message:`set volume, volume: ${e}, preferredVolume: ${t}, internalCall: ${a}`}),E.setVolume(e),C.setVolume(e),a&&(null===(r=null==s?void 0:s.onVolumeChange)||void 0===r||r.call(s,e)),Mx(t),l?(E.setMuted(!1),a&&(null===(i=null==s?void 0:s.onUnmute)||void 0===i||i.call(s)),Rx(!1)):!l&&0===e&&(E.setMuted(!0),a&&(null===(o=null==s?void 0:s.onMute)||void 0===o||o.call(s)),Rx(!0))},tt=(e,t=!1)=>{var n,r,i,o;const a=!t,l=E.info.volume$.getValue();if(A({message:`set muted, currentVolume: ${l}, mute: ${e}, internalCall: ${a}`}),E.setMuted(e),C.setVolume(e?0:l),Rx(e),a&&(e?null===(n=null==s?void 0:s.onMute)||void 0===n||n.call(s):null===(r=null==s?void 0:s.onUnmute)||void 0===r||r.call(s)),0===l){let e=null!==(i=Ax())&&void 0!==i?i:x.volumeDefault;0===e&&(e=x.volumeMinRestore,Mx(e)),E.setVolume(e),C.setVolume(e),a&&(null===(o=null==s?void 0:s.onVolumeChange)||void 0===o||o.call(s,e))}},nt=e=>{A({message:`set trafficSavingEnabled, value: ${e}`}),E.setAutoQualityLimits({max:e?x.trafficSavingLimit:void 0}),(e=>{Lx(Ex,e)})(e)},rt=e=>{E.setPlaybackRate(e)},it=e=>{e&&e.value!==$e.value&&J.next(e.isAuto?e.value+"_auto":e.value),Ge.set(e)},ot=(e,t,n=!0)=>{if(A({message:`seek to time, time: ${e}`}),X.next(t),E.info.isLive$.getValue()){const t=E.info.duration$.getValue(),r=Math.min(0,t+e);E.seekTime(r,n)}else{if(Ev(kt))return;E.seekTime(Ct(e),n)}},at=(e,t)=>{A({message:`seek to percent, percent: ${e}`});const n=Math.round(Ev(Me)*e);ot(n,t,!1)},st=Iy(void 0),lt=Iy(!1),ct=e=>{st.set(e)};let ut,dt;const pt=()=>{st.set(void 0),lt.set(!1)},ft=()=>{clearTimeout(dt),clearTimeout(ut),ut=window.setTimeout((()=>{pt()}),500),null==L||L.removeEventListener("seeked",ft)},ht=Ny([ie,Me,st],(([e,t,n],r)=>{r(Ho(n)?n*t:e)})),mt=Iy(!1),gt=Ny([mt,U],(([e,t],n)=>{n(e&&t)})),vt=e=>{var t;Fo(Tt);const n=!e;if(Ev(Tt.playerPhase)===yx.Ads)return A({message:`pause ads, internalCall: ${n}`}),void C.pause();A({message:`pause video, internalCall: ${n}`}),n&&(null===(t=null==s?void 0:s.onPause)||void 0===t||t.call(s)),E.pause()},yt=(e,t)=>{Fo(Tt),A({message:`first start, show ads: ${e}, internalCall: ${!t}`}),e?W.set(yx.Ads):(W.set(yx.Video),t?E.play():Tt.actions.internal.togglePlay())},bt=()=>(A({message:"getting time codes"}),c),wt=()=>{const e=bt();if(!e||[0,1].includes(e.length))return;const t=E.info.position$.getValue();return e.find((e=>e.time>t))},_t=()=>{const e=bt();if(!e||[0,1].includes(e.length))return;const t=E.info.position$.getValue(),n=e.findIndex((e=>e.time>t)),r=-1===n?e.length-2:n-2;return r<0?void 0:e[r]},St=Iy(m),xt=Ny([St],(([e=[]])=>{const t=[];for(let n=0;n<e.length;n++){const{range:[r,i],subjects:o}=e[n];0===n&&0!==r&&t.push({time:0,text:""}),t.push({time:r/1e3,text:"",interactive:!0,completed:!o.length}),i!==1/0&&t.push({time:i/1e3,text:"",interactive:!1,completed:!o.length})}return t})),Et=Iy(!1),kt=Ny([De,St,Et],(([e,t,n])=>{if(!N)return!1;if(n)return!0;const r=1e3*e,i=null==t?void 0:t.find((({range:[e,t],subjects:n})=>e<r&&r<t&&n.length));return i&&Ev(lt)&&pt(),!!i})),Ct=e=>{if(!N)return e;const t=Ev(xt),n=Ev(Me),r=Ev(De)/n,i=t.find((e=>e.interactive&&!e.completed&&e.time>r));return"number"==typeof(null==i?void 0:i.time)?Math.min(e,i.time-.05):e},Tt={interfaceLanguage$:G,initVideo:e=>{A({message:`init video, config: ${JSON.stringify(e)}`}),N?e.container.append(E.experimental.element$.getValue()):E.initVideo(e),e.subtitles&&E.setExternalTextTracks(e.subtitles),P=e},videoId:t,isClip:n,playerPhase:Z,vsid:I,state:{positionExact$:ie,positionWithScrubbing$:ht,duration$:Me,playbackState$:ae,isPlaying$:Ae,isLoaderVisible:Oe,bufferedProgress$:Ke,isLive$:ce,canChangePlaybackSpeed$:ue,isActiveLive$:Pe,isOldestAvailableLive$:Le,isRewindableLive$:Re,isEnded$:le,muted$:fe,volume$:pe,trafficSavingEnabled$:he,autoQualityLimitingAvailable$:me,currentQuality$:Fe,isAutoQualityEnabled$:je,availableQualities$:He,currentPlaybackRate$:ze,availablePlaybackRates$:Ve,currentSubtitle$:Ge,availableSubtitlesList$:qe,currentSubtitleCaptions$:Ze,isAutoSubtitleCaptionVisible$:Ye,chromecastState$:ye,chromecastDeviceName$:be,chromecastConnected$:Ie,currentFormat$:we,throughputEstimation$:_e,videoBitrate$:Se,videoSize$:xe,errorLog$:z,crashed$:U,isAudioAvailable$:ke,isAudioDisabled:!!o,canDownload:x.features.download&&!!a,availableSources$:Qe,hasMpegSources$:Xe,isInteractive:N,isInteractiveGraphEnabled:!!x.features.interactiveGraph,interactiveEpisodes$:xt,isInteractiveTime$:kt,graphIsOpened$:Iy(!1),isInteractiveExpectation$:Et,hasInteractiveBranches:v},ui:{controlsVisible:Iy(!1),touched:Iy(!1),controls:{tooltipPointerOffsetX:Iy(0),prevButton:Iy(void 0),playButton:Iy(void 0),nextButton:Iy(void 0),seekToInteractiveButton:Iy(void 0),interactiveGraphButton:Iy(void 0),liveButton:Iy(void 0),time:Iy(void 0),episodes:Iy(void 0),volume:Iy(void 0),subtitles:Iy(void 0),settings:Iy(void 0),chromecast:Iy(void 0),fullscreen:Iy(void 0),vkLogo:Iy(void 0),disabledControls$:Y},modals:{hotKeyMap:{show:Iy(!1),data:Iy({title:"",closeBtnText:"",groups:[]})}},isFullscreen:j,rotateAlpha:H,isAutoplay:Iy(!1),contextMenuVisible:Iy(!1),debugPanelVisible:Iy(!1),playerSize:Iy({width:0,height:0}),isMobile:mt,mobileNotReportControlHidden$:gt,mobileUnmuteButtonExpanded:Iy(!1),mobileUnmuteButtonVisible:Iy(!1),icon3DVideoVisible:Iy(!1),settingsMenuVisible:Iy(!1),scrubbingInProgress:lt,is3DVideo:Iy(!1),isPictureInPictureActive$:oe,pictureInPictureType$:Ry(F),clientInfo$:Ry(R)},ads:{position:Iy(0),duration:Iy(0),playbackState:Iy(wx.INACTIVE),canSkip:Iy(!1),secondsToWatchBeforeSkip:Iy(0),postrollPassed:Iy(!1)},webApi:{pictureInPictureApi:O,annotationsApi:M},actions:{internal:{preload:()=>{E.prepare()},firstStart:e=>yt(e,!1),pause:()=>vt(!1),togglePlay:()=>{var e,t;if(Fo(Tt),!Ev(Tt.ui.controls.disabledControls$).has(Gy.PLAY_BUTTON)){if(A({message:"toggle play"}),Ev(Tt.playerPhase)===yx.Ads)return void C.togglePlay();if(E.info.playbackState$.getValue()!==an.PLAYING){if(E.info.isEnded$.getValue()){if(A({message:"toggle play, video ended, seek to 0"}),Q.next(),X.next(Mg.REWIND),N)return void(null==g||g());E.seekTime(0)}A({message:"toggle play, call player.play"}),E.play(),null===(e=null==s?void 0:s.onPlay)||void 0===e||e.call(s)}else A({message:"toggle play, call player.pause"}),E.pause(),null===(t=null==s?void 0:s.onPause)||void 0===t||t.call(s)}},toggleMuted:()=>{A({message:"toggle muted"});const e=E.info.muted$.getValue(),t=!(0===E.info.volume$.getValue()||e);tt(t)},setVolume:et,setQuality:e=>{A({message:`set quality, quality: ${e}`}),E.setAutoQuality(e===vx.AUTO),e!==vx.AUTO?(((e,t)=>{Jo.set(Tx,JSON.stringify({videoId:e,value:t}))})(t,e),Ne.set(e),E.setQuality(e)):Px()},setTrafficSavingEnabled:e=>nt(e),setPlaybackRate:rt,incrementPlaybackRate:()=>{const e=Ev(Ve),t=e.findIndex((({selected:e})=>e));if(t===e.length-1)return;const n=e[t+1];rt(n.value)},decrementPlaybackRate:()=>{const e=Ev(Ve),t=e.findIndex((({selected:e})=>e));if(0===t)return;const n=e[t-1];rt(n.value)},setSubtitle:it,toggleSubtitle:()=>{const e=Ev(qe),t=Ev(Ge),n=Ev(G);if((null==t?void 0:t.value)===$e.value){const t=e.filter((e=>e.value!==$e.value)).find((e=>e.value===n))||e[1];it(null!=t?t:{...$e})}else it({...$e,selected:!1})},togglePictureInPicture:async()=>{null!=O&&O.isActive()?await(null==O?void 0:O.remove()):await(null==O?void 0:O.request())},startScrubbing:e=>{A({message:`start scrubbing, progress: ${e}`}),lt.set(!0),ct(e)},progressScrubbing:ct,completeScrubbing:e=>{A({message:`complete scrubbing, progress: ${e}`}),at(e,Mg.SLIDER),Ev(Tt.ui.isMobile)&&Ev(Tt.state.currentFormat$)===sn.HLS?(null==L||L.addEventListener("seeked",ft),dt=window.setTimeout((()=>{ft()}),300)):pt()},toggleChromecast:()=>{A({message:"toggle chromecast"}),E.toggleChromecast()},switchToActiveLive:()=>{X.next(Mg.LIVE),A({message:"switch to active live"}),E.seekTime(0)},switchFromAdsToVideo:(e=!0)=>{Fo(Tt),A({message:`switch from ads to video, callPlay: ${e}`}),W.set(yx.Video),e&&E.play()},switchFromVideoToAds:()=>{Fo(Tt),A({message:"switch from video to ads"}),Tt.actions.internal.pause(),te(),W.set(yx.Ads)},skipAd:()=>C.skip(),setWaitingLive:e=>{Fo(Tt);const t=e?yx.Waiting:yx.Thumb;W.set(t)},getDebugTextData:()=>(Fo(Tt),((e,t,n)=>{var r,i,o,a;const s=e.info,{width:l,height:c}=Ev(n.ui.playerSize),u=null!==(i=null===(r=s.throughputEstimation$.getValue())||void 0===r?void 0:r.toFixed(0))&&void 0!==i?i:0,d=null!==(a=null===(o=s.rttEstimation$.getValue())||void 0===o?void 0:o.toFixed(0))&&void 0!==a?a:0,p=s.isAutoQualityEnabled$.getValue()?"auto":"manual",f=`${Ky} (core: ${on}, stat: ${Fg}, shared: 1.0.36)`,h=Ev(n.state.errorLog$),m=h.length?"\n"+h.map((e=>`${e.id}: ${e.message} (${e.thrown})`)).join("\n"):void 0,g=n.state.isAudioDisabled?"disabled":Ev(n.state.isAudioAvailable$)?void 0:"unavailable",v={Version:f,Browser:navigator.userAgent,Config:e.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(n.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${u}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(t.sources).join(", "),Quality:`${p} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:g,Position:`${Ev(n.state.positionExact$)}s`,State:`${Ev(n.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${l}x${c}`,URL:window.location.href,Errors:m};return Object.entries(v).filter((([e,t])=>void 0!==t)).map((([e,t])=>`${e}: ${t}`)).join("\n")})(E,P,Tt)),getDebugPanelData:()=>(Fo(Tt),((e,t,n)=>{const r=e.info,{width:i,height:o}=Ev(n.ui.playerSize),a={version:Ky,viewport:`${i}x${o}`,volume:Math.round(100*Ev(n.state.volume$))};a.id=n.videoId,r.currentFormat$.getValue()&&(a.provider=r.currentFormat$.getValue()),r.hostname$.getValue()&&(a.cdn=r.hostname$.getValue());const s=r.intrinsicVideoSize$.getValue();s&&(a.videoSize=`${s.width}x${s.height}`);const l=r.currentBuffer$.getValue();l&&(a.buffer=Math.max(l.end-Ev(n.state.positionExact$),0));const c=r.throughputEstimation$.getValue();c&&(a.speed=c);const u=r.videoBitrate$.getValue();return u&&(a.bitrate=u),a})(E,0,Tt)),getVideoElement:()=>L,seekTime:(e,t,n)=>ot(e,t,n),clearDelayedBufferingCheckTimeout:()=>{Ce&&clearTimeout(Ce),Ce=null},seekEpisodeStartTime:e=>{A({message:`seek to episode start time: ${e}`}),ot(e,Mg.EPISODE,!0)},seekToPercent:at,getNextEpisode:wt,seekToNextEpisode:e=>{let t=e;t||(t=wt()),t&&(A({message:"seek to next episode"}),ot(t.time,Mg.EPISODE,!0))},getPrevEpisode:_t,seekToPrevEpisode:e=>{let t=e;t||(t=_t()),t&&(A({message:"seek to prev episode"}),ot(t.time,Mg.EPISODE,!0))},startLogging:()=>{re.add(E.events.log$.subscribe((e=>{dv.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${e.component}`,e.message)}))).add(k.log$.subscribe((e=>{dv.debug("%c ui ","background:#f3da0b;",`ui component: ${e.component}.`,e.message)})))},stopLogging:()=>{re.unsubscribe()},startCameraManualRotation:(e,t)=>{E.startCameraManualRotation(e,t)},stopCameraManualRotation:(e=!1)=>{E.stopCameraManualRotation(e)},moveCameraFocusPX:(e,t,n)=>{E.moveCameraFocusPX(e,t,n)},holdCamera:()=>{E.holdCamera()},releaseCamera:()=>{E.releaseCamera()},getVideoEpisodes:bt,getPreviewThumbsData:()=>(A({message:"getting preview thumbs data"}),u),downloadVideo:()=>{var e;const t=Je();t?((e,t)=>{const n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("download",`${t}.mp4`),n.style.display="none",n.click()})(t,(null===(e=null==P?void 0:P.meta)||void 0===e?void 0:e.title)||"video"):A({message:"There is no URL for download video"})},addLanguage:fx,setLanguage:$,nextMovie:e=>K.next(e),videoRotate:(e=-90)=>{H.update((t=>t+e))},completeInteractiveRange:e=>{const t=Ev(St);St.set(t.map((t=>({...t,subjects:t.subjects.filter((t=>t!==e))}))))},correctSeekTimeToInteractive:Ct},external:{firstStart:e=>yt(e,!0),play:()=>(e=>{var t;Fo(Tt);const n=!e;if(Ev(Tt.playerPhase)===yx.Ads)return A({message:`play ads, internalCall: ${n}`}),void C.play();A({message:`play video, internalCall: ${n}`}),n&&(null===(t=null==s?void 0:s.onPlay)||void 0===t||t.call(s)),E.play()})(!0),pause:()=>vt(!0),seekTime:e=>(e=>{A({message:`seek external, time: ${e}`}),X.next(Mg.UNKNOWN),E.seekTime(E.info.isLive$.getValue()?-e:e)})(e),seekEpisodeStartTime:e=>(e=>{A({message:`seek external to episode start time: ${e}`}),ot(e,Mg.EPISODE,!0)})(e),setMuted:e=>tt(e,!0),setVolume:e=>et(e,e,!0)}},callbacks:s,setUiCallbacks:e=>{D={...e}},getAdmanWrapper:()=>C,getLogger:()=>k,destroy:()=>{clearTimeout(dt),clearTimeout(ut),ne.unsubscribe(),re.unsubscribe(),E.destroy(),C.destroy(),null==T||T.destroy(),V.unsubscribe()}};return Tt};class IL{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){this.setActionHandlers([["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",e=>null],["seekbackward",e=>null],["seekforward",e=>null]])}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(e){throw new Error(`The media session action "${t}" is not supported yet.`)}}}class NL{static getLatestSupportedVersion(){const e=new zx,t=new Fx;return t.isSupported()?t:e.isSupported()?e:void 0}}function jL(e,t){var n,r;const i=new Set([...Object.keys(e),...Object.keys(t)]),o={};for(const a of i)o[a]=null!==(r=null!==(n=t[a])&&void 0!==n?n:e[a])&&void 0!==r?r:void 0;return o}const BL="Inner error. Unexpectedly root annotation container null reference exception";class FL extends Error{constructor(e){super(e),this.name="AnnotationError"}}class HL{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new FL(BL);if(this.layers.has(e))throw new FL("Annotation layer with such name already exists");const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;null!=t&&t.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new FL(BL);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}var zL,VL;const UL={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Cf.RU,logoClickable:!1,logoHidden:!1,isMobile:null!==(VL=null===(zL=null==navigator?void 0:navigator.userAgentData)||void 0===zL?void 0:zL.mobile)&&void 0!==VL?VL:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class $L extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.currentProjectId=void 0,this.isInited=!1,this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new Bo,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Do,this.graphMadePause=!1,null!==(e=null==window?void 0:window.videoPlayerConfig)&&void 0!==e&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe((e=>{dv.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)})))}connectedCallback(){var e,t;if(this.isInited)return;const n=null!==(e=this.getAttribute("stub-title"))&&void 0!==e?e:void 0,r=null!==(t=this.getAttribute("stub-thumb-url"))&&void 0!==t?t:void 0;this.svelteStubComponent=new hL({target:this.playerContainer,props:{title:n,thumbUrl:r}})}disconnectedCallback(){var e,t,n,r,i;null===(e=this.annotationsApi)||void 0===e||e.destroy(),null===(t=this.svelteRootComponent)||void 0===t||t.$destroy(),null===(n=this.svelteStubComponent)||void 0===n||n.$destroy(),this.subscription.unsubscribe(),null===(r=this.unsubscribePlayerPhaseSubscription)||void 0===r||r.call(this),null===(i=this.interactiveController)||void 0===i||i.destroy()}needToShowNextPrevButtons(){return!!this.videoConfig&&this.videoConfig.videos.length>1}isNextButtonActive(){return!!this.videoConfig&&(this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist))}isPrevButtonActive(){return!!this.videoConfig&&(this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist))}isControlDisabled(e){var t;const n=null===(t=this.store)||void 0===t?void 0:t.ui.controls.disabledControls$;return(null==n?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var r,i,o,a,s,l,c,u;if(!this.videoConfig)return;const{albumId:d,statPlace:p,statUserSalt:f,statAuthToken:h,statTrackCode:m,refreshStatAuthToken:g,preload:v,autoplay:y,volume:b,muted:w,fromTime:_,canRewindLive:S,supportLink:x,showAds:E,adsSlotId:k,adsParams:C={},adsPreviewParam:T,interfaceLanguage:O,logoClickable:M,logoHidden:A,isMobile:P,isAudioDisabled:L,isLiveCatchUpMode:D,fullScreenTarget:R,failoverHosts:I,canDownload:N,callbacks:j,interactiveData:B,showThumbTimer:F}=jL(this.videoConfig,t),{sources:H,title:z,thumbUrl:V,unitedVideoId:U,isClip:$=!1,duration:G,adsParams:q={},videoEpisodes:W,previewThumbsData:Z,subtitles:Y,live:K}=e,Q={...C,...q},X=this.getNextVideoInfo(),J={sources:H,title:z,thumbUrl:V,subtitles:Y,unitedVideoId:U,isClip:$,live:K,albumId:d,statPlace:p,autoplay:y,muted:w,volume:b,fromTime:_,canRewindLive:S,showAds:E,adsSlotId:k,adsParams:Q,adsPreviewParam:T,duration:G,logoClickable:M,logoHidden:A,isMobile:P,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:X.nextVideoTitle,endScreenVideoThumb:X.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ee={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(J)}`});const te=this.uiConfig.features.statistics&&!!U,ne=null===(r=this.videoConfig.videos[this.currentPlayingVideoIndex])||void 0===r?void 0:r.unitedVideoId;te&&new DL({movieId:U,albumId:d,place:p,trackCode:m,autoplay:null!==(i=y&&!this.interactiveController)&&void 0!==i&&i,mobile:P,clip:$,...ne&&this.interactiveController&&!this.currentProjectId&&{projectId:ne}},{refreshAuthToken:g,userSalt:f,config:this.statistics.config}),this.currentProjectId||(this.currentProjectId=ne),this.statistics={...this.statistics,...DL.getInstance()},this.store=RL({player:n,interactiveData:B,interfaceLanguage:O,videoId:U,isClip:$,isLiveCatchUpMode:D,isAudioDisabled:L,statAuthToken:h,callbacks:j,webApi:ee,videoEpisodes:W,previewThumbsData:Z,canDownload:N,uiConfig:this.uiConfig,coreConfig:this.coreConfig,interactiveRanges:null===(o=this.interactiveController)||void 0===o?void 0:o.getInteractiveRanges(),replayInteractive:()=>{var e;return null===(e=this.interactiveController)||void 0===e?void 0:e.setChapter()},hasInteractiveBranches:!(null===(s=null===(a=this.interactiveController)||void 0===a?void 0:a.getChapterBranches())||void 0===s||!s.length)}),this.subscription.add(this.store.state.currentFormat$.subscribe((e=>{var t;return null===(t=null==j?void 0:j.onCurrentFormatChanged)||void 0===t?void 0:t.call(j,e)}))),this.subscription.add(this.store.state.throughputEstimation$.subscribe((e=>{var t;return null===(t=null==j?void 0:j.onThroughputEstimationChanged)||void 0===t?void 0:t.call(j,e)}))),this.subscription.add(this.store.state.videoBitrate$.subscribe((e=>{var t;return null===(t=null==j?void 0:j.onVideoBitrateChanged)||void 0===t?void 0:t.call(j,e)}))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe((e=>{var t;const n=null===(t=this.store)||void 0===t?void 0:t.ui.controls.disabledControls$;n&&e&&!n.includes(Wy)&&n.add(Wy)}))),this.initMediaSession(),this.interactiveController&&te&&this.initInteractivesStatistics(),this.svelteRootComponent=new sL({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:H,store:this.store,uiConfig:this.uiConfig,title:z,thumbUrl:V,subtitles:Y,live:K,preload:v,autoplay:y,muted:w,volume:b,fromTime:_,canRewindLive:S,supportLink:x,showAds:E,adsSlotId:k,adsParams:Q,adsPreviewParam:T,duration:G,logoClickable:M,logoHidden:A,isMobile:P,failoverHosts:I,fullScreenTarget:R,showMiniTimer:F,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:X.nextVideoTitle,endScreenVideoThumb:X.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,null===(u=null===(c=null===(l=this.videoConfig)||void 0===l?void 0:l.callbacks)||void 0===c?void 0:c.onInited)||void 0===u||u.call(c))}addPlayerInfoSubscriptions(){var e;if(!this.isInited)return;const t=this.store,n=null===(e=this.videoConfig)||void 0===e?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe((e=>{var t;return null===(t=n.onPlayerPhaseChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.playbackState$.subscribe((e=>{var t;return null===(t=n.onPlaybackStateChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.isLive$.subscribe((e=>{var t;return null===(t=n.onIsLiveChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.isActiveLive$.subscribe((e=>{var t;return null===(t=n.onIsActiveLiveChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.isAudioAvailable$.subscribe((e=>{var t;return null===(t=n.onIsAudioAvailableChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.currentQuality$.subscribe((e=>{var t;return null===(t=n.onCurrentQualityChanged)||void 0===t?void 0:t.call(n,e)}))).add(t.state.availableQualities$.subscribe((e=>{var t;return null===(t=n.onAvailableQualitiesChanged)||void 0===t?void 0:t.call(n,e.map((({value:e})=>e)).filter((e=>e!==vx.AUTO)))}))).add(t.ui.isPictureInPictureActive$.subscribe((e=>{var t,r;return e?null===(t=n.onPiPEnter)||void 0===t?void 0:t.call(n):null===(r=n.onPiPExit)||void 0===r?void 0:r.call(n)})));const r=null==n?void 0:n.uiInfo;r&&this.subscription.add(t.ui.controlsVisible.subscribe((e=>{var t;return null===(t=r.onControlsVisibleChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.isMobile.subscribe((e=>{var t;return null===(t=r.onIsMobileChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.playerSize.subscribe((e=>{var t;return null===(t=r.onPlayerSizeChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.prevButton.subscribe((e=>{var t;return null===(t=r.onPrevButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.playButton.subscribe((e=>{var t;return null===(t=r.onPlayButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.nextButton.subscribe((e=>{var t;return null===(t=r.onNextButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.seekToInteractiveButton.subscribe((e=>{var t;return null===(t=r.onSeekToInteractiveButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.interactiveGraphButton.subscribe((e=>{var t;return null===(t=r.onGraphButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.liveButton.subscribe((e=>{var t;return null===(t=r.onLiveButtonChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.time.subscribe((e=>{var t;return null===(t=r.onTimeUpdateChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.episodes.subscribe((e=>{var t;return null===(t=r.onEpisodesChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.volume.subscribe((e=>{var t;return null===(t=r.onVolumeChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.subtitles.subscribe((e=>{var t;return null===(t=r.onSubtitlesChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.settings.subscribe((e=>{var t;return null===(t=r.onSettingsChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.fullscreen.subscribe((e=>{var t;return null===(t=r.onFullscreenChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.chromecast.subscribe((e=>{var t;return null===(t=r.onChromecastChanged)||void 0===t?void 0:t.call(r,e)}))).add(t.ui.controls.vkLogo.subscribe((e=>{var t;return null===(t=r.onVkLogoChanged)||void 0===t?void 0:t.call(r,e)})))}playNextVideo(){this.videoConfig&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){this.videoConfig&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e){var t;if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];n?(this.isInited&&Ho(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),null===(t=this.svelteRootComponent)||void 0===t||t.$destroy(),this.createPlayer(n,{autoplay:!0,fromTime:0},e)):this.log({message:"no next video"})}seekToInteractive(){var e;const t=null===(e=this.interactiveController)||void 0===e?void 0:e.getNextInteractiveStartTime();"number"==typeof t&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:r,playbackState$:i,graphIsOpened$:o}=n.state,{disabledControls$:a}=n.ui.controls,s=Ev(r),l=Ev(i);Ev(o)?(o.set(!1),null===(e=this.interactiveController)||void 0===e||e.toggleGraphView(!1),a.remove(Zy),!s&&this.graphMadePause&&this.play()):(this.graphMadePause="playing"===l,o.set(!0),null===(t=this.interactiveController)||void 0===t||t.toggleGraphView(!0),a.add(Zy),!s&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t;if(null!==(e=this.videoConfig)&&void 0!==e&&e.interactiveData)try{const{Interactives:e,EVENT_NAMES:r,CustomError:i}=await n.e(8142).then(n.bind(n,8142));this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=null===(t=this.store)||void 0===t?void 0:t.interfaceLanguage$,a=o?Ev(o):this.videoConfig.interfaceLanguage,s=this.videoConfig.videos[0];this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:a,graph:this.uiConfig.features.interactiveGraph,vkVideoLoader:this.videoConfig.interactiveData.videoLoader,lastFrame:this.uiConfig.features.interactiveLastFrame}),this.subscription.add(this.interactiveController.getIsSeekable().subscribe((e=>{if(!this.isInited)return;const t=this.store;e?t.ui.controls.disabledControls$.remove(Gy.SEEK_TO_INTERACTIVE_BUTTON):t.ui.controls.disabledControls$.add(Gy.SEEK_TO_INTERACTIVE_BUTTON)}))),this.interactiveController.on(r.playerChanged,(e=>{this.videoConfig&&(this.videoConfig.videos[this.currentPlayingVideoIndex]={...e.config,...s&&{title:s.title}},this.createPlayerWithCurrentVideo(e.player))})),this.interactiveController.on(r.interactives,(({type:e,subjectId:t,actionType:n})=>{var r,i,o,a,s,l,c,u;"container-removed"===e&&(null===(r=this.store)||void 0===r||r.actions.internal.completeInteractiveRange(t)),"range-ended"===e&&(null===(i=this.store)||void 0===i||i.ui.controls.disabledControls$.remove(Yy)),"action-execution"===e&&"expect"===n&&(null===(o=this.store)||void 0===o||o.ui.controls.disabledControls$.add(Yy),null===(a=this.store)||void 0===a||a.state.isInteractiveExpectation$.set(!0)),"action-choice"===e&&"setRandomBranch"===n&&(null===(s=this.store)||void 0===s||s.state.graphIsOpened$.set(!1),null===(l=this.store)||void 0===l||l.ui.controls.disabledControls$.remove(Yy)),"action-execution"===e&&"after-expect"===n&&(null===(c=this.store)||void 0===c||c.ui.controls.disabledControls$.remove(Yy),null===(u=this.store)||void 0===u||u.state.isInteractiveExpectation$.set(!1))})),this.interactiveController.on(r.errors,(e=>{this.log({message:e.toString()})})),await this.interactiveController.initSeamless({source:this.videoConfig.interactiveData.manifest,initialChapter:this.videoConfig.interactiveData.initChapterId,visitedChapters:this.videoConfig.interactiveData.visitedChapters,videosInfo:this.videoConfig.interactiveData.videosInfo})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(e&&t&&this.interactiveController)try{const{INTERACTIVE_CLICK_ACTIONS:r}=await n.e(8142).then(n.bind(n,8142)),i={[r.GO_NEXT_BUTTON]:Ag.NEXT_BUTTON,[r.GO_NEXT_AREA]:Ag.NEXT_AREA,[r.WATCH_AGAIN]:Ag.WATCH_AGAIN,[r.OPEN_GRAPH]:Ag.GRAPH_SHOW,[r.CLOSE_GRAPH]:Ag.GRAPH_HIDE},{click$:o,nextMovie$:a}=this.interactiveController.getStatEvents(),s=new jo;o.subscribe((e=>{e in i?s.next(i[e]):null==t||t.logError({errorType:"InteractiveVideosAction",fatal:!1})})),e.add(t.attachToInteractive({click$:s,nextMovie$:a}))}catch(e){null==t||t.logError({errorType:"InteractiveVideos",fatal:!1})}}initPlayer(e,t={}){var n,r,i,o,a,s,l,c,u,d,p,f,h,m,g,v;if(!Array.isArray(e.videos)||0===e.videos.length&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=jL(UL,uv(e,(e=>e instanceof HTMLElement?e:void 0))),this.uiConfig=(e=>ra(e,By))(null!==(n=t.ui)&&void 0!==n?n:{}),this.coreConfig=null!==(r=t.core)&&void 0!==r?r:{configName:[]},this.statistics={config:null!==(i=t.statistics)&&void 0!==i?i:{}},Ho(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=null===(o=this.videoConfig.isMediaSessionEnabled)||void 0===o||o),Ho(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=null===(a=this.videoConfig.isPictureInPictureEnabled)||void 0===a||a,this.uiConfig.features.dpip=null===(s=this.videoConfig.isPictureInPictureEnabled)||void 0===s||s),this.videoConfig.isMobile=null!==(l=this.uiConfig.isMobile)&&void 0!==l?l:this.videoConfig.isMobile,(g=this.videoConfig).autoplay&&(g.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=null!==(c=this.uiConfig.ads.enable)&&void 0!==c?c:this.videoConfig.showAds,this.videoConfig.adsSlotId=null!==(u=this.uiConfig.ads.slot)&&void 0!==u?u:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=null!==(d=this.uiConfig.ads.preview)&&void 0!==d?d:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(null!==(p=this.uiConfig.showLogo)&&void 0!==p?p:!this.videoConfig.logoHidden),(v=this.videoConfig).canRewindLive&&(v.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=null!==(f=this.videoConfig.supportLink)&&void 0!==f?f:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=NL.getLatestSupportedVersion():this.pictureInPictureApi=new zx),this.mediaSessionApi=this.uiConfig.features.mediaSession?new IL:void 0,this.annotationsApi=this.uiConfig.features.annotations?new HL:void 0,null===(h=this.svelteStubComponent)||void 0===h||h.$destroy(),null===(m=this.svelteRootComponent)||void 0===m||m.$destroy(),this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Hx(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return!!this.videoConfig&&1===this.videoConfig.videos.length}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();null===(t=this.svelteRootComponent)||void 0===t||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&(null===(e=this.unsubscribePlayerPhaseSubscription)||void 0===e||e.call(this),this.unsubscribePlayerPhaseSubscription=null===(t=this.store)||void 0===t?void 0:t.playerPhase.subscribe((e=>{e===yx.Video?this.setupMediaSessionForVideo():e===yx.Ads&&this.setupMediaSessionForAds()})))}setupMediaSessionForVideo(){if(this.videoConfig&&this.mediaSessionApi)try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",e=>this.seekTime(e.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(this.videoConfig&&this.mediaSessionApi)try{const e="Реклама",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e;this.isControlDisabled(Gy.PLAY_BUTTON)||(this.log({message:"play"}),null===(e=this.svelteRootComponent)||void 0===e||e.play())}pause(){var e;this.log({message:"pause"}),null===(e=this.svelteRootComponent)||void 0===e||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),null===(e=this.svelteStubComponent)||void 0===e||e.$destroy();const n=this.videoConfig.videos[0];n&&(null===(t=this.svelteRootComponent)||void 0===t||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),null===(t=this.svelteRootComponent)||void 0===t||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),null===(t=this.svelteRootComponent)||void 0===t||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,null===(t=this.svelteRootComponent)||void 0===t||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(Gy.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),null===(t=this.svelteRootComponent)||void 0===t||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),null===(t=this.svelteRootComponent)||void 0===t||t.seekEpisodeStartTime(e)}addLanguage(e){var t;null===(t=this.store)||void 0===t||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await(null===(t=this.store)||void 0===t?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),null===(t=this.store)||void 0===t||t.actions.internal.setWaitingLive(!1),null===(n=this.svelteRootComponent)||void 0===n||n.initVideo(e),this.play()}setLiveEnd(e){var t;this.log({message:"live ended"}),null===(t=this.svelteRootComponent)||void 0===t||t.initVideo(e)}getDeviceId(){var e,t;return null!==(t=null===(e=DL.getInstance())||void 0===e?void 0:e.oneStat.getDeviceId())&&void 0!==t?t:void 0}}const GL=()=>{window.customElements.define("vk-video-player",$L)}},91014:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},50841:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return k},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return x},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return L},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return N},__esDecorate:function(){return c},__exportStar:function(){return v},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return A},__importStar:function(){return M},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return S},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function N(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:_,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:M,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:L,__classPrivateFieldIn:D,__addDisposableResource:R,__disposeResources:N}},2025:function(e,t,n){"use strict";n.d(t,{u:function(){return he}});var r=n(67294),i=n(71347),o=n(85983);function a(e){return c(e)?(e.nodeName||"").toLowerCase():"#document"}function s(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(c(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c(e){return e instanceof Node||e instanceof s(e).Node}function u(e){return e instanceof Element||e instanceof s(e).Element}function d(e){return e instanceof HTMLElement||e instanceof s(e).HTMLElement}function p(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof s(e).ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function h(e){return["table","td","th"].includes(a(e))}function m(e){const t=g(),n=y(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function g(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(a(e))}function y(e){return s(e).getComputedStyle(e)}function b(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function w(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||p(e)&&e.host||l(e);return p(t)?t.host:t}function _(e){const t=w(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:d(t)&&f(t)?t:_(t)}function S(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=_(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=s(i);return o?t.concat(a,a.visualViewport||[],f(i)?i:[],a.frameElement&&n?S(a.frameElement):[]):t.concat(i,S(i,[],n))}function x(e){const t=y(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=d(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=(0,i.NM)(n)!==a||(0,i.NM)(r)!==s;return l&&(n=a,r=s),{width:n,height:r,$:l}}function E(e){return u(e)?e:e.contextElement}function k(e){const t=E(e);if(!d(t))return(0,i.ze)(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=x(t);let s=(a?(0,i.NM)(n.width):n.width)/r,l=(a?(0,i.NM)(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const C=(0,i.ze)(0);function T(e){const t=s(e);return g()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:C}function O(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=E(e);let l=(0,i.ze)(1);t&&(r?u(r)&&(l=k(r)):l=k(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==s(e))&&t}(a,n,r)?T(a):(0,i.ze)(0);let d=(o.left+c.x)/l.x,p=(o.top+c.y)/l.y,f=o.width/l.x,h=o.height/l.y;if(a){const e=s(a),t=r&&u(r)?s(r):r;let n=e,i=n.frameElement;for(;i&&r&&t!==n;){const e=k(i),t=i.getBoundingClientRect(),r=y(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,p*=e.y,f*=e.x,h*=e.y,d+=o,p+=a,n=s(i),i=n.frameElement}}return(0,i.JB)({width:f,height:h,x:d,y:p})}const M=[":popover-open",":modal"];function A(e){return M.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function P(e){return O(l(e)).left+b(e).scrollLeft}function L(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=s(e),r=l(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,c=0,u=0;if(i){o=i.width,a=i.height;const e=g();(!e||e&&"fixed"===t)&&(c=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:c,y:u}}(e,n);else if("document"===t)r=function(e){const t=l(e),n=b(e),r=e.ownerDocument.body,o=(0,i.Fp)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=(0,i.Fp)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+P(e);const c=-n.scrollTop;return"rtl"===y(r).direction&&(s+=(0,i.Fp)(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:c}}(l(e));else if(u(t))r=function(e,t){const n=O(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=d(e)?k(e):(0,i.ze)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=T(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return(0,i.JB)(r)}function D(e,t){const n=w(e);return!(n===t||!u(n)||v(n))&&("fixed"===y(n).position||D(n,t))}function R(e,t,n){const r=d(t),o=l(t),s="fixed"===n,c=O(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const p=(0,i.ze)(0);if(r||!r&&!s)if(("body"!==a(t)||f(o))&&(u=b(t)),r){const e=O(t,!0,s,t);p.x=e.x+t.clientLeft,p.y=e.y+t.clientTop}else o&&(p.x=P(o));return{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function I(e){return"static"===y(e).position}function N(e,t){return d(e)&&"fixed"!==y(e).position?t?t(e):e.offsetParent:null}function j(e,t){const n=s(e);if(A(e))return n;if(!d(e)){let t=w(e);for(;t&&!v(t);){if(u(t)&&!I(t))return t;t=w(t)}return n}let r=N(e,t);for(;r&&h(r)&&I(r);)r=N(r,t);return r&&v(r)&&I(r)&&!m(r)?n:r||function(e){let t=w(e);for(;d(t)&&!v(t);){if(m(t))return t;t=w(t)}return null}(e)||n}const B={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s="fixed"===o,c=l(r),u=!!t&&A(t.floating);if(r===c||u&&s)return n;let p={scrollLeft:0,scrollTop:0},h=(0,i.ze)(1);const m=(0,i.ze)(0),g=d(r);if((g||!g&&!s)&&(("body"!==a(r)||f(c))&&(p=b(r)),d(r))){const e=O(r);h=k(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-p.scrollLeft*h.x+m.x,y:n.y*h.y-p.scrollTop*h.y+m.y}},getDocumentElement:l,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[..."clippingAncestors"===n?A(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=S(e,[],!1).filter((e=>u(e)&&"body"!==a(e))),i=null;const o="fixed"===y(e).position;let s=o?w(e):e;for(;u(s)&&!v(s);){const t=y(s),n=m(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||f(s)&&!n&&D(e,s))?r=r.filter((e=>e!==s)):i=t,s=w(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=s[0],c=s.reduce(((e,n)=>{const r=L(t,n,o);return e.top=(0,i.Fp)(r.top,e.top),e.right=(0,i.VV)(r.right,e.right),e.bottom=(0,i.VV)(r.bottom,e.bottom),e.left=(0,i.Fp)(r.left,e.left),e}),L(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:j,getElementRects:async function(e){const t=this.getOffsetParent||j,n=this.getDimensions,r=await n(e.floating);return{reference:R(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=x(e);return{width:t,height:n}},getScale:k,isElement:u,isRTL:function(e){return"rtl"===y(e).direction}};function F(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,d=E(e),p=o||a?[...d?S(d):[],...S(t)]:[];p.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const f=d&&c?function(e,t){let n,r=null;const o=l(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),a();const{left:u,top:d,width:p,height:f}=e.getBoundingClientRect();if(l||t(),!p||!f)return;const h={rootMargin:-(0,i.GW)(d)+"px "+-(0,i.GW)(o.clientWidth-(u+p))+"px "+-(0,i.GW)(o.clientHeight-(d+f))+"px "+-(0,i.GW)(u)+"px",threshold:(0,i.Fp)(0,(0,i.VV)(1,c))||1};let m=!0;function g(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),a}(d,n):null;let h,m=-1,g=null;s&&(g=new ResizeObserver((e=>{let[r]=e;r&&r.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),d&&!u&&g.observe(d),g.observe(t));let v=u?O(e):null;return u&&function t(){const r=O(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n();v=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=g)||e.disconnect(),g=null,u&&cancelAnimationFrame(h)}}const H=o.cv,z=o.uY,V=o.RR,U=o.x7,$=(e,t,n)=>{const r=new Map,i={platform:B,...n},a={...i.platform,_c:r};return(0,o.oo)(e,t,{...i,platform:a})};var G=n(59364),q=n(34155),W=n(25108);const Z="react-tooltip-core-styles",Y="react-tooltip-base-styles",K={core:!1,base:!1};function Q({css:e,id:t=Y,type:n="base",ref:r}){var i,o;if(!e||"undefined"==typeof document||K[n])return;if("core"===n&&void 0!==q&&(null===(i=null==q?void 0:q.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&void 0!==q&&(null===(o=null==q?void 0:q.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t=Z),r||(r={});const{insertAt:a}=r;if(document.getElementById(t))return void W.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);const s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css","top"===a&&s.firstChild?s.insertBefore(l,s.firstChild):s.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),K[n]=!0}const X=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:o="absolute",middlewares:a=[H(Number(i)),V({fallbackAxisSideDirection:"start"}),z({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=a;return n?(l.push(U({element:n,padding:5})),$(e,t,{placement:r,strategy:o,middleware:l}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var i,o;const a={left:`${e}px`,top:`${t}px`,border:s},{x:l,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},u=null!==(o={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==o?o:"bottom",d=s&&{borderBottom:s,borderRight:s};let p=0;if(s){const e=`${s}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:a,tooltipArrowStyles:{left:null!=l?`${l}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...d,[u]:`-${4+p}px`},place:n}}))):$(e,t,{placement:"bottom",strategy:o,middleware:l}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},J=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),ee=(e,t,n)=>{let r=null;const i=function(...i){const o=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},te=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,ne=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>ne(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!te(e)||!te(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>ne(e[n],t[n])))},re=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},ie=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(re(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},oe="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,ae="DEFAULT_TOOLTIP_ID",se={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},le=(0,r.createContext)({getTooltipData:()=>se});function ce(e=ae){return(0,r.useContext)(le).getTooltipData(e)}var ue={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},de={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const pe=({forwardRef:e,id:t,className:n,classNameArrow:i,variant:o="dark",anchorId:a,anchorSelect:s,place:l="top",offset:c=10,events:u=["hover"],openOnClick:d=!1,positionStrategy:p="absolute",middlewares:f,wrapper:h,delayShow:m=0,delayHide:g=0,float:v=!1,hidden:y=!1,noArrow:b=!1,clickable:w=!1,closeOnEsc:_=!1,closeOnScroll:S=!1,closeOnResize:x=!1,openEvents:E,closeEvents:k,globalCloseEvents:C,imperativeModeOnly:T,style:O,position:M,afterShow:A,afterHide:P,content:L,contentWrapperRef:D,isOpen:R,defaultIsOpen:I=!1,setIsOpen:N,activeAnchor:j,setActiveAnchor:B,border:H,opacity:z,arrowColor:V,role:U="tooltip"})=>{var $;const q=(0,r.useRef)(null),Z=(0,r.useRef)(null),Y=(0,r.useRef)(null),K=(0,r.useRef)(null),Q=(0,r.useRef)(null),[J,te]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[re,ae]=(0,r.useState)(!1),[se,le]=(0,r.useState)(!1),[pe,fe]=(0,r.useState)(null),he=(0,r.useRef)(!1),me=(0,r.useRef)(null),{anchorRefs:ge,setActiveAnchor:ve}=ce(t),ye=(0,r.useRef)(!1),[be,we]=(0,r.useState)([]),_e=(0,r.useRef)(!1),Se=d||u.includes("click"),xe=Se||(null==E?void 0:E.click)||(null==E?void 0:E.dblclick)||(null==E?void 0:E.mousedown),Ee=E?{...E}:{mouseenter:!0,focus:!0,click:!1,dblclick:!1,mousedown:!1};!E&&Se&&Object.assign(Ee,{mouseenter:!1,focus:!1,click:!0});const ke=k?{...k}:{mouseleave:!0,blur:!0,click:!1,dblclick:!1,mouseup:!1};!k&&Se&&Object.assign(ke,{mouseleave:!1,blur:!1});const Ce=C?{...C}:{escape:_||!1,scroll:S||!1,resize:x||!1,clickOutsideAnchor:xe||!1};T&&(Object.assign(Ee,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(ke,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ce,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),oe((()=>(_e.current=!0,()=>{_e.current=!1})),[]);const Te=e=>{_e.current&&(e&&le(!0),setTimeout((()=>{_e.current&&(null==N||N(e),void 0===R&&ae(e))}),10))};(0,r.useEffect)((()=>{if(void 0===R)return()=>null;R&&le(!0);const e=setTimeout((()=>{ae(R)}),10);return()=>{clearTimeout(e)}}),[R]),(0,r.useEffect)((()=>{if(re!==he.current)if(Q.current&&clearTimeout(Q.current),he.current=re,re)null==A||A();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})();Q.current=setTimeout((()=>{le(!1),fe(null),null==P||P()}),e+25)}}),[re]);const Oe=e=>{te((t=>ne(t,e)?t:e))},Me=(e=m)=>{Y.current&&clearTimeout(Y.current),se?Te(!0):Y.current=setTimeout((()=>{Te(!0)}),e)},Ae=(e=g)=>{K.current&&clearTimeout(K.current),K.current=setTimeout((()=>{ye.current||Te(!1)}),e)},Pe=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return B(null),void ve({current:null});m?Me():Te(!0),B(n),ve({current:n}),K.current&&clearTimeout(K.current)},Le=()=>{w?Ae(g||100):g?Ae():Te(!1),Y.current&&clearTimeout(Y.current)},De=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};X({place:null!==(n=null==pe?void 0:pe.place)&&void 0!==n?n:l,offset:c,elementReference:r,tooltipReference:q.current,tooltipArrowReference:Z.current,strategy:p,middlewares:f,border:H}).then((e=>{Oe(e)}))},Re=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};De(n),me.current=n},Ie=e=>{var t;if(!re)return;const n=e.target;n.isConnected&&((null===(t=q.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${a}']`),...be].some((e=>null==e?void 0:e.contains(n)))||(Te(!1),Y.current&&clearTimeout(Y.current)))},Ne=ee(Pe,50,!0),je=ee(Le,50,!0),Be=e=>{je.cancel(),Ne(e)},Fe=()=>{Ne.cancel(),je()},He=(0,r.useCallback)((()=>{var e,t;const n=null!==(e=null==pe?void 0:pe.position)&&void 0!==e?e:M;n?De(n):v?me.current&&De(me.current):(null==j?void 0:j.isConnected)&&X({place:null!==(t=null==pe?void 0:pe.place)&&void 0!==t?t:l,offset:c,elementReference:j,tooltipReference:q.current,tooltipArrowReference:Z.current,strategy:p,middlewares:f,border:H}).then((e=>{_e.current&&Oe(e)}))}),[re,j,L,O,l,null==pe?void 0:pe.place,c,p,M,null==pe?void 0:pe.position,v]);(0,r.useEffect)((()=>{var e,t;const n=new Set(ge);be.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${a}']`);r&&n.add({current:r});const i=()=>{Te(!1)},o=ie(j),s=ie(q.current);Ce.scroll&&(window.addEventListener("scroll",i),null==o||o.addEventListener("scroll",i),null==s||s.addEventListener("scroll",i));let l=null;Ce.resize?window.addEventListener("resize",i):j&&q.current&&(l=F(j,q.current,He,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&Te(!1)};Ce.escape&&window.addEventListener("keydown",c),Ce.clickOutsideAnchor&&window.addEventListener("click",Ie);const u=[],d=e=>{re&&(null==e?void 0:e.target)===j||Pe(e)},p=e=>{re&&(null==e?void 0:e.target)===j&&Le()},f=["mouseenter","mouseleave","focus","blur"],h=["click","dblclick","mousedown","mouseup"];Object.entries(Ee).forEach((([e,t])=>{t&&(f.includes(e)?u.push({event:e,listener:Be}):h.includes(e)&&u.push({event:e,listener:d}))})),Object.entries(ke).forEach((([e,t])=>{t&&(f.includes(e)?u.push({event:e,listener:Fe}):h.includes(e)&&u.push({event:e,listener:p}))})),v&&u.push({event:"pointermove",listener:Re});const m=()=>{ye.current=!0},g=()=>{ye.current=!1,Le()};return w&&!xe&&(null===(e=q.current)||void 0===e||e.addEventListener("mouseenter",m),null===(t=q.current)||void 0===t||t.addEventListener("mouseleave",g)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;Ce.scroll&&(window.removeEventListener("scroll",i),null==o||o.removeEventListener("scroll",i),null==s||s.removeEventListener("scroll",i)),Ce.resize?window.removeEventListener("resize",i):null==l||l(),Ce.clickOutsideAnchor&&window.removeEventListener("click",Ie),Ce.escape&&window.removeEventListener("keydown",c),w&&!xe&&(null===(e=q.current)||void 0===e||e.removeEventListener("mouseenter",m),null===(t=q.current)||void 0===t||t.removeEventListener("mouseleave",g)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[j,He,se,ge,be,E,k,C,Se,m,g]),(0,r.useEffect)((()=>{var e,n;let r=null!==(n=null!==(e=null==pe?void 0:pe.anchorSelect)&&void 0!==e?e:s)&&void 0!==n?n:"";!r&&t&&(r=`[data-tooltip-id='${t}']`);const i=new MutationObserver((e=>{const n=[],i=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&i.push(e.target)),"childList"===e.type){if(j){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{i.push(...t.filter((e=>e.matches(r)))),i.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,j))&&(le(!1),Te(!1),B(null),Y.current&&clearTimeout(Y.current),K.current&&clearTimeout(K.current),!0)}))}if(r)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(r)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}}})),(n.length||i.length)&&we((e=>[...e.filter((e=>!i.includes(e))),...n]))}));return i.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{i.disconnect()}}),[t,s,null==pe?void 0:pe.anchorSelect,j]),(0,r.useEffect)((()=>{He()}),[He]),(0,r.useEffect)((()=>{if(!(null==D?void 0:D.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>He()))}));return e.observe(D.current),()=>{e.disconnect()}}),[L,null==D?void 0:D.current]),(0,r.useEffect)((()=>{var e;const t=document.querySelector(`[id='${a}']`),n=[...be,t];j&&n.includes(j)||B(null!==(e=be[0])&&void 0!==e?e:t)}),[a,be,j]),(0,r.useEffect)((()=>(I&&Te(!0),()=>{Y.current&&clearTimeout(Y.current),K.current&&clearTimeout(K.current)})),[]),(0,r.useEffect)((()=>{var e;let n=null!==(e=null==pe?void 0:pe.anchorSelect)&&void 0!==e?e:s;if(!n&&t&&(n=`[data-tooltip-id='${t}']`),n)try{const e=Array.from(document.querySelectorAll(n));we(e)}catch(e){we([])}}),[t,s,null==pe?void 0:pe.anchorSelect]),(0,r.useEffect)((()=>{Y.current&&(clearTimeout(Y.current),Me(m))}),[m]);const ze=null!==($=null==pe?void 0:pe.content)&&void 0!==$?$:L,Ve=re&&Object.keys(J.tooltipStyles).length>0;return(0,r.useImperativeHandle)(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void W.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}fe(null!=e?e:null),(null==e?void 0:e.delay)?Me(e.delay):Te(!0)},close:e=>{(null==e?void 0:e.delay)?Ae(e.delay):Te(!1)},activeAnchor:j,place:J.place,isOpen:Boolean(se&&!y&&ze&&Ve)}))),se&&!y&&ze?r.createElement(h,{id:t,role:U,className:G("react-tooltip",ue.tooltip,de.tooltip,de[o],n,`react-tooltip__place-${J.place}`,ue[Ve?"show":"closing"],Ve?"react-tooltip__show":"react-tooltip__closing","fixed"===p&&ue.fixed,w&&ue.clickable),onTransitionEnd:e=>{Q.current&&clearTimeout(Q.current),re||"opacity"!==e.propertyName||(le(!1),fe(null),null==P||P())},style:{...O,...J.tooltipStyles,opacity:void 0!==z&&Ve?z:void 0},ref:q},ze,r.createElement(h,{className:G("react-tooltip-arrow",ue.arrow,de.arrow,i,b&&ue.noArrow),style:{...J.tooltipArrowStyles,background:V?`linear-gradient(to right bottom, transparent 50%, ${V} 50%)`:void 0},ref:Z})):null},fe=({content:e})=>r.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),he=r.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:i,html:o,render:a,className:s,classNameArrow:l,variant:c="dark",place:u="top",offset:d=10,wrapper:p="div",children:f=null,events:h=["hover"],openOnClick:m=!1,positionStrategy:g="absolute",middlewares:v,delayShow:y=0,delayHide:b=0,float:w=!1,hidden:_=!1,noArrow:S=!1,clickable:x=!1,closeOnEsc:E=!1,closeOnScroll:k=!1,closeOnResize:C=!1,openEvents:T,closeEvents:O,globalCloseEvents:M,imperativeModeOnly:A=!1,style:P,position:L,isOpen:D,defaultIsOpen:R=!1,disableStyleInjection:I=!1,border:N,opacity:j,arrowColor:B,setIsOpen:F,afterShow:H,afterHide:z,role:V="tooltip"},U)=>{const[$,q]=(0,r.useState)(i),[Z,Y]=(0,r.useState)(o),[K,Q]=(0,r.useState)(u),[X,ee]=(0,r.useState)(c),[te,ne]=(0,r.useState)(d),[re,ie]=(0,r.useState)(y),[oe,ae]=(0,r.useState)(b),[se,le]=(0,r.useState)(w),[ue,de]=(0,r.useState)(_),[he,me]=(0,r.useState)(p),[ge,ve]=(0,r.useState)(h),[ye,be]=(0,r.useState)(g),[we,_e]=(0,r.useState)(null),[Se,xe]=(0,r.useState)(null),Ee=(0,r.useRef)(I),{anchorRefs:ke,activeAnchor:Ce}=ce(e),Te=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),Oe=e=>{const t={place:e=>{var t;Q(null!==(t=e)&&void 0!==t?t:u)},content:e=>{q(null!=e?e:i)},html:e=>{Y(null!=e?e:o)},variant:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{ne(null===e?d:Number(e))},wrapper:e=>{var t;me(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(" ");ve(null!=t?t:h)},"position-strategy":e=>{var t;be(null!==(t=e)&&void 0!==t?t:g)},"delay-show":e=>{ie(null===e?y:Number(e))},"delay-hide":e=>{ae(null===e?b:Number(e))},float:e=>{le(null===e?w:"true"===e)},hidden:e=>{de(null===e?_:"true"===e)},"class-name":e=>{_e(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,r.useEffect)((()=>{q(i)}),[i]),(0,r.useEffect)((()=>{Y(o)}),[o]),(0,r.useEffect)((()=>{Q(u)}),[u]),(0,r.useEffect)((()=>{ee(c)}),[c]),(0,r.useEffect)((()=>{ne(d)}),[d]),(0,r.useEffect)((()=>{ie(y)}),[y]),(0,r.useEffect)((()=>{ae(b)}),[b]),(0,r.useEffect)((()=>{le(w)}),[w]),(0,r.useEffect)((()=>{de(_)}),[_]),(0,r.useEffect)((()=>{be(g)}),[g]),(0,r.useEffect)((()=>{Ee.current!==I&&W.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[I]),(0,r.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===I,disableBase:I}}))}),[]),(0,r.useEffect)((()=>{var r;const i=new Set(ke);let o=n;if(!o&&e&&(o=`[data-tooltip-id='${e}']`),o)try{document.querySelectorAll(o).forEach((e=>{i.add({current:e})}))}catch(r){W.warn(`[react-tooltip] "${o}" is not a valid CSS selector`)}const a=document.querySelector(`[id='${t}']`);if(a&&i.add({current:a}),!i.size)return()=>null;const s=null!==(r=null!=Se?Se:a)&&void 0!==r?r:Ce.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=Te(s);Oe(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=Te(s);Oe(e),l.observe(s,c)}return()=>{l.disconnect()}}),[ke,Ce,Se,t,n]),(0,r.useEffect)((()=>{(null==P?void 0:P.border)&&W.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),N&&!J("border",`${N}`)&&W.warn(`[react-tooltip] "${N}" is not a valid \`border\`.`),(null==P?void 0:P.opacity)&&W.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),j&&!J("opacity",`${j}`)&&W.warn(`[react-tooltip] "${j}" is not a valid \`opacity\`.`)}),[]);let Me=f;const Ae=(0,r.useRef)(null);if(a){const e=a({content:(null==Se?void 0:Se.getAttribute("data-tooltip-content"))||$||null,activeAnchor:Se});Me=e?r.createElement("div",{ref:Ae,className:"react-tooltip-content-wrapper"},e):null}else $&&(Me=$);Z&&(Me=r.createElement(fe,{content:Z}));const Pe={forwardRef:U,id:e,anchorId:t,anchorSelect:n,className:G(s,we),classNameArrow:l,content:Me,contentWrapperRef:Ae,place:K,variant:X,offset:te,wrapper:he,events:ge,openOnClick:m,positionStrategy:ye,middlewares:v,delayShow:re,delayHide:oe,float:se,hidden:ue,noArrow:S,clickable:x,closeOnEsc:E,closeOnScroll:k,closeOnResize:C,openEvents:T,closeEvents:O,globalCloseEvents:M,imperativeModeOnly:A,style:P,position:L,isOpen:D,defaultIsOpen:R,border:N,opacity:j,arrowColor:B,setIsOpen:F,afterShow:H,afterHide:z,activeAnchor:Se,setActiveAnchor:e=>xe(e),role:V};return r.createElement(pe,{...Pe})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||Q({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Q({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}))},4217:function(e,t,n){"use strict";n.d(t,{pt:function(){return c},W_:function(){return a},tl:function(){return l}});var r=n(13433),i=n(7185);function o(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach((o=>{if(!n[o]&&!0===n.auto){let a=(0,i.e)(e.el,`.${r[o]}`)[0];a||(a=(0,i.c)("div",r[o]),a.className=r[o],e.el.append(a)),n[o]=a,t[o]=a}})),n}function a(e){let{swiper:t,extendParams:n,on:r,emit:a}=e;function s(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function l(e,n){const r=t.params.navigation;(e=(0,i.m)(e)).forEach((e=>{e&&(e.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))}))}function c(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return l(n,!1),void l(e,!1);l(n,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function u(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=o(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=s(e.nextEl),r=s(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:r}),n=(0,i.m)(n),r=(0,i.m)(r);const a=(n,r)=>{n&&n.addEventListener("click","next"===r?d:u),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach((e=>a(e,"next"))),r.forEach((e=>a(e,"prev")))}function f(){let{nextEl:e,prevEl:n}=t.navigation;e=(0,i.m)(e),n=(0,i.m)(n);const r=(e,n)=>{e.removeEventListener("click","next"===n?d:u),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>r(e,"next"))),n.forEach((e=>r(e,"prev")))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},r("init",(()=>{!1===t.params.navigation.enabled?h():(p(),c())})),r("toEdge fromEdge lock unlock",(()=>{c()})),r("destroy",(()=>{f()})),r("enable disable",(()=>{let{nextEl:e,prevEl:n}=t.navigation;e=(0,i.m)(e),n=(0,i.m)(n),t.enabled?c():[...e,...n].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),r("click",((e,n)=>{let{nextEl:r,prevEl:o}=t.navigation;r=(0,i.m)(r),o=(0,i.m)(o);const s=n.target;if(t.params.navigation.hideOnClick&&!o.includes(s)&&!r.includes(s)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;r.length?e=r[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),a(!0===e?"navigationShow":"navigationHide"),[...r,...o].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),p(),c()},disable:h,update:c,init:p,destroy:f})}if(7058==n.j)var s=n(57869);function l(e){let{swiper:t,extendParams:n,on:r,emit:a}=e;const l="swiper-pagination";let c;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),t.pagination={el:null,bullets:[]};let u=0;function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function p(e,n){const{bulletActiveClass:r}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${r}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${r}-${n}-${n}`))}function f(e){const n=e.target.closest((0,s.c)(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const r=(0,i.h)(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===r)return;t.slideToLoop(r)}else t.slideTo(r)}function h(){const e=t.rtl,n=t.params.pagination;if(d())return;let r,o,l=t.pagination.el;l=(0,i.m)(l);const f=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(f/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,r=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(r=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,r=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let s,d,f;if(n.dynamicBullets&&(c=(0,i.f)(a[0],t.isHorizontal()?"width":"height",!0),l.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=c*(n.dynamicMainBullets+4)+"px"})),n.dynamicMainBullets>1&&void 0!==o&&(u+=r-(o||0),u>n.dynamicMainBullets-1?u=n.dynamicMainBullets-1:u<0&&(u=0)),s=Math.max(r-u,0),d=s+(Math.min(a.length,n.dynamicMainBullets)-1),f=(d+s)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),l.length>1)a.forEach((e=>{const o=(0,i.h)(e);o===r?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(o>=s&&o<=d&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),o===s&&p(e,"prev"),o===d&&p(e,"next"))}));else{const e=a[r];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")})),n.dynamicBullets){const e=a[s],t=a[d];for(let e=s;e<=d;e+=1)a[e]&&a[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));p(e,"prev"),p(t,"next")}}if(n.dynamicBullets){const r=Math.min(a.length,n.dynamicMainBullets+4),i=(c*r-c)/2-f*c,o=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${i}px`}))}}l.forEach(((e,i)=>{if("fraction"===n.type&&(e.querySelectorAll((0,s.c)(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(r+1)})),e.querySelectorAll((0,s.c)(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(h)}))),"progressbar"===n.type){let i;i=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(r+1)/h;let a=1,l=1;"horizontal"===i?a=o:l=o,e.querySelectorAll((0,s.c)(n.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,r+1,h),0===i&&a("paginationRender",e)):(0===i&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)}))}function m(){const e=t.params.pagination;if(d())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let r=t.pagination.el;r=(0,i.m)(r);let o="";if("bullets"===e.type){let r=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],r.forEach((n=>{"custom"!==e.type&&(n.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll((0,s.c)(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",r[0])}function g(){t.params.pagination=o(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.filter((e=>(0,i.a)(e,".swiper")[0]===t.el))[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=(0,i.m)(n),n.forEach((n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),u=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",f),t.enabled||n.classList.add(e.lockClass)})))}function v(){const e=t.params.pagination;if(d())return;let n=t.pagination.el;n&&(n=(0,i.m)(n),n.forEach((n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",f))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}r("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=(0,i.m)(n),n.forEach((n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),r("init",(()=>{!1===t.params.pagination.enabled?y():(g(),m(),h())})),r("activeIndexChange",(()=>{void 0===t.snapIndex&&h()})),r("snapIndexChange",(()=>{h()})),r("snapGridLengthChange",(()=>{m(),h()})),r("destroy",(()=>{v()})),r("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),r("lock unlock",(()=>{h()})),r("click",((e,n)=>{const r=n.target,o=(0,i.m)(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!r.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const y=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),v()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),g(),m(),h()},disable:y,render:m,update:h,init:g,destroy:v})}function c(e){let t,n,{swiper:i,extendParams:o,on:a,emit:s,params:l}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},o({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,u,d,p,f,h,m,g,v=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function w(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",w),g||C())}const _=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?u=!0:u&&(y=c,u=!1);const e=i.autoplay.paused?c:b+y-(new Date).getTime();i.autoplay.timeLeft=e,s("autoplayTimeLeft",e,e/v),n=requestAnimationFrame((()=>{_()}))},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(n),_();let r=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,y=i.params.autoplay.delay;const o=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(o)&&o>0&&void 0===e&&(r=o,v=o,y=o),c=r;const a=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(a,!0,!0),s("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,a,!0,!0),s("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(a,!0,!0),s("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,a,!0,!0),s("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return r>0?(clearTimeout(t),t=setTimeout((()=>{l()}),r)):requestAnimationFrame((()=>{l()})),r},x=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),s("autoplayStart")},E=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),s("autoplayStop")},k=(e,n)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(m=!0);const r=()=>{s("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",w):C()};if(i.autoplay.paused=!0,n)return h&&(c=i.params.autoplay.delay),h=!1,void r();const o=c||i.params.autoplay.delay;c=o-((new Date).getTime()-b),i.isEnd&&c<0&&!i.params.loop||(c<0&&(c=0),r())},C=()=>{i.isEnd&&c<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),m?(m=!1,S(c)):S(),i.autoplay.paused=!1,s("autoplayResume"))},T=()=>{if(i.destroyed||!i.autoplay.running)return;const e=(0,r.g)();"hidden"===e.visibilityState&&(m=!0,k(!0)),"visible"===e.visibilityState&&C()},O=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,i.animating||i.autoplay.paused||k(!0))},M=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&C())};a("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",O),i.el.addEventListener("pointerleave",M)),(0,r.g)().addEventListener("visibilitychange",T),x())})),a("destroy",(()=>{i.el.removeEventListener("pointerenter",O),i.el.removeEventListener("pointerleave",M),(0,r.g)().removeEventListener("visibilitychange",T),i.autoplay.running&&E()})),a("_freeModeStaticRelease",(()=>{(p||m)&&C()})),a("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?E():k(!0,!0)})),a("beforeTransitionStart",((e,t,n)=>{!i.destroyed&&i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?k(!0,!0):E())})),a("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?E():(d=!0,p=!1,m=!1,f=setTimeout((()=>{m=!0,p=!0,k(!0)}),200)))})),a("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&d){if(clearTimeout(f),clearTimeout(t),i.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&i.params.cssMode&&C(),p=!1,d=!1}})),a("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(h=!0)})),Object.assign(i.autoplay,{start:x,stop:E,pause:k,resume:C})}},57869:function(e,t,n){"use strict";function r(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}n.d(t,{c:function(){return r}})},13433:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.d(t,{a:function(){return l},g:function(){return a}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return i(e,o),e}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return i(e,s),e}},62546:function(e,t,n){"use strict";n.d(t,{a:function(){return s},b:function(){return l},d:function(){return c},e:function(){return o},i:function(){return i},n:function(){return a},p:function(){return r},u:function(){return d},w:function(){return u}});const r=/^(3633|7058)$/.test(n.j)?["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"]:null;function i(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function o(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:o(e[n],t[n]):e[n]=t[n]}))}function a(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function s(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function l(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function c(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function u(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function d(e){let{swiper:t,slides:n,passedParams:r,changedParams:o,nextEl:a,prevEl:s,scrollbarEl:l,paginationEl:c}=e;const u=o.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:d,pagination:p,navigation:f,scrollbar:h,virtual:m,thumbs:g}=t;let v,y,b,w,_,S,x,E;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(v=!0),o.includes("controller")&&r.controller&&r.controller.control&&d.controller&&!d.controller.control&&(y=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||c)&&(d.pagination||!1===d.pagination)&&p&&!p.el&&(b=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||l)&&(d.scrollbar||!1===d.scrollbar)&&h&&!h.el&&(w=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||a)&&(d.navigation||!1===d.navigation)&&f&&!f.prevEl&&!f.nextEl&&(_=!0);const k=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),d[e].prevEl=void 0,d[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),d[e].el=void 0,t[e].el=void 0))};if(o.includes("loop")&&t.isElement&&(d.loop&&!r.loop?S=!0:!d.loop&&r.loop?x=!0:E=!0),u.forEach((e=>{if(i(d[e])&&i(r[e]))Object.assign(d[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||k(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?d[e]=r[e]:!1===t&&k(e)}})),u.includes("controller")&&!y&&t.controller&&t.controller.control&&d.controller&&d.controller.control&&(t.controller.control=d.controller.control),o.includes("children")&&n&&m&&d.virtual.enabled?(m.slides=n,m.update(!0)):o.includes("virtual")&&m&&d.virtual.enabled&&(n&&(m.slides=n),m.update(!0)),o.includes("children")&&n&&d.loop&&(E=!0),v){g.init()&&g.update(!0)}y&&(t.controller.control=d.controller.control),b&&(!t.isElement||c&&"string"!=typeof c||(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),t.el.appendChild(c)),c&&(d.pagination.el=c),p.init(),p.render(),p.update()),w&&(!t.isElement||l&&"string"!=typeof l||(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),t.el.appendChild(l)),l&&(d.scrollbar.el=l),h.init(),h.updateSize(),h.setTranslate()),_&&(t.isElement&&(a&&"string"!=typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-next"),a.innerHTML=t.hostEl.constructor.nextButtonSvg,a.part.add("button-next"),t.el.appendChild(a)),s&&"string"!=typeof s||(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),a&&(d.navigation.nextEl=a),s&&(d.navigation.prevEl=s),f.init(),f.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&t.changeDirection(r.direction,!1),(S||E)&&t.loopDestroy(),(x||E)&&t.loopCreate(),t.update()}},7185:function(e,t,n){"use strict";n.d(t,{a:function(){return w},c:function(){return m},d:function(){return s},e:function(){return f},f:function(){return _},h:function(){return b},j:function(){return l},m:function(){return S},n:function(){return a},o:function(){return y},p:function(){return v},q:function(){return g},r:function(){return p},s:function(){return d},t:function(){return h},u:function(){return u},v:function(){return o}});var r=n(13433),i=n(25108);function o(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function s(){return Date.now()}function l(e,t){void 0===t&&(t="x");const n=(0,r.a)();let i,o,a;const s=function(e){const t=(0,r.a)();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new n.WebKitCSSMatrix("none"===o?"":o)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(o=n.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),o||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&(n=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(i)).filter((e=>t.indexOf(e)<0));for(let t=0,r=n.length;t<r;t+=1){const r=n[t],o=Object.getOwnPropertyDescriptor(i,r);void 0!==o&&o.enumerable&&(c(e[r])&&c(i[r])?i[r].__swiper__?e[r]=i[r]:u(e[r],i[r]):!c(e[r])&&c(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:u(e[r],i[r])):e[r]=i[r])}}}var n;return e}function d(e,t,n){e.style.setProperty(t,n)}function p(e){let{swiper:t,targetPosition:n,side:i}=e;const o=(0,r.a)(),a=-t.translate;let s,l=null;const c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const u=n>a?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{s=(new Date).getTime(),null===l&&(l=s);const e=Math.max(Math.min((s-l)/c,1),0),r=.5-Math.cos(e*Math.PI)/2;let u=a+r*(n-a);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[i]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:u})})),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(p)};p()}function f(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function h(e){try{return void i.warn(e)}catch(e){}}function m(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),n}function g(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function v(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function y(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function w(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function _(e,t,n){const i=(0,r.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function S(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}},29738:function(e,t,n){"use strict";n.d(t,{tq:function(){return q},o5:function(){return W}});var r=n(67294),i=n(13433),o=n(7185);let a,s,l;function c(){return a||(a=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),a}function u(e){return void 0===e&&(e={}),s||(s=function(e){let{userAgent:t}=void 0===e?{}:e;const n=c(),r=(0,i.a)(),o=r.navigator.platform,a=t||r.navigator.userAgent,s={ios:!1,android:!1},l=r.screen.width,u=r.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/);let p=a.match(/(iPad).*OS\s([\d_]+)/);const f=a.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===o;let g="MacIntel"===o;return!p&&g&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${u}`)>=0&&(p=a.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),g=!1),d&&!m&&(s.os="android",s.android=!0),(p||h||f)&&(s.os="ios",s.ios=!0),s}(e)),s}function d(){return l||(l=function(){const e=(0,i.a)(),t=u();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));n=e<16||16===e&&r<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=r();return{isSafari:n||a,needPerspectiveFix:n,need3dFix:a||o&&t.ios,isWebView:o}}()),l}var p={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),r=e):(t=o[0].events,n=o[0].data,r=o[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}};const f=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const h=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,o=[n-t];return o.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{o.includes(t.column)&&m(e,n)}))}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=o+t;r+=1){const t=(r%n+n)%n;(t<i||t>o)&&m(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(o+t,n-1);r+=1)r!==i&&(r>o||r<i)&&m(e,r)};var v={updateSize:function(){const e=this;let t,n;const r=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt((0,o.o)(r,"padding-left")||0,10)-parseInt((0,o.o)(r,"padding-right")||0,10),n=n-parseInt((0,o.o)(r,"padding-top")||0,10)-parseInt((0,o.o)(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:a,rtlTranslate:s,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,u=c?e.virtual.slides.length:e.slides.length,d=(0,o.e)(i,`.${e.params.slideClass}, swiper-slide`),p=c?e.virtual.slides.length:d.length;let f=[];const h=[],m=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const y=e.snapGrid.length,b=e.slidesGrid.length;let w=n.spaceBetween,_=-g,S=0,x=0;if(void 0===a)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*a:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,d.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&((0,o.s)(r,"--swiper-centered-offset-before",""),(0,o.s)(r,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&e.grid;let k;E?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const C="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<p;r+=1){let i;if(k=0,d[r]&&(i=d[r]),E&&e.grid.updateSlide(r,i,d),!d[r]||"none"!==(0,o.o)(i,"display")){if("auto"===n.slidesPerView){C&&(d[r].style[e.getDirectionLabel("width")]="");const a=getComputedStyle(i),s=i.style.transform,l=i.style.webkitTransform;if(s&&(i.style.transform="none"),l&&(i.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?(0,o.f)(i,"width",!0):(0,o.f)(i,"height",!0);else{const e=t(a,"width"),n=t(a,"padding-left"),r=t(a,"padding-right"),o=t(a,"margin-left"),s=t(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+o+s;else{const{clientWidth:t,offsetWidth:a}=i;k=e+n+r+o+s+(a-t)}}s&&(i.style.transform=s),l&&(i.style.webkitTransform=l),n.roundLengths&&(k=Math.floor(k))}else k=(a-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),d[r]&&(d[r].style[e.getDirectionLabel("width")]=`${k}px`);d[r]&&(d[r].swiperSlideSize=k),m.push(k),n.centeredSlides?(_=_+k/2+S/2+w,0===S&&0!==r&&(_=_-a/2-w),0===r&&(_=_-a/2-w),Math.abs(_)<.001&&(_=0),n.roundLengths&&(_=Math.floor(_)),x%n.slidesPerGroup==0&&f.push(_),h.push(_)):(n.roundLengths&&(_=Math.floor(_)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&f.push(_),h.push(_),_=_+k+w),e.virtualSize+=k+w,S=k,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,s&&l&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),E&&e.grid.updateWrapperSize(k,f),!n.centeredSlides){const t=[];for(let r=0;r<f.length;r+=1){let i=f[r];n.roundLengths&&(i=Math.floor(i)),f[r]<=e.virtualSize-a&&t.push(i)}f=t,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(c&&n.loop){const t=m[0]+w;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)f.push(f[f.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==w){const t=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");d.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==d.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-a;f=f.map((e=>e<=0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(w||0)})),e-=w,e<a){const t=(a-e)/2;f.forEach(((e,n)=>{f[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,o.s)(r,"--swiper-centered-offset-before",-f[0]+"px"),(0,o.s)(r,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(p!==u&&e.emit("slidesLengthChange"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);p<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),r.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<r.length;e+=1){const l=r[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const u=(a+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),d=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),p=-(a-c),f=p+t.slidesSizesGrid[e],h=p>=0&&p<=t.size-t.slidesSizesGrid[e];(p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),r[e].classList.add(n.slideVisibleClass)),h&&r[e].classList.add(n.slideFullyVisibleClass),l.progress=i?-u:u,l.originalProgress=i?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a,progressLoop:s}=t;const l=o,c=a;if(0===r)i=0,o=!0,a=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;o=n||i<=0,a=s||i>=1,n&&(i=0),s&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],o=t.slidesGrid[r],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=i?(l-i)/a:(l+a-o)/a,s>1&&(s-=1)}Object.assign(t,{progress:i,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,a=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,l=e=>(0,o.e)(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let c,u,d;if(a)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),c=l(`[data-swiper-slide-index="${t}"]`)}else c=l(`[data-swiper-slide-index="${i}"]`);else s?(c=t.filter((e=>e.column===i))[0],d=t.filter((e=>e.column===i+1))[0],u=t.filter((e=>e.column===i-1))[0]):c=t[i];c&&(s||(d=(0,o.p)(c,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),u=(0,o.q)(c,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!u&&(u=t[t.length-1]))),t.forEach((e=>{f(e,e===c,n.slideActiveClass),f(e,e===d,n.slideNextClass),f(e,e===u,n.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:a,snapIndex:s}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?r>=t[e]&&r<t[e+1]-(t[e+1]-t[e])/2?i=e:r>=t[e]&&r<t[e+1]&&(i=e+1):r>=t[e]&&(i=e);return n.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===o&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&i.grid&&i.grid.rows>1;let p;if(t.virtual&&i.virtual.enabled&&i.loop)p=u(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/i.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:o,activeIndex:c}),t.initialized&&g(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)}));let o,a=!1;if(i)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===i){a=!0,o=e;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var y={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let a=(0,o.j)(i,e);return a+=this.cssOverflowAdjustment(),n&&(a=-a),a||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:o,progress:a}=n;let s,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();s=0===u?0:(e-n.minTranslate())/u,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const a=this,{params:s,wrapperEl:l}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const c=a.minTranslate(),u=a.maxTranslate();let d;if(d=r&&e>c?c:r&&e<u?u:e,a.updateProgress(d),s.cssMode){const e=a.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return(0,o.r)({swiper:a,targetPosition:-d,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function b(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:o,previousIndex:a}=t;let s=r;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit(`transition${i}`),n&&o!==a){if("reset"===s)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===s?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var w={slideTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;let s=e;s<0&&(s=0);const{params:l,snapGrid:c,slidesGrid:u,previousIndex:d,activeIndex:p,rtlTranslate:f,wrapperEl:h,enabled:m}=a;if(!m&&!r&&!i||a.destroyed||a.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);const g=Math.min(a.params.slidesPerGroupSkip,s);let v=g+Math.floor((s-g)/a.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const y=-c[v];if(l.normalizeSlideIndex)for(let e=0;e<u.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*u[e]),r=Math.floor(100*u[e+1]);void 0!==u[e+1]?t>=n&&t<r-(r-n)/2?s=e:t>=n&&t<r&&(s=e+1):t>=n&&(s=e)}if(a.initialized&&s!==p){if(!a.allowSlideNext&&(f?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate()))return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(p||0)!==s)return!1}let b;if(s!==(d||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),b=s>p?"next":s<p?"prev":"reset",f&&-y===a.translate||!f&&y===a.translate)return a.updateActiveIndex(s),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(y),"reset"!==b&&(a.transitionStart(n,b),a.transitionEnd(n,b)),!1;if(l.cssMode){const e=a.isHorizontal(),n=f?y:-y;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=n}))):h[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,o.r)({swiper:a,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,b),0===t?a.transitionEnd(n,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,b))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(o){const t=a*i.params.grid.rows;e=i.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=i.getSlideIndexByData(a);const t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params;let s=i.params.slidesPerView;"auto"===s?s=i.slidesPerViewDynamic():(s=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&s%2==0&&(s+=1));let l=t-e<s;if(n&&(l=l||e<Math.ceil(s/2)),r&&n&&"auto"!==i.params.slidesPerView&&!o&&(l=!1),l){const r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(o){const e=a*i.params.grid.rows;a=i.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame((()=>{i.slideTo(a,t,n,r)})),i},slideNext:function(e,t,n){void 0===t&&(t=!0);const r=this,{enabled:i,params:o,animating:a}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<o.slidesPerGroupSkip?1:s,c=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame((()=>{r.slideTo(r.activeIndex+l,e,t,n)})),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);const u=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(s?r.translate:-r.translate),f=o.map((e=>d(e)));let h=o[f.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;o.forEach(((t,n)=>{p>=t&&(e=n)})),void 0!==e&&(h=o[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=a.indexOf(h),m<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{r.slideTo(m,e,t,n)})),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const r=this;if(!r.destroyed)return void 0===e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===t&&(t=!0),void 0===r&&(r=.5);const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,a=e.clickedIndex;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-r/2||a>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),a=e.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-r?(e.loopFix(),a=e.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var _={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{(0,o.e)(r,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(a?n.grid.rows:1),l=t.slides.length%s!=0,c=a&&t.slides.length%n.grid.rows!=0,u=e=>{for(let r=0;r<e;r+=1){const e=t.isElement?(0,o.c)("swiper-slide",[n.slideBlankClass]):(0,o.c)("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(l){if(n.loopAddBlankSlides){u(s-t.slides.length%s),t.recalcSlides(),t.updateSlides()}else(0,o.t)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(c){if(n.loopAddBlankSlides){u(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else(0,o.t)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:a,byController:s,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:p,slidesEl:f,params:h}=c,{centeredSlides:m}=h;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&h.virtual.enabled)return n&&(h.centeredSlides||0!==c.snapIndex?h.centeredSlides&&c.snapIndex<h.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=d,c.allowSlideNext=p,void c.emit("loopFix");let g=h.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2==0&&(g+=1));const v=h.slidesPerGroupAuto?g:h.slidesPerGroup;let y=v;y%v!=0&&(y+=v-y%v),y+=h.loopAdditionalSlides,c.loopedSlides=y;const b=c.grid&&h.grid&&h.grid.rows>1;u.length<g+y?(0,o.t)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===h.grid.fill&&(0,o.t)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],_=[];let S=c.activeIndex;void 0===a?a=c.getSlideIndex(u.filter((e=>e.classList.contains(h.slideActiveClass)))[0]):S=a;const x="next"===r||!r,E="prev"===r||!r;let k=0,C=0;const T=b?Math.ceil(u.length/h.grid.rows):u.length,O=(b?u[a].column:a)+(m&&void 0===i?-g/2+.5:0);if(O<y){k=Math.max(y-O,v);for(let e=0;e<y-O;e+=1){const t=e-Math.floor(e/T)*T;if(b){const e=T-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&w.push(t)}else w.push(T-t-1)}}else if(O+g>T-y){C=Math.max(O-(T-2*y),v);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/T)*T;b?u.forEach(((e,n)=>{e.column===t&&_.push(n)})):_.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame((()=>{c.__preventObserver__=!1})),E&&w.forEach((e=>{u[e].swiperLoopMoveDOM=!0,f.prepend(u[e]),u[e].swiperLoopMoveDOM=!1})),x&&_.forEach((e=>{u[e].swiperLoopMoveDOM=!0,f.append(u[e]),u[e].swiperLoopMoveDOM=!1})),c.recalcSlides(),"auto"===h.slidesPerView?c.updateSlides():b&&(w.length>0&&E||_.length>0&&x)&&c.slides.forEach(((e,t)=>{c.grid.updateSlide(t,e,c.slides)})),h.watchSlidesProgress&&c.updateSlidesOffset(),n)if(w.length>0&&E){if(void 0===t){const e=c.slidesGrid[S],t=c.slidesGrid[S+k]-e;l?c.setTranslate(c.translate-t):(c.slideTo(S+Math.ceil(k),0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(i){const e=b?w.length/h.grid.rows:w.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(_.length>0&&x)if(void 0===t){const e=c.slidesGrid[S],t=c.slidesGrid[S-C]-e;l?c.setTranslate(c.translate-t):(c.slideTo(S-C,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=b?_.length/h.grid.rows:_.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=d,c.allowSlideNext=p,c.controller&&c.controller.control&&!s){const e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})})):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===h.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function S(e,t,n){const r=(0,i.a)(),{params:o}=e,a=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return!a||!(n<=s||n>=r.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function x(e){const t=this,n=(0,i.g)();let r=e;r.originalEvent&&(r=r.originalEvent);const a=t.touchEventsData;if("pointerdown"===r.type){if(null!==a.pointerId&&a.pointerId!==r.pointerId)return;a.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(a.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void S(t,r,r.targetTouches[0].pageX);const{params:s,touches:l,enabled:c}=t;if(!c)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let u=r.target;if("wrapper"===s.touchEventsTarget&&!t.wrapperEl.contains(u))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(a.isTouched&&a.isMoved)return;const d=!!s.noSwipingClass&&""!==s.noSwipingClass,p=r.composedPath?r.composedPath():r.path;d&&r.target&&r.target.shadowRoot&&p&&(u=p[0]);const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!(!r.target||!r.target.shadowRoot);if(s.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,i.g)()||n===(0,i.a)())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(f,u):u.closest(f)))return void(t.allowClick=!0);if(s.swipeHandler&&!u.closest(s.swipeHandler))return;l.currentX=r.pageX,l.currentY=r.pageY;const m=l.currentX,g=l.currentY;if(!S(t,r,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=m,l.startY=g,a.touchStartTime=(0,o.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1);let v=!0;u.matches(a.focusableElements)&&(v=!1,"SELECT"===u.nodeName&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==u&&n.activeElement.blur();const y=v&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!y||u.isContentEditable||r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function E(e){const t=(0,i.g)(),n=this,r=n.touchEventsData,{params:a,touches:s,rtlTranslate:l,enabled:c}=n;if(!c)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let u,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(u=[...d.changedTouches].filter((e=>e.identifier===r.touchId))[0],!u||u.identifier!==r.touchId)return}else u=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const p=u.pageX,f=u.pageY;if(d.preventedByNestedSwiper)return s.startX=p,void(s.startY=f);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(s,{startX:p,startY:f,currentX:p,currentY:f}),r.touchStartTime=(0,o.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(f<s.startY&&n.translate<=n.maxTranslate()||f>s.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(p<s.startX&&n.translate<=n.maxTranslate()||p>s.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=p,s.currentY=f;const h=s.currentX-s.startX,m=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(h**2+m**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),void 0===r.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let g=n.isHorizontal()?h:m,v=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),s.diff=g,g*=a.touchRatio,l&&(g=-g,v=-v);const y=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const b=n.params.loop&&!a.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(b&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!a.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&w&&Math.abs(g)>=1)return Object.assign(s,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let _=!0,S=a.resistanceRatio;if(a.touchReleaseOnEdges&&(S=0),g>0?(b&&w&&r.allowThresholdMove&&r.currentTranslate>(a.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(_=!1,a.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**S))):g<0&&(b&&w&&r.allowThresholdMove&&r.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===a.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(_=!1,a.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-g)**S))),_&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function k(e){const t=this,n=t.touchEventsData;let r,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(r=[...i.changedTouches].filter((e=>e.identifier===n.touchId))[0],!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:l,slidesGrid:c,enabled:u}=t;if(!u)return;if(!a.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,o.d)(),p=d-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=(0,o.d)(),(0,o.n)((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let f;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,f=a.followFinger?l?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let m=0,g=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==c[e+t]?(h||f>=c[e]&&f<c[e+t])&&(m=e,g=c[e+t]-c[e]):(h||f>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let v=null,y=null;a.rewind&&(t.isBeginning?y=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(f-c[m])/g,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?v:m+w):t.slideTo(m)),"prev"===t.swipeDirection&&(b>1-a.longSwipesRatio?t.slideTo(m+w):null!==y&&b<0&&Math.abs(b)>a.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+w),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:m))}}function C(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function T(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function O(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function M(e){const t=this;h(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function A(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const P=(e,t)=>{const n=(0,i.g)(),{params:r,el:o,wrapperEl:a,device:s}=e,l=!!r.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),o[c]("touchstart",e.onTouchStart,{passive:!1}),o[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[c]("click",e.onClick,!0),r.cssMode&&a[c]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0):e[u]("observerUpdate",C,!0),o[c]("load",e.onLoad,{capture:!0})};const L=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var D={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function R(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),(0,o.u)(t,n)):(0,o.u)(t,n)):(0,o.u)(t,n)}}const I={eventsEmitter:p,update:v,translate:y,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),b({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),b({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:w,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=x.bind(e),e.onTouchMove=E.bind(e),e.onTouchEnd=k.bind(e),e.onDocumentTouchStart=A.bind(e),t.cssMode&&(e.onScroll=O.bind(e)),e.onClick=T.bind(e),e.onLoad=M.bind(e),P(e,"on")},detachEvents:function(){P(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in a?a[s]:void 0)||e.originalParams,c=L(e,r),u=L(e,l),d=e.params.grabCursor,p=l.grabCursor,f=r.enabled;c&&!u?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!p?e.unsetGrabCursor():!d&&p&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===l[t])return;const n=r[t]&&r[t].enabled,i=l[t]&&l[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),g=r.loop;h&&n&&e.changeDirection(),(0,o.u)(e.params,l);const v=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!v?e.disable():!f&&v&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&y?(e.loopCreate(t),e.updateSlides()):g&&!y&&e.loopDestroy()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const o=(0,i.a)(),a="window"===t?o.innerHeight:n.clientHeight,s=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<s.length;e+=1){const{point:i,value:a}=s[e];"window"===t?o.matchMedia(`(min-width: ${a}px)`).matches&&(r=i):a<=n.clientWidth&&(r=i)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},N={};class j{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=(0,o.u)({},t),e&&!t.el&&(t.el=e);const s=(0,i.g)();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){const e=[];return s.querySelectorAll(t.el).forEach((n=>{const r=(0,o.u)({},t,{el:n});e.push(new j(r))})),e}const l=this;l.__swiper__=!0,l.support=c(),l.device=u({userAgent:t.userAgent}),l.browser=d(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const p={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:R(t,p),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const f=(0,o.u)({},D,p);return l.params=(0,o.u)({},f,N,t),l.originalParams=(0,o.u)({},l.params),l.passedParams=(0,o.u)({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===l.params.direction},isVertical(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=(0,o.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,o.h)(r[0]);return(0,o.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,o.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[s]?Math.ceil(r[s].swiperSlideSize):0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<r.length;e+=1){(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){i[s]-i[e]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&h(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return(0,o.e)(n,r())[0]})();return!i&&t.params.createElements&&(i=(0,o.c)("div",t.params.wrapperClass),n.append(i),(0,o.e)(n,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,o.o)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,o.o)(n,"direction")),wrongRTL:"-webkit-box"===(0,o.o)(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?h(t,e):e.addEventListener("load",(e=>{h(t,e.target)}))})),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:i,wrapperEl:a,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,(0,o.v)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,o.u)(N,e)}static get extendedDefaults(){return N}static get defaults(){return D}static installModule(e){j.prototype.__modules__||(j.prototype.__modules__=[]);const t=j.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>j.installModule(e))),j):(j.installModule(e),j)}}Object.keys(I).forEach((e=>{Object.keys(I[e]).forEach((t=>{j.prototype[t]=I[e][t]}))})),j.use([function(e){let{swiper:t,on:n,emit:r}=e;const o=(0,i.a)();let a=null,s=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{s=o.requestAnimationFrame((()=>{const{width:n,height:r}=t;let i=n,o=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:a}=e;a&&a!==t.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||l()}))})),a.observe(t.el)):(o.addEventListener("resize",l),o.addEventListener("orientationchange",c))})),n("destroy",(()=>{s&&o.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),o.removeEventListener("resize",l),o.removeEventListener("orientationchange",c)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:a}=e;const s=[],l=(0,i.a)(),c=function(e,n){void 0===n&&(n={});const r=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const n=function(){a("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)}));r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),s.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,o.a)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}})),r("destroy",(()=>{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)}))}]);var B=n(62546);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function H(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function z(e){const t=[];return r.Children.toArray(e).forEach((e=>{H(e)?t.push(e):e.props&&e.props.children&&z(e.props.children).forEach((e=>t.push(e)))})),t}function V(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(e).forEach((e=>{if(H(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=z(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function U(e,t){return"undefined"==typeof window?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}const $=(0,r.createContext)(null),G=(0,r.createContext)(null),q=(0,r.forwardRef)((function(e,t){let{className:n,tag:i="div",wrapperTag:o="div",children:a,onSwiper:s,...l}=void 0===e?{}:e,c=!1;const[u,d]=(0,r.useState)("swiper"),[p,f]=(0,r.useState)(null),[h,m]=(0,r.useState)(!1),g=(0,r.useRef)(!1),v=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(null),_=(0,r.useRef)(null),S=(0,r.useRef)(null),x=(0,r.useRef)(null),E=(0,r.useRef)(null),{params:k,passedParams:C,rest:T,events:O}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},i={};(0,B.e)(n,D),n._emitClasses=!0,n.init=!1;const o={},a=B.p.map((e=>e.replace(/_/,""))),s=Object.assign({},e);return Object.keys(s).forEach((s=>{void 0!==e[s]&&(a.indexOf(s)>=0?(0,B.i)(e[s])?(n[s]={},i[s]={},(0,B.e)(n[s],e[s]),(0,B.e)(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:o[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:o,events:r}}(l),{slides:M,slots:A}=V(a),P=()=>{m(!h)};Object.assign(k.on,{_containerClasses(e,t){d(t)}});const L=()=>{Object.assign(k.on,O),c=!0;const e={...k};if(delete e.wrapperClass,y.current=new j(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=M;const e={cache:!1,slides:M,renderExternal:f,renderExternalUpdate:!1};(0,B.e)(y.current.params.virtual,e),(0,B.e)(y.current.originalParams.virtual,e)}};v.current||L(),y.current&&y.current.on("_beforeBreakpoint",P);return(0,r.useEffect)((()=>()=>{y.current&&y.current.off("_beforeBreakpoint",P)})),(0,r.useEffect)((()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)})),U((()=>{if(t&&(t.current=v.current),v.current)return y.current.destroyed&&L(),function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:a,swiper:s}=e;(0,B.n)(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),(0,B.a)(t)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),(0,B.b)(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:v.current,nextEl:_.current,prevEl:S.current,paginationEl:x.current,scrollbarEl:E.current,swiper:y.current},k),s&&!y.current.destroyed&&s(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}}),[]),U((()=>{!c&&O&&y.current&&Object.keys(O).forEach((e=>{y.current.on(e,O[e])}));const e=function(e,t,n,r,i){const o=[];if(!t)return o;const a=e=>{o.indexOf(e)<0&&o.push(e)};if(n&&r){const e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return B.p.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if((0,B.i)(e[n])&&(0,B.i)(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?a(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})),i.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})))}else e[n]!==t[n]&&a(n)})),o}(C,b.current,M,w.current,(e=>e.key));return b.current=C,w.current=M,e.length&&y.current&&!y.current.destroyed&&(0,B.u)({swiper:y.current,slides:M,passedParams:C,changedParams:e,nextEl:_.current,prevEl:S.current,scrollbarEl:E.current,paginationEl:x.current}),()=>{O&&y.current&&Object.keys(O).forEach((e=>{y.current.off(e,O[e])}))}})),U((()=>{var e;!(e=y.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[p]),r.createElement(i,F({ref:v,className:(0,B.d)(`${u}${n?` ${n}`:""}`)},T),r.createElement(G.Provider,{value:y.current},A["container-start"],r.createElement(o,{className:(0,B.w)(k.wrapperClass)},A["wrapper-start"],k.virtual?function(e,t,n){if(!n)return null;const i=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},o=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:s}=n,l=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let e=l;e<c;e+=1)e>=a&&e<=s&&u.push(t[i(e)]);return u.map(((t,n)=>r.cloneElement(t,{swiper:e,style:o,key:t.props.virtualIndex||t.key||`slide-${n}`})))}(y.current,M,p):M.map(((e,t)=>r.cloneElement(e,{swiper:y.current,swiperSlideIndex:t}))),A["wrapper-end"]),(0,B.n)(k)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:S,className:"swiper-button-prev"}),r.createElement("div",{ref:_,className:"swiper-button-next"})),(0,B.b)(k)&&r.createElement("div",{ref:E,className:"swiper-scrollbar"}),(0,B.a)(k)&&r.createElement("div",{ref:x,className:"swiper-pagination"}),A["container-end"]))}));q.displayName="Swiper";const W=(0,r.forwardRef)((function(e,t){let{tag:n="div",children:i,className:o="",swiper:a,zoom:s,lazy:l,virtualIndex:c,swiperSlideIndex:u,...d}=void 0===e?{}:e;const p=(0,r.useRef)(null),[f,h]=(0,r.useState)("swiper-slide"),[m,g]=(0,r.useState)(!1);function v(e,t,n){t===p.current&&h(n)}U((()=>{if(void 0!==u&&(p.current.swiperSlideIndex=u),t&&(t.current=p.current),p.current&&a){if(!a.destroyed)return a.on("_slideClass",v),()=>{a&&a.off("_slideClass",v)};"swiper-slide"!==f&&h("swiper-slide")}})),U((()=>{a&&p.current&&!a.destroyed&&h(a.getSlideClasses(p.current))}),[a]);const y={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof i?i(y):i;return r.createElement(n,F({ref:p,className:(0,B.d)(`${f}${o?` ${o}`:""}`),"data-swiper-slide-index":c,onLoad:()=>{g(!0)}},d),s&&r.createElement($.Provider,{value:y},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof s?s:void 0},b(),l&&!m&&r.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&r.createElement($.Provider,{value:y},b(),l&&!m&&r.createElement("div",{className:"swiper-lazy-preloader"})))}));W.displayName="SwiperSlide"},65760:function(e,t,n){"use strict";n.d(t,{v1:function(){return i}});var r=n(17593);const i=r.v1;r.v3,r.v4,r.v5}}]); //# sourceMappingURL=vendor-dd73206d92176e76b22d.js.map } /* FILE ARCHIVED ON 09:25:16 Aug 01, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 15:01:05 Nov 17, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.753 exclusion.robots: 0.052 exclusion.robots.policy: 0.038 esindex: 0.015 cdx.remote: 18.179 LoadShardBlock: 143.626 (3) PetaboxLoader3.datanode: 171.182 (5) load_resource: 178.717 PetaboxLoader3.resolve: 55.476 loaddict: 56.663 */